/* Dialed-In Web: case studies area (Case Studies index, case study detail pages, Testimonials).
   Owned by the cases builder; loads after diw.css. Everything is scoped to .diw-cs (the <main> of those templates).
   contact-cases.css is shared with the Contact page, so overrides of it live here, not there. */

/* ---------- Grounds: dark (navy contour texture), linen (light contour paper), light (white) ---------- */
.diw-cs .cs-dark {
  background-color: #0B1424 !important;
  background-image: linear-gradient(rgba(11,20,36,.5), rgba(11,20,36,.5)), url("img/tex-dark.jpg?v=linen") !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
  color: #C9D3E0;
}
.diw-cs section#case-studies {
  background-color: #0B1424 !important;
  background-image: linear-gradient(rgba(11,20,36,.5), rgba(11,20,36,.5)), url("img/tex-dark.jpg?v=linen") !important;
  background-size: cover !important; background-position: center !important;
}
.diw-cs .cs-light, .diw-cs .cs-linen, .diw-cs .cs-figbar {
  --hd-bg: #FFFFFF; --hd-bg-2: #F7F9FB; --hd-card: #FFFFFF; --hd-navy: #E1E6ED; --hd-line: #D3DAE3;
  --hd-white: #15171B; --hd-text: #3A3E45; --hd-muted: #5F646C; --hd-red-text: #4C6B35;
  --lx-hair: rgba(21,23,27,.12); --lx-hair-strong: rgba(21,23,27,.24); --lx-surface: rgba(21,23,27,.03);
  --lx-ink: #15171B; --lx-ink-2: #2C3036; --lx-ink-3: #3A3E45;
  color: #3A3E45;
}
.diw-cs .cs-light { background: #FFFFFF !important; }
.diw-cs .cs-linen {
  background-color: #EFEDE6 !important;
  background-image: url("img/tex-light.jpg?v=linen") !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}
.diw-cs .cs-light .hd-btn:not(.hd-btn--outline), .diw-cs .cs-linen .hd-btn:not(.hd-btn--outline) { --hd-white: #FFFFFF; --hd-red-text: #FFFFFF; }
.diw-cs .gu-kicker::before { background: var(--diw-sage-lt); }
.diw-cs .cs-light .gu-kicker::before, .diw-cs .cs-linen .gu-kicker::before { background: var(--diw-sage); }
.diw-cs .hd-title .hd-accent { color: var(--diw-sage-lt); }
.diw-cs .cs-light .hd-title .hd-accent, .diw-cs .cs-linen .hd-title .hd-accent { color: var(--diw-sage-ink); }
.diw-cs .cs-head { max-width: 760px; margin: 0 0 56px; }
.diw-cs .cs-head .hd-lead { margin-top: 14px; }

/* Shared small text */
.diw-cs .cs-services { margin: 18px 0 0; font-size: 14px; line-height: 1.6; letter-spacing: .01em; color: #8FA0B3; }
.diw-cs .cs-light .cs-services, .diw-cs .cs-linen .cs-services { color: #5F646C; }
.diw-cs .cs-meta { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--diw-sage-ink); }

/* ---------- Hero ---------- */
.diw-cs .cs-hero { padding-top: 200px; padding-bottom: 110px; }
.diw-cs .cs-hero__title { margin: 0; font-size: 54px; line-height: 1.08; color: #FFFFFF; max-width: 15em; }
.diw-cs .cs-hero__lead { margin: 22px 0 0; max-width: 640px; color: #C9D3E0; font-size: 19px; line-height: 1.6; }
.diw-cs .cs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.diw-cs .cs-hero .hd-btn--outline, .diw-cs .cs-more .hd-btn--outline { color: #FFFFFF !important; background: transparent !important; border-color: rgba(255,255,255,.4) !important; }
.diw-cs .cs-hero .hd-btn--outline:hover { border-color: #FFFFFF !important; }

/* Index / testimonials stat line: big figures with hairline dividers */
.diw-cs .cs-statline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 72px 0 0; padding: 34px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.diw-cs .cs-statline__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.12); }
.diw-cs .cs-statline__item:first-child { padding-left: 0; border-left: 0; }
.diw-cs .cs-statline dd { margin: 0; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 54px; line-height: 1; font-weight: 500; color: #FFFFFF; letter-spacing: -.02em; }
.diw-cs .cs-statline dt { font-size: 15px; color: #C9D3E0; }
.diw-cs .cs-statline dt span { display: block; margin-top: 2px; font-size: 13px; color: #8FA0B3; }

/* Detail hero: copy left, photo frame (or typographic panel) right */
.diw-cs .cs-hero--detail { padding-bottom: 96px; }
.diw-cs .cs-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.diw-cs .cs-hero--detail .cs-hero__title { font-size: 46px; }
.diw-cs .cs-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; font-size: 14px; font-weight: 600; color: #C9D3E0; text-decoration: none; }
.diw-cs .cs-back:hover { color: #FFFFFF; }
.diw-cs .cs-back svg { width: 16px; height: 16px; }
.diw-cs .cs-frame { margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #0E1F33; aspect-ratio: 16 / 10; }
.diw-cs .cs-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.diw-cs .cs-typepanel { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 380px; padding: 44px 44px 40px; border-radius: 4px; border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, rgba(94,127,69,.22) 0%, rgba(94,127,69,0) 46%), #0E1F33; position: relative; overflow: hidden; }
.diw-cs .cs-typepanel::before { content: ""; position: absolute; left: 44px; right: 44px; top: 44px; height: 1px; background: rgba(255,255,255,.16); }
.diw-cs .cs-typepanel__cat { position: absolute; top: 62px; left: 44px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--diw-sage-lt); }
.diw-cs .cs-typepanel__value { font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 112px; line-height: .9; font-weight: 500; letter-spacing: -.04em; color: #FFFFFF; }
.diw-cs .cs-typepanel__label { font-size: 18px; color: #C9D3E0; max-width: 22em; }
.diw-cs .cs-typepanel__foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; font-weight: 600; color: #FFFFFF; }

/* Key figures strip under the detail hero */
.diw-cs .cs-figbar { background: #FFFFFF; border-bottom: 1px solid rgba(21,23,27,.10); }
.diw-cs .cs-figbar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.diw-cs .cs-figbar__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.diw-cs .cs-figbar__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.diw-cs .cs-figbar__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 40px 24px; border-left: 1px solid rgba(21,23,27,.10); }
.diw-cs .cs-figbar__item:first-child { border-left: 0; padding-left: 0; }
.diw-cs .cs-figbar dd { margin: 0; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 38px; line-height: 1.05; font-weight: 500; color: #15171B; letter-spacing: -.02em; }
.diw-cs .cs-figbar dt { font-size: 14.5px; line-height: 1.45; color: #5F646C; }

/* ---------- Index: featured case ---------- */
.diw-cs .cs-featured__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.diw-cs .cs-featured__media { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #D9D6CC; }
.diw-cs .cs-featured__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.diw-cs .cs-featured__title { margin: 0; font-size: 38px; color: #15171B; }
.diw-cs .cs-featured__lead { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: #3A3E45; }
.diw-cs .cs-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; border-top: 1px solid rgba(21,23,27,.14); }
.diw-cs .cs-figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 20px 0; border-bottom: 1px solid rgba(21,23,27,.14); }
.diw-cs .cs-figures > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid rgba(21,23,27,.14); }
.diw-cs .cs-figures > div:nth-child(even) { padding-left: 24px; }
.diw-cs .cs-figures dd { margin: 0; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 34px; line-height: 1; font-weight: 500; color: #15171B; }
.diw-cs .cs-figures dt { font-size: 14px; color: #5F646C; }
.diw-cs .cs-featured__rev { margin: 22px 0 0; font-size: 16px; color: #3A3E45; }
.diw-cs .cs-featured__rev b { color: #15171B; }
.diw-cs .cs-featured .cs-services { margin-bottom: 30px; }

/* ---------- Case cards (homepage card look) + typographic media for cases without a usable photo ---------- */
.diw-cs .cs-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.diw-cs .cs-grid__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.diw-cs .cs-grid .gu-cases__head, .diw-cs .cs-more .gu-cases__head { margin-bottom: 56px; }
.diw-cs .cs-card .gu-case__media { aspect-ratio: 16 / 9; }
.diw-cs .cs-card .gu-case__media img { width: 100%; height: 100%; object-fit: cover; }
.diw-cs .cs-card__type { position: absolute; inset: 0; display: block; background: radial-gradient(90% 120% at 100% 0%, rgba(94,127,69,.30) 0%, rgba(94,127,69,0) 60%), linear-gradient(180deg, #13253D 0%, #0B1424 100%); }
.diw-cs .cs-card__type span { position: absolute; top: 22px; right: 24px; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: rgba(169,203,139,.55); }
.diw-cs .cs-card--type .gu-case__media::after { content: ""; position: absolute; left: 24px; right: 24px; top: 54px; height: 1px; background: rgba(255,255,255,.12); }

/* ---------- Detail: highlights ---------- */
.diw-cs .cs-high__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: cshigh; }
.diw-cs .cs-high__list li { counter-increment: cshigh; padding: 30px 30px 32px; background: #FFFFFF; border-top: 3px solid var(--diw-sage); border-radius: 2px; }
.diw-cs .cs-high__list li::before { content: "0" counter(cshigh); display: block; margin-bottom: 18px; font-family: var(--ds-head); font-size: 14px; font-weight: 600; color: var(--diw-sage-ink); }
.diw-cs .cs-high__list h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; font-weight: 500; color: #15171B; }
.diw-cs .cs-high__list p { margin: 0; font-size: 16px; line-height: 1.6; color: #3A3E45; }
.diw-cs .cs-high .hd-title, .diw-cs .cs-proof .hd-title, .diw-cs .cs-videos .hd-title, .diw-cs .cs-feat .hd-title, .diw-cs .cs-stories .hd-title { color: #15171B; }

/* ---------- Detail: chapters ---------- */
.diw-cs .cs-chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; padding: 64px 0; border-top: 1px solid rgba(21,23,27,.12); }
.diw-cs .cs-chapter:first-child { padding-top: 0; border-top: 0; }
.diw-cs .cs-chapter:last-child { padding-bottom: 0; }
.diw-cs .cs-chapter__num { display: block; margin-bottom: 14px; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 15px; font-weight: 600; color: var(--diw-sage-ink); }
.diw-cs .cs-chapter__head .hd-title { margin: 0 0 18px; font-size: 36px; color: #15171B; }
.diw-cs .cs-chapter__head p { margin: 0; font-size: 17px; line-height: 1.7; color: #3A3E45; }
.diw-cs .cs-chapter__list { list-style: none; margin: 0; padding: 0; align-self: start; }
.diw-cs .cs-chapter__list li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(21,23,27,.10); font-size: 16px; line-height: 1.55; color: #2C3036; }
.diw-cs .cs-chapter__list li:first-child { border-top: 1px solid rgba(21,23,27,.10); }
.diw-cs .cs-chapter__list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--diw-sage); border-bottom: 2px solid var(--diw-sage); transform: rotate(-45deg); }

/* ---------- Detail: proof callout + comparison ---------- */
.diw-cs .cs-callout { max-width: 820px; margin: 0 0 56px; }
.diw-cs .cs-callout p { margin: 16px 0 0; font-size: 18px; line-height: 1.7; color: #3A3E45; }
.diw-cs .cs-compare__title { margin: 0; font-size: 26px; font-weight: 500; color: #15171B; }
.diw-cs .cs-compare__intro { margin: 8px 0 26px; font-size: 16px; color: #5F646C; }
.diw-cs .cs-compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.diw-cs .cs-compare__col { padding: 32px; background: #FFFFFF; border-radius: 2px; border: 1px solid rgba(21,23,27,.10); }
.diw-cs .cs-compare__col--us { background: #0B1424; border-color: #0B1424; }
.diw-cs .cs-compare__kicker { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5F646C; }
.diw-cs .cs-compare__col--us .cs-compare__kicker { color: var(--diw-sage-lt); }
.diw-cs .cs-compare__col h4 { margin: 0 0 16px; font-size: 22px; font-weight: 500; color: #15171B; }
.diw-cs .cs-compare__col--us h4 { color: #FFFFFF; }
.diw-cs .cs-compare ul { list-style: none; margin: 0; padding: 0; }
.diw-cs .cs-compare li { padding: 10px 0; border-top: 1px solid rgba(21,23,27,.10); font-size: 16px; color: #2C3036; }
.diw-cs .cs-compare__col--us li { border-top-color: rgba(255,255,255,.12); color: #E3E9F0; }
.diw-cs .cs-compare__take { margin-top: 28px; padding: 28px 32px; background: #FFFFFF; border-left: 3px solid var(--diw-sage); }
.diw-cs .cs-compare__take h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #15171B; }

/* ---------- Detail: revenue impact ---------- */
.diw-cs .cs-impact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.diw-cs .cs-impact .hd-title { color: #FFFFFF; }
.diw-cs .cs-impact__list { list-style: none; margin: 28px 0 0; padding: 0; }
.diw-cs .cs-impact__list li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(255,255,255,.10); font-size: 16px; line-height: 1.55; color: #C9D3E0; }
.diw-cs .cs-impact__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--diw-sage-lt); }
.diw-cs .cs-impact__figs { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.diw-cs .cs-impact__figs > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.diw-cs .cs-impact__figs dd { margin: 0; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 52px; line-height: 1; font-weight: 500; color: #FFFFFF; letter-spacing: -.02em; }
.diw-cs .cs-impact__figs dt { font-size: 15px; color: #8FA0B3; }

/* ---------- Detail: previous / next ---------- */
.diw-cs .cs-pager { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 96px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.diw-cs .cs-pager__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.diw-cs .cs-pager__link--next { text-align: right; align-items: flex-end; }
.diw-cs .cs-pager__dir { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--diw-sage-lt); }
.diw-cs .cs-pager__dir svg { width: 16px; height: 16px; }
.diw-cs .cs-pager__name { font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 22px; font-weight: 500; color: #FFFFFF; }
.diw-cs .cs-pager__link:hover .cs-pager__name { color: var(--diw-sage-lt); }

/* ---------- Closing band ---------- */
.diw-cs .cs-cta { padding-top: 110px; padding-bottom: 110px; background-image: radial-gradient(70% 70% at 50% 100%, rgba(94,127,69,.30), transparent 70%), linear-gradient(rgba(11,20,36,.5), rgba(11,20,36,.5)), url("img/tex-dark.jpg?v=linen") !important; background-size: auto, auto, cover !important; }
.diw-cs .cs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.diw-cs .cs-cta .hd-title { margin: 0; color: #FFFFFF; }
.diw-cs .cs-cta .hd-lead { margin: 12px 0 0; color: #C9D3E0; }
.diw-cs .cs-cta .hd-btn { flex: none; }

/* ---------- Testimonials: video cards ---------- */
.diw-cs .cs-videos__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.diw-cs .cs-video { margin: 0; display: flex; flex-direction: column; }
.diw-cs .cs-video__player { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #0B1424; }
.diw-cs .cs-video__frame { display: block; width: 100%; height: 100%; object-fit: cover; }
.diw-cs .cs-video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.diw-cs .cs-video__play { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--diw-sage); color: #FFFFFF; box-shadow: 0 6px 18px rgba(11,20,36,.35); transition: background .2s ease, transform .2s ease; }
.diw-cs .cs-video__play:hover, .diw-cs .cs-video__play:focus-visible { background: var(--diw-sage-ink); transform: scale(1.05); }
.diw-cs .cs-video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.diw-cs .cs-video__quote { margin: 26px 0 0; padding: 0; }
.diw-cs .cs-video__quote p { margin: 0; font-size: 16.5px; line-height: 1.7; color: #2C3036; }
.diw-cs figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(21,23,27,.12); }
.diw-cs .cs-person { font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 17px; font-weight: 600; color: #15171B; }
.diw-cs .cs-role { font-size: 14px; color: #5F646C; }
.diw-cs figcaption .cs-services { margin-top: 10px; font-size: 13px; color: var(--diw-sage-ink); font-weight: 600; }

/* Testimonials: featured results + more stories */
.diw-cs .cs-feat__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.diw-cs .cs-quote { margin: 0; padding: 32px; background: #FFFFFF; border: 1px solid rgba(21,23,27,.10); border-radius: 2px; break-inside: avoid; }
.diw-cs .cs-quote blockquote { margin: 0; padding: 0; }
.diw-cs .cs-quote blockquote p { margin: 0; font-size: 16px; line-height: 1.7; color: #2C3036; }
.diw-cs .cs-quote--feat { border-top: 3px solid var(--diw-sage); }
.diw-cs .cs-quote__result { margin: 0 0 18px; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 22px; line-height: 1.25; font-weight: 500; color: #15171B; }
.diw-cs .cs-stories__list { columns: 3; column-gap: 24px; }
.diw-cs .cs-stories__list .cs-quote { margin: 0 0 24px; background: #F7F9FB; border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .diw-cs .cs-hero__grid, .diw-cs .cs-featured__grid, .diw-cs .cs-impact__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .diw-cs .cs-figbar__list, .diw-cs .cs-figbar__list--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diw-cs .cs-figbar__item { padding: 28px 20px; border-left: 0; border-top: 1px solid rgba(21,23,27,.10); }
  .diw-cs .cs-figbar__item:first-child { padding-left: 20px; }
  .diw-cs .cs-figbar__list { padding: 0 0 28px; }
  .diw-cs .cs-chapter { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .diw-cs .cs-videos__list, .diw-cs .cs-feat__list { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .diw-cs .cs-stories__list { columns: 2; }
  .diw-cs .cs-grid__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diw-cs .cs-grid__list--3 > :nth-child(3) { display: none; }
}
@media (max-width: 1024px) {
  .diw-cs .cs-hero { padding-top: 150px; }
  .diw-cs .cs-hero__title { font-size: 42px; }
  .diw-cs .cs-hero--detail .cs-hero__title { font-size: 38px; }
}
@media (max-width: 767px) {
  .diw-cs .cs-hero { padding-top: 120px; padding-bottom: 72px; }
  .diw-cs .cs-hero__title, .diw-cs .cs-hero--detail .cs-hero__title { font-size: 31px; }
  .diw-cs .cs-hero__lead { font-size: 17px; }
  .diw-cs .cs-hero__actions .hd-btn { width: 100%; justify-content: center; }
  .diw-cs .cs-statline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 48px; padding-top: 0; }
  .diw-cs .cs-statline__item { padding: 22px 0 0 18px; }
  .diw-cs .cs-statline__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .diw-cs .cs-statline dd { font-size: 38px; }
  .diw-cs .cs-typepanel { min-height: 260px; padding: 28px; }
  .diw-cs .cs-typepanel::before { left: 28px; right: 28px; top: 28px; }
  .diw-cs .cs-typepanel__cat { left: 28px; top: 44px; }
  .diw-cs .cs-typepanel__value { font-size: 68px; }
  .diw-cs .cs-figbar__list, .diw-cs .cs-figbar__list--4, .diw-cs .cs-figbar__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diw-cs .cs-figbar__item { padding: 22px 12px 22px 0; }
  .diw-cs .cs-figbar__item:first-child { padding-left: 0; }
  .diw-cs .cs-figbar dd { font-size: 28px; }
  .diw-cs .cs-featured__title { font-size: 28px; }
  .diw-cs .cs-figures dd { font-size: 26px; }
  .diw-cs .cs-grid__list, .diw-cs .cs-grid__list--3, .diw-cs .cs-high__list, .diw-cs .cs-compare__grid { grid-template-columns: minmax(0, 1fr); }
  .diw-cs .cs-grid__list--3 > :nth-child(3) { display: flex; }
  .diw-cs .cs-chapter { padding: 44px 0; }
  .diw-cs .cs-chapter__head .hd-title { font-size: 28px; }
  .diw-cs .cs-impact__figs dd { font-size: 40px; }
  .diw-cs .cs-pager { margin-bottom: 64px; }
  .diw-cs .cs-pager__name { font-size: 18px; }
  .diw-cs .cs-cta { padding-top: 80px; padding-bottom: 80px; }
  .diw-cs .cs-cta__inner { flex-direction: column; align-items: flex-start; }
  .diw-cs .cs-cta .hd-btn { width: 100%; justify-content: center; }
  .diw-cs .cs-stories__list { columns: 1; }
  .diw-cs .cs-quote, .diw-cs .cs-compare__col { padding: 24px; }
  .diw-cs .cs-head { margin-bottom: 36px; }
}

/* Back link on its own line above the kicker; impact flows straight into the pager (both dark) */
.diw-cs .cs-back { display: flex; width: max-content; }
.diw-cs .cs-impact { padding-bottom: 96px; }
.diw-cs .cs-impact + .cs-more { padding-top: 0; box-shadow: none; }
.diw-cs .cs-impact + .cs-more .cs-pager { padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 767px) { .diw-cs .cs-impact { padding-bottom: 64px; } }
@media (max-width: 767px) {
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) .cs-statline__item { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.12); }
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) .cs-statline__item:first-child { padding-left: 0; border-left: 0; }
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) dd { font-size: 30px; }
}

/* Type panel: the category sits in flow under the top hairline so it never collides with the figure */
.diw-cs .cs-typepanel { justify-content: flex-start; }
.diw-cs .cs-typepanel__cat { position: static; margin: 22px 0 auto; padding-bottom: 48px; }
@media (max-width: 767px) { .diw-cs .cs-typepanel { min-height: 0; } .diw-cs .cs-typepanel__cat { margin-top: 16px; padding-bottom: 28px; } }
@media (max-width: 767px) {
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .9fr); }
  .diw-cs .cs-statline:not(:has(> :nth-child(4))) dd { font-size: 27px; }
}
