article.project-card {
  height: 100%;
  align-content: space-between;
  display: flex;
  flex-direction: column;
  background-color: var(--color-navy);
  border-radius: var(--br-20);
  overflow: hidden;
}

article.project-card img {
  max-width: 100%;
  max-height: 20rem;
  object-fit: cover;
}

article.project-card h3 {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
}

article.project-card .date {
  display: block;
  margin-bottom: 0.5rem;
}

article.project-card .text {
  color: var(--color-white);
  padding: var(--vert-spacing-3) var(--hori-spacing-3);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

article.project-card .button {
  margin-top: auto;
}

article.project-card .button:hover {
  color: var(--color-white);
}

.splide__slide:not(.bg-none) > article.card.icon {
  padding: var(--vert-spacing-3) var(--hori-spacing-3);
}

.splide__slide:not(.bg-none) > article.card.img .text {
  padding: var(--vert-spacing-3) var(--hori-spacing-3);
}

article.card.img {
  display: flex;
  flex-direction: column;
}

article.card.img .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 800px) {
  article.project-card img {
    max-height: 15rem;
  }
}
