/* Editorial Guide prototype. These rules are scoped to the Guide only. */
.guide-page{background:#071524;color:#e6edf2}
.guide-page :is(h1,h2,h3){font-family:Montserrat,sans-serif;color:#f7f8fa;letter-spacing:-.025em;text-wrap:balance}
.guide-page a:focus-visible{outline:3px solid #a7ebe0;outline-offset:6px;border-radius:3px}
.guide-page .guide-skip{position:absolute;left:16px;top:-80px;background:#fff;color:#071524;padding:12px 20px;z-index:100}
.guide-page .guide-skip:focus{top:12px}
.guide-index,.guide-article{max-width:1180px;margin:0 auto;padding:58px 32px 64px}
.guide-kicker{font-size:.7rem;letter-spacing:.17em;font-weight:700;color:#a7d8d2;margin:0 0 13px}
.guide-index-heading{margin:0 0 42px}
.guide-index-heading h1{display:flex;align-items:center;flex-wrap:wrap;gap:22px;font-size:clamp(2.2rem,4.3vw,3.65rem);line-height:1.15;font-weight:600;margin:0 0 16px}
.guide-index-heading>p:last-child{margin:0;color:#adbecb;font-size:1.08rem}
.guide-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 32px}
.guide-story{display:block;min-width:0}
.guide-story-image{position:relative;overflow:hidden;aspect-ratio:16/9;background:#132c3b;border-radius:4px}
.guide-story-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.guide-story:nth-child(2) img{object-position:50% 8%}
.guide-story:hover img{transform:scale(1.025)}
.story-meta{margin:19px 0 9px;color:#92c7c3;font-size:.67rem;letter-spacing:.15em;font-weight:700}
.guide-story h2{font-size:clamp(1.22rem,2.1vw,1.72rem);line-height:1.35;font-weight:700;margin:0 0 15px;max-width:28ch;text-wrap:pretty}
.story-link{display:flex;gap:10px;align-items:center;font-size:.79rem;color:#b1c0cb}
.guide-story:hover h2{color:#b8ece4}.guide-story:hover .story-link{color:#fff}
.guide-index-footer{border-top:1px solid #293b4a;margin-top:52px;padding-top:22px;display:flex;justify-content:space-between;gap:14px;color:#8fa3b3;font-size:.75rem}
.guide-article{max-width:1120px;padding-top:35px}
.article-back{display:inline-block;color:#b4c6d0;font-size:.83rem;padding:8px 0}
.article-back:hover{color:#a7ebe0}
.article-heading{max-width:880px;margin:37px auto 34px;text-align:center}
.article-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;font-size:.66rem;letter-spacing:.13em;font-weight:600;color:#a1c7c6;margin-bottom:18px}
.article-meta span+span{color:#7f97a8}
.article-heading h1{font-size:clamp(2rem,4.2vw,3.35rem);font-weight:600;line-height:1.2;margin:0 0 22px}
.article-hook{font-size:clamp(1.05rem,1.8vw,1.2rem);line-height:1.6;color:#b6c9d4;max-width:58ch;margin:0 auto}
.guide-photo{margin:0}.guide-photo-frame{position:relative;background:#122838;border-radius:4px;overflow:hidden}
.article-hero img{width:100%;height:auto;max-height:565px;object-fit:cover;aspect-ratio:16/9}
.guide-article:has(img[src*="C11-sszek"]) .article-hero img{object-position:50% 8%}
.article-body{max-width:720px;margin:44px auto 0;font-size:1.04rem;line-height:1.8;color:#cbd8e1;overflow-wrap:anywhere}
.article-body section{margin:0 0 43px;scroll-margin-top:24px}
.article-body h2{font-size:clamp(1.4rem,2.2vw,1.8rem);font-weight:600;line-height:1.35;margin:0 0 17px}
.article-body h3{font-size:1.05rem;line-height:1.45;font-weight:600;margin:0 0 8px}
.article-body p{margin:0 0 17px}.article-body b,.article-body strong{font-weight:600;color:#f0f5f7}
.article-body a{text-decoration:underline;text-underline-offset:4px;color:#a7ebe0}
.article-steps{list-style:none;counter-reset:step;padding:0;margin:24px 0}
.article-steps li{counter-increment:step;position:relative;padding-left:48px;margin:0 0 24px}
.article-steps li:before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border:1px solid #4c797c;border-radius:50%;color:#b9e8df;font-size:.85rem;font-weight:600}
.article-example{padding:23px 26px;background:#102b36;border:1px solid #31545b;border-radius:5px;margin:25px 0}
.article-example .guide-kicker{display:block;margin-bottom:12px}.article-example p{font-size:1.15rem;line-height:1.65;color:#e5f0ee;margin:0}
.example-footnote{display:block;color:#9fb8c0;font-size:.82rem;line-height:1.6;margin-top:15px}
.article-note{border-left:2px solid #84bfb5;background:#112332;padding:19px 23px;margin:26px 0;font-size:.9rem;line-height:1.7}
.article-note strong{display:block;margin-bottom:5px}.article-note p{margin:0}
/* Match the blue Party member card on Character profiles (styles.css .standalone-party). */
.article-player-card{box-sizing:border-box;padding:24px;border:1px solid rgba(113,158,189,.52);border-radius:10px;background:linear-gradient(135deg,#1c4c72 0%,#143b5c 58%,#0d2b48 100%);color:#e0edf5}
.article-player-card>p:last-child{margin-bottom:0}
.article-sheet-example{max-width:600px;margin:30px auto 38px}
.article-sheet-example a,.article-mode-sample a{display:block}
.article-sheet-example img,.article-mode-sample img{display:block;width:100%;height:auto;border-radius:4px}
.article-mode-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0 38px}
.article-mode-sample{min-width:0;margin:0}
.article-mode-sample:first-child{grid-column:1/-1}
.article-mode-sample h3{color:#a7d8d2;font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;margin:0 0 10px}
@media(max-width:760px){.article-mode-comparison{grid-template-columns:minmax(0,1fr)}}
.article-choices{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:24px 0}
.article-choices>div{border-top:1px solid #48676b;padding-top:19px}.article-choices p{font-size:.95rem}
.article-list{padding-left:23px;margin:0 0 20px}.article-list li{padding-left:4px;margin-bottom:9px}.article-list li::marker{color:#90cbc2}
.article-reference-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:35px 0 43px}
.article-reference-pair img{width:100%;height:220px;object-fit:cover;border-radius:4px}.article-reference-pair>div:nth-child(2) img{object-position:50% 8%}
.article-next{display:block;max-width:720px;margin:40px auto 0;border-top:1px solid #34505d;padding:25px 0 0}
.article-next>.guide-kicker{display:block}.article-next>a:not(.article-back){display:block;max-width:31ch;font-family:Montserrat,sans-serif;font-size:1.4rem;line-height:1.5;font-weight:600;color:#ecf5f4;margin-bottom:18px}.article-next>a:hover{color:#a7ebe0}
@media(max-width:760px){.guide-index,.guide-article{padding:30px 22px 45px}.guide-index-heading{margin-bottom:30px}.guide-story-grid{grid-template-columns:1fr;gap:36px}.guide-story h2{font-size:1.4rem;max-width:32ch}.story-meta{margin-top:15px}.guide-index-footer{flex-direction:column;margin-top:35px}.article-heading{margin:24px auto 28px;text-align:left}.article-meta{justify-content:flex-start}.article-heading h1{font-size:2rem}.article-hook{margin:0}.article-body{margin-top:32px;font-size:1rem}.article-body section{margin-bottom:32px}.article-reference-pair{margin:25px 0 35px}.article-reference-pair img{height:180px}.article-choices{grid-template-columns:1fr;gap:12px}.article-example,.article-player-card{padding:20px}.article-steps li{padding-left:42px}.article-next>a:not(.article-back){font-size:1.25rem}}
@media(max-width:400px){.guide-index,.guide-article{padding-left:18px;padding-right:18px}.guide-index-heading h1{font-size:2.15rem;gap:12px}.guide-story h2{font-size:1.3rem}.article-heading h1{font-size:1.8rem}.article-reference-pair{grid-template-columns:1fr}.article-reference-pair img{height:auto;aspect-ratio:16/9}.article-steps li{padding-left:39px}.article-example p{font-size:1.02rem}}
@media(prefers-reduced-motion:reduce){.guide-page{scroll-behavior:auto}.guide-page *{transition:none!important}}
@media print{.guide-page{background:#fff;color:#111}.guide-page .site-header,.guide-skip,.article-next,.article-back{display:none}.guide-page :is(h1,h2,h3),.article-body,.article-body b,.article-body strong,.article-hook{color:#111}.guide-index,.guide-article{max-width:none;padding:0}.guide-story{break-inside:avoid}.article-note,.article-example,.article-player-card{background:#f5f5f5;color:#111}.article-example p{color:#111}.article-body section{break-inside:avoid}}

/* Keep portrait references whole enough to recognise; no blown-up face crop. */
.guide-story-image:has(.reference-person){display:grid;grid-template-columns:1.8fr 1fr;gap:3px}
.guide-story-image .reference-person{object-position:50% 0!important}
.guide-photo-collage{display:grid;grid-template-columns:1.8fr 1fr;gap:4px;aspect-ratio:16/9}
.article-hero .guide-photo-collage img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;min-width:0}
.guide-article .article-hero .guide-photo-collage img:last-of-type{object-position:50% 0}

@media(min-width:900px){.article-reference-pair{margin-left:-40px;margin-right:-40px}}

.article-scene-example{margin:32px 0 42px}.article-scene-example img{width:100%;height:auto;border-radius:4px}
.article-hero img.guide-illustration{max-height:none;height:auto;aspect-ratio:auto;object-fit:contain}
