/* Text column only — do not touch decorative images on desktop */

.c-card-feature__main.is-half {
  position: relative;
  z-index: 2;
  width: 50%;
}

@media (max-width: 1024px) {
  .c-card-feature__main.is-half {
    width: auto;
  }

  .swiper-c .c-card-feature {
    min-height: 462px;
  }

  .swiper-c .c-card-feature__photo {
    flex: 1 1 auto;
    width: 100%;
    min-height: 240px;
    overflow: hidden;
    align-items: flex-end;
  }

  .swiper-c .c-card-feature__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  /* Appointment / Task text-only cards: title at bottom, violet span */
  .swiper-c .c-card-feature__main.is-space-between {
    height: 100%;
    min-height: 100%;
  }

  .swiper-c .c-card-feature__main.is-space-between .f-16 {
    max-width: 235px;
  }

  .swiper-c .c-card-feature .f-h2 span {
    color: var(--c-violet);
  }
}
