.c4y-bfeatured {
  margin: 0;
  padding-bottom: 4rem;
}

.c4y-bfeatured__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
  border: 1px solid #d7dce6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: box-shadow .3s ease;
}

.c4y-bfeatured__media {
  display: block;
  height: 100%;
  background: #eef3fb;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.c4y-bfeatured__media img,
.c4y-bfeatured__media .c4y-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.c4y-blog-card__placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 92px;
  font-weight: 700;
  color: #c0cad9;
}

.c4y-bfeatured__content {
  padding: 2rem;
}

.c4y-bfeatured__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.c4y-bfeatured__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.c4y-bfeatured__badge--featured {
  background: rgba(104, 200, 81, 0.14);
  color: rgb(104, 200, 81);
}

.c4y-bfeatured__badge--category {
  background: rgba(45, 63, 107, 0.08);
  color: rgb(41, 54, 101);
}

.c4y-bfeatured__title {
  margin: 0 0 1rem;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #141f38;
}

.c4y-bfeatured__title a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}

.c4y-bfeatured__excerpt {
  margin: 0 0 1.5rem;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgb(107, 114, 128);
}

.c4y-bfeatured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: rgb(107, 114, 128);
}

.c4y-bfeatured__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.c4y-bfeatured__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.c4y-bfeatured__cta {
  margin: 0;
}

.c4y-bfeatured__cta a {
  color: rgb(104, 200, 81);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
}

.c4y-bfeatured__cta a svg {
  transition: transform .3s ease;
}

.c4y-bfeatured__card:hover {
  box-shadow: 0 20px 25px -5px rgba(20, 31, 56, .10), 0 8px 10px -6px rgba(20, 31, 56, .10);
}

.c4y-bfeatured__card:hover .c4y-bfeatured__title a {
  color: rgb(104, 200, 81);
}

.c4y-bfeatured__card:hover .c4y-bfeatured__cta a svg {
  transform: translateX(5px);
}

.c4y-bfeatured__card:hover .c4y-bfeatured__media img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .c4y-bfeatured__card {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .c4y-bfeatured__content {
    padding: 1.5rem;
  }

  .c4y-bfeatured__title {
    font-size: 24px;
    line-height: 32px;
  }

  .c4y-bfeatured__media {
    aspect-ratio: 16 / 9;
  }

  .c4y-bfeatured__media img,
  .c4y-bfeatured__media .c4y-blog-card__placeholder {
    min-height: 0;
  }
}

@media (min-width: 1025px) {
  .c4y-bfeatured__card {
    height: 400px;
  }

  .c4y-bfeatured__media {
    aspect-ratio: auto;
  }

  .c4y-bfeatured__media img,
  .c4y-bfeatured__media .c4y-blog-card__placeholder {
    min-height: 100%;
  }
}
