.stories-page { background:#f7f8fa; color:#142044; padding:var(--page-hero-top) var(--page-gutter) var(--space-64); }
.stories-page * {box-sizing:border-box;}
.stories-hero {padding-bottom:var(--space-32);}
.stories-hero .section-kicker {margin:0;font-size:.7rem;line-height:1.6;letter-spacing:.1em;}
.stories-hero h1 {font-weight:700;letter-spacing:-.04em;}
.stories-hero .stories-intro { margin:0; color:#526174; font-size:.95rem; line-height:1.7; }
.stories-content { padding:var(--space-32) 0 0; }
.stories-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:32px; }
.stories-toolbar>p { margin:0; color:#526174; font-size:.85rem; }
.stories-toolbar form { display:flex; gap:8px; max-width:100%; }
.stories-toolbar input { width:260px; min-width:0; min-height:44px; padding:10px 14px; border:1px solid #cbd4df; background:#fff; border-radius:2px; font:inherit; font-size:.85rem; }
.stories-toolbar button { flex:none; min-height:44px; padding:10px 18px; border:1px solid #132044; border-radius:2px; background:#132044; color:#fff; font:inherit; font-size:.85rem; cursor:pointer; }
.stories-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 28px; align-items:start; }
.story-card { min-width:0; }
.story-card>a { display:flex; flex-direction:column; color:inherit; text-decoration:none; }
.story-card-image { display:flex; align-items:center; justify-content:center; aspect-ratio:4/3; overflow:hidden; background:#edf0f4; }
.story-card-image img { display:block; width:100%; height:100%; object-fit:contain; padding:12px; transition:transform .3s ease; }
.story-card-no-image { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;background:#142044;color:#fff;line-height:1.15; }
.story-card-no-image>span {font-size:.7rem;font-weight:700;letter-spacing:.1em;color:#bcd0e3;}
.story-card-no-image>strong {font-size:clamp(1.5rem,3vw,2.25rem);letter-spacing:-.04em;}
.story-card-meta { display:flex; flex-wrap:nowrap; gap:8px 16px; align-items:baseline; justify-content:space-between; margin-top:16px; color:#526174; font-size:.72rem; line-height:1.6; }
.story-card-meta>span { font-weight:800; letter-spacing:.06em; }
.story-card-meta :is(span,time) {white-space:nowrap;}
.story-card-meta time {font-variant-numeric:tabular-nums;}
.story-card h2 { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:3em;max-height:3em;margin:8px 0 0; font-size:1.15rem; line-height:1.5; letter-spacing:-.02em; }
.story-card>a:hover h2 { text-decoration:underline; text-underline-offset:var(--link-underline-gap,4px); }
.story-card>a:focus-visible { outline:2px solid #3f75bd; outline-offset:6px; }
@media(hover:hover) {.story-card>a:hover img {transform:scale(1.015);}}
.stories-empty { grid-column:1/-1; padding:48px 0; border-top:1px solid #cbd4df; }
.stories-empty h2 { font-size:1.2rem; }
.stories-empty p,.stories-search-result { font-size:.9rem; color:#526174; line-height:1.8; }
.stories-search-result { margin:0 0 24px; }
.stories-search-result a { margin-left:12px; text-decoration:underline; }
.stories-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:48px; }
.stories-pagination>a,.stories-pagination>span { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; padding:8px; box-sizing:border-box; font-size:.85rem; }
.stories-pagination [aria-current] { background:#132044; color:#fff; }
.stories-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.story-detail { width:100%; max-width:840px; margin:0 auto; padding:40px 0 16px; }
.story-detail-heading { border-bottom:1px solid #cbd4df; padding-bottom:28px; margin-bottom:28px; }
.story-detail-heading h2 { font-size:clamp(1.6rem,3.5vw,2.5rem); line-height:1.4; letter-spacing:-.035em; margin:12px 0 16px; }
.story-detail-category {margin:0;font-size:.72rem;line-height:1.6;font-weight:800;letter-spacing:.08em;color:#3f75bd;}
.story-detail-meta { display:flex;flex-wrap:wrap;gap:8px 20px;margin:0; font-size:.8rem; line-height:1.7; color:#526174;font-variant-numeric:tabular-nums; }
.story-body,.story-introduction { font-size:1rem; line-height:1.95; overflow-wrap:anywhere; }
.story-introduction { margin-bottom:28px; color:#526174; }
.story-body p { margin:0 0 20px; }
.story-gallery,.story-gallery * {box-sizing:border-box;}
.story-gallery { margin:28px auto; width:100%; min-width:0; max-width:840px; padding:16px; border:1px solid #dce2e8; border-radius:4px; background:#fff; }
.story-slides { position:relative; display:flex; align-items:flex-start; width:100%; max-width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:thin; touch-action:pan-x pan-y pinch-zoom; }
.story-slides.is-dragging {scroll-snap-type:none;cursor:grabbing;user-select:none;}
.story-slide { flex:0 0 100%; width:100%; max-width:100%; min-width:0; margin:0; scroll-snap-align:start; scroll-snap-stop:always; }
.story-slide>a { display:block; background:#edf0f4; }
.story-slide img { display:block; width:100%; height:auto; object-fit:contain; }
.story-slide figcaption { padding-top:10px; color:#526174; font-size:.8rem; line-height:1.7; }
.story-gallery-controls:not([hidden]) { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:12px; }
.story-gallery-controls button { min-width:44px; min-height:44px; border:1px solid #cbd4df; background:transparent; color:#132044; font-size:1.2rem; cursor:pointer; }
.story-gallery-controls button:disabled { opacity:.35; cursor:default; }
.story-gallery-controls p { font-size:.8rem; color:#526174; margin:0; }
.story-gallery-hint { margin:8px 0 0; font-size:.75rem; color:#526174; text-align:center; }
.story-attachments,.story-related { border-top:1px solid #cbd4df; padding-top:24px; margin-top:28px; }
.story-attachments h3,.story-related h3 { font-size:.9rem; margin:0 0 12px; }
.story-attachments a,.story-related a { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; font-size:.9rem; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:var(--link-underline-gap,4px); }
.story-back { margin-top:36px; padding-top:24px; border-top:1px solid #cbd4df; }
.story-gallery:focus-visible,.stories-toolbar :is(input,button):focus-visible,.story-gallery-controls button:focus-visible { outline:2px solid #3f75bd; outline-offset:3px; }
@media(max-width:1000px) {.stories-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px) {
 .stories-content {padding-block:24px 0;}
 .stories-toolbar {gap:12px;margin-bottom:24px;}
 .stories-toolbar form {width:100%;}
 .stories-toolbar input {flex:1;width:0;}
 .stories-grid {grid-template-columns:minmax(0,1fr);gap:28px;}
 .story-card-meta {margin-top:14px;}
 .story-card h2 {font-size:1.1rem;min-height:0;}
 .story-detail {padding-block:28px 0;}
 .story-detail-heading {margin-bottom:24px;padding-bottom:24px;}
 .story-body,.story-introduction {font-size:.95rem;line-height:1.9;}
 .story-gallery {margin-block:24px;}
}
@media(max-width:768px) {.stories-page {padding-bottom:var(--space-48);}}
@media(prefers-reduced-motion:reduce) {.story-card-image img {transition:none;}}

/* Editorial overview: an opening feature, followed by the archive. */
.stories-editorial-label {margin:0 0 24px;font-size:.7rem;line-height:1.6;font-weight:800;letter-spacing:.12em;color:#526174;}
.stories-featured {padding:8px 0 48px;margin-bottom:40px;border-bottom:1px solid #cbd4df;}
.story-feature-link {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:center;color:inherit;text-decoration:none;}
.story-feature-image {display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#edf0f4;overflow:hidden;min-width:0;}
.story-feature-image img {display:block;width:100%;height:100%;padding:24px;object-fit:contain;transition:transform .35s ease;}
.story-feature-copy {min-width:0;padding-block:24px;}
.story-feature-copy .story-card-meta {margin:0;justify-content:flex-start;gap:24px;}
.story-feature-copy h2 {margin:20px 0;font-size:clamp(1.7rem,3vw,3rem);line-height:1.3;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere;}
.story-feature-summary {margin:0 0 28px;color:#526174;font-size:.95rem;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere;}
.story-feature-read {display:inline-flex;align-items:center;gap:32px;min-height:44px;border-bottom:1px solid currentColor;font-size:.8rem;font-weight:700;}
.story-feature-link:focus-visible {outline:2px solid #3f75bd;outline-offset:6px;}
@media(hover:hover) {.story-feature-link:hover img {transform:scale(1.015);} .story-feature-link:hover .story-feature-read {color:#3f75bd;}}
@media(max-width:800px) {.story-feature-link {gap:28px;}.story-feature-image img {padding:16px;}}
@media(max-width:600px) {.stories-hero .stories-intro {word-break:keep-all;}.story-feature-link {grid-template-columns:minmax(0,1fr);gap:0;}.story-feature-copy {padding:24px 0 0;}.story-feature-copy h2 {margin:14px 0 20px;}.stories-featured {padding-top:0;padding-bottom:32px;margin-bottom:28px;}.stories-editorial-label {margin-bottom:16px;}}
@media(prefers-reduced-motion:reduce) {.story-feature-image img {transition:none;}}

.story-slide-page>a {display:block;background:#edf0f4;}
.story-slide-pair {display:flex;flex-direction:column;gap:16px;}
.story-image-caption {margin:10px 0 0;color:#526174;font-size:.8rem;line-height:1.7;}

/* One complete card fits below the fixed header and category menu. */
.story-gallery {
 --story-image-height:min(720px,max(120px,calc(100svh - var(--section-header-height,80px) - var(--section-nav-height,58px) - 120px)));
 scroll-margin-top:calc(var(--section-header-height,80px) + var(--section-nav-height,58px) + 12px);
}
.story-slide-page>a {display:flex;align-items:center;justify-content:center;}
.story-slide-page img {width:auto;height:auto;max-width:100%;max-height:var(--story-image-height);object-fit:contain;}
.story-slide-pair .story-slide-page img {max-height:calc((var(--story-image-height) - 16px)/2);}
.story-card h2.story-title-monthly {display:block;max-height:none;min-height:0;}
.story-preview-prefix,.story-preview-topic {display:block;}
.story-preview-topic {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;}
.story-feature-copy .story-title-monthly {font-size:clamp(1.2rem,2.2vw,2rem);line-height:1.5;}

.story-archive-note {margin:24px 0;padding:16px 0;border-block:1px solid #cbd4df;color:#526174;font-size:.85rem;line-height:1.8;}
.story-inline-image{margin:28px 0;text-align:center}
.story-inline-image a{display:block}
.story-inline-image img{display:block;width:auto;height:auto;max-width:100%;max-height:78svh;margin:auto;object-fit:contain}
.story-inline-image figcaption{margin-top:10px;font-size:.875rem;color:var(--text-muted,#536278)}
