/* ArabFootball24 public newsroom: ink, paper and a single signal red. */
:root {
    color-scheme: light;
    --paper: #f4f3ef;
    --paper-raised: #fbfaf7;
    --ink: #202321;
    --ink-soft: #545a55;
    --muted: #777c75;
    --line: #d8d8d0;
    --line-strong: #bfc2b9;
    --accent: #b8343b;
    --accent-dark: #92282e;
    --serif: "Noto Naskh Arabic", "Times New Roman", serif;
    --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
    --shell: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
time, .score-time, .rail-index, .rail-number { font-variant-numeric: tabular-nums; }

.container.site-shell { width: min(calc(100% - 48px), var(--shell)); max-width: var(--shell); }
.page-content { min-height: 58vh; padding-top: 28px; padding-bottom: 76px; }

.skip-link {
    position: fixed; z-index: 1000; top: 8px; right: 8px; padding: 10px 16px;
    transform: translateY(-150%); background: var(--ink); color: white; border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); color: white; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Publication masthead */
.utility-bar { border-bottom: 1px solid var(--line); background: #eeede8; color: var(--muted); font-size: .78rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; gap: 22px; }
.utility-note { color: var(--ink-soft); }
.utility-account { display: flex; align-items: center; gap: 16px; margin-inline-start: auto; }
.utility-account a, .utility-account button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.utility-account a:hover, .utility-account button:hover { color: var(--accent); }
.account-join { color: var(--ink) !important; font-weight: 700; }

.masthead { background: var(--paper-raised); }
.masthead-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-lockup:hover { color: var(--ink); }
.brand-mark {
    display: grid; width: 49px; height: 49px; place-items: center; border: 1.5px solid var(--accent);
    color: var(--accent); font-size: 1rem; font-weight: 700; letter-spacing: -.04em; transform: rotate(-4deg);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.16; }
.brand-name { font-family: var(--serif); font-size: 2rem; font-weight: 700; letter-spacing: -.035em; }
.brand-tagline { margin-top: 4px; color: var(--muted); font-size: .7rem; letter-spacing: .025em; }
.masthead-edition { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: .82rem; }
.masthead-edition span, .category-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); }
.masthead-link { padding: 8px 0; border-bottom: 1px solid var(--line-strong); font-size: .83rem; font-weight: 600; }
.masthead-link span { margin-inline-start: 8px; color: var(--accent); }

