.cc_ud0vift4_q2NrnGbayv .story {
  --header-h: var(--hd-h, 88px);
  --vh-cap: min(100svh, 900px);
  --ratio: 1.47;
  --pin-top: max(var(--header-h), calc((100svh - var(--stage-h)) / 2));
  /* height follows the image proportion, capped so only a small gap remains above/below */
  --stage-h: min(calc(min(78cqw, 1123px) / var(--ratio)), calc(var(--vh-cap) - var(--header-h) * 2));
  --card-w: min(78%, 1123px);
  --step: calc(var(--vh-cap) * 0.42);
  --gap: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  container-type: inline-size;
  width: 100%;
  background-color: var(--kbdkEkTUuO);
  color: var(--xzwz2GSx9S);
}

/* No-JS / reduced motion: a plain swipeable row. */
.cc_ud0vift4_q2NrnGbayv .story-wrap {
  position: relative;
}

.cc_ud0vift4_q2NrnGbayv .story-stage {
  height: var(--stage-h);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cc_ud0vift4_q2NrnGbayv .story-stage::-webkit-scrollbar {
  display: none;
}

.cc_ud0vift4_q2NrnGbayv .story-track {
  display: flex;
  gap: var(--gap);
  height: 100%;
  width: max-content;
  min-width: 100%;
}

.cc_ud0vift4_q2NrnGbayv .story-slot, .cc_ud0vift4_q2NrnGbayv .story-slot > *, .cc_ud0vift4_q2NrnGbayv .story .ch {
  display: contents;
}

/* Pinned mode: vertical scroll drives the track sideways. */
.cc_ud0vift4_q2NrnGbayv .story.js-ready .story-wrap {
  height: calc(var(--stage-h) + (var(--n, 1) - 1) * var(--step));
}

.cc_ud0vift4_q2NrnGbayv .story.js-ready .story-stage {
  position: sticky;
  top: var(--pin-top);
  overflow: hidden;
  scroll-snap-type: none;
}

.cc_ud0vift4_q2NrnGbayv .story.js-ready .story-track {
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}

/* ===== Card ===== */

.cc_ud0vift4_q2NrnGbayv .story .ch-card {
  --f: 1;
  --par: 0;
  position: relative;
  flex: 0 0 var(--card-w);
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #0b0d12;
  color: #fff;
  isolation: isolate;
  scroll-snap-align: start;
}

.cc_ud0vift4_q2NrnGbayv .story.js-ready .ch-card {
  scale: calc(0.94 + var(--f) * 0.06);
  transform-origin: 50% 50%;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-image {
  display: block;
  width: 118%;
  max-width: none;
  height: 100%;
  margin-left: -9%;
  object-fit: cover;
  translate: calc(var(--par) * -7%) 0;
  will-change: translate;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8, 10, 16, 0.6) 0%, rgba(8, 10, 16, 0) 55%),
    linear-gradient(to bottom, rgba(8, 10, 16, 0.28) 0%, rgba(8, 10, 16, 0) 26%);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-label {
  position: absolute;
  top: clamp(16px, 2.4vw, 28px);
  left: clamp(16px, 2.4vw, 28px);
  z-index: 3;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

/* Floating frosted panel with the copy */
.cc_ud0vift4_q2NrnGbayv .story .ch-panel {
  position: absolute;
  left: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(25rem, calc(100% - 28px));
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 24px 60px -20px rgba(8, 10, 16, 0.5);
  color: var(--xzwz2GSx9S);
}

.cc_ud0vift4_q2NrnGbayv .story.js-ready .ch-panel {
  opacity: calc(0.2 + var(--f) * 0.8);
  translate: calc(var(--par) * 48px) calc((1 - var(--f)) * 14px);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-title {
  margin: 0 0 10px;
  font-size: var(--t-scroll-story-title-size, clamp(22px, 2.4vw, 30px));
  font-weight: var(--t-scroll-story-title-weight, 500);
  line-height: 1.1;

  text-wrap: balance;
  color: var(--xzwz2GSx9S);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-desc {
  margin: 0;
  font-size: var(--t-scroll-story-description-size, 15px);
  font-weight: var(--t-scroll-story-description-weight, 400);
  line-height: 1.55;
  color: var(--eaUZrJ571O);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--xzwz2GSx9S);
  font-size: var(--t-scroll-story-link-size, 15px);
  font-weight: var(--t-scroll-story-link-weight, 500);
  color: #fff;
  text-decoration: none;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-link-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--xzwz2GSx9S);
  transition: transform 0.45s var(--ease);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-link:hover .ch-link-arrow {
  transform: rotate(-45deg);
}

.cc_ud0vift4_q2NrnGbayv .story .ch-link:focus-visible {
  outline: 2px solid var(--eIjF7PvDc3);
  outline-offset: 3px;
}

/* Big numerals bottom-right, no boxes */
.cc_ud0vift4_q2NrnGbayv .story .ch-stats {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 34px);
  z-index: 3;
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
  margin: 0;
}

.cc_ud0vift4_q2NrnGbayv .story.js-ready .ch-stats {
  opacity: calc(0.1 + var(--f) * 0.9);
  translate: calc(var(--par) * 90px) 0;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-stat-value {
  margin: 0;
  font-size: var(--t-scroll-story-statValue-size, 36px);
  font-weight: var(--t-scroll-story-statValue-weight, 400);
  line-height: 1;

  color: #fff;
}

.cc_ud0vift4_q2NrnGbayv .story .ch-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .cc_ud0vift4_q2NrnGbayv .story {
    --stage-h: min(var(--stage-vh, 74svh), 600px);
    --pin-top: 76px;
    --step: 36vh;
    --card-w: 86%;
    --gap: 12px;
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-card {
    border-radius: 24px;
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-panel {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* stats move to the top-right on small screens so they don't collide with the panel */
  .cc_ud0vift4_q2NrnGbayv .story .ch-stats {
    top: 16px;
    right: 16px;
    bottom: auto;
    flex-direction: column;
    gap: 10px;
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-stat-value {
    font-size: min(var(--t-scroll-story-statValue-size, 36px), 22px);
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-stat-label {
    font-size: 11px;
  }

  .cc_ud0vift4_q2NrnGbayv .story .ch-label {
    top: 16px;
    left: 16px;
  }
}
