/* MK-Polis: the blue magazine identity of the live blog. */
:root{--paper:#f3f6fa;--surface:#fff;--ink:#142338;--muted:#5c6a7d;--line:#dce4ed;--accent:#0877c9;--soft:#e8f3fc;--serif:'DM Sans',Arial,sans-serif}
[data-theme=dark]{--paper:#101923;--surface:#182533;--ink:#edf4fc;--muted:#a3b4c8;--line:#334659;--accent:#67bafd;--soft:#20364b}
::selection{background:#a9d8ff;color:#10283c}
.site-header{padding:32px 0 0;display:flex;flex-direction:column;gap:0;background:var(--surface);border:0}
.site-header>.wordmark{font-size:clamp(46px,5.5vw,76px);font-weight:800;letter-spacing:-3px;line-height:1.1}
.site-header .mark-dot{color:var(--accent)}
.header-caption{max-width:none;margin:12px 20px 26px;font-size:14px;letter-spacing:.3px;text-align:center;color:var(--muted)}
.site-header nav{width:100%;margin:0;justify-content:center;gap:38px;background:#1597e5;padding:14px 5vw;color:#082339}
.site-header nav a{font-size:14px;font-weight:650;padding:4px 0}
.site-header nav a.active{color:#fff}
.site-header .icon-button{border-color:#08233955;color:#082339;width:34px;height:34px}
main{max-width:1420px;padding:0 4vw}
.opening{display:none}
.search-bar{margin-top:32px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;min-height:76px;box-shadow:0 6px 20px #11233b04}
.search-bar input{border-left-color:var(--line)}
.search-bar input::placeholder{color:var(--muted)}
.search-bar button{background:var(--accent);color:#fff;border-radius:4px;font-weight:600}
.search-bar button:hover{background:#065e9e}
.stats-strip{font-size:13px}
.library-layout{grid-template-columns:minmax(0,1fr) 260px;gap:32px}
.library-sidebar{grid-column:2;grid-row:1;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:24px 16px;align-self:start}
.library-content{grid-column:1;grid-row:1}
.category-button{border-radius:4px}
.category-button.selected{color:var(--accent)}
.sidebar-note p,.sidebar-note a{font-size:14px}
.featured{border-radius:8px;background:var(--surface);grid-template-columns:1.1fr 1fr;margin-bottom:32px}
.featured h2{font-weight:700;letter-spacing:-1px;line-height:1.1}
.featured h2 em{font-style:normal;font-weight:700}
.featured-image{background:var(--soft)}
.featured-image img{transform:none;box-shadow:none;border-radius:4px}
.featured .eyebrow,.featured-footer,.featured-image>span{font-size:12px}
.featured-image>span{letter-spacing:1px;color:var(--muted)}
.article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.archive-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:0}
.card-link{padding:24px}
.archive-card h3{font-size:25px;font-weight:650;line-height:1.23;letter-spacing:-.5px}
.card-excerpt{font-size:15px}
.card-top,.card-bottom{font-size:12px}
.card-number{font-size:15px;font-weight:700}
.results-toolbar h2,.section-title h2{font-size:30px;font-weight:650}
.filter-controls select{font-size:14px;padding:9px;border:1px solid var(--line);border-radius:4px;background:var(--surface)}
.results-meta,.text-button{font-size:14px}
.results-toolbar .eyebrow{font-size:12px}
.pagination{margin-top:30px}
.pagination button{width:42px;height:42px;border-radius:4px}
.pagination button[aria-current]{background:var(--accent);color:#fff;border-color:var(--accent)}
.reader{background:var(--surface);padding:36px;border:1px solid var(--line);border-radius:8px}
.article-header h1{font-weight:700;line-height:1.15;font-size:clamp(32px,3.5vw,49px)}
.article-body{font-family:'Newsreader',Georgia,serif}
.article-header>.eyebrow,.article-byline,.reading-controls button,.reader-source,.reader-sidebar nav{font-size:14px}
.collection-card h2{font-weight:650}
.collection-card{border-radius:8px}
.page-intro h1{font-weight:700}
.about-prose h2{font-weight:650}
.related .article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-footer{background:var(--surface)}
[data-theme=dark] .search-bar{background:var(--surface);color:var(--ink)}
[data-theme=dark] .search-bar button{background:var(--accent);color:#071b2b}
[data-theme=dark] .featured-image{background:var(--soft)}
[data-theme=dark] .featured-image>span{color:var(--muted)}
@media(max-width:1000px){.library-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.featured{grid-template-columns:1fr}.featured-image{display:none}.featured-copy{padding:28px}.card-link{padding:20px}.archive-card h3{font-size:23px}.reader{padding:26px}.reader-layout{grid-template-columns:160px minmax(0,1fr);gap:22px}}
@media(max-width:760px){.site-header{padding-top:22px}.site-header>.wordmark{font-size:48px;letter-spacing:-2px}.header-caption{margin:10px 18px 20px;font-size:13px}.site-header nav{gap:20px;justify-content:center;flex-wrap:wrap;padding:10px 4vw}.site-header nav a{font-size:13px}.site-header .icon-button{width:30px;height:30px}.search-bar{margin-top:22px;padding:16px}.search-label{font-size:14px}.search-bar input{font-size:16px}.stats-strip{font-size:12px}.stats-strip strong{font-size:16px}.library-layout{display:flex}.library-sidebar{padding:0;background:transparent;border:0}.category-list{margin-right:0}.category-button{font-size:14px;background:var(--surface);border:1px solid var(--line)}.category-button.selected{border-color:var(--accent)}.category-button span:last-child{font-size:12px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.featured h2{font-size:34px}.featured-footer>span:first-child{font-size:12px;max-width:none}.featured .eyebrow{font-size:12px}.filter-controls select{font-size:13px;max-width:100%}.results-meta{font-size:13px}.archive-card h3{font-size:23px}.card-top,.card-bottom{font-size:12px}.card-excerpt{font-size:14px}.reader-layout{display:block}.reader{padding:24px 18px}.article-header h1{font-size:32px}.reading-controls{flex-wrap:wrap}.reading-controls button{font-size:13px}.related .article-grid{grid-template-columns:1fr}}
@media(max-width:540px){.article-grid{grid-template-columns:1fr}.card-link{padding:22px}.archive-card h3{font-size:26px}.featured-copy{padding:26px}.site-header nav{gap:16px}.filter-controls{gap:8px}.filter-controls label{min-width:0}.filter-controls select{font-size:12px;padding:8px;max-width:118px}.reader{padding:22px 17px}.article-header h1{font-size:29px}.article-byline{font-size:13px}}
@media print{.reader{padding:0;border:0}.article-body{font-family:Georgia,serif}}
.masthead-meta{width:min(1200px,92%);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;letter-spacing:1px;margin-bottom:22px}
.masthead-meta a{letter-spacing:0}
.site-header nav{background:#42adf5;gap:22px;padding-block:10px}
.site-header nav a{padding:7px 12px;border-radius:4px}
.site-header nav a.active{background:#ffffffd9;color:#082339}
.site-header nav a:hover{background:#ffffff55;color:#082339}
.sidebar-heading h2{font-size:25px;font-weight:700;margin-bottom:20px}
.sidebar-heading .eyebrow{font-size:12px;color:var(--muted);letter-spacing:1.2px;margin-bottom:8px}
.landmark{display:block;border-top:1px solid var(--line);margin-top:26px;padding:25px 8px 0}
.landmark>.eyebrow{display:block;font-size:12px;letter-spacing:1px;color:var(--accent);margin-bottom:15px}
.landmark img{width:100%;height:auto;border-radius:4px;margin-bottom:16px}
.landmark h3{font-size:23px;font-weight:650;margin-bottom:13px;line-height:1.2}
.landmark>span:last-child{font-size:14px;color:var(--accent)}
.landmark:hover h3{color:var(--accent)}
.side-block{border-top:1px solid var(--line);margin-top:26px;padding:25px 8px 0}
.side-block .eyebrow{font-size:12px}
.year-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.year-links a{font-size:14px;padding:7px 4px;border:1px solid var(--line);text-align:center;border-radius:3px}
.year-links a:hover{background:var(--soft);border-color:var(--accent)}
.side-all{display:block;font-size:14px;color:var(--accent);margin-top:18px}
.latest-feature{min-height:350px;grid-template-columns:1.05fr 1fr;box-shadow:0 8px 25px #14233804}
.latest-feature h2{font-size:clamp(27px,2.6vw,37px);line-height:1.13;font-weight:750}
.latest-feature .featured-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.6}
.latest-feature .featured-copy{padding:30px}
.latest-feature .featured-image{padding:0;background:var(--soft);justify-content:center}
.latest-feature .featured-image img{width:100%;max-height:none;aspect-ratio:16/11;object-fit:cover;border-radius:0}
.latest-feature .featured-image>span{margin:0;padding:15px;font-size:12px;text-align:center;letter-spacing:.6px}
.card-link{padding:0!important}
.card-image{aspect-ratio:16/9;overflow:hidden;background:var(--soft);border-bottom:1px solid var(--line)}
.card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.archive-card:hover .card-image img{transform:scale(1.035)}
.archive-card:hover{box-shadow:0 7px 23px #123a6210;transform:translateY(-3px);border-color:#a7cce7}
.card-copy{display:flex;flex-direction:column;flex:1;padding:23px;min-width:0}
.source-badge{font-size:11px;white-space:nowrap;border:1px solid var(--line);background:var(--soft);color:var(--accent);padding:2px 6px;border-radius:3px;letter-spacing:0}
.card-top{flex-wrap:wrap;margin-bottom:14px}
.card-top>span:first-child{line-height:1.5}
.archive-card h3{-webkit-line-clamp:5}
.sidebar-note h3{font-weight:650}
.timeline-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin:35px 0}
.year-card{display:block;position:relative;background:var(--surface);border:1px solid var(--line);padding:25px;border-radius:7px;transition:transform .2s}
.year-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.year-card>span{font-size:45px;font-weight:700;letter-spacing:-2px;color:var(--accent);line-height:1.3}
.year-card p{font-size:14px;color:var(--muted);margin:14px 0 0}
.year-card svg{position:absolute;right:24px;top:38px;width:22px}
.reference-link,.text-link{font-size:16px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.version-picker{margin-top:22px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;padding:12px;background:var(--soft);border-radius:5px}
.version-picker>span{margin-right:6px;color:var(--muted)}
.version-picker button{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px 12px;border-radius:3px;font-size:14px}
.version-picker button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}
.source-empty{padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:6px;font-family:var(--sans);font-size:17px}
.source-empty h2{margin-top:0;font-size:24px}
.source-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.solid-button.secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
.article-end,.reader-breadcrumb,.reader-breadcrumb>span,.site-footer p,.site-footer>a:last-child{font-size:14px}
.article-body strong{font-weight:650}
@media(max-width:1100px){.latest-feature{grid-template-columns:1fr;min-height:0}.latest-feature .featured-image{display:flex;order:-1}.latest-feature .featured-image img{aspect-ratio:21/9;max-height:300px}.latest-feature .featured-image>span{display:none}.latest-feature h2{font-size:31px}.latest-feature .featured-desc{display:none}.latest-feature .featured-copy{padding:25px}.timeline-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.masthead-meta{font-size:11px;letter-spacing:.5px;margin-bottom:16px;justify-content:center}.masthead-meta a{display:none}.site-header nav{gap:3px 9px;padding:9px 4vw}.site-header nav a{padding:5px 8px;font-size:13px}.header-caption{max-width:330px;line-height:1.7}.sidebar-heading,.landmark,.side-block{display:none}.latest-feature .featured-image{display:flex}.latest-feature .featured-image img{aspect-ratio:16/8;max-height:240px}.latest-feature h2{font-size:28px}.latest-feature .featured-copy{padding:23px}.latest-feature .featured-footer{font-size:13px}.latest-feature .featured-desc{display:none}.latest-feature .eyebrow{font-size:12px}.timeline-grid{grid-template-columns:repeat(2,1fr);gap:15px}.year-card{padding:21px}.year-card>span{font-size:39px}.year-card svg{right:18px;top:30px;width:18px}.year-card p{font-size:13px}.reader-source{display:none}.source-empty{padding:18px}.source-actions{display:grid}.site-footer{gap:18px}}
@media(max-width:420px){.latest-feature h2{font-size:25px}.card-copy{padding:21px}.archive-card h3{font-size:25px}.results-toolbar h2{font-size:27px}.stats-strip{font-size:11px}.version-picker{font-size:13px;gap:6px}.version-picker button{font-size:13px;padding:7px 9px}}
.latest-feature .featured-image img{object-fit:contain;aspect-ratio:16/9}
@media(max-width:1100px){.latest-feature .featured-image{order:0}.latest-feature .featured-copy{order:-1}.latest-feature .featured-image img{aspect-ratio:16/9;max-height:none}}
@media(max-width:760px){.library-sidebar{width:100%;min-width:0;align-self:stretch}.category-list{max-width:100%;min-width:0}}