.primary-nav { position: relative; z-index: 5; border-block: 1px solid var(--line); background: var(--paper-raised); }
.nav-scroll { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar, .topic-nav::-webkit-scrollbar { display: none; }
.nav-scroll a { position: relative; flex: 0 0 auto; padding: 13px 0 12px; color: var(--ink-soft); font-size: .87rem; font-weight: 600; white-space: nowrap; }
.nav-scroll a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.nav-scroll a:hover, .nav-scroll a.is-current { color: var(--ink); }
.nav-scroll a:hover::after, .nav-scroll a.is-current::after { transform: scaleX(1); }

/* Editorial rhythm and front page */
.edition-line { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; color: var(--muted); font-size: .72rem; }
.edition-line > span:first-child { color: var(--accent); font-weight: 700; }
.edition-rule { height: 1px; flex: 1; background: var(--line); }
.front-page-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, .9fr); gap: 34px; align-items: stretch; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr); min-height: 428px; background: var(--paper-raised); border-top: 1px solid var(--ink); }
.lead-image-wrap { position: relative; min-height: 428px; overflow: hidden; background: #deded7; }
.lead-image { width: 100%; height: 100%; min-height: 428px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lead-story:hover .lead-image { transform: scale(1.035); }
.image-caption-mark { position: absolute; bottom: 14px; right: 14px; padding: 4px 8px; background: rgba(32,35,33,.78); color: white; font-size: .64rem; }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 38px) clamp(20px, 2.6vw, 34px); }
.story-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.kicker-divider { margin-inline: 4px; color: var(--line-strong); }
.lead-copy h1 { margin: 19px 0 12px; font-family: var(--serif); font-size: clamp(1.75rem, 3.1vw, 2.75rem); font-weight: 700; line-height: 1.38; text-wrap: balance; }
.lead-summary { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: .94rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.story-byline { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 22px; color: var(--muted); font-size: .72rem; }
.read-link { color: var(--accent-dark); font-weight: 700; }
.read-link span { margin-inline-start: 5px; }

.front-rail { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.rail-heading { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 8px; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.rail-index { color: var(--muted); font-family: var(--sans); font-size: .62rem; font-weight: 500; }
.rail-story { display: grid; grid-template-columns: 30px minmax(0, 1fr) 72px; gap: 10px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rail-number { padding-top: 2px; color: var(--accent); font-size: .75rem; }
.rail-copy { min-width: 0; }
.rail-category { color: var(--muted); font-size: .68rem; }
.rail-copy h2 { margin: 3px 0 5px; font-family: var(--serif); font-size: 1.07rem; font-weight: 700; line-height: 1.5; }
.rail-copy time { color: var(--muted); font-size: .67rem; }
.rail-story img { width: 72px; height: 68px; object-fit: cover; background: #e3e2dc; }
.rail-more { align-self: flex-start; margin-top: auto; padding-top: 15px; color: var(--accent-dark); font-size: .78rem; font-weight: 700; }
.rail-more span { margin-inline-start: 5px; }
.home-ad-wrap { margin: 24px 0 56px; }

.section-heading-row, .module-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading-row { padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.eyebrow { display: block; color: var(--accent); font-size: .69rem; font-weight: 700; letter-spacing: .02em; }
.section-title, .module-heading h2 { margin: 2px 0 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 700; line-height: 1.3; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .77rem; font-weight: 600; white-space: nowrap; }
.text-link span { color: var(--accent); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(-3px); }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 21px; }
.news-card { min-width: 0; }
.news-card-image { aspect-ratio: 1.42; overflow: hidden; background: #e3e2dc; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-copy { padding-top: 12px; }
.news-card-copy h3 { margin: 8px 0 9px; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.55; }
.news-card-copy time { color: var(--muted); font-size: .68rem; }
.quiet-empty { margin: 0; padding: 18px 0; color: var(--muted); font-size: .85rem; }

.service-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); gap: 40px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink); }
.service-strip:has(.matches-module:nth-last-child(2)) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.module-heading { margin-bottom: 16px; }
.module-heading h2 { font-size: 1.5rem; }
.score-list { border-top: 1px solid var(--line); }
.score-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: .83rem; }
.score-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-away { text-align: left; }
.score-time { padding: 4px 7px; background: #e9e8e2; text-align: center; font-size: .77rem; font-weight: 700; }
.transfer-row { display: grid; grid-template-columns: 68px minmax(0, 1fr) 16px; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.transfer-status { color: var(--accent-dark); font-size: .68rem; font-weight: 700; }
.transfer-title { font-family: var(--serif); font-size: .94rem; font-weight: 700; line-height: 1.5; }
.transfer-arrow { color: var(--muted); }

/* Next-match countdown — a photo-led full-bleed band with a parallax-ish fixed backdrop,
   kept in the paper/ink palette instead of a loud sports gradient so it still reads as
   part of the same publication rather than a bolted-on widget. */
.countdown-band {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
    background: var(--ink) var(--band-image) center / cover no-repeat;
    background-attachment: fixed;
    color: #fff;
}
.countdown-band::before {
    position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32,35,33,.94) 0%, rgba(32,35,33,.88) 45%, rgba(32,35,33,.72) 100%);
    content: "";
}
.countdown-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 34px clamp(20px, 3vw, 40px); }
.countdown-band .eyebrow { color: #e7a6a9; }
.countdown-teams { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 700; }
.countdown-vs { margin: 0 12px; color: #c7cac4; font-family: var(--sans); font-size: .7rem; font-weight: 500; vertical-align: middle; }
.countdown-sub { margin-top: 8px; color: #d7d6d0; font-size: .8rem; }
.countdown-clock { display: flex; gap: clamp(10px, 2vw, 22px); }
.clock-unit { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 10px 6px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.clock-value { font-variant-numeric: tabular-nums; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; }
.clock-label { margin-top: 2px; color: #c7cac4; font-size: .62rem; }
@media (max-width: 575.98px) { .countdown-band { background-attachment: scroll; } .countdown-inner { flex-direction: column; align-items: flex-start; } }

/* Players spotlight row — horizontal scroll, same tile language as the evergreen players grid */
.spotlight-section { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.spotlight-scroll { display: flex; gap: 18px; margin-top: 16px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; }
.spotlight-player { flex: 0 0 150px; display: flex; flex-direction: column; align-items: flex-start; }
.spotlight-photo { width: 150px; aspect-ratio: 1.05; overflow: hidden; background: #e8e7e1; }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.84); transition: filter .25s ease, transform .4s ease; }
.spotlight-player:hover .spotlight-photo img { filter: saturate(1); transform: scale(1.03); }
.spotlight-player strong { margin-top: 10px; font-family: var(--serif); font-size: .98rem; }

/* League standings widget (home) + full standings page */
.standings-module { min-width: 0; }
.standings-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.standings-table th, .standings-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.standings-table .col-pos { width: 26px; color: var(--muted); }
.standings-table .col-club { width: auto; text-align: right; font-weight: 600; }
.standings-table thead th { color: var(--muted); font-size: .68rem; font-weight: 500; border-bottom: 1px solid var(--ink); }
.standings-table-full { margin-top: 10px; font-size: .88rem; }
.standings-table-full th, .standings-table-full td { padding: 11px 8px; }

.empty-editorial { max-width: 720px; margin: 70px auto 100px; padding: 40px 0; border-block: 1px solid var(--line-strong); text-align: center; }
.empty-editorial h1, .empty-editorial h2 { margin: 8px 0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 700; }
.empty-editorial p { margin: 0 auto 18px; max-width: 48ch; color: var(--muted); }
.empty-editorial .text-link { justify-content: center; }

/* News archive */
.editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 0 20px; border-bottom: 1px solid var(--ink); }
.editorial-heading h1 { margin: 3px 0 0; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.2; }
.heading-note { max-width: 24ch; color: var(--muted); font-size: .83rem; }
.topic-nav { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.topic-nav a { padding: 12px 0 10px; color: var(--muted); font-size: .81rem; white-space: nowrap; }
.topic-nav a:hover, .topic-nav a.is-selected { color: var(--accent-dark); font-weight: 700; }
.archive-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: 28px 0 32px; border-bottom: 1px solid var(--line-strong); }
.archive-lead-image { display: block; aspect-ratio: 1.72; overflow: hidden; background: #e3e2dc; }
.archive-lead-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.archive-lead-image:hover img { transform: scale(1.03); }
.archive-lead-copy h2 { margin: 12px 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.4; text-wrap: balance; }
.archive-lead-copy p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.9; }
.archive-lead-copy time, .archive-row-copy time { color: var(--muted); font-size: .71rem; }
.archive-list { max-width: 940px; }
.archive-row { display: grid; grid-template-columns: 142px minmax(0, 1fr) 30px; gap: 20px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.archive-thumb { width: 142px; aspect-ratio: 1.55; overflow: hidden; background: #e3e2dc; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-row-copy h2 { margin: 3px 0 4px; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.archive-open { color: var(--accent); font-size: 1.2rem; text-align: center; }
.pagination-editorial { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 28px 0 8px; color: var(--muted); font-size: .78rem; }
.pagination-editorial a { color: var(--ink); font-weight: 600; }
.pagination-editorial a:hover { color: var(--accent); }
.news-empty { margin-top: 50px; }
.policy-copy { max-width: 760px; margin: 0 auto; padding: 20px 0; }
.policy-copy h2 { margin: 28px 0 6px; font-family: var(--serif); font-size: 1.35rem; }
.policy-copy p { color: var(--ink-soft); line-height: 2; }
.policy-note { padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; }
.request-id { direction: rtl; color: var(--muted); font-size: .75rem; }

/* Long-form story */
.article-page { max-width: 1060px; margin-inline: auto; }
.back-link { display: inline-flex; gap: 8px; align-items: center; margin: 2px 0 22px; color: var(--muted); font-size: .78rem; }
.back-link span { color: var(--accent); }
.article-header { max-width: 840px; margin: 0 auto; text-align: center; }
.article-header .story-kicker { justify-content: center; }
.article-header h1 { margin: 14px 0 15px; font-family: var(--serif); font-size: clamp(2.1rem, 5.4vw, 4.2rem); font-weight: 700; line-height: 1.38; text-wrap: balance; }
.article-byline { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); font-size: .76rem; }
.byline-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.article-cover { margin: 30px 0 34px; }
.article-cover img { display: block; width: 100%; max-height: 590px; object-fit: cover; background: #e3e2dc; }
.article-cover figcaption { margin-top: 7px; color: var(--muted); font-size: .7rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: clamp(36px, 7vw, 84px); align-items: start; }
.article-main-column { min-width: 0; }
.article-tools { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.article-tools-label { margin-inline-end: auto; color: var(--muted); font-size: .73rem; }
.article-action { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); background: transparent; font-size: .75rem; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.article-action:hover, .article-action.is-active { border-color: var(--accent); color: var(--accent-dark); }
.article-deck { margin: 24px 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.8; }
.af-article-body { color: #303531; font-size: 1.08rem; line-height: 2.15; white-space: pre-line; }
.af-article-body p { margin-bottom: 1.5em; }
.af-article-body img { display: block; max-width: 100%; height: auto; margin: 1.8rem auto; }
.article-tags { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.article-tags > span { color: var(--muted); font-size: .68rem; }
.article-tags p { margin: 5px 0 0; color: var(--accent-dark); font-size: .83rem; }
.article-aside { position: sticky; top: 20px; }
.aside-heading { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.aside-heading h2 { margin: 2px 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.related-story { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.related-story img { width: 80px; height: 76px; object-fit: cover; background: #e3e2dc; }
.related-story > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.related-story strong { font-family: var(--serif); font-size: .95rem; line-height: 1.45; }
.related-story time { color: var(--muted); font-size: .64rem; }
.article-gallery { margin-top: 54px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.gallery-grid img { width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #e3e2dc; }

/* Matches, people and evergreen pages */
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.page-heading h1 { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.25; }
.date-group-title { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; color: var(--muted); font-size: .83rem; }
.date-group-title::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.match-list { border-top: 1px solid var(--ink); }
.match-entry { display: grid; grid-template-columns: 92px minmax(0, 1fr) 100px minmax(0, 1fr) minmax(90px, .7fr); gap: 14px; align-items: center; min-height: 68px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.match-status { color: var(--accent-dark); font-size: .69rem; font-weight: 700; }
.match-team { min-width: 0; overflow: hidden; font-size: .85rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.match-away { text-align: left; }
.match-score { padding: 5px 10px; background: #e9e8e2; text-align: center; font-size: .82rem; font-weight: 700; }
.match-league { overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.match-countdown { color: var(--muted); font-size: .68rem; }
.players-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
.player-tile { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.player-photo { width: 100%; aspect-ratio: 1.12; overflow: hidden; background: #e8e7e1; }
.player-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.84); transition: filter .25s ease, transform .4s ease; }
.player-tile:hover .player-photo img { filter: saturate(1); transform: scale(1.03); }
.player-tile strong { margin-top: 10px; font-family: var(--serif); font-size: 1.05rem; }
.player-club { color: var(--muted); font-size: .73rem; }
.player-number { margin-top: 4px; color: var(--accent); font-size: .69rem; font-weight: 700; }
.player-profile { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr); gap: 42px; }
.profile-identity { padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.profile-identity img { width: 100%; max-height: 360px; aspect-ratio: 1/1.08; object-fit: cover; object-position: center 20%; background: #e8e7e1; }
.profile-identity h1 { margin: 15px 0 0; font-family: var(--serif); font-size: 2rem; }
.profile-identity p { margin: 0; color: var(--muted); }
.profile-facts { width: 100%; margin-top: 18px; border-collapse: collapse; }
.profile-facts th, .profile-facts td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: right; font-size: .81rem; }
.profile-facts th { width: 42%; color: var(--muted); font-weight: 500; }
.related-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* Existing ad component and Bootstrap forms */
.af-ad-slot { margin: 18px 0; padding: 8px; border: 1px solid var(--line); background: transparent; text-align: center; }
.af-ad-slot img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.af-ad-label { margin-bottom: 4px; color: var(--muted); font-size: .62rem; text-align: start; }
.af-panel { padding: 18px; border: 1px solid var(--line); background: var(--paper-raised); }
.af-section-title { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.form-control, .form-select { border-color: var(--line-strong); border-radius: 0; background-color: var(--paper-raised); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgb(184 52 59 / 12%); }
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark); --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); border-radius: 0; }
.btn-outline-secondary, .btn-outline-light { --bs-btn-color: var(--ink-soft); --bs-btn-border-color: var(--line-strong); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: white; border-radius: 0; }
.text-muted { color: var(--muted) !important; }
.table-dark { --bs-table-bg: var(--paper-raised); --bs-table-color: var(--ink); --bs-table-border-color: var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line-strong); background: #eeede8; }
.footer-main { display: flex; justify-content: space-between; gap: 48px; padding-top: 34px; padding-bottom: 30px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-mark { width: 40px; height: 40px; font-size: .83rem; }
.footer-brand .brand-name { font-size: 1.55rem; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: .77rem; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px 28px; max-width: 460px; padding-top: 5px; }
.footer-links a { color: var(--ink-soft); font-size: .77rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.footer-bottom .site-shell { display: flex; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }

@media (max-width: 991.98px) {
    .front-page-grid { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .85fr); gap: 22px; }
    .lead-story { grid-template-columns: 1fr; }
    .lead-image-wrap, .lead-image { min-height: 300px; height: 300px; }
    .lead-copy { min-height: 260px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .players-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 32px; }
}

@media (max-width: 767.98px) {
    .container.site-shell { width: min(calc(100% - 32px), var(--shell)); }
    .masthead-inner { min-height: 88px; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-name { font-size: 1.7rem; }
    .masthead-edition { display: none; }
    .masthead-link { font-size: .72rem; }
    .front-page-grid { grid-template-columns: 1fr; }
    .lead-story { grid-template-columns: minmax(0, .95fr) minmax(230px, 1.05fr); min-height: 330px; }
    .lead-image-wrap, .lead-image { min-height: 330px; height: 100%; }
    .lead-copy { min-height: 330px; padding: 22px; }
    .lead-copy h1 { font-size: clamp(1.6rem, 4.5vw, 2rem); }
    .front-rail { margin-top: 10px; }
    .rail-story { grid-template-columns: 30px minmax(0, 1fr) 84px; }
    .rail-story img { width: 84px; height: 72px; }
    .service-strip { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
    .archive-lead { grid-template-columns: 1fr; gap: 18px; }
    .archive-lead-image { aspect-ratio: 1.75; }
    .archive-row { grid-template-columns: 104px minmax(0, 1fr) 20px; gap: 13px; }
    .archive-thumb { width: 104px; }
    .archive-row-copy h2 { font-size: 1.04rem; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .article-header h1 { font-size: clamp(2rem, 7vw, 3.3rem); }
    .article-cover { margin-top: 22px; }
    .article-cover img { max-height: 450px; }
    .article-deck { font-size: 1.17rem; }
    .players-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .player-profile { grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr); gap: 24px; }
    .match-entry { grid-template-columns: 70px minmax(0, 1fr) 78px minmax(0, 1fr); gap: 9px; }
    .match-league { display: none; }
}

@media (max-width: 575.98px) {
    body { font-size: 15px; }
    .container.site-shell { width: min(calc(100% - 28px), var(--shell)); }
    .utility-inner { gap: 10px; font-size: .67rem; }
    .utility-note { display: none; }
    .utility-account { gap: 11px; }
    .masthead-inner { min-height: 80px; gap: 10px; }
    .brand-lockup { gap: 9px; }
    .brand-mark { width: 36px; height: 36px; font-size: .8rem; }
    .brand-name { font-size: 1.48rem; }
    .brand-tagline { font-size: .61rem; }
    .masthead-link { padding: 5px 0; font-size: .68rem; }
    .nav-scroll { gap: 21px; }
    .nav-scroll a { padding-block: 10px; font-size: .79rem; }
    .page-content { padding-top: 20px; padding-bottom: 54px; }
    .edition-line { margin-bottom: 15px; font-size: .65rem; }
    .lead-story { display: flex; flex-direction: column; }
    .lead-image-wrap, .lead-image { min-height: 0; height: auto; aspect-ratio: 1.38; }
    .lead-copy { min-height: 0; padding: 19px 17px 17px; }
    .lead-copy h1 { margin-top: 11px; font-size: 1.75rem; }
    .lead-summary { font-size: .87rem; }
    .story-byline { padding-top: 16px; }
    .home-ad-wrap { margin: 20px 0 38px; }
    .section-heading-row { align-items: end; }
    .section-title { font-size: 1.55rem; }
    .section-heading-row > .text-link { font-size: .68rem; }
    .news-grid { gap: 21px 14px; padding-top: 16px; }
    .news-card-image { aspect-ratio: 1.2; }
    .news-card-copy { padding-top: 9px; }
    .news-card-copy h3 { margin-top: 6px; font-size: .98rem; line-height: 1.5; }
    .news-card-copy time { font-size: .62rem; }
    .module-heading { align-items: center; gap: 8px; }
    .module-heading h2 { font-size: 1.3rem; }
    .module-heading .text-link { font-size: .67rem; }
    .editorial-heading { align-items: start; flex-direction: column; gap: 6px; }
    .editorial-heading h1 { font-size: 2.45rem; }
    .heading-note { font-size: .75rem; }
    .topic-nav { gap: 20px; }
    .topic-nav a { font-size: .75rem; }
    .archive-lead { padding-top: 20px; }
    .archive-lead-copy h2 { font-size: 1.8rem; }
    .archive-row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
    .archive-thumb { width: 84px; aspect-ratio: 1; }
    .archive-row-copy h2 { font-size: .94rem; line-height: 1.45; }
    .archive-open { display: none; }
    .pagination-editorial { gap: 18px; font-size: .7rem; }
    .article-header h1 { font-size: 2rem; }
    .article-byline { flex-wrap: wrap; font-size: .68rem; }
    .article-tools { flex-wrap: wrap; }
    .article-tools-label { width: 100%; margin-bottom: 2px; }
    .article-action { flex: 1; justify-content: center; }
    .af-article-body { font-size: 1rem; line-height: 2.05; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-heading { align-items: start; flex-direction: column; }
    .match-entry { grid-template-columns: 1fr 58px 1fr; gap: 7px; min-height: 62px; }
    .match-status { grid-column: 1 / -1; margin-bottom: -7px; font-size: .62rem; }
    .match-team { font-size: .76rem; }
    .match-score { font-size: .75rem; }
    .match-countdown { display: none; }
    .players-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .player-photo { aspect-ratio: 1.05; }
    .player-tile strong { font-size: .98rem; }
    .player-profile { grid-template-columns: 1fr; gap: 28px; }
    .profile-identity { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 15px; align-items: start; }
    .profile-identity img { grid-row: span 3; width: 120px; height: 140px; }
    .profile-identity h1 { margin-top: 8px; font-size: 1.55rem; }
    .profile-facts { grid-column: 1 / -1; }
    .related-news-grid { grid-template-columns: 1fr; }
    .footer-main { flex-direction: column; gap: 24px; }
    .footer-links { gap: 10px 19px; }
    .footer-bottom .site-shell { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
