.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card a {
  text-decoration: none;
}

.card__thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.9rem;
}

.card__thumbnail_constrain {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card__thumbnail img:hover {
  transform: scale(1.05);
}

.card__content {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  gap: 0.9rem;
  height: 100%;
  justify-content: space-between;
}

.card__content i {
  width: 1em;
}

.card__category {
  font-family: 'Noto Sans',Helvetica,Arial,Lucida,sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: #9232ff!important;
  letter-spacing: 0.35rem;
  text-decoration: none;
}

/* .card__title {} */

/* .card__desc {
  font-size: 1rem;
  color: #444;
} */

.card__website a {
  word-break: break-all;
}

.card__cta {
  margin-top: 0.5rem;
  align-self: flex-start;
  background-color: #0066cc;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.card__cta:hover {
  background-color: #004a99;
}

.card__button {
  padding-top: 1rem;
}

.card.featured {
  flex-direction: row;
  align-items: start;
  padding-bottom: 4em;
}

.home .card.featured, .archive .card.featured {
  align-items: end;
}

.card.featured .card__content {
  padding: 0 1rem 0 3rem;
}


.card.featured .card__thumbnail {
  width: 60%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0;
}

.card.featured .card__content {
  width: 40%;
}

.card.featured.reverse {
  flex-direction: row-reverse;
}

.card.featured.reverse .card__content {
  padding: 0 5rem 0 1rem;
}

.card__body, .card__info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card__body p {
  padding-bottom: 1rem;
}


/* embedded carousel properties */
.card .carousel-wrapper {
  width: 60%;

}

.card .carousel-wrapper .slides-inner {
  width: 100%;
  height: unset;
  aspect-ratio: 16 / 9;
}

.card .carousel-wrapper .slide {
  height: auto;
}


/* breakpoints */
@media (max-width: 1440px) {
  .card.featured .card__content {
    max-width: calc(100% - 640px);
  }
}

@media (max-width: 1200px) {
  .card.featured {
    flex-direction: column;
    align-items: baseline;
    padding-bottom: 2em;
  }
  
  .card.featured .card__thumbnail {
    width: 100%;
    margin-bottom: 4%;
  }
  
  .card__thumbnail {
    margin-bottom: 4%;
  }
  
  .card.featured .card__content {
    width: 100%;
    padding: 1rem;
    max-width: 100%;
  }

  .card.featured.reverse {
    flex-direction: column;
  }

  .card.featured img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .card .carousel-wrapper {
    width: 100%;
  }

  .card .carousel-wrapper .thumbnail {
    width: 72px;
    height: 72px;
  }

  .carousel-wrapper + .card__content {
    margin-bottom: 1em;
  }
}

@media (max-width: 540px) {
  .card.featured .card__content {
    padding: 0rem;
  }
}