/* Skipped (covered by shared chunk CSS): ../../sub-components/SectionHeader/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Media/styles.css */

/* MultiColumn (spec H9): icon / image-card columns, or stats + side image when sideImage is set.
   ColumnItem children read --column-* vars set here (inline ratio vars, alignment below). */
.cc_ha5dwmyj_CLNA65eAUX .multi-column {
  --column-align: flex-start;
  --column-text-align: left;
  --mc-col-gap: var(--grid-col-gap);
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--center {
  --column-align: center;
  --column-text-align: center;
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--four {
  --mc-col-gap: var(--grid-col-gap-4);
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-row-gap) var(--mc-col-gap);
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column__grid {
  display: grid;
  grid-template-columns: repeat(var(--mc-cols-mobile, 1), minmax(0, 1fr));
  gap: var(--grid-row-gap) var(--mc-col-gap);
  /* Stretch: every column is as tall as the tallest in its row, so ColumnItem can pin its
     link to the bottom and the links line up. */
  align-items: stretch;
  min-width: 0;
}

/* The renderer wrapper is display: contents; each child container is one grid cell. */
.cc_ha5dwmyj_CLNA65eAUX .multi-column__items > * {
  min-width: 0;
}

/* ---------- Stats variant ---------- */

.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats .multi-column__grid {
  row-gap: var(--sp-500);
}

/* Stats typography (spec H9: h3 heading, body-75 text). The ColumnItem markup carries the
   h4 / body-100 text styles; there are no font-size tokens to swap to, so these mirror the
   theme's h3 and body-75 fluid sizes (spec §1.5). */
.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats .column-item__heading {
  font-size: clamp(1.3125rem, 0.9375rem + 1.25vw, 1.875rem);
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats .column-item__text {
  font-size: clamp(0.9191rem, 0.8658rem + 0.1776vw, 0.999rem);
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats .column-item__heading + .column-item__text {
  margin-top: var(--sp-150);
}

/* Image-less stat strip (statStyle): a single quiet row of figures, grouped by spacing only. */
.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats:not(.multi-column--aside) .column-item__heading {
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--stats:not(.multi-column--aside) .column-item__text {
  max-width: 24ch;
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column__aside {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-image);
  overflow: hidden;
  isolation: isolate;
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column__aside .media {
  border-radius: inherit;
}

/* ---------- Image reveal stagger (80ms x column index within a row) ----------
   The cycle length must equal the number of columns actually rendered at each breakpoint,
   so it is keyed on the per-breakpoint count classes set in index.tsx (--cols-N desktop,
   --tablet-cols-N, --mobile-cols-N). Ranges are bounded so one breakpoint's rules never
   leak into the next. 1 column needs no rule (stagger stays 0). */

@media (max-width: 719.98px) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column--mobile-cols-2 .multi-column__items > :nth-child(2n + 2) {
    --mc-stagger: 1;
  }
}

@media (min-width: 720px) and (max-width: 1023.98px) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-2 .multi-column__items > :nth-child(2n + 2), .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-3 .multi-column__items > :nth-child(3n + 2), .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-4 .multi-column__items > :nth-child(4n + 2) {
    --mc-stagger: 1;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-3 .multi-column__items > :nth-child(3n + 3), .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-4 .multi-column__items > :nth-child(4n + 3) {
    --mc-stagger: 2;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--tablet-cols-4 .multi-column__items > :nth-child(4n + 4) {
    --mc-stagger: 3;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-2 .multi-column__items > :nth-child(2n + 2), .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-3 .multi-column__items > :nth-child(3n + 2), .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-4 .multi-column__items > :nth-child(4n + 2) {
    --mc-stagger: 1;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-3 .multi-column__items > :nth-child(3n + 3), .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-4 .multi-column__items > :nth-child(4n + 3) {
    --mc-stagger: 2;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--cols-4 .multi-column__items > :nth-child(4n + 4) {
    --mc-stagger: 3;
  }
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column__items .reveal-media.is-revealed > img, .cc_ha5dwmyj_CLNA65eAUX .multi-column__items .reveal-media.is-revealed > picture > img {
  animation-delay: calc(var(--mc-stagger, 0) * 80ms);
}

/* ---------- Tablet ---------- */

@media (min-width: 720px) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column__grid {
    grid-template-columns: repeat(var(--mc-cols-tablet, 2), minmax(0, 1fr));
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--aside .multi-column__layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--aside .multi-column__aside {
    aspect-ratio: auto;
    min-height: 360px;
  }

  /* Image only (no stats yet): keep a tall tile in its 1/3 slot on the right. */
  .cc_ha5dwmyj_CLNA65eAUX .multi-column--aside .multi-column__aside:only-child {
    grid-column: 2;
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column__grid {
    grid-template-columns: repeat(var(--mc-cols, 3), minmax(0, 1fr));
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--aside .multi-column__grid {
    row-gap: var(--grid-row-gap);
    align-content: center;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column--aside .multi-column__aside {
    min-height: 480px;
  }
}

/* ---------- Text column entrance ----------
   Icon / text-only columns fade and rise 8px once, on the same 0/1/2/3 per-row stagger as the
   image reveal (70ms steps). Image columns keep the image blur reveal instead, so nothing
   animates twice. Hidden only after hydration (--motion), so no-JS / SSR shows everything. */
.cc_ha5dwmyj_CLNA65eAUX .multi-column--motion .column-item:not(.column-item--image) {
  opacity: 0;
}

.cc_ha5dwmyj_CLNA65eAUX .multi-column--motion.multi-column--revealed .column-item:not(.column-item--image) {
  animation: cc_ha5dwmyj_CLNA65eAUX_mcRise 520ms var(--ease-out-quart) calc(var(--mc-stagger, 0) * 70ms) both;
}

@keyframes cc_ha5dwmyj_CLNA65eAUX_mcRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_CLNA65eAUX .multi-column--motion .column-item:not(.column-item--image), .cc_ha5dwmyj_CLNA65eAUX .multi-column--motion.multi-column--revealed .column-item:not(.column-item--image) {
    opacity: 1;
    animation: none;
  }

  .cc_ha5dwmyj_CLNA65eAUX .multi-column__items .reveal-media.is-revealed > img, .cc_ha5dwmyj_CLNA65eAUX .multi-column__items .reveal-media.is-revealed > picture > img {
    animation-delay: 0ms;
  }
}
