/* A full-width, readable chapter card on phones and tablets. Desktop is unchanged. */
@media (max-width: 959px) {
  .home-page .story.is-slider { padding-block: 22px 44px; overflow: clip; background: #f8fafd; }
  .home-page .story.is-slider .story-controls { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 67px; z-index: 6; width: 100%; max-width: none; margin: 0 0 16px; padding: 12px max(16px, calc((100% - 620px) / 2)); border-bottom: 1px solid #e6ecf4; background: #f8fafdf5; }
  .home-page .story-controls__row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; order: 0; width: 100%; }
  .home-page .story-status { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; margin: 0; white-space: normal; line-height: 1.25; }
  .story-status__count { color: #6a7b92; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
  .story-status__title { color: #10294a; font-size: 16px; font-weight: 750; letter-spacing: -.35px; }
  .home-page .story-controls__btns { display: flex; flex-direction: row; flex-wrap: nowrap; flex: none; gap: 8px; }
  .home-page .story-nav { display: grid; place-items: center; width: 43px; height: 43px; min-height: 43px; padding: 0; border: 1px solid #dce4ef; border-radius: 11px; background: #fff; color: #1d3859; box-shadow: 0 2px 4px #18365504; }
  .home-page .story-nav[data-dir="1"] { background: #102d50; border-color: #102d50; color: #fff; }
  .home-page .story-nav .i { width: 19px; height: 19px; }
  .home-page .story-nav:disabled { opacity: .4; background: #f1f4f9; border-color: #e2e8f1; color: #8190a4; box-shadow: none; }
  .home-page .story-dots { display: flex; flex-direction: row; gap: 6px; order: 1; width: 100%; }
  .home-page .story-dot { flex: 1; width: auto; height: 17px; min-height: 17px; padding: 0; border: 0; background: transparent; }
  .home-page .story-dot::before, .home-page .story-dot::after { left: 0; right: 0; top: 7px; height: 3px; border-radius: 3px; }
  .home-page .story-dot::before { background: #dfe6f0; }
  .home-page .story-dot::after { background: #d30b35; }
  .home-page .story.is-slider .story__grid { display: flex; align-items: flex-start; gap: 20px; box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 2px max(16px, calc((100% - 620px) / 2)) 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100% - 620px) / 2)); scrollbar-width: none; }
  .home-page .story.is-slider .chapter { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0 0 23px; display: flex; flex-direction: column; border: 1px solid #dfe6f0; border-radius: 17px; background: #fff; box-shadow: 0 4px 12px #18365707; opacity: 1; transform: none; transition: none; scroll-snap-align: start; }
  .home-page .story.is-slider .chapter:not(.is-active) { opacity: 1; transform: none; }
  .home-page .story.is-slider .chapter > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .home-page .story.is-slider .chapter .scene-photo { animation: none !important; clip-path: none !important; transform: none !important; }
  .home-page .story.is-slider .chapter > :not(.chapter__scene) { margin-inline: 21px; }
  .home-page .story.is-slider .chapter > :last-child:not(.chapter__scene) { margin-bottom: 0; }
  .home-page .story.is-slider .chapter__scene { order: -1; margin: 0 0 23px; }
  .home-page .story.is-slider .chapter .scene { height: 176px; min-height: 0; padding: 0; border: 0; border-bottom: 1px solid #e6ecf4; border-radius: 0; background: radial-gradient(ellipse at 50% 50%, #fae5ec80, transparent 68%), linear-gradient(120deg, #f7faff, #f4f7fc); }
  .home-page .story.is-slider .chapter .scene :is(.scene-chip, .scene-tag) { display: none; }
  .home-page .story.is-slider .chapter .scene__heart { height: 153px; width: auto; max-width: 75%; object-fit: contain; filter: drop-shadow(0 8px 12px #a71a3825); }
  .home-page .story.is-slider .chapter .scene__ecg { left: 10%; top: 30%; width: 80%; height: 48%; stroke-width: 2; filter: drop-shadow(0 0 3px #e2406370); opacity: .65; }
  .home-page .story.is-slider .chapter .scene__ecg path { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; }
  .home-page .story.is-slider .chapter .scene--photo .scene-photo { width: 100%; height: 176px; min-height: 0; max-height: none; object-fit: cover; object-position: center 28%; }
  .home-page .story.is-slider .chapter__band { height: 124px; padding: 0 23px; gap: 17px; background-color: #f4f8fd; }
  .home-page .story.is-slider .chapter p.chapter__label { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #a71a38; font-size: 10px !important; letter-spacing: .06em; line-height: 1.5; }
  .home-page .story.is-slider .chapter__num { width: 25px; height: 25px; flex: none; font-size: 11px; background: #fff0f4; color: #c20a32; box-shadow: none; animation: none !important; }
  .home-page .story.is-slider .chapter h3 { margin-top: 0; margin-bottom: 15px; font-size: 23px; line-height: 1.2; letter-spacing: -.65px; color: #122b4b; }
  .home-page .story.is-slider .chapter p { color: #53647b; font-size: 14px; line-height: 1.75; margin-top: 0; margin-bottom: 16px; }
  .home-page .story.is-slider .chapter p.chapter__aside { margin-top: 3px; margin-bottom: 0; padding: 13px; border: 1px solid #e5ebf4; border-left: 2px solid #a6b9d1; border-radius: 8px; background: #f6f9fd; font-size: 12px !important; line-height: 1.6; }
  .home-page .story.is-slider .chapter .text-link { font-size: 13px; }
  .home-page .story.is-slider .chapter h3 .w > span { transform: none !important; transition: none !important; }
}
@media (max-width: 359px) {
  .home-page .story-status__title { font-size: 15px; }
  .home-page .story.is-slider .chapter > :not(.chapter__scene) { margin-inline: 18px; }
  .home-page .story.is-slider .chapter h3 { font-size: 21px; }
  .home-page .story.is-slider .chapter p { font-size: 14px; line-height: 1.7; }
  .home-page .story.is-slider .chapter p.chapter__label { font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .story.is-slider .story__grid { scroll-behavior: auto; }
}
