/* Category feature — the page's dark anchor.
 *
 * The text sits in a card that OVERLAPS the image rather than in a column
 * beside it. That overlap is what turns two elements into one composition and
 * breaks the run of plain grids above and below.
 */

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ofs-space-3);
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__media {
  aspect-ratio: 4 / 3;
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ofs-space-2);
  padding: var(--ofs-space-4);
  border-radius: var(--ofs-radius-card);
  background: var(--ofs-surface);
  color: var(--ofs-text);
}

/* Both are visible by default; the entrance plays only once in view. The
 * card arrives from the left and late, so it lands on a picture that is
 * already there — which is what makes the overlap read as one object. */
.cc_vt72n7bb_m5gRudhDrC .ofs-feature--in .ofs-feature__media {
  animation: cc_vt72n7bb_m5gRudhDrC_ofs-feature-media-in 800ms var(--ofs-ease-enter) backwards;
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature--in .ofs-feature__card {
  animation: cc_vt72n7bb_m5gRudhDrC_ofs-feature-card-in var(--ofs-duration-enter)
    var(--ofs-ease-enter) 300ms backwards;
}

@keyframes cc_vt72n7bb_m5gRudhDrC_ofs-feature-media-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes cc_vt72n7bb_m5gRudhDrC_ofs-feature-card-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__eyebrow {
  margin: 0;
  color: var(--ofs-text-faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__title {
  margin: 0;
  color: var(--ofs-text);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__desc {
  margin: 0;
  color: var(--ofs-text-soft);
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ofs-space-4) var(--ofs-space-2);
  margin-top: var(--ofs-space-6);
}

@media (min-width: 768px) {
  /* The image takes 58%; the card overlaps its right edge and floats above
   * the bottom, so the two read as one object. */
  .cc_vt72n7bb_m5gRudhDrC .ofs-feature__split {
    grid-template-columns: 58% minmax(0, 1fr);
    gap: 0;
    align-items: end;
  }

  .cc_vt72n7bb_m5gRudhDrC .ofs-feature__card {
    width: 23.75rem;
    max-width: 100%;
    margin-left: -3rem;
    margin-bottom: 3rem;
  }

  .cc_vt72n7bb_m5gRudhDrC .ofs-feature__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ofs-space-8) var(--ofs-space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_vt72n7bb_m5gRudhDrC .ofs-feature--in .ofs-feature__media, .cc_vt72n7bb_m5gRudhDrC .ofs-feature--in .ofs-feature__card {
    animation: none;
  }
}

/* ===== Refinement =====
 * The dark section is the page's anchor; it earns more vertical room than the
 * light sections around it. */
.cc_vt72n7bb_m5gRudhDrC .ofs-feature.ofs-section--dark {
  padding-top: var(--ofs-space-12);
  /* The cards still need dark ground under them — flushing this to zero once
   * made them merge with the light section below. But the seam's 96px is
   * split now rather than sitting entirely on this side: 64 here, 32 on the
   * light section, so the band that follows starts clear of the edge. */
  padding-bottom: var(--ofs-space-8);
}

/* White cards on a dark ground need an edge, or they read as holes punched in
 * the section rather than objects sitting on it. */
.cc_vt72n7bb_m5gRudhDrC .ofs-feature__products .ofs-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cc_vt72n7bb_m5gRudhDrC .ofs-feature__products {
  gap: var(--ofs-space-3);
}
