/*
Theme Name: Arena 24HRS
Theme URI: https://example.com/arena-press
Author: Portal Esportes
Description: Tema editorial responsivo para portais de notícias esportivas.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: arena-press
*/

:root {
  --ink: #07111f;
  --muted: #637083;
  --paper: #f3f6f8;
  --surface: #ffffff;
  --line: #dfe4df;
  --accent: #d8ff3e;
  --accent-dark: #a8cf00;
  --danger: #ff4d38;
  --electric: #3b82f6;
  --violet: #7c3aed;
  --max: 1200px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(216,255,62,.11), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(59,130,246,.08), transparent 30rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 999; width: auto; height: auto; padding: 12px; clip: auto; background: #fff; color: #000; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.eyebrow, .card-category {
  color: #476000;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-title { margin: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.04em; line-height: 1.05; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 52px 0 22px; }
.section-heading a { color: var(--muted); font-size: .9rem; font-weight: 700; }

.topbar { background: linear-gradient(90deg, #07111f 0%, #12263f 50%, #07111f 100%); color: #fff; font-size: .8rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.live-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px rgba(255,77,56,.18); }
.site-header { background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(223,228,223,.7); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(7,17,31,.04); }
.header-inner { min-height: 98px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 230px; height: auto; }
.site-footer .brand-logo { width: 270px; }
.main-nav ul { display: flex; justify-content: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: .88rem; font-weight: 800; }
.main-nav a:hover { color: #668800; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle { display: none; }

.ticker { border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-inner { min-height: 46px; display: flex; align-items: center; gap: 18px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ticker-title { flex: 0 0 auto; padding: 5px 10px; color: var(--ink); background: var(--accent); border-radius: 6px; font-size: .68rem; font-weight: 950; letter-spacing: .08em; }
.ticker a { font-size: .82rem; font-weight: 700; }
.ticker-separator { color: #bac2ba; }
.category-bar { background: #07111f; color: #dfe7ef; }
.category-bar-inner { min-height: 47px; display: flex; align-items: center; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.category-bar a { flex: 0 0 auto; padding: 6px 12px; border: 1px solid #26384c; border-radius: 999px; font-size: .75rem; font-weight: 800; transition: .2s ease; }
.category-bar a:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.category-kicker { color: var(--accent); margin-right: 6px; font-size: .68rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }

.hero-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 18px; padding-top: 32px; }
.hero-card, .story-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; box-shadow: 0 18px 55px rgba(7,17,31,.14); }
.hero-card { min-height: 520px; display: flex; align-items: end; }
.hero-media, .card-media { position: absolute; inset: 0; background: linear-gradient(135deg, #07111f, #174563 52%, #8dac00); }
.hero-media img, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after, .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,.02) 15%, rgba(7,17,31,.18) 40%, rgba(4,10,18,.96)); }
.hero-content { position: relative; z-index: 1; padding: clamp(24px, 5vw, 48px); color: white; }
.hero-content .eyebrow { color: var(--accent); }
.hero-title { max-width: 780px; margin: 10px 0 14px; font-size: clamp(2rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -.055em; }
.hero-excerpt { max-width: 620px; margin: 0; color: #e4eae5; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.hero-content .meta { color: #dce4dd; margin-top: 22px; }
.side-stories { display: grid; gap: 18px; }
.side-story { min-height: 251px; display: flex; align-items: end; }
.side-story .hero-content { padding: 24px; }
.side-story .hero-title { font-size: clamp(1.3rem, 2.1vw, 1.8rem); }

.score-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.score-card { position: relative; overflow: hidden; padding: 18px; background: linear-gradient(145deg, #0a1828, #102b46); color: #fff; border: 1px solid #203c58; border-radius: 16px; box-shadow: 0 10px 25px rgba(7,17,31,.1); transition: transform .2s ease; }
.score-card::after { content: ""; position: absolute; right: -20px; bottom: -35px; width: 90px; height: 90px; border-radius: 50%; background: rgba(216,255,62,.08); }
.score-card:hover { transform: translateY(-3px); }
.score-league { color: var(--accent); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.score-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: .86rem; font-weight: 750; }
.score-number { font-size: 1rem; font-weight: 950; }

.schedule-section { margin-top: 30px; padding: 24px; color: #fff; background: linear-gradient(145deg, #07111f, #102b46); border: 1px solid #203c58; border-radius: 22px; box-shadow: 0 16px 40px rgba(7,17,31,.14); }
.schedule-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.schedule-heading .eyebrow { color: var(--accent); }
.schedule-heading h2 { margin: 2px 0 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1; letter-spacing: -.045em; }
.schedule-timezone { color: #8fa0b2; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.match-card { display: grid; grid-template-columns: 64px 1fr; min-width: 0; overflow: hidden; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; transition: transform .2s ease, background .2s ease; }
.match-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.11); }
.match-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; color: var(--ink); background: var(--accent); text-transform: uppercase; }
.match-date span, .match-date small { font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.match-date strong { font-size: 1.8rem; line-height: 1; }
.match-info { min-width: 0; padding: 15px 16px; }
.match-league { display: block; overflow: hidden; color: #9fb0bf; font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 7px 0; font-size: .9rem; }
.match-teams strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-teams strong:last-child { text-align: right; }
.match-teams span { color: var(--accent); font-size: .72rem; font-weight: 950; }
.match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #acbac7; font-size: .68rem; }
.match-hour { padding: 2px 7px; color: var(--ink); background: #fff; border-radius: 5px; font-weight: 950; }
.match-link { display: inline-block; margin-top: 9px; color: var(--accent); font-size: .7rem; font-weight: 850; }
.schedule-empty { min-height: 108px; display: flex; align-items: center; gap: 16px; padding: 20px; color: #dce5ec; background: rgba(255,255,255,.065); border: 1px dashed #41566d; border-radius: 16px; }
.schedule-empty-icon { color: var(--accent); font-size: 2rem; }
.schedule-empty p { margin: 2px 0 0; color: #9dadbb; font-size: .82rem; }
.schedule-empty a { margin-left: auto; padding: 9px 13px; color: var(--ink); background: var(--accent); border-radius: 8px; font-size: .75rem; font-weight: 900; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { overflow: hidden; background: rgba(255,255,255,.94); border: 1px solid rgba(220,226,232,.9); border-radius: 22px; box-shadow: 0 8px 25px rgba(7,17,31,.045); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(7,17,31,.12); }
.news-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #213c31, #b9df1d); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover img { transform: scale(1.035); }
.news-card-body { padding: 20px; }
.news-card h2, .news-card h3 { margin: 7px 0 12px; font-size: 1.25rem; line-height: 1.18; letter-spacing: -.025em; }
.news-card p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.82); font-size: 2rem; font-weight: 950; }

.content-with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
.content-with-rail .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-rail { display: grid; gap: 24px; position: sticky; top: 105px; }
.trending-panel { padding: 26px; color: #fff; background: linear-gradient(155deg, #07111f 5%, #102b46 70%, #193f52); border-radius: 22px; box-shadow: 0 18px 45px rgba(7,17,31,.18); }
.trending-panel .eyebrow { color: var(--accent); }
.trending-panel h2 { margin: 3px 0 18px; font-size: 2rem; letter-spacing: -.05em; }
.trending-list { margin: 0; padding: 0; list-style: none; counter-reset: trending; }
.trending-list li { counter-increment: trending; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.11); }
.trending-list li::before { content: counter(trending, decimal-leading-zero); color: var(--accent); font-size: .74rem; font-weight: 950; }
.trending-list a { font-size: .87rem; font-weight: 780; line-height: 1.3; }
.trending-list a:hover { color: var(--accent); }

.ad-top-wrap { padding-top: 24px; }
.ad-slot { width: 100%; text-align: center; }
.ad-label { display: block; margin-bottom: 6px; color: #8a94a2; font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ad-placeholder { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; color: #8b96a5; background: repeating-linear-gradient(-45deg, #f8fafb, #f8fafb 10px, #f2f5f7 10px, #f2f5f7 20px); border: 1px dashed #c9d1da; border-radius: 14px; }
.ad-placeholder strong { color: #667386; font-size: 1rem; letter-spacing: .15em; }
.ad-placeholder span { font-size: .7rem; font-weight: 750; }
.ad-widget img, .ad-widget iframe { max-width: 100%; }
.ad-slot-ad_home_mid { max-width: 780px; margin: 54px auto 0; }
.ad-slot-ad_home_sidebar .ad-placeholder { min-height: 420px; flex-direction: column; }
.article-ad-wrap { max-width: 820px; padding-top: 36px; }
.footer-ad-area { padding: 34px 0; background: #e9eef1; }

.newsletter { position: relative; overflow: hidden; margin: 64px 0; padding: clamp(28px, 5vw, 56px); color: #fff; background: linear-gradient(125deg, #07111f, #133a5a 65%, #31582b); border: 1px solid #23435d; border-radius: 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; box-shadow: 0 22px 60px rgba(7,17,31,.16); }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -120px; width: 280px; height: 280px; border-radius: 50%; background: var(--accent); opacity: .1; }
.newsletter h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.newsletter p { margin: 0; max-width: 600px; }
.newsletter-form { position: relative; z-index: 1; display: grid; gap: 10px; min-width: min(100%, 430px); }
.newsletter-fields { display: flex; gap: 8px; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 7px; max-width: 430px; color: #cbd5df; font-size: .72rem; line-height: 1.35; }
.newsletter-consent input { min-width: auto; margin-top: 2px; padding: 0; }
.newsletter-consent a, .newsletter-feedback { color: var(--accent); }
.newsletter-feedback { min-height: 1.2em; margin: 0; font-size: .76rem; font-weight: 750; }
.newsletter-honeypot { position: absolute; left: -10000px; }
.newsletter input, .search-form input { min-width: 260px; padding: 14px 16px; border: 1px solid rgba(16,24,32,.18); border-radius: 10px; font: inherit; }
.button, .search-submit { position: relative; z-index: 1; padding: 14px 20px; border: 0; border-radius: 10px; background: var(--accent); color: var(--ink); font: inherit; font-weight: 900; cursor: pointer; }

.archive-header { padding: 55px 0 28px; border-bottom: 1px solid var(--line); }
.archive-header h1 { margin: 7px 0 10px; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .95; letter-spacing: -.06em; }
.archive-header p { max-width: 680px; margin: 0; color: var(--muted); }
.archive-grid { padding: 34px 0 70px; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.page-numbers.current { background: var(--ink); color: #fff; }

.article-wrap { max-width: 820px; margin: 0 auto; padding: 56px 16px 80px; }
.article-header h1 { margin: 12px 0 22px; font-size: clamp(2.45rem, 6.4vw, 4.8rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.article-deck { max-width: 760px; margin-bottom: 24px; color: #536174; font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; }
.article-featured { width: min(calc(100% - 32px), 1120px); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 65px rgba(7,17,31,.16); }
.article-featured img { width: 100%; max-height: 680px; object-fit: cover; }
.article-content { margin-top: 38px; padding: clamp(30px, 6vw, 66px); color: #243144; background: rgba(255,255,255,.95); border: 1px solid #e0e6eb; border-radius: 26px; box-shadow: 0 20px 55px rgba(7,17,31,.07); font-family: Charter, "Bitstream Charter", Georgia, serif; font-size: clamp(1.08rem, .35vw + 1rem, 1.2rem); line-height: 1.86; }
.article-content > * { margin-block: 1.3em; }
.article-content p { text-wrap: pretty; }
.article-content .article-lead { margin-top: 0; color: #101c2d; font-family: Inter, ui-sans-serif, sans-serif; font-size: clamp(1.2rem, 1.6vw, 1.42rem); font-weight: 650; line-height: 1.62; letter-spacing: -.015em; }
.article-content h2, .article-content h3 { margin-top: 2.3em; color: #0b1728; font-family: Inter, sans-serif; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.article-content h2::before { content: ""; display: block; width: 46px; height: 5px; margin-bottom: 15px; background: var(--accent); border-radius: 99px; }
.article-content blockquote { margin-inline: 0; padding-left: 24px; border-left: 5px solid var(--accent-dark); font-size: 1.4rem; font-weight: 700; }
.article-content .source-note { margin: 2.6em -18px -18px; padding: 20px 22px; color: #657185; background: #f4f7f8; border: 1px solid #e3e8ec; border-radius: 14px; font-family: Inter, ui-sans-serif, sans-serif; font-size: .76rem; line-height: 1.65; }
.article-content .source-note a { color: #426400; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags a { padding: 6px 11px; background: #fff; border: 1px solid var(--line); border-radius: 20px; font-family: Inter, sans-serif; font-size: .78rem; }

.empty-state { padding: 80px 0; text-align: center; }
.search-form { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.site-footer { padding: 54px 0 24px; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-copy { color: #aeb8b0; max-width: 360px; font-size: .9rem; }
.footer-title { margin: 0 0 14px; color: var(--accent); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #d8ded9; font-size: .88rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2d3840; color: #859089; font-size: .78rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a { font-weight: 750; }
.breadcrumbs > span:last-child { max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-freshness { color: var(--muted); font-size: .74rem; }
.share-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.share-tools > span { margin-right: 2px; color: var(--muted); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.share-tools a, .share-tools button { padding: 7px 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.share-tools a:hover, .share-tools button:hover { background: var(--accent); border-color: var(--accent-dark); }

.match-page { padding-top: 48px; padding-bottom: 80px; }
.match-page-header { max-width: 900px; padding: 34px 0; }
.match-page-header h1 { margin: 8px 0 14px; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -.065em; }
.match-page-header p { color: var(--muted); font-size: 1.1rem; }
.match-facts { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; color: #fff; background: var(--ink); border-radius: 22px; box-shadow: 0 18px 45px rgba(7,17,31,.14); }
.match-facts div { display: grid; gap: 6px; padding: 24px; border-right: 1px solid rgba(255,255,255,.1); }
.match-facts div:last-child { border: 0; }
.match-facts span { color: var(--accent); font-size: .66rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.match-facts strong { font-size: 1rem; }
.match-related { padding-top: 24px; }
.schedule-grid-light .match-card { color: #fff; background: linear-gradient(145deg, #07111f, #102b46); border-color: #203c58; }
.standard-page { max-width: 900px; }
.standard-page .article-header { padding-bottom: 0; }
.entity-header { background: linear-gradient(115deg, rgba(216,255,62,.12), transparent 55%); }
.club-hubs { padding-top: 12px; }
.entity-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.entity-links a { display: grid; gap: 3px; padding: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 15px; transition: transform .2s ease, border-color .2s ease; }
.entity-links a:hover { transform: translateY(-3px); border-color: var(--accent-dark); }
.entity-links strong { font-size: .92rem; }
.entity-links span { color: var(--muted); font-size: .68rem; }

.consent-banner { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: min(calc(100% - 36px), 520px); padding: 20px; color: #fff; background: #07111f; border: 1px solid #35485a; border-radius: 16px; box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.consent-banner p { margin: 0 0 14px; color: #d8e0e7; font-size: .82rem; }
.consent-banner a { color: var(--accent); text-decoration: underline; }
.consent-banner div { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-banner button { padding: 10px 13px; color: #fff; background: transparent; border: 1px solid #526274; border-radius: 8px; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.consent-banner .button { color: var(--ink); background: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; grid-column: 1 / -1; padding-bottom: 20px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .side-stories { grid-template-columns: 1fr 1fr; }
  .score-strip { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: 1fr; }
  .content-with-rail { grid-template-columns: 1fr; }
  .content-with-rail .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-rail { position: static; grid-template-columns: 1fr 1fr; }
  .ad-slot-ad_home_sidebar .ad-placeholder { min-height: 300px; }
  .newsletter { grid-template-columns: 1fr; }
  .match-facts { grid-template-columns: repeat(2, 1fr); }
  .entity-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { min-height: 82px; }
  .brand-logo { width: 178px; }
  .topbar-inner span:last-child { display: none; }
  .hero-card { min-height: 440px; }
  .side-stories { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .content-with-rail .news-grid, .home-rail { grid-template-columns: 1fr; }
  .category-bar-inner { width: calc(100% - 20px); }
  .ad-top-wrap { padding-top: 16px; }
  .ad-placeholder { min-height: 72px; }
  .score-strip { grid-template-columns: 1fr; }
  .schedule-section { padding: 18px; }
  .schedule-heading { align-items: start; flex-direction: column; gap: 8px; }
  .match-card { grid-template-columns: 56px 1fr; }
  .match-teams { font-size: .8rem; }
  .schedule-empty { align-items: flex-start; }
  .schedule-empty a { display: none; }
  .newsletter-fields, .search-form { flex-direction: column; }
  .newsletter input, .search-form input { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .match-facts { grid-template-columns: 1fr; }
  .entity-links { grid-template-columns: repeat(2, 1fr); }
  .match-facts div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}
