/*
Theme Name: GistMatrix
Theme URI: https://gistmatrix.com
Author: XL Creative Hub
Description: The GistMatrix theme: a fast, mobile-first news and entertainment theme for young Nigerians, with four colour-coded verticals, trust features (key points, corrections log, paid-partnership labels), first-party sign-ups, read-aloud, data saver, dark mode and a private coming-soon mode.
Version: 1.3.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gistmatrix
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #121212;
	--paper: #F6F2EA;
	--yellow: #FFC21A;
	--news: #D63A24;
	--ent: #C8288C;
	--sports: #08803E;
	--learn: #2563EB;
	--bg: var(--paper);
	--surface: #FFFFFF;
	--text: #121212;
	--muted: #5A5650;
	--rule: #E2DCD0;
	--rule-strong: #CFC8BA;
	--chip: #EAE4D8;
	--v: #121212;
	--radius: 10px;
	--wrap: 1240px;
	--gut: 16px;
	--f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--article-scale: 1;
	color-scheme: light;
}
[data-theme="dark"] {
	--bg: #0E0E0E;
	--surface: #181818;
	--text: #F2EEE6;
	--muted: #ABA59B;
	--rule: #262626;
	--rule-strong: #3A3A3A;
	--chip: #222222;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0E0E0E;
		--surface: #181818;
		--text: #F2EEE6;
		--muted: #ABA59B;
		--rule: #262626;
		--rule-strong: #3A3A3A;
		--chip: #222222;
		color-scheme: dark;
	}
}
@media (min-width: 768px) {
	:root { --gut: 24px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.drawer-open { overflow: hidden; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.55 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); }
:focus-visible { outline: 3px solid var(--learn); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--yellow); color: #121212; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.site-main { min-height: 50vh; }

/* ---------- Logo and icons ---------- */
.gm-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.gm-logo__mark { width: 26px; height: 31px; flex: none; }
.gm-logo__word { font: 900 25px/1 var(--f-head); letter-spacing: -0.03em; }
.gm-logo__word span { font-weight: 700; }
.gm-icon { width: 22px; height: 22px; flex: none; }
.gm-symbol { display: block; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 700 15px/1.1 var(--f-body); padding: 12px 18px; border-radius: 999px;
	border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn .gm-icon { width: 18px; height: 18px; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--cta { background: var(--yellow); color: #121212; }
.btn--light { background: #FFFFFF; color: #121212; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--wa { background: var(--sports); color: #FFFFFF; }
.icon-btn {
	width: 42px; height: 42px; border: 0; background: transparent; color: inherit;
	border-radius: 10px; display: inline-grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--chip); }

/* ---------- Top bar ---------- */
.topbar { background: #121212; color: #EDE8DE; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 36px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.topbar__inner::-webkit-scrollbar { display: none; }
.topbar__date { margin: 0; font-weight: 600; }
.today { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.today li span { color: #B8B2A8; }
.today strong { color: var(--yellow); font-weight: 700; }
.today__label { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #FFFFFF; }
.today__asof { color: #8F897F; }
.topbar__links { margin-left: auto; display: none; gap: 16px; }
.topbar__links a { text-decoration: none; color: #EDE8DE; font-weight: 600; }
.topbar__links a:hover { color: var(--yellow); }
@media (min-width: 900px) { .topbar__links { display: flex; } }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid var(--text); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }
.masthead__inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.masthead__brand { text-decoration: none; color: var(--text); }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.masthead__cta { display: none; margin-left: 6px; padding: 10px 16px; }
@media (min-width: 560px) { .masthead__cta { display: inline-flex; } }
.nav { display: none; margin-left: 20px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 20px 12px 16px; text-decoration: none;
	font: 800 16px/1 var(--f-head); letter-spacing: -0.01em; border-bottom: 4px solid transparent;
}
.nav__list .menu-item a:hover,
.nav__list .current-menu-item a,
.nav__list .current-menu-parent a,
.nav__list .current-category-ancestor a { border-bottom-color: var(--v); }
@media (min-width: 1024px) {
	.nav { display: block; }
	.masthead__menu { display: none; }
}

/* Search panel */
.search-panel { border-top: 1px solid var(--rule); background: var(--surface); padding: 16px 0 18px; }
.search-panel__form { display: flex; gap: 10px; }
.search-panel__input { flex: 1; min-width: 0; font-size: 18px !important; }
.search-panel__results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.search-panel__results a { display: block; padding: 10px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rule); }
.search-panel__results a:hover { color: var(--learn); }
.search-panel__none { color: var(--muted); padding: 8px 4px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .55); }
.admin-bar .drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .drawer { top: 46px; } }
.drawer__panel { width: min(380px, 88vw); height: 100%; background: var(--bg); overflow-y: auto; padding: 16px 20px 32px; display: flex; flex-direction: column; gap: 22px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__verticals, .drawer__links, .drawer__subs { list-style: none; margin: 0; padding: 0; }
.drawer__verticals { display: grid; gap: 18px; }
.drawer__v { display: flex; align-items: center; gap: 10px; font: 900 24px/1 var(--f-head); text-decoration: none; }
.drawer__mark { width: 20px; height: 24px; color: var(--text); }
.drawer__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.drawer__subs a { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 600; text-decoration: none; }
.drawer__links { display: grid; gap: 12px; border-top: 1px solid var(--rule); padding-top: 18px; }
.drawer__links a { font-weight: 700; text-decoration: none; }
.drawer__prefs { display: flex; gap: 8px; flex-wrap: wrap; }
.drawer .pref { border-color: var(--rule-strong); color: var(--text); }
.drawer .socials a { color: var(--text); border-color: var(--rule-strong); }

/* Breaking bar */
.breaking { background: var(--news); color: #FFFFFF; }
.breaking__inner { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.breaking__label { font: 900 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.breaking__label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FFFFFF; animation: gm-pulse 1.4s infinite; }
.breaking a { color: #FFFFFF; font-weight: 700; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breaking a:hover { text-decoration: underline; }
@keyframes gm-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .breaking__label::before { animation: none; } .btn:hover { transform: none; } }

/* ---------- Section heads and chips ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 3px solid var(--text); padding-top: 12px; margin: 44px 0 14px; }
.sec-head__title { font: 900 clamp(24px, 3vw, 30px)/1 var(--f-head); margin: 0; display: flex; align-items: center; letter-spacing: -0.02em; }
.sec-head__sq { display: inline-block; width: 14px; height: 14px; background: var(--v); border-radius: 3px; margin-right: 10px; flex: none; }
.sec-head__more { font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sec-head__more .gm-icon { width: 16px; height: 16px; }
.sec-head__more:hover { color: var(--v); }
.chips { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0 0 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--chip); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.chip:hover, .chip.is-active { background: var(--v); color: #FFFFFF; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--v); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__play { position: absolute; left: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: #FFFFFF; color: #121212; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.card__play .gm-icon { width: 18px; height: 18px; margin-left: 2px; }
.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__kicker { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 20px; }
.tag {
	position: relative; z-index: 2; display: inline-block; background: var(--v); color: #FFFFFF;
	font: 800 11px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 7px; border-radius: 4px; text-decoration: none;
}
.v-gist .tag, .tag--gist { background: var(--text); color: var(--bg); }
.tag--paid { background: var(--yellow); color: #121212; }
.tag--sample { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }
.card__title { font: 800 19px/1.2 var(--f-head); margin: 0; letter-spacing: -0.01em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--v); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.card__dek { margin: 0; color: var(--muted); font-size: 16px; }
.card__meta { margin: 0; color: var(--muted); font-size: 13px; }
.card--xl .card__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.025em; }
.card--xl .card__dek { font-size: 18px; }
.card--l .card__title { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.12; }
.card--s { flex-direction: row; gap: 12px; align-items: flex-start; }
.card--s .card__media { flex: 0 0 40%; }
.card--s .card__title { font-size: 16px; line-height: 1.25; }
.card--num { flex-direction: row; gap: 12px; align-items: flex-start; }
.card__num { font: 900 30px/0.9 var(--f-head); color: var(--v); min-width: 26px; }
.card--num .card__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.card--page .card__body { padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }

/* Branded placeholder when a story has no image */
.ph {
	position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%;
	padding: 14px 16px; overflow: hidden; background-color: var(--v);
	background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px);
	background-size: 16px 16px;
}
.ph__mark { position: absolute; right: -6%; top: -14%; width: 46%; max-width: 220px; height: auto; opacity: .2; }
.ph__mark rect, .ph__mark path { fill: #FFFFFF; }
.ph__label { position: relative; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 900 clamp(15px, 2vw, 22px)/1.1 var(--f-head); color: #FFFFFF; text-transform: uppercase; letter-spacing: .03em; }
.card__media, .card__media:hover { text-decoration: none; }
.card--s .ph__label { display: none; }
.v-gist .ph, .ph.v-gist { background-color: #121212; }

/* ---------- Homepage ---------- */
.home-top { display: grid; gap: 28px; padding-top: 22px; }
.home-top__side { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) {
	.home-top { grid-template-columns: 1.6fr 1fr; }
	.gist60 { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
	.home-top { grid-template-columns: 1.75fr 1fr 0.95fr; }
	.gist60 { grid-column: auto; }
}
.gist60 { background: #121212; color: #F2EEE6; border-radius: 14px; padding: 20px; border: 1px solid #262626; align-self: start; }
.gist60__h { font: 900 21px/1.1 var(--f-head); display: flex; gap: 10px; align-items: center; margin: 0 0 14px; }
.gist60__mark { width: 20px; height: 24px; }
.gist60__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gist60__list li { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.gist60 .card__num { color: var(--yellow); }
.gist60 .card__title a { color: #F2EEE6; }
.gist60 .tag { font-size: 10px; }
.gist60__cta { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; color: var(--yellow); font-weight: 700; text-decoration: none; }
.gist60__cta .gm-icon { width: 16px; height: 16px; }

.rail__grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .rail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.rail__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
	.rail__grid--even { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.band { margin: 48px 0; padding: 40px 0; }
.band--yellow { background: var(--yellow); color: #121212; }
.band--yellow, .nl-inline, .cs__form { color-scheme: light; }
.band--ink { background: #121212; color: #F2EEE6; }
.band--ink .sec-head { border-top-color: #F2EEE6; margin-top: 0; }
.band--ink .card__title a, .band--ink .sec-head__more { color: #F2EEE6; }
.band--ink .card__meta { color: #B8B2A8; }
.band__inner { display: grid; gap: 24px; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 48px; } }
.band__h { font: 900 clamp(30px, 4.4vw, 48px)/1.02 var(--f-head); margin: 0 0 12px; letter-spacing: -0.025em; }
.band__copy p { font-size: 18px; margin: 0; }
.band__form { display: grid; gap: 12px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.scroller > * { scroll-snap-align: start; }

.duo { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.promo { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 280px; padding: 28px; border-radius: 18px; text-decoration: none; }
.promo--submit { background: var(--ent); color: #FFFFFF; }
.promo--partner { background: #121212; color: #F2EEE6; border: 1px solid #262626; }
.promo__eyebrow { font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .12em; opacity: .9; }
.promo__h { font: 900 clamp(26px, 3vw, 36px)/1.05 var(--f-head); letter-spacing: -0.02em; }
.promo__p { font-size: 17px; max-width: 460px; }
.promo .btn { align-self: flex-start; margin-top: 8px; }

.empty-home, .notfound { text-align: center; padding: 72px 16px 40px; max-width: 640px; }
.empty-home__mark, .notfound__mark { width: 64px; height: 77px; margin: 0 auto 18px; }
.empty-home h1, .notfound h1 { font: 900 clamp(32px, 5vw, 48px)/1.05 var(--f-head); margin: 0 0 10px; }
.notfound .searchform { margin: 20px auto; max-width: 480px; }

/* ---------- Forms ---------- */
.gm-form { display: grid; gap: 14px; }
.gm-form__grid { display: grid; gap: 14px; }
@media (min-width: 700px) {
	.gm-form:not(.gm-form--compact) .gm-form__grid { grid-template-columns: 1fr 1fr; }
	.gm-field--wide { grid-column: 1 / -1; }
}
@media (min-width: 560px) {
	.gm-form--compact .gm-form__grid { grid-template-columns: 1fr 1fr; }
	.gm-form--compact .gm-field--wide { grid-column: 1 / -1; }
}
.gm-field label, .gm-field legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.gm-form input[type="text"], .gm-form input[type="email"], .gm-form input[type="tel"], .gm-form input[type="url"], .gm-form input[type="password"], .gm-form input:not([type]), .gm-form input[type="number"],
.gm-form select, .gm-form textarea, .searchform input[type="search"], .search-panel__input, .comment-form input[type="text"],
.comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--rule-strong);
	border-radius: 10px; background: var(--surface); color: var(--text);
}
.gm-form textarea { resize: vertical; min-height: 110px; }
.was-checked :invalid { border-color: var(--news); }
.gm-form fieldset { border: 0; padding: 0; margin: 0; }
.gm-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-check { --v: #121212; position: relative; }
.gm-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gm-check span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule-strong); font-weight: 600; font-size: 14px; cursor: pointer; background: var(--surface); }
.gm-check input:checked + span { background: var(--v); border-color: var(--v); color: #FFFFFF; }
.gm-check input:focus-visible + span { outline: 3px solid var(--learn); outline-offset: 2px; }
.gm-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.gm-agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--text); }
.gm-hp { position: absolute !important; left: -9999px; }
.gm-form .btn { justify-self: start; }
.gm-form__ok { margin: 0; background: var(--sports); color: #FFFFFF; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.gm-form__err, .gm-form__live:not(:empty) { margin: 0; background: #FDECEA; color: #8A1C10; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.band--yellow .gm-form input, .band--yellow .gm-form select, .cs__form .gm-form input, .nl-inline .gm-form input { background: #FFFFFF; color: #121212; border-color: #121212; }
.band--yellow .gm-check span, .nl-inline .gm-check span, .cs__form .gm-check span { background: #FFFFFF; border-color: #121212; color: #121212; }
.band--yellow .gm-check input:checked + span, .nl-inline .gm-check input:checked + span, .cs__form .gm-check input:checked + span { color: #FFFFFF; }
.band--yellow .btn--primary, .nl-inline .btn--primary, .cs__form .btn--primary { background: #121212; color: #FFFFFF; }
.band--yellow a, .nl-inline a { color: #121212; }
.nl-box { display: grid; gap: 14px; }
.searchform { display: flex; gap: 10px; max-width: 560px; }

/* ---------- Section and page heroes ---------- */
.section-hero { padding: 30px 0 20px; border-top: 6px solid var(--v); border-bottom: 1px solid var(--rule); }
.section-hero__parent { display: inline-block; font: 800 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--muted); }
.section-hero__title { font: 900 clamp(38px, 6vw, 68px)/1 var(--f-head); letter-spacing: -0.03em; margin: 8px 0 10px; display: flex; align-items: center; gap: 14px; }
.section-hero__mark { width: clamp(30px, 4vw, 46px); height: auto; color: var(--text); }
.section-hero__intro { font-size: 18px; color: var(--muted); max-width: 660px; margin: 0 0 16px; }
.section-hero .searchform { margin: 6px 0 14px; }
.chips--hero { margin-bottom: 0; }
.archive { padding-top: 26px; padding-bottom: 20px; }
.archive__grid { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .archive__grid .card--l { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
	.archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.archive__grid .card--l { flex-direction: row; gap: 28px; align-items: center; }
	.archive__grid .card--l .card__media { flex: 0 0 60%; }
	.archive__grid .card--l .card__title { font-size: 36px; line-height: 1.05; }
}
.empty { font-size: 18px; color: var(--muted); padding: 24px 0; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0 12px; }
.page-numbers { padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--rule-strong); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.page-numbers.dots { border: 0; }
.pagination.is-enhanced { display: none; }
.loadmore { text-align: center; margin: 36px 0 12px; }
.author-hero__inner { display: flex; gap: 22px; align-items: center; }
.author-hero img { border-radius: 50%; }
.author-hero__job { margin: 0 0 8px; font-weight: 700; }
.author-hero__links { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; }
.author-hero__links a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; }
.author-hero__links .gm-icon { width: 18px; height: 18px; }

.page-hero { padding: 44px 0 26px; border-bottom: 1px solid var(--rule); }
.page-hero__title { font: 900 clamp(36px, 6vw, 62px)/1.02 var(--f-head); letter-spacing: -0.03em; margin: 0 0 12px; max-width: 920px; }
.page-hero__intro { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 760px; margin: 0; }
.page-doc__body { padding-top: 30px; padding-bottom: 20px; }
.prose--page { max-width: 900px; }
.page-doc__updated { font-size: 13px; color: var(--muted); max-width: 900px; margin-top: 36px; }

/* ---------- Story ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--v); transform-origin: 0 0; transform: scaleX(0); }
.admin-bar .progress { top: 32px; }
.story__head { padding-top: 22px; }
.story__head > * { max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--v); }
.paid { display: inline-block; background: var(--yellow); color: #121212; padding: 7px 11px; border-radius: 6px; font-size: 14px; margin: 14px 0 0; }
.paid a { color: #121212; }
.sample-note { display: inline-block; border: 1.5px dashed var(--muted); color: var(--muted); padding: 7px 12px; border-radius: 8px; font-size: 14px; margin: 14px 0 0; }
.story__title { font: 900 clamp(32px, 5.2vw, 56px)/1.03 var(--f-head); letter-spacing: -0.03em; margin: 14px 0 12px; }
.story__dek { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--muted); margin: 0 0 18px; }
.byline { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.byline__avatar img { border-radius: 50%; width: 48px; height: 48px; }
.byline__who { margin: 0; font-weight: 700; }
.byline__who a { text-decoration: none; border-bottom: 2px solid var(--v); }
.byline__who span { font-weight: 500; color: var(--muted); }
.byline__when { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0 16px; border-bottom: 1px solid var(--rule); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share__btn, .tool {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; justify-content: center;
	padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--rule-strong); background: transparent;
	color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer;
}
.share__btn .gm-icon, .tool .gm-icon { width: 18px; height: 18px; }
.share__btn--wa { background: var(--sports); border-color: var(--sports); color: #FFFFFF; }
.share__btn.is-done { background: var(--sports); border-color: var(--sports); color: #FFFFFF; }
.tool[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tools__right { display: flex; gap: 6px; }
.story__hero { margin-top: 22px; margin-bottom: 8px; }
.story__hero img { width: 100%; border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .story__hero img { aspect-ratio: 21 / 9; } }
.story__hero .ph { border-radius: 14px; aspect-ratio: 4 / 1; min-height: 96px; }
.story__hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.story__hero .credit { opacity: .85; }
.story__grid { display: grid; gap: 40px; padding-top: 18px; }
@media (min-width: 1100px) { .story__grid { grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; } }
.story__body { min-width: 0; }
.keypoints { background: var(--surface); border: 1px solid var(--rule); border-left: 6px solid var(--v); border-radius: 12px; padding: 16px 20px; margin: 0 0 26px; }
.keypoints__h { font: 900 16px/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.keypoints__mark { width: 15px; height: 18px; color: var(--text); }
.keypoints ul { margin: 0; padding-left: 1.1em; }
.keypoints li { margin: 5px 0; font-weight: 500; font-size: calc(17px * var(--article-scale)); }
.notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 22px; font-size: 15px; line-height: 1.5; }
.notice a { color: inherit; font-weight: 700; }
.notice--warn, .notice--paid { background: #FFF3D1; color: #4D3900; }
.notice--corr { background: #E6EEFF; color: #0F2C66; }
.notice--help { background: #E5F5EC; color: #0A4426; margin-top: 24px; }
.prose { font-size: calc(18px * var(--article-scale)); line-height: 1.7; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font: 800 1.45em/1.2 var(--f-head); letter-spacing: -0.015em; margin: 1.6em 0 .5em; }
.prose h3 { font: 800 1.2em/1.25 var(--f-head); margin: 1.4em 0 .4em; }
.prose a { color: inherit; text-decoration-color: var(--v); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img, .prose video, .prose iframe { border-radius: 10px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.prose blockquote { border-left: 4px solid var(--v); margin: 1.5em 0; padding: .2em 0 .2em 1em; font: 700 1.12em/1.45 var(--f-head); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .85em; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; }
.prose .wp-block-embed, .prose .wp-block-video { margin: 1.6em 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0; }
.topics a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 600; text-decoration: none; }
.react { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; margin: 26px 0; }
.react__h { font: 800 17px/1.2 var(--f-head); margin: 0 0 12px; }
.react__row { display: flex; gap: 10px; flex-wrap: wrap; }
.react__btn { display: inline-flex; gap: 7px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule-strong); background: transparent; color: var(--text); cursor: pointer; }
.react__emoji { font-size: 20px; line-height: 1; }
.react__n { font-size: 14px; font-weight: 700; }
.react__btn.is-on { background: var(--yellow); border-color: var(--yellow); color: #121212; }
.authorbox { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; margin: 26px 0; }
.authorbox img { border-radius: 50%; width: 72px; height: 72px; flex: none; }
.authorbox p { margin: 0 0 6px; }
.authorbox__name { font: 800 18px/1.2 var(--f-head); }
.authorbox__name a { text-decoration: none; }
.authorbox__name span { font: 500 14px var(--f-body); color: var(--muted); }
.authorbox__std { font-size: 14px; color: var(--muted); }
.nl-inline { background: var(--yellow); color: #121212; border-radius: 16px; padding: 22px; margin: 26px 0; }
.nl-inline h2 { font: 900 23px/1.15 var(--f-head); margin: 0 0 14px; }
.story__aside .sticky { position: sticky; top: 90px; display: grid; gap: 22px; }
.aside__h { font: 900 19px/1 var(--f-head); display: flex; align-items: center; margin: 0 0 12px; }
.aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside__list li { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.aside__box { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.aside__boxh { font: 800 19px/1.2 var(--f-head); margin: 0 0 14px; }
.page-links { margin: 20px 0; font-weight: 700; }

/* Comments */
.comments { margin: 32px 0; }
.comments__h { font: 900 24px/1.1 var(--f-head); margin: 0 0 6px; }
.comments__rules { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.comments__list, .comments__list .children { list-style: none; padding: 0; margin: 0; }
.comments__list .children { padding-left: 24px; border-left: 2px solid var(--rule); }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comment-author { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-meta a, .comment-metadata a { font-size: 12px; color: var(--muted); text-decoration: none; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form .submit { background: var(--text); color: var(--bg); border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; cursor: pointer; }
.comment-reply-title { font: 800 20px var(--f-head); }

/* ---------- Page components ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 1.5em; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #121212; font: 900 16px/30px var(--f-head); text-align: center; }
.offer-grid { display: grid; gap: 16px; margin: 18px 0 10px; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.offer h3 { font: 800 19px/1.2 var(--f-head); margin: 0 0 6px; }
.offer p { margin: 0; font-size: 16px; color: var(--muted); }
.vgrid { display: grid; gap: 14px; margin: 18px 0; }
@media (min-width: 600px) { .vgrid { grid-template-columns: 1fr 1fr; } }
.vcard { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 3px; align-items: center; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); border-left: 6px solid var(--v); text-decoration: none; color: var(--text); }
.prose .vcard { text-decoration: none; }
.vcard:hover { border-color: var(--v); }
.vcard__mark { grid-row: 1 / 3; width: 30px; height: 36px; color: var(--text); }
.vcard__name { font: 900 18px/1.1 var(--f-head); }
.vcard__line { font-size: 14px; line-height: 1.4; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0 6px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: #121212; color: #F2EEE6; border-radius: 14px; padding: 18px; border: 1px solid #262626; }
.stat__n { display: block; font: 900 32px/1 var(--f-head); color: var(--yellow); margin-bottom: 6px; }
.stat__l { font-size: 14px; line-height: 1.35; }
.stats__note { font-size: 13px; color: var(--muted); }
.gm-note { border: 1.5px dashed var(--muted); padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.corrections { list-style: none; padding: 0; }
.corrections li { padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.corrections time { display: block; font-size: 13px; color: var(--muted); }
.corrections a { font-weight: 800; }
.corrections p { margin: 4px 0 0; }

/* Ad slots keep their space so the page never jumps */
.ad-slot { margin: 30px 0; text-align: center; }
.ad-slot__label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-slot__inner { min-height: 250px; display: grid; place-items: center; background: var(--chip); border-radius: 8px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: #121212; color: #E9E4DA; margin-top: 64px; padding: 48px 0 28px; }
.footer a { color: #E9E4DA; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer .gm-logo__word { color: #F2EEE6; }
.footer__top { display: grid; gap: 30px; }
@media (min-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer__tag { font: 800 21px/1.2 var(--f-head); margin: 14px 0 4px; }
.footer__owner { color: #B8B2A8; font-size: 14px; margin: 0 0 14px; }
.footer__h { font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__bottom { border-top: 1px solid #2B2B2B; margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13px; color: #B8B2A8; }
.footer__bottom p { margin: 0; max-width: 640px; }
.footer__prefs { display: flex; gap: 8px; flex-wrap: wrap; }
.pref { background: transparent; border: 1px solid #3A3A3A; color: #E9E4DA; border-radius: 999px; padding: 7px 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.pref .gm-icon { width: 16px; height: 16px; }
.pref[aria-pressed="true"] { background: var(--yellow); color: #121212; border-color: var(--yellow); }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.footer .socials { display: flex; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3A3A3A; }
.socials .gm-icon { width: 19px; height: 19px; }
.socials--big a { width: 48px; height: 48px; }

/* ---------- Coming soon ---------- */
.cs-body { background: #121212; color: #F2EEE6; }
.cs { min-height: 100vh; display: grid; place-items: center; padding: 48px 16px;
	background: radial-gradient(circle at 85% 8%, rgba(255,194,26,.16), transparent 42%), radial-gradient(circle at 8% 92%, rgba(37,99,235,.18), transparent 42%); }
.cs__inner { width: 100%; max-width: 660px; }
.cs .gm-logo__word { font-size: 32px; color: #F2EEE6; }
.cs .gm-logo__mark { width: 32px; height: 38px; }
.cs__eyebrow { color: var(--yellow); font: 800 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .16em; margin: 36px 0 10px; }
.cs__title { font: 900 clamp(38px, 7.5vw, 68px)/1.0 var(--f-head); letter-spacing: -0.03em; margin: 0 0 16px; }
.cs__text { font-size: 19px; color: #D8D2C6; margin: 0 0 22px; }
.cs__verticals { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 26px; }
.cs__verticals li { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--f-head); padding: 9px 13px; border-radius: 999px; background: #1E1E1E; }
.cs__sq { width: 12px; height: 12px; border-radius: 3px; background: var(--v); }
.cs__form { background: #F6F2EA; color: #121212; border-radius: 18px; padding: 22px; display: grid; gap: 14px; margin-bottom: 26px; }
.cs__form a { color: #121212; }
.cs__owner { font-size: 13px; color: #A9A39A; margin-top: 26px; }
.cs__owner a { color: #D8D2C6; }
.cs .socials a { color: #F2EEE6; }

/* ---------- Data saver ---------- */
.data-saver:not(.show-img) .card__media:has(img),
.data-saver:not(.show-img) .story__hero:has(img) { display: none; }
.data-saver:not(.show-img) .prose img { display: none; }
.data-saver .card--s .card__media:not(:has(img)) { flex-basis: 30%; }

/* ---------- Vertical colours (last, so they win) ---------- */
.v-news { --v: var(--news); }
.v-entertainment { --v: var(--ent); }
.v-sports { --v: var(--sports); }
.v-learn { --v: var(--learn); }
.v-gist { --v: #121212; }
[data-theme="dark"] .v-gist .sec-head__sq, [data-theme="dark"] .sec-head.v-gist .sec-head__sq { background: var(--yellow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec-head.v-gist .sec-head__sq { background: var(--yellow); } }

/* ---------- Print ---------- */
@media print {
	.topbar, .masthead, .tools, .react, .nl-inline, .story__aside, .footer, .comments, .progress, .ad-slot { display: none !important; }
	body { background: #FFFFFF; color: #000000; }
}

/* =========================================================
   1.1: live blogs, Match Centre, accounts, courses, writers, motion
   ========================================================= */

/* ---------- Shared bits ---------- */
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--news); color: #FFFFFF; font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px 5px 8px; border-radius: 999px; vertical-align: middle; }
.live-badge__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: gm-pulse 1.4s infinite; flex: none; }
.tag--live { background: var(--news); color: #FFFFFF; display: inline-flex; align-items: center; gap: 5px; }
.tag--quiet { background: var(--chip); color: var(--text); }
.btn--danger { background: var(--news); color: #FFFFFF; }
.btn:active { transform: scale(.97); }
.meter { display: block; height: 8px; border-radius: 999px; background: var(--chip); overflow: hidden; margin: 8px 0 0; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--v, var(--learn)); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.meter--l { height: 12px; }
.avatar-initials { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: #121212; font: 900 17px/1 var(--f-head); }
.avatar-initials--l { width: 72px; height: 72px; font-size: 24px; flex: none; }
.byline__avatar { display: inline-flex; }
.byline__avatar img { border-radius: 50%; }
.masthead__acc.is-in { color: var(--yellow); }
.tool--save.is-on { background: var(--yellow); border-color: var(--yellow); color: #121212; }
.pop { animation: gm-pop .4s ease; }

/* ---------- Sources ---------- */
.sources { margin: 30px 0 8px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.sources__h { font: 900 15px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; }
.sources__intro { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.sources ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.sources li { margin: 4px 0; }
.sources a { color: var(--text); text-decoration-color: var(--v); text-underline-offset: 2px; word-break: break-word; }

/* ---------- Live blogs ---------- */
.story__live { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.story__live a { color: var(--text); }
.live { margin: 32px 0 10px; }
.live__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-top: 3px solid var(--news); padding-top: 12px; margin-bottom: 12px; }
.live__h { font: 900 24px/1 var(--f-head); margin: 0; display: flex; align-items: center; gap: 10px; }
.live__count { margin: 0; font-size: 13px; color: var(--muted); }
.live__keys { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.live__keysh { margin: 0 0 8px; font: 800 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.live__keys ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.live__keys a { text-decoration: none; font-weight: 600; font-size: 14px; }
.live__keys time { display: inline-block; min-width: 64px; color: var(--news); font-weight: 800; }
.live__new[hidden] { display: none !important; }
.live__new { position: sticky; top: 76px; z-index: 5; display: block; margin: 0 auto 14px; background: var(--news); color: #FFFFFF; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: gm-rise .35s ease; }
.live__list { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--rule-strong); }
.live__item { position: relative; padding: 4px 0 22px 16px; }
.live__item::before { content: ""; position: absolute; left: -26px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--rule-strong); }
.live__item.is-key::before { border-color: var(--news); background: var(--news); }
.live__item.is-new { animation: gm-new 1.6s ease; }
.live__time { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.live__time time { font-weight: 800; color: var(--text); margin-right: 4px; }
.live__keytag { display: inline-block; margin: 0 0 6px; font: 800 11px/1 var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--news); }
.live__title { font: 800 19px/1.25 var(--f-head); margin: 0 0 6px; }
.live__body p { margin: 0 0 10px; font-size: calc(17px * var(--article-scale)); line-height: 1.6; }
.live__body a { color: var(--text); text-decoration-color: var(--v); }
.live__empty { color: var(--muted); }

/* ---------- Match Centre ---------- */
.strip { margin-top: 30px; }
.strip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 3px solid var(--sports); padding-top: 12px; margin-bottom: 12px; }
.strip__h { font: 900 22px/1 var(--f-head); margin: 0; display: flex; align-items: center; gap: 10px; }
.strip__h .gm-icon { width: 22px; height: 22px; color: var(--sports); }
.strip__list { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.match--card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "state state" "teams score" "meta meta"; gap: 6px 10px; }
.match--card .match__state { grid-area: state; justify-self: start; }
.match--card .match__teams { grid-area: teams; }
.match--card .match__score { grid-area: score; }
.match--card .match__meta { grid-area: meta; }
.match--card .match__story, .match--card .match__events { display: none; }
.scores { margin: 10px 0 30px; }
.scores__tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 2px solid var(--rule); margin-bottom: 16px; scrollbar-width: none; }
.scores__tab { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 12px 14px; font: 800 15px/1 var(--f-head); color: var(--muted); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.scores__tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--sports); }
.scores__tab .live-badge__dot { color: var(--news); }
.scores__n { font: 700 12px/1 var(--f-body); background: var(--chip); color: var(--text); border-radius: 999px; padding: 3px 7px; }
.scores__comp { font: 900 16px/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 8px; color: var(--sports); }
.scores__empty, .scores__note { color: var(--muted); font-size: 14px; }
.matches { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--surface); }
.matches__day { padding: 8px 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--chip); }
.matches .match { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "state teams score" "state meta meta"; gap: 2px 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--rule); }
.matches .match:first-child { border-top: 0; }
.match__state { grid-area: state; font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--chip); border-radius: 999px; padding: 6px 8px; text-align: center; justify-self: start; }
.match__state.is-live { background: var(--news); color: #FFFFFF; animation: gm-glow 2s ease-in-out infinite; }
.match__teams { grid-area: teams; display: grid; gap: 4px; min-width: 0; }
.match__team { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match__score { grid-area: score; display: grid; gap: 4px; text-align: right; }
.match__score b { font: 900 18px/1.05 var(--f-head); min-width: 22px; }
.match__meta { grid-area: meta; font-size: 12px; color: var(--muted); }
.match__story { grid-column: 2 / -1; font-size: 13px; font-weight: 700; color: var(--text); }
.match__events { grid-column: 2 / -1; font-size: 13px; }
.match__events summary { cursor: pointer; color: var(--muted); }
.match__events ul { margin: 6px 0 0; padding-left: 18px; }
.match.flash { animation: gm-flash 1.8s ease; }
/* Match Centre: crests, goal badge, filters and league tables */
.match { position: relative; }
.match__team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.match__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match__crest { width: 18px; height: 18px; object-fit: contain; flex: none; }
.match__crest--none { display: inline-block; border-radius: 50%; background: var(--chip); }
.ph-kickoff .match__state { background: var(--sports); color: #FFFFFF; }
.ph-awaiting .match__state { font-size: 10.5px; letter-spacing: 0; }
.ph-postponed .match__name, .ph-cancelled .match__name { text-decoration: line-through; opacity: .7; }
.match__goal { display: none; position: absolute; top: 8px; right: 52px; background: var(--news); color: #FFFFFF; font: 800 11px/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; }
.match--card .match__goal { right: 12px; top: 10px; }
.match.is-goal .match__goal { display: inline-block; animation: gm-pulse 1.2s ease-in-out 4; }
.match__events .ev::marker { color: var(--muted); }
.match__events .ev--goal { font-weight: 700; }
.match__events .ev--goal::marker { color: var(--sports); }
.match__events .ev--yellow::marker { color: #E8B400; }
.match__events .ev--red::marker { color: var(--news); }
.scores__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.scores__updated { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.scores__updated .live-badge__dot { color: var(--sports); }
.scores__filters, .tables__pick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.scores__filters::-webkit-scrollbar, .tables__pick::-webkit-scrollbar { display: none; }
.tables__pick { flex-wrap: wrap; margin: 4px 0 14px; }
button.chip { border: 0; cursor: pointer; font-family: inherit; color: var(--text); }
button.chip.is-on { background: var(--sports); color: #FFFFFF; }
.lt-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); margin-bottom: 12px; }
.lt, .prose .lt { display: table; width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.lt th, .lt td, .prose .lt th, .prose .lt td { padding: 9px 8px; text-align: center; vertical-align: middle; border-bottom: 0; border-top: 1px solid var(--rule); white-space: nowrap; }
.lt thead th, .prose .lt thead th { border-top: 0; font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.lt .lt__team, .prose .lt .lt__team { text-align: left; font-weight: 700; width: 100%; }
.lt .lt__team .match__crest { display: inline-block; vertical-align: middle; margin-right: 8px; }
.lt .lt__team span { vertical-align: middle; }
.lt__pts { font-weight: 900; }
.lt__f { display: inline-block; width: 18px; height: 18px; border-radius: 50%; font: 800 10px/18px var(--f-head); color: #FFFFFF; margin: 0 1px; text-align: center; }
.lt__f--w { background: var(--sports); }
.lt__f--d { background: #8A8478; }
.lt__f--l { background: var(--news); }
@media (max-width: 560px) { .lt .lt__x, .lt .lt__form { display: none; } .lt th, .lt td, .prose .lt th, .prose .lt td { padding: 8px 6px; } }
.match__cd { color: var(--sports); font-weight: 700; }
.match__cd::before { content: " · "; color: var(--muted); font-weight: 400; }
.lt tr.is-ng th, .lt tr.is-ng td { background: var(--chip); }
.scores__tab:focus-visible, button.chip:focus-visible { outline: 2px solid var(--sports); outline-offset: 2px; }
@media (max-width: 380px) { .matches .match { grid-template-columns: 54px 1fr auto; gap: 2px 8px; padding: 10px; } .match__state { font-size: 11px; padding: 5px 6px; } .match__team { font-size: 14px; } }

/* ---------- Accounts ---------- */
.acc-notice { padding: 12px 16px; border-radius: 10px; background: #FDE3DF; color: #6B1407; font-weight: 600; margin: 0 0 18px; }
.acc-notice.is-good { background: #DFF4E7; color: #0A4426; }
.acc-form { max-width: 520px; }
.acc-alt { font-size: 14px; color: var(--muted); }
.acc-alt a { color: var(--text); font-weight: 700; }
.acc-gate { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 28px; max-width: 640px; }
.acc-gate__h { font: 900 26px/1.1 var(--f-head); margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.acc-gate__h .gm-icon { width: 24px; height: 24px; color: var(--yellow); }
.acc__nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; position: sticky; top: 72px; z-index: 4; background: var(--bg); padding: 8px 0; }
.acc__nav a { padding: 8px 14px; border-radius: 999px; background: var(--chip); text-decoration: none; font-weight: 700; font-size: 14px; }
.acc__sec { padding: 18px 0 28px; border-top: 1px solid var(--rule); }
.acc__h { font: 900 26px/1.1 var(--f-head); margin: 0 0 14px; }
.acc__saved, .acc__courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acc__saved li, .acc__courses li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; transition: opacity .3s, transform .3s; }
.acc__saved li.is-gone { opacity: 0; transform: translateX(24px); }
.acc__saved a, .acc__courses a { font-weight: 700; text-decoration: none; flex: 1 1 240px; }
.acc__saved span { font-size: 13px; color: var(--muted); }
.acc__courses .meter { flex: 1 1 160px; margin: 0; }
.acc__unsave { background: none; border: 1px solid var(--rule-strong); color: var(--text); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-weight: 700; }
.acc__data { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--rule-strong); display: grid; gap: 12px; max-width: 560px; }
.acc__data h3 { margin: 0; font: 800 18px/1.2 var(--f-head); }
.acc__data p { margin: 0; color: var(--muted); font-size: 14px; }
.acc__delete { display: grid; gap: 8px; }
.acc__delete input { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--rule-strong); background: var(--surface); color: var(--text); max-width: 220px; }
.gm-checks--wrap { flex-wrap: wrap; }

/* ---------- Courses ---------- */
.course__heroin { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .course__heroin { grid-template-columns: 1.2fr 1fr; } }
.course__art img, .course__art .ph { border-radius: 16px; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.course__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.course__facts span { background: var(--chip); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.course__progress { display: flex; align-items: center; gap: 12px; max-width: 420px; margin: 10px 0 16px; }
.course__progress .meter { flex: 1; margin: 0; }
.course__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.course__grid { display: grid; gap: 36px; padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 960px) { .course__grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: l; }
.lessons__item a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.lessons__item a:hover { transform: translateX(4px); border-color: var(--learn); }
.lessons__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--chip); font: 800 14px/1 var(--f-head); }
.lessons__item.is-done .lessons__n { background: var(--learn); color: #FFFFFF; }
.lessons__n .gm-icon { width: 16px; height: 16px; }
.lessons__t { font-weight: 700; font-size: 15px; }
.lessons__m { font-size: 12px; color: var(--muted); }
.lessons__m .gm-icon { width: 16px; height: 16px; }
.lesson__step { margin: 16px 0 6px; font-size: 13px; font-weight: 700; color: var(--learn); text-transform: uppercase; letter-spacing: .06em; }
.lesson__body { max-width: 760px; padding-bottom: 48px; }
.lesson__video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: 14px; overflow: hidden; background: #000; }
.lesson__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.lesson__done { margin: 28px 0; }
.js-lesson-done.is-done { background: var(--learn); color: #FFFFFF; }
.lesson__nav { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--rule); padding-top: 18px; }
.lesson__nav a { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; font-weight: 700; }
.lesson__nav a span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lesson__next { text-align: right; }
.cert { display: grid; place-items: center; padding: 40px 16px 64px; }
.cert__card { width: min(880px, 100%); background: #FBF8F1; color: #121212; border-radius: 18px; padding: clamp(28px, 6vw, 64px); text-align: center; border: 10px solid #121212; box-shadow: inset 0 0 0 3px #FFC21A; }
.cert__card .gm-logo { justify-content: center; }
.cert__card .gm-logo__word { color: #121212; font-size: 28px; }
.cert__kicker { font: 800 14px/1 var(--f-head); text-transform: uppercase; letter-spacing: .2em; color: #2563EB; margin: 26px 0 10px; }
.cert__name { font: 900 clamp(30px, 6vw, 52px)/1.05 var(--f-head); margin: 0 0 12px; }
.cert__text { margin: 0; color: #5A5650; }
.cert__course { font: 800 clamp(20px, 3.4vw, 28px)/1.2 var(--f-head); margin: 8px 0 22px; }
.cert__meta { font-size: 13px; color: #5A5650; }
.cert__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cert__actions .btn--ghost { color: #121212; border-color: #121212; }
@media print {
	.cert__actions { display: none !important; }
	.cert { padding: 0; }
	.cert__card { border-width: 6px; }
}

.prose details.quiz { margin: 28px 0 8px; border: 2px solid var(--learn); border-radius: 14px; background: var(--surface); overflow: hidden; }
.prose details.quiz summary { cursor: pointer; padding: 14px 16px 14px 48px; font-weight: 700; position: relative; list-style: none; }
.prose details.quiz summary::-webkit-details-marker { display: none; }
.prose details.quiz summary::before { content: "?"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--learn); color: #FFFFFF; display: grid; place-items: center; font: 800 14px/1 var(--f-head); }
.prose details.quiz[open] summary { border-bottom: 1px solid var(--rule); }
.prose details.quiz > p { margin: 0; padding: 14px 16px 16px; }
.live__src { font-size: 13px; color: var(--muted); }
.live__src a { color: inherit; }

/* ---------- Writers ---------- */
.writers { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.writer__link { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; transition: transform .25s ease; }
.writer__link:hover { transform: translateY(-4px); }
.writer__link img { border-radius: 50%; }
.writer__name { font: 800 17px/1.2 var(--f-head); }
.writer__title, .writer__count { font-size: 13px; color: var(--muted); }

/* ---------- Motion (only when .motion is on: never with reduced motion or data saver) ---------- */
.masthead__inner { transition: height .25s ease; }
.masthead { transition: box-shadow .25s ease; }
.is-scrolled .masthead { box-shadow: 0 10px 30px rgba(0,0,0,.28); }
@media (min-width: 900px) { .is-scrolled .masthead__inner { height: 56px; } }
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.data-saver .reveal { opacity: 1 !important; transform: none !important; }
.gm-logo__mark rect, .gm-logo__mark path { transform-box: fill-box; transform-origin: center; }
.motion .masthead .gm-logo__mark rect, .motion .masthead .gm-logo__mark path { animation: gm-tile .7s cubic-bezier(.3,1.5,.5,1) both; }
.motion .masthead .gm-logo__mark rect:nth-of-type(2) { animation-delay: .08s; }
.motion .masthead .gm-logo__mark rect:nth-of-type(3) { animation-delay: .16s; }
.motion .masthead .gm-logo__mark rect:nth-of-type(4) { animation-delay: .24s; }
.motion .masthead .gm-logo__mark path { animation-delay: .32s; }
.motion .masthead__brand:hover .gm-logo__mark rect { animation: gm-wave .6s ease both; }
.motion .masthead__brand:hover .gm-logo__mark rect:nth-of-type(2) { animation-delay: .06s; }
.motion .masthead__brand:hover .gm-logo__mark rect:nth-of-type(3) { animation-delay: .12s; }
.motion .masthead__brand:hover .gm-logo__mark rect:nth-of-type(4) { animation-delay: .18s; }
.motion .sec-head.is-in .sec-head__sq { animation: gm-spin .8s cubic-bezier(.3,1.4,.5,1) both .1s; }
.ph__mark { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph__mark { transform: translate(-8px, 8px) rotate(-6deg) scale(1.04); }
.motion .card--xl .ph { animation: gm-drift 24s linear infinite; }
.motion .card--xl .card__media img { animation: gm-kb 22s ease-in-out infinite alternate; }
.btn--cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.motion .btn--cta:hover::after { transition: transform .7s ease; transform: translateX(130%); }
.motion .masthead__cta::after { animation: gm-shine 7s ease-in-out 2.5s infinite; }
.breaking { position: relative; overflow: hidden; }
.motion .breaking::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); animation: gm-sweep 6s ease-in-out 1s infinite; pointer-events: none; }
.motion .gist60__list li { transition: transform .25s ease; }
.motion .gist60__list li:hover { transform: translateX(6px); }
.motion .chip { transition: transform .2s ease, background-color .2s ease; }
.motion .chip:hover { transform: translateY(-2px); }
.motion .icon-btn { transition: transform .2s ease; }
.motion .icon-btn:hover { transform: rotate(-8deg) scale(1.08); }

@keyframes gm-tile { from { transform: scale(.2) rotate(-25deg); opacity: 0; } }
@keyframes gm-wave { 40% { transform: translateY(-3px) scale(1.12); } }
@keyframes gm-spin { from { transform: rotate(-180deg) scale(.2); } }
@keyframes gm-drift { to { background-position: 160px 80px; } }
@keyframes gm-kb { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@keyframes gm-shine { 0%, 82% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes gm-sweep { 0%, 70% { left: -30%; } 100% { left: 110%; } }
@keyframes gm-rise { from { opacity: 0; transform: translateY(-8px); } }
@keyframes gm-new { 0% { opacity: 0; transform: translateX(-12px); background: rgba(255,194,26,.35); } 30% { opacity: 1; transform: none; } 100% { background: transparent; } }
@keyframes gm-flash { 0%, 40% { background: rgba(255,194,26,.35); } 100% { background: transparent; } }
@keyframes gm-glow { 50% { box-shadow: 0 0 0 6px rgba(214,58,36,.2); } }
@keyframes gm-pop { 40% { transform: scale(1.12); } }

@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: gm-vt-out .2s ease both; }
	::view-transition-new(root) { animation: gm-vt-in .3s ease both; }
}
@keyframes gm-vt-out { to { opacity: 0; } }
@keyframes gm-vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Events link ---------- */
.nav__live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; animation: gm-ev-ping 1.8s infinite; }
.menu-item--events a, .drawer__events a { display: flex; align-items: center; gap: 7px; }
.nav__list .menu-item--events a:hover, .nav__list .menu-item--events.current-menu-item a { border-bottom-color: var(--yellow); }
@keyframes gm-ev-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 26, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255, 194, 26, 0); } }
@media (prefers-reduced-motion: reduce) { .nav__live { animation: none; } }
