@font-face {
    font-family: Newsreader;
    src: url("assets/newsreader.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: "Naskh Newstheque";
    src: url("assets/naskh.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
:root {
    --display-face: Newsreader, Georgia, serif;
    --paper-color: #fffefa;
    --press-ink: #162d30;
}
html[lang=ar] { --display-face: "Naskh Newstheque", Georgia, serif; }
body.home, body.category, .site-header, .reading-sheet { background: var(--paper-color); }
.identity .brand {
    font: 600 clamp(2.8rem, 5vw, 4.9rem)/1 Newsreader, Georgia, serif;
    letter-spacing: -.045em;
}
.identity .brand span { font-weight: 380; }
.masthead { padding-block: 1.15rem .8rem; }
.magazine > .section-heading h1, .reading-sheet h1,
.category-section .section-heading :is(h1,h2), .standard h2,
[dir=rtl] .reading-sheet h1, .category-section .editorial-card[lang=ar] h2 {
    font-family: var(--display-face);
}
.magazine > .section-heading h1 { font-weight: 560; font-size: 2.1rem; }
.magazine > .demo-banner { background: transparent; padding: 0; border: 0; margin-bottom: 1.1rem; }
.front-spread {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
    gap: 0 clamp(1.4rem,3vw,3.2rem);
    border-block: 1px solid #bac6c3;
    padding-block: 1rem 1.5rem;
}
.front-spread .opening-story { grid-row: span 4; }
.spread-count-1 { grid-template-columns: 1fr; }
.spread-count-2 .opening-story { grid-row: auto; }
.front-spread .card-picture { display: block; }
.front-spread .card-picture:empty { display: none; }
.opening-story .card-picture img { aspect-ratio: 2.35; }
.opening-story .card-copy { padding-top: 1rem; }
.front-spread h2, .front-spread .editorial-card[lang=ar] h2 {
    font-family: var(--display-face);
    text-wrap: pretty;
}
.opening-story h2 {
    font-size: clamp(2.4rem,3.7vw,3.7rem);
    line-height: 1.04;
    font-weight: 525;
    margin-block: .4rem .65rem;
}
.front-spread .editorial-card[lang=ar] h2 { line-height: 1.42; }
.opening-story .card-copy > p { margin-block: .65rem 0; max-width: 60ch; color:#364a50; }
.companion-story {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(4rem,25%);
    align-content: center;
    column-gap: 1rem;
    padding-block: .85rem;
    border-bottom: 1px solid #ced7d3;
}
.companion-story:last-child { border-bottom: none; }
.companion-story .card-copy { grid-column: 1; grid-row: 1; }
.companion-story .card-picture { grid-column: 2; grid-row: 1; align-self: center; }
.companion-story .card-picture img { aspect-ratio: 1.12; }
.companion-story h2 { font-size: clamp(1.25rem,1.8vw,1.65rem); line-height: 1.15; font-weight: 560; }
.spread-count-2 .companion-story { display:block; align-self:start; }
.spread-count-2 .companion-story .card-picture img { aspect-ratio:1.95; }
.spread-count-2 .companion-story .card-copy { padding-top:.75rem; }
.front-spread .card-date span { display:none; }
.front-spread .demo-label { border:0; color:#52625f; background:transparent; padding-inline:0; }
.category-section { border: 0; border-radius: 0; background: transparent; }
.category-section .section-heading {
    border: 0;
    border-top: 2px solid var(--section-color);
    background: transparent;
    padding: .85rem 0;
}
.category-section .category-grid { padding: 0; }
.rubrics, .latest-panel { border-radius: 2px; }
:where(a,input):focus-visible { outline: 3px solid #197862; outline-offset: 3px; }
::selection { background: #d2e8df; color:#162d30; }
@media(max-width:760px) {
    .front-spread { grid-template-columns: 1fr; }
    .front-spread .opening-story { grid-row: auto; padding-bottom:1.1rem; border-bottom:1px solid #becac6; }
    .opening-story .card-picture img { aspect-ratio: 1.85; }
    .opening-story h2 { font-size:clamp(2.1rem,7.5vw,3rem); }
    .companion-story, .spread-count-2 .companion-story { display:grid; }
    .spread-count-2 .companion-story .card-picture img { aspect-ratio:1.12; }
    .spread-count-2 .companion-story .card-copy { padding-top:0; }
}
