/*
Theme Name: Carioca ta On
Description: Tema jornalístico responsivo com editorias, manchetes e serviços de clima, câmbio e resultados das Loterias CAIXA.
Author: Joceilton Gomes
Version: 1.0.8
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: carioca-ta-on
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("assets/fonts/bricolage-grotesque.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: Figtree;
    src: url("assets/fonts/figtree.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}
@font-face {
    font-family: Figtree;
    src: url("assets/fonts/figtree-italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
}

body {
    background-color: #F4F5F7;
    color: #111827;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}
/* Tipografia Jornalística da Reportagem com suporte a escala dinâmica (A- / A+) */
.article-body {
    font-size: var(--article-font-size, 1.125rem);
    line-height: 1.8;
    color: #1F2937;
}
.article-body p {
    margin-bottom: 1.4rem;
}
.article-body p.lead-paragraph::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.3rem;
    line-height: 0.85;
    padding-top: 4px;
    padding-right: 10px;
    padding-left: 2px;
    font-weight: 800;
    color: #991B1B;
}
.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.45em;
    font-weight: 700;
    color: #111827;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
}
.article-body blockquote {
    border-left: 4px solid #B91C1C;
    background-color: #FEF2F2;
    padding: 1.25rem 1.5rem;
    margin: 1.8rem 0;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.2em;
    color: #7F1D1D;
    border-radius: 0 0.5rem 0.5rem 0;
}
.article-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}
:root {
    --font-heading: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: Figtree, system-ui, sans-serif;
    --paper: #fbfaf7;
    --ink: #1d242c;
    --accent: #a12520;
    --rule: #ddd7ce;
}
body { background: var(--paper); color: var(--ink); }
button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 3px;
}
.site-header { background: #fffefa; border-bottom: 1px solid var(--rule); }
.masthead {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: 1.1rem 0;
}
.brand { text-align: left; justify-self: start; }
.brand-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.6rem, 6vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}
.brand-name span { color: var(--accent); }
.brand-description {
    display: block;
    margin-top: .5rem;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #535b64;
}
.editorial-nav { border-top: 1px solid var(--rule); }
.editorial-nav button[aria-current="page"] {
    color: var(--accent);
    background: transparent;
    box-shadow: inset 0 -3px var(--accent);
}
.news-strip { background: #f1eee7; border-bottom: 1px solid var(--rule); }
.ticker-window { min-width: 0; flex: 1; overflow: clip; }
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 45s linear infinite;
}
.ticker-group {
    display: flex;
    flex: none;
    align-items: center;
    min-width: 100vw;
    white-space: nowrap;
}
.ticker-window:hover .ticker-track,
.ticker-window:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; width: 100%; }
    .ticker-group { min-width: 0; }
    .ticker-group[aria-hidden="true"] { display: none; }
    .ticker-group button { min-width: 0; }
    .ticker-group button:nth-child(n + 2) { display: none; }
    .ticker-group button span:last-child { overflow: hidden; text-overflow: ellipsis; }
}
.section-rule {
    border-top: 2px solid var(--ink);
    padding: .7rem 0 1rem;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lead-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.8vw, 3.65rem);
    letter-spacing: -.035em;
    color: var(--ink);
}
.secondary-story, .feed-story {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}
.mega-panel {
    display: grid;
    overflow: hidden;
    border: 1px solid #17664f;
    border-radius: 1rem;
    background: #eaf7f0;
}
.lottery-toolbar {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem clamp(1rem, 3.5vw, 2.25rem);
    background: #d6eee3;
    color: #084733;
}
.lottery-select {
    max-width: 100%;
    padding: .35rem .75rem;
    border: 1px solid #5a987e;
    border-radius: .4rem;
    background: #f7fffa;
    font-weight: 600;
}
.mega-panel[data-lottery]:not([data-lottery="megasena"]) .mega-numbers li {
    width: clamp(1.9rem, 6vw, 2.7rem);
    font-size: .95rem;
}
.mega-panel[data-lottery="federal"] .mega-numbers li {
    width: auto;
    min-height: 2.2rem;
    aspect-ratio: auto;
    padding: .3rem .65rem;
    border-radius: 2rem;
}
.mega-result {
    padding: clamp(1rem, 3.5vw, 2.25rem);
    background: radial-gradient(ellipse at top right, #168660, #084733 70%);
    color: white;
}
.mega-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(.35rem, 1.5vw, .8rem);
    margin: 1rem 0;
}
.mega-numbers li {
    display: grid;
    place-items: center;
    width: clamp(2.2rem, 9vw, 3.75rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #f1fff6;
    box-shadow: inset 0 -3px #a5dcbf;
    color: #064d36;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.mega-next { align-self: center; padding: clamp(1rem, 3.5vw, 2.25rem); }
@media (min-width: 768px) {
    .mega-panel:has(.mega-next:not([hidden])) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
.editorial-banner {
    background: linear-gradient(125deg, #741c18, #a12520 65%, #561918);
    color: #fff;
    border-bottom: 4px solid #561918;
}
.editorial-banner:hover { filter: brightness(1.1); }
.editorial-panel { background: #f3f0e9; border-top: 2px solid var(--ink); }
@media (min-width: 768px) {
    .masthead { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 1.75rem 0; }
    .brand { grid-column: 2; text-align: center; }
    .masthead-search { grid-column: 1; grid-row: 1; width: min(100%, 14rem); }
    .masthead > :last-child { justify-self: end; }
}
@media (min-width: 1024px) {
    .headline-sidebar { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
}
@media (max-width: 380px) {
    .masthead > :last-child { gap: .125rem; }
    .masthead > :last-child > button { padding-inline: .5rem; }
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 75rem); margin-inline: auto; min-width: 0; }
.site-main { padding-block: 2rem 0; min-height: 45vh; }
.skip-link:not(:focus), .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 100000; top: .5rem; left: .5rem; padding: .7rem; background: white; }
.utility-bar { color: #cbd5e1; background: #101b2c; font-size: .75rem; }
.utility-inner, .utility-item { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.utility-inner { justify-content: space-between; padding-block: .55rem; }
.utility-item strong { color: #fff; }
.edition-date { text-transform: capitalize; }
.masthead { grid-template-columns: minmax(0, 1fr) auto; }
.masthead .brand { grid-column: 1; grid-row: 1; }
.brand-name { color: var(--ink); text-decoration: none; white-space: nowrap; }
.custom-logo { display: block; width: auto; max-width: min(100%, 18rem); max-height: 5rem; }
.masthead .masthead-search { grid-row: 2; grid-column: 1 / -1; width: 100%; }
.newsroom-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    background: #101b2c;
    color: #fff;
    border-radius: .4rem;
    padding: .55rem .8rem;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}
.search-form { display: flex; width: 100%; max-width: 26rem; font-size: .85rem; }
.search-form input { min-width: 0; flex: 1; padding: .55rem .65rem; border: 1px solid var(--rule); border-radius: .35rem 0 0 .35rem; background: #fff; }
.search-form button { padding: .5rem .65rem; background: #f2eee8; border: 1px solid var(--rule); border-left: 0; border-radius: 0 .35rem .35rem 0; cursor: pointer; }
.editorial-nav { overflow-x: auto; scrollbar-width: none; }
.editorial-nav ul, .site-footer nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.editorial-nav ul { width: max-content; }
.editorial-nav a { display: block; padding: .7rem .85rem; text-decoration: none; font-size: .85rem; font-weight: 700; }
.editorial-nav a:hover, .editorial-nav a[aria-current], .editorial-nav .current-menu-item > a {
    color: var(--accent);
    box-shadow: inset 0 -3px var(--accent);
}
.strip-inner { display: flex; align-items: center; min-height: 2.2rem; gap: .75rem; }
.strip-label { flex: none; background: var(--accent); color: white; padding: .22rem .55rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.ticker-group { gap: 1.8rem; padding-inline-end: 1.8rem; }
.ticker-group a { font-size: .8rem; font-weight: 600; text-decoration: none; }
.ticker-group a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
    .ticker-track, .ticker-group { min-width: 0; width: 100%; padding: 0; }
    .ticker-group a:first-child { overflow: hidden; text-overflow: ellipsis; }
    .ticker-group a:nth-child(n + 2) { display: none; }
}
.cover, .mega-panel { margin-bottom: 2.5rem; }
.cover-grid, .news-layout { display: grid; gap: 1.6rem; }
.cover-grid > *, .news-layout > * { min-width: 0; }
.lead-headline { margin: .35rem 0 .8rem; line-height: 1.12; }
.lead-headline a, .secondary-story h2 a, .feed-story h2 a, .editorial-list a { text-decoration: none; }
.lead-headline a:hover, .secondary-story h2 a:hover, .feed-story h2 a:hover, .editorial-list a:hover { color: var(--accent); }
.story-image { display: block; overflow: hidden; background: #eae6df; }
.story-image img { display: block; height: 100%; width: 100%; object-fit: cover; }
.lead-image { aspect-ratio: 16 / 9; margin-bottom: .9rem; }
.kicker { display: inline-block; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .075em; font-weight: 800; text-decoration: none; }
.story-summary { color: #4b5563; line-height: 1.55; }
.story-meta { margin-block-start: .75rem; font-size: .8rem; color: #555e69; }
.headline-sidebar, .news-sidebar { display: grid; align-content: start; gap: 1.2rem; }
.secondary-story { display: flex; align-items: flex-start; gap: .75rem; }
.secondary-story .story-image { flex: 0 0 5rem; aspect-ratio: 4 / 3; }
.secondary-story h2 { font-size: 1rem; line-height: 1.45; }
.editorial-panel { padding: 1.25rem; }
.editorial-panel h2 { margin-bottom: .7rem; font-size: 1.05rem; }
.editorial-list { margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.55; font-weight: 700; }
.editorial-list li { padding: .6rem 0; }
.editorial-list li + li { border-top: 1px solid var(--rule); }
.discussion-list { list-style: decimal; padding-inline-start: 1.25rem; }
.editorial-banner { display: block; text-decoration: none; padding: 1.4rem; }
.editorial-banner strong { display: block; font: 800 1.85rem var(--font-heading); margin-bottom: .55rem; }
.editorial-banner strong span { color: #fecaca; }
.editorial-banner > span { font-size: .85rem; font-weight: 700; }
.editorial-banner img { display: block; width: 100%; }
.section-heading { margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); font-size: clamp(1.45rem, 3vw, 2.1rem); }
.feed-story { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.feed-story .story-image { width: 100%; aspect-ratio: 16 / 9; }
.feed-copy { min-width: 0; }
.feed-story h2 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); line-height: 1.35; margin: .2rem 0 .45rem; }
.archive-description, .entry-empty { margin-bottom: 1rem; line-height: 1.6; }
.entry-empty .search-form, .site-main > .search-form { margin-top: 1rem; }
.pagination .nav-links, .post-navigation .nav-links, .comments-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-block: 1.25rem;
}
.page-numbers, .post-navigation a { display: inline-block; padding: .5rem .7rem; border: 1px solid var(--rule); text-decoration: none; }
.page-numbers.current { background: var(--accent); color: #fff; }
.article { max-width: 53rem; margin-inline: auto; }
.article-header { margin-bottom: 1.5rem; }
.article-header h1 { margin-block: .4rem .75rem; font: 800 clamp(2rem, 5vw, 3.7rem)/1.13 var(--font-heading); overflow-wrap: anywhere; }
.article-header .story-summary { font-size: 1.18rem; }
.article-share {
    margin-bottom: 1.5rem;
    padding: .85rem 0;
    border-block: 1px solid var(--rule);
}
.article-share-label {
    margin-bottom: .55rem;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.article-share-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.article-share-actions > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 44px;
    padding: .45rem .85rem;
    border: 1px solid var(--rule);
    border-radius: .5rem;
    background: #fffefa;
    color: var(--ink);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.article-share-actions .share-whatsapp { color: #12553c; background: #e9f6ee; border-color: #bfdccc; }
.article-share-actions .share-facebook { color: #194d9b; background: #eef4fd; border-color: #cadbf2; }
.article-share-actions > :hover { border-color: currentColor; }
.article-share-status { color: #43525c; font-size: .8rem; }
.article-share-status:not(:empty) { margin-top: .55rem; }
.article-photo { margin-bottom: 1.5rem; }
.article-photo img { display: block; width: 100%; }
.article-photo figcaption { margin-top: .45rem; color: #555e69; font-size: .8rem; }
.article-body h3 { margin-block: 1.5em .55em; }
.article-body a, .entry-tags a, .article-comments a, .site-main > p a { color: var(--accent); }
.article-body a, .article-header h1 { overflow-wrap: anywhere; }
.article-body iframe { max-width: 100%; }
.article-body pre, .wp-block-table { overflow-x: auto; }
.article-body .alignleft { float: left; margin: 0 1rem 1rem 0; }
.article-body .alignright { float: right; margin: 0 0 1rem 1rem; }
.article-body .aligncenter { margin-inline: auto; }
.article-body::after { display: block; content: ""; clear: both; }
.entry-tags, .article-comments { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.article-comments h2, .article-comments h3 { margin-bottom: .75rem; }
.comment-list, .comment-list .children { padding-inline-start: 1.5rem; }
.comment-list li { margin-bottom: .85rem; }
.comment-body { padding: .75rem 0; }
.comment-author img { vertical-align: middle; margin-right: .35rem; border-radius: 50%; }
.comment-metadata, .comment-notes { color: #555e69; font-size: .85rem; }
.comment-form p { margin: .7rem 0; }
.comment-form label:not([for="wp-comment-cookies-consent"]) { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.comment-form textarea, .comment-form input:not([type="checkbox"]):not([type="submit"]) { width: 100%; padding: .5rem; border: 1px solid var(--rule); }
.comment-form .submit { background: var(--accent); color: white; border: 0; border-radius: .25rem; padding: .65rem .9rem; cursor: pointer; }
.lottery-chooser, .lottery-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.lottery-chooser, .lottery-label, .lottery-source, .lottery-muted, .lottery-date, .lottery-matches { font-size: .85rem; }
.lottery-label, .lottery-source { font-weight: 700; }
.lottery-title { font-size: clamp(1.6rem, 4vw, 2.65rem); }
.lottery-muted { margin-top: .65rem; color: #e0f5e9; }
.lottery-muted:empty, .lottery-note:empty, .lottery-matches:empty, .mega-numbers:empty { display: none; }
.mega-numbers { padding: 0; list-style: none; }
.lottery-prize { font: 800 clamp(1.2rem, 2.5vw, 1.85rem) var(--font-heading); margin-top: .5rem; color: #084733; }
.lottery-date, .lottery-note { margin-top: .45rem; }
.lottery-note { font-size: .75rem; color: #17664f; }
.site-footer {
    margin-top: 3.5rem;
    padding: clamp(1.65rem, 5vw, 3.5rem) 0 1.15rem;
    border-top: 4px solid var(--accent);
    background: #1b1d20;
    color: #d6d3cd;
    font: 400 .95rem/1.55 var(--font-body);
}
.site-footer a { text-underline-offset: .22em; }
.site-footer a:hover { color: #ffc1b7; }
.site-footer a:focus-visible { outline-color: #ffc1b7; }
.footer-top { display: grid; gap: 1.5rem; padding-bottom: clamp(1.5rem, 4vw, 2.6rem); }
.footer-brand {
    display: inline-block;
    color: #fffaf2;
    font: 800 clamp(2rem, 5vw, 3.25rem)/1 var(--font-heading);
    letter-spacing: -.045em;
    text-decoration: none;
}
.footer-brand span { color: #ffafa3; }
.footer-identity p { max-width: 29ch; margin-top: .6rem; }
.footer-heading {
    margin-bottom: .45rem;
    color: #fffaf2;
    font: 700 1.08rem/1.25 var(--font-heading);
}
.footer-navigation ul { column-gap: 1.1rem; }
.footer-navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-navigation a:hover { text-decoration: underline; }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #4b4b4e;
    font-size: .83rem;
}
.footer-legal { min-width: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .35rem; }
.footer-back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding-inline: .85rem;
    border: 1px solid #686465;
    border-radius: .4rem;
    color: #fffaf2;
    font-weight: 700;
    text-decoration: none;
}
.footer-back-top span { color: #ffafa3; font-size: 1.15rem; }
@media (min-width: 700px) {
    .footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, auto); gap: 2rem; }
    .footer-contact { grid-column: 3; }
}
.mobile-categories { display: none; }
@media (width < 850px) {
    .news-cover-page .utility-bar,
    .news-cover-page .news-strip,
    .news-cover-page .masthead-search,
    .news-cover-page .editorial-nav:not(.mobile-categories),
    .news-cover-page .site-main > .mega-panel,
    .news-cover-page .site-main > .news-layout,
    .news-cover-page .headline-sidebar > .editorial-panel { display: none; }

    .news-cover-page .masthead { padding-block: .85rem; }
    .news-cover-page .brand-name { font-size: clamp(1.6rem, 5vw, 2.65rem); }
    .news-cover-page .site-main { padding-top: 1.15rem; }
    .news-cover-page .cover { margin-bottom: 1.5rem; }
    .news-cover-page .section-rule { padding-block: .6rem .75rem; }
    .news-cover-page .cover-grid { gap: 1.15rem; }
    .news-cover-page .lead-image { aspect-ratio: auto; border-radius: .4rem; }
    .news-cover-page .lead-image img { height: auto; }
    .news-cover-page .lead-headline {
        font-size: clamp(1.55rem, 4.5vw, 2.5rem);
        line-height: 1.16;
        margin-bottom: .55rem;
        overflow-wrap: anywhere;
    }
    .news-cover-page .story-summary { font-size: .95rem; }
    .news-cover-page .headline-sidebar { gap: .8rem; border-top: 1px solid var(--rule); padding-top: .85rem; }
    .news-cover-page .headline-sidebar:not(:has(.secondary-story)) { display: none; }
    .news-cover-page .secondary-story { padding-bottom: .8rem; }
    .news-cover-page .secondary-story h2 { overflow-wrap: anywhere; }
    .news-cover-page .secondary-story .story-image { border-radius: .3rem; }
    .news-cover-page .site-footer { margin-top: 1.5rem; }

    .mobile-categories {
        display: block;
        scrollbar-width: thin;
        padding-block: .4rem;
    }
    .mobile-categories ul { flex-wrap: nowrap; gap: .4rem; padding: .2rem; }
    .mobile-categories a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: .4rem .75rem;
        background: #f3f0e9;
        border: 1px solid var(--rule);
        border-radius: 1.5rem;
        white-space: nowrap;
    }
}
@media (min-width: 620px) {
    .feed-story { flex-direction: row; }
    .feed-story .story-image { flex: 0 0 min(31%, 13rem); aspect-ratio: 4 / 3; }
}
@media (min-width: 850px) {
    .wrap { width: min(100% - 3rem, 75rem); }
    .masthead { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .masthead .brand { grid-column: 2; justify-self: center; }
    .masthead .masthead-search { grid-column: 1; grid-row: 1; width: min(100%, 17rem); }
    .newsroom-button { grid-column: 3; }
    .cover-grid, .news-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; }
    .headline-sidebar { border-left: 1px solid var(--rule); padding-left: 1.4rem; }
    .secondary-story .story-image { flex-basis: 6rem; }
}
