/* PODIUM — accessibility, mobile and polish layer (loads after the inline page CSS) */
:root{--accent-text:#b73625;--muted-text:#595959}
html{-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@view-transition{navigation:auto}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}

/* Skip link + visible focus */
.skip{position:absolute;left:12px;top:-100px;z-index:100;display:flex;align-items:center;min-height:44px;padding:0 16px;background:#111;color:#fff;font:800 13px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.skip:focus{top:12px;outline:3px solid #ffb2a8;outline-offset:2px}
a:focus-visible,button:focus-visible,[role=link]:focus-visible,[role=button]:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #111;outline-offset:3px;box-shadow:0 0 0 6px #fff}
.breaking a:focus-visible,.footer a:focus-visible{outline-color:#fff;box-shadow:0 0 0 6px #111}
main:focus{outline:0}

/* Contrast: accent used for text darkened to 5.4:1; decorative numerals lifted above 3:1 */
.kicker,.score{color:var(--accent-text)}
.story .number{color:#8c887d}
.story p,.card p,.sport p{color:#3d3d3d}
.footer p{color:#cfcfcf}

/* Navigation */
.nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:7px;text-decoration-color:var(--accent)}
.logo{display:block}
.logo:focus-visible{outline-offset:6px}
.menu-btn{min-height:44px;min-width:44px;cursor:pointer;letter-spacing:.09em;font-size:12px}
.footer-links a{display:flex;align-items:center;min-height:44px}
@media(max-width:800px){
  .nav.open .nav-links a{display:flex;align-items:center;min-height:48px;padding:0}
  .nav.open .nav-links a:not(:last-child){border-bottom:1px solid #d6d2c8}
  .nav.open .nav-links{box-shadow:0 12px 24px rgba(0,0,0,.12)}
}

/* Cards are links: the heading link stretches over the whole card */
.card{position:relative}
.card-link{color:inherit}
.card-link::after{content:"";position:absolute;inset:0;z-index:1}
.card:hover .card-link{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.card-link:focus-visible{outline:0;box-shadow:none}
.card:has(.card-link:focus-visible){outline:3px solid #111;outline-offset:-3px}
.back{min-height:44px;padding:0 16px}
.scoreline-link{display:flex;align-items:center;min-height:44px;color:var(--accent-text);text-decoration:underline;text-underline-offset:3px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}

/* Mobile type: nothing under 11px, body copy at a readable size */
@media(max-width:560px){
  .utility .container{font-size:11px}
  body[data-page] .card .meta,body[data-page] .sport .score,.meta{font-size:11px}
  body[data-page] .card p,body[data-page] .sport p{font-size:15px;line-height:1.4}
  body[data-page] .card h3,body[data-page] .sport h3{font-size:20px}
  .section-head span{font-size:11px}
  .article-body{font-size:18px}
}

/* First paint must already show the right sections (mirrors the page script) so nothing collapses after load */
body[data-page=affairs] main>section:not(#affairs),
body[data-page=sport] main>section:not(#sport),
body[data-page=economy] main>section:not(#economy),body[data-page=culture] main>section:not(#culture),
/* Compact chrome on phones: content should start in the first screen. Fixed min-height keeps the
   masthead from jumping when the real date replaces the placeholder. */
@media(max-width:560px){
  .utility .container{min-height:36px;align-items:center;padding:0}
  .utility .container span:nth-child(2){display:none}
  .masthead{padding:14px 0 10px}
  .logo{font-size:clamp(48px,15vw,60px)}
  body:not([data-page=home]) .breaking{display:none}
}

a.logo{display:flex;align-items:center;justify-content:center;min-height:44px}

/* Placeholder card art: a considered pattern instead of empty outlines (uploaded covers override via inline style) */
.card-art,.sport-art,.hero-visual{--tint:rgba(217,74,56,.16)}
.card-art{background:
  linear-gradient(135deg,transparent 0 58%,var(--tint) 58% 100%),
  repeating-linear-gradient(135deg,rgba(17,17,17,.055) 0 1px,transparent 1px 10px),#e9e6de}
.card:nth-child(2) .card-art{--tint:rgba(17,17,17,.10);background:
  linear-gradient(225deg,transparent 0 55%,var(--tint) 55% 100%),
  repeating-linear-gradient(45deg,rgba(17,17,17,.055) 0 1px,transparent 1px 10px),#e4e0d5}
.card:nth-child(3) .card-art{--tint:rgba(217,74,56,.22);background:
  radial-gradient(circle at 78% 28%,var(--tint) 0 22%,transparent 22.5%),
  repeating-linear-gradient(0deg,rgba(17,17,17,.05) 0 1px,transparent 1px 10px),#ebe8df}
body[data-page=sport] .sport .sport-art{background:
  linear-gradient(135deg,transparent 0 60%,var(--tint) 60% 100%),
  repeating-linear-gradient(135deg,rgba(17,17,17,.055) 0 1px,transparent 1px 10px),#e5e1d8}
.card:first-child .card-art{background:
  linear-gradient(135deg,transparent 0 58%,var(--tint) 58% 100%),
  repeating-linear-gradient(135deg,rgba(17,17,17,.055) 0 1px,transparent 1px 10px),#e2ded3}
.card:first-child .card-art.has-cover,.card-art.has-cover{background-color:transparent!important}

/* Mobile fit: nothing may be wider than the screen */
html,body{max-width:100%;overflow-x:clip}
img,svg,video{max-width:100%}
.utility .container{min-width:0;flex-wrap:wrap;row-gap:4px}
.utility .container>span{min-width:0}
.theme-btn{white-space:nowrap}
@media(max-width:560px){
  .utility .container{justify-content:space-between;flex-wrap:nowrap;gap:10px}
  .utility .container span:nth-child(2){display:block;flex:1;text-align:center;font-size:10px;letter-spacing:.06em}
  body:not([data-page=home]) .breaking{display:block}
}

/* Mobile menu: burger on the left */
@media(max-width:800px){
  .nav-inner{justify-content:flex-start}
  .menu-btn{position:relative;display:block;margin:0 0 0 -10px;padding:0;width:48px;height:48px;font-size:0;color:var(--ink);background:none;border:0}
  .menu-btn::before,.menu-btn::after{content:"";position:absolute;left:12px;top:23px;width:24px;height:2px;background:currentColor;transition:transform .2s,box-shadow .2s}
  .menu-btn::before{box-shadow:0 -8px 0 currentColor,0 8px 0 currentColor}
  .menu-btn::after{opacity:0}
  .menu-btn[aria-expanded=true]::before{box-shadow:none;transform:rotate(45deg)}
  .menu-btn[aria-expanded=true]::after{opacity:1;transform:rotate(-45deg)}
  .nav.open .nav-links{top:100%}
  .nav.open .nav-links{align-items:stretch}
}

/* Article typography: Helvetica Neue Medium for headings, Helvetica Neue Light for the main text */
.article-view{font-family:"Helvetica Neue",HelveticaNeue,Helvetica,Arial,sans-serif}
.article-view h1,.article-view .article-body h1,.article-view .article-body h2,.article-view .article-body h3,.article-view .article-body h4{font-family:"Helvetica Neue",HelveticaNeue,Helvetica,Arial,sans-serif;font-weight:500}
.article-view .article-body{font-family:"Helvetica Neue",HelveticaNeue,Helvetica,Arial,sans-serif;font-weight:300}
.article-view .article-body strong,.article-view .article-body b{font-weight:500}
.article-view .article-body h2,.article-view .article-body h3{margin:34px 0 14px;line-height:1.2}

/* Sport stories are clickable */
.sport-grid .sport[role=button]:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.sport-grid .sport[role=button]:focus-visible{outline:3px solid currentColor;outline-offset:-3px}

/* Home page: compact lead (whole image + title on screen) and a two-per-row feed */
.lead-hero{padding:16px 0 4px}
.lead-img{aspect-ratio:auto;height:clamp(170px,38vh,380px);max-height:none;background-size:contain;background-position:center;background-repeat:no-repeat;background-color:var(--soft)}
.lead-img.contain{background-size:contain;background-color:#fff}
.lead-text{padding-top:12px}
.lead-text h1{font-size:clamp(24px,3.1vw,40px);line-height:1.02;margin-top:6px}
.feed-wrap{padding-top:10px}
.feed{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.feed-item{grid-template-columns:38% minmax(0,1fr);gap:16px;padding:16px 0;align-items:start}
.feed-item:first-child{border-top:1px solid var(--line)}
.feed-item:nth-child(-n+2){border-top:3px solid var(--ink)}
.feed-item:nth-child(even) .feed-art{order:0}
.feed-art{aspect-ratio:4/3}
.feed-text h2{font-size:clamp(17px,1.7vw,23px);line-height:1.08;margin:5px 0 7px}
.feed-text p{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.feed-text .meta{margin-bottom:0}
@media(max-width:800px){
  .lead-img{aspect-ratio:auto;height:clamp(150px,30vh,260px)}
  .feed{column-gap:14px}
  .feed-item{grid-template-columns:1fr;gap:9px;padding:14px 0}
  .feed-text h2{font-size:16px}
  .feed-text p{font-size:12.5px;-webkit-line-clamp:2}
  .feed-text .meta{font-size:10px}
}

/* Lead story: a proper 16:9 picture, sized so picture + headline still fit on one screen */
.lead{width:min(100%,max(520px,calc((100vh - 360px)*16/9)));margin-left:auto;margin-right:auto}
.lead-img{height:auto;aspect-ratio:16/9;background-size:cover;background-position:center}
.lead-img.contain{background-size:contain}
@media(max-width:800px){.lead{width:100%}.lead-img{height:auto;aspect-ratio:16/9}}

/* Date/theme strip removed; theme switch lives in the footer */
.footer .theme-btn{display:inline-flex;align-items:center;margin-top:10px;padding:0 14px;border:1px solid #f7f5ef;color:#f7f5ef;font:800 11px/1 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;cursor:pointer}
.footer .theme-btn:hover{background:#f7f5ef;color:#111}
.masthead{padding:14px 0 10px}
.lead-hero{padding-top:12px}
.lead{width:min(100%,max(560px,calc((100vh - 315px)*16/9)))}
@media(max-width:800px){.lead{width:100%}.nav-inner{min-height:44px}}

/* ===== Front page: one tidy grid (lead = picture left, headline right; feed = 2 per row) ===== */
.lead-hero{padding:18px 0 6px}
.lead{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);column-gap:32px;align-items:center;width:100%;max-width:none;margin:0}
.lead-img{width:100%;height:auto;aspect-ratio:16/9;max-height:none}
.lead-text{padding:0}
.lead-text h1{font-size:clamp(26px,3vw,42px);line-height:1.08;letter-spacing:-.02em;margin:10px 0 0;max-width:none}
.feed-wrap{padding-top:20px}
.feed{column-gap:32px}
.feed-item{padding:18px 0;gap:18px;grid-template-columns:40% minmax(0,1fr);align-items:start}
.feed-art{aspect-ratio:4/3}
.feed-text h2{letter-spacing:-.015em;line-height:1.12}
.feed-text p{max-width:none}
@media(max-width:800px){
  .lead{grid-template-columns:1fr;row-gap:12px;width:100%}
  .lead-hero{padding-top:12px}
  .lead-text h1{font-size:24px}
  .feed{column-gap:14px}
  .feed-item{grid-template-columns:1fr;gap:9px;padding:14px 0}
}

/* ===== Fonts: Helvetica Neue Medium for titles, Helvetica Neue Light for reading text ===== */
:root{--hn:"Helvetica Neue",HelveticaNeue,Helvetica,Arial,sans-serif}
.lead-text h1,.feed-text h2,.card h3,.sport h3,.story h2,.hero h1,.about-body h3,.article-view h1,.article-view .article-body :is(h1,h2,h3,h4){font-family:var(--hn);font-weight:500}
.feed-text p,.card p,.sport p,.story p,.dek,.about-body p,.about-body li,.article-view .article-body,.article-view .article-body p{font-family:var(--hn);font-weight:300}
.article-view .article-body :is(strong,b),.about-body :is(strong,b){font-weight:500}
.card h3,.sport h3{letter-spacing:-.015em}

/* ===== About page text ===== */
.about-intro{align-items:start}
.about-body{max-width:760px}
.about-body>:first-child{margin-top:0}
.about-body p{font-size:18px;line-height:1.55;margin:0 0 16px;color:var(--ink)}
.about-body>p:first-child{font-size:24px;line-height:1.35}
.about-body h3{font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:26px 0 6px}
.about-body ul,.about-body ol{font-size:18px;line-height:1.55;font-weight:300;font-family:var(--hn);padding-left:22px}
.about-body a{text-decoration:underline;text-underline-offset:3px}
.about-body img{max-width:100%;height:auto}
@media(max-width:800px){.about-body>p:first-child{font-size:20px}.about-body p{font-size:17px}}

/* About page built from "About" articles */
.about-intro.has-posts{grid-template-columns:1fr}
.about-intro.has-posts .about-body{max-width:760px}
.about-post{margin:0 0 34px}
.about-post h2{font:500 clamp(24px,3vw,34px)/1.1 var(--hn);letter-spacing:-.015em;margin:0 0 14px}
.about-post-body{font:300 18px/1.6 var(--hn)}
.about-post-body p{font:300 18px/1.6 var(--hn);margin:0 0 16px}
.about-post-body h2,.about-post-body h3{font:500 22px/1.2 var(--hn);margin:26px 0 10px}
.about-post-body ul,.about-post-body ol{padding-left:22px}
.about-post-body a{text-decoration:underline;text-underline-offset:3px}
.about-post img{max-width:100%;height:auto;margin:0 0 16px}
