/* ==========================================================================
   goal.al theme
   Light, editorial, one accent. Tokens first, then layout, then components.
   ========================================================================== */

/* Fonts (self-hosted, variable) ------------------------------------------ */
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-ext-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens ----------------------------------------------------------------- */
:root {
	--bg: #fafafb;
	--surface: #ffffff;
	--sunken: #f1f2f4;
	--ink: #0f1218;
	--ink-2: #3b414d;
	--ink-3: #646b78;
	--line: #e3e5e9;
	--line-2: #cfd3da;
	--accent: #d1121a;
	--accent-hover: #ad0d14;
	--accent-tint: #fdeced;
	--focus: #1f5fd6;

	--font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 4px;
	--container: 1280px;
	--gutter: 16px;
	--gap: 24px;
	--header-h: 64px;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-1: 160ms;
	--dur-2: 280ms;
	--dur-3: 560ms;

	--shadow-1: 0 1px 0 rgb(15 18 24 / 0.04), 0 1px 3px rgb(15 18 24 / 0.06);
	--shadow-2: 0 10px 30px -12px rgb(15 18 24 / 0.18), 0 2px 6px rgb(15 18 24 / 0.05);

	/* z-index scale */
	--z-header: 50;
	--z-progress: 51;
	--z-overlay: 80;
	--z-skip: 100;
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
}
@media (min-width: 1200px) {
	:root { --gutter: 32px; --gap: 32px; }
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.5;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	-webkit-tap-highlight-color: transparent;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }

:focus { outline: none; }
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text,
.sr-only {
	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: fixed;
	top: 8px; left: 8px;
	z-index: var(--z-skip);
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	border-radius: var(--radius);
	transform: translateY(-160%);
	transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Breaking news bar ------------------------------------------------------ */
.breaking {
	background: var(--accent);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.breaking__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 40px;
}
.breaking__label {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 8px;
	background: rgb(255 255 255 / 0.16);
	border-radius: var(--radius);
}
.breaking__label .icon { width: 14px; height: 14px; }
.breaking__items {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 40px;
}
.breaking__item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.breaking__item a {
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color var(--dur-1);
}
.breaking__item a:hover { text-decoration-color: currentColor; }
.breaking__item[hidden] { display: flex; visibility: hidden; }
.breaking__count {
	flex: none;
	font-size: 0.75rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}
.breaking__timer {
	position: absolute;
	left: 0; bottom: 0;
	height: 2px;
	width: 100%;
	background: rgb(255 255 255 / 0.55);
	transform-origin: left;
	transform: scaleX(0);
}

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: rgb(250 250 251 / 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
	view-transition-name: site-header;
}
.site-header.is-stuck {
	box-shadow: 0 6px 20px -14px rgb(15 18 24 / 0.35);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--header-h);
}
.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}
.brand img,
.brand .custom-logo { max-height: 34px; width: auto; }
.wordmark {
	font-size: 1.625rem;
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--ink);
}
.wordmark__dot { color: var(--accent); }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: var(--header-h);
	padding: 0 12px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
	transition: color var(--dur-1);
}
.primary-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: -1px;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur-2) var(--ease-out);
}
.primary-nav__list > li > a:hover { color: var(--ink); }
.primary-nav__list > li > a:hover::after { transform: scaleX(1); }
.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-menu-ancestor > a,
.primary-nav__list > .current-post-ancestor > a,
.primary-nav__list > .current-category-ancestor > a { color: var(--ink); }
.primary-nav__list > .current-menu-item > a::after,
.primary-nav__list > .current-menu-ancestor > a::after,
.primary-nav__list > .current-post-ancestor > a::after,
.primary-nav__list > .current-category-ancestor > a::after { transform: scaleX(1); }

/* dropdowns */
.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% - 6px);
	left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.primary-nav .sub-menu a {
	display: block;
	padding: 8px 10px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ink-2);
	border-radius: 3px;
}
.primary-nav .sub-menu a:hover { background: var(--sunken); color: var(--ink); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--radius);
	color: var(--ink);
	transition: background-color var(--dur-1), transform var(--dur-1);
}
.icon-btn:hover { background: var(--sunken); }
.icon-btn:active { transform: scale(0.94); }
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
	.primary-nav { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-header__inner { gap: 12px; }
}

/* Search panel */
.search-panel {
	position: absolute;
	left: 0; right: 0; top: 100%;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-2);
	padding: 20px 0 24px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.search-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 760px;
}
.search-form .search-field { flex: 1; min-width: 0; }
.search-field {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font-size: 1.125rem;
	background: var(--bg);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.search-field::placeholder { color: var(--ink-3); }
.search-field:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgb(15 18 24 / 0.08);
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	transition: background-color var(--dur-1), transform var(--dur-1);
}
.btn:hover { background: #262b35; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--sunken); }
.search-form .btn { height: 52px; padding: 0 22px; }

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: var(--z-overlay);
	background: var(--bg);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px 0 40px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.mobile-menu__list .sub-menu a {
	padding: 10px 0 10px 16px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink-2);
}
.mobile-menu__list .sub-menu { padding-bottom: 8px; }
.mobile-menu__list > li {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
	transition-delay: calc(var(--i, 0) * 35ms);
}
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu__social { display: flex; gap: 4px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* Scores strip ----------------------------------------------------------- */
.scores {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.scores__inner {
	display: flex;
	align-items: stretch;
	gap: 12px;
}
.scores__viewport {
	position: relative;
	flex: 1;
	min-width: 0;
}
.scores__viewport::before,
.scores__viewport::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	width: 28px;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--dur-2);
}
.scores__viewport::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.scores__viewport::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.scores__viewport.can-left::before,
.scores__viewport.can-right::after { opacity: 1; }
.scores__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.scores__track::-webkit-scrollbar { display: none; }
.match {
	position: relative;
	flex: none;
	width: 196px;
	padding: 12px 16px 12px;
	scroll-snap-align: start;
	border-right: 1px solid var(--line);
	display: grid;
	gap: 4px;
	transition: background-color var(--dur-1);
}
.match:first-child { padding-left: 0; }
.match:hover { background: var(--bg); }
.match:first-child:hover { background: none; }
.match__comp {
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 2px;
}
.match__team {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
}
.match__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match__score {
	min-width: 1.2ch;
	text-align: right;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.match__team.is-winner .match__name { font-weight: 800; }
.match--ft .match__team:not(.is-winner) { color: var(--ink-2); }
.match__status {
	margin-top: 2px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ink-3);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.match--live .match__status { color: var(--accent); font-weight: 800; }
.match--live .match__score { color: var(--accent); }
.live-dot {
	position: relative;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.live-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--accent);
	animation: live-ping 1.8s var(--ease-out) infinite;
}
@keyframes live-ping {
	0% { transform: scale(1); opacity: 0.7; }
	80%, 100% { transform: scale(2.8); opacity: 0; }
}
.match__minute-tick { animation: tick 1s steps(1) infinite; }
@keyframes tick { 50% { opacity: 0; } }
.match--upcoming .match__score { color: var(--ink-3); font-weight: 600; }

.scores__nav {
	display: none;
	align-items: center;
	gap: 4px;
	flex: none;
}
.scores__nav .icon-btn { width: 34px; height: 34px; border: 1px solid var(--line); }
.scores__nav .icon-btn:disabled { opacity: 0.35; cursor: default; background: none; }
.scores__all {
	display: none;
	align-self: center;
	font-size: 0.8125rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--ink-2);
}
.scores__all:hover { color: var(--accent); }
@media (min-width: 768px) {
	.scores__nav { display: flex; }
	.scores__all { display: inline; }
}

/* Typography helpers ----------------------------------------------------- */
.kicker {
	position: relative;
	z-index: 2;
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--accent);
	transition: color var(--dur-1);
}
a.kicker:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	font-size: 0.8125rem;
	color: var(--ink-3);
}
.meta > * { display: inline-flex; align-items: center; gap: 5px; }
.meta .icon { width: 14px; height: 14px; }

/* Section header --------------------------------------------------------- */
.section { padding-block: 40px; }
.section + .section { padding-top: 8px; }
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	margin-bottom: 20px;
	border-top: 2px solid var(--ink);
}
.section-head__title {
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.section-head__title a:hover { color: var(--accent); }
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--ink-2);
	transition: color var(--dur-1);
}
.more-link .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.more-link:hover { color: var(--accent); }
.more-link:hover .icon { transform: translateX(3px); }

/* Cards ------------------------------------------------------------------ */
.card {
	position: relative;
	display: grid;
	gap: 12px;
	align-content: start;
}
.card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--sunken);
	aspect-ratio: 16 / 9;
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.035); }
.card__body { display: grid; gap: 6px; align-content: start; }
.card__title {
	font-size: 1.1875rem;
	font-weight: 750;
	line-height: 1.22;
	letter-spacing: -0.012em;
}
.card__title a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-color: transparent;
	transition: text-decoration-color var(--dur-2), color var(--dur-1);
}
.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.card:hover .card__title a { text-decoration-color: rgb(15 18 24 / 0.35); }
.card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ink-2);
}
.card .meta { position: relative; z-index: 2; }

.card--lead { gap: 16px; }
.card--lead .card__title {
	font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.625rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.028em;
}
.card--lead .card__excerpt { font-size: 1.0625rem; max-width: 60ch; }
.card--lead .card__body { gap: 10px; }

.card--feature .card__title {
	font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.022em;
}

.card--row {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}
.card--compact {
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}
.card--compact .card__media { aspect-ratio: 4 / 3; }
.card--compact .card__title { font-size: 1rem; line-height: 1.28; font-weight: 700; }
.card--compact .card__body { gap: 4px; }
.card--text .card__title { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.card--tall .card__media { aspect-ratio: 4 / 3; }
@media (max-width: 599px) {
	.card--row { grid-template-columns: 1fr; gap: 12px; }
	.card--compact { grid-template-columns: 96px minmax(0, 1fr); }
}

/* Front page: top stories ----------------------------------------------- */
.top-stories {
	display: grid;
	gap: 28px var(--gap);
	padding-block: 28px 40px;
}
.top-stories__lead { order: -1; }
.top-stories__side { display: grid; gap: 24px; align-content: start; }
@media (min-width: 768px) {
	.top-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.top-stories__lead { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.top-stories {
		grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
		padding-top: 32px;
	}
	.top-stories__lead { grid-column: 2; order: 0; }
	.top-stories__side { padding-right: var(--gap); border-right: 1px solid var(--line); margin-right: calc(var(--gap) * -1 + 1px); }
	.top-stories__latest { padding-left: var(--gap); border-left: 1px solid var(--line); margin-left: calc(var(--gap) * -1); }
}

/* Latest feed */
.latest__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
}
.latest__list { counter-reset: none; }
.latest__item {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
.latest__time {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--accent);
	padding-top: 1px;
}
.latest__item:not(.is-fresh) .latest__time { color: var(--ink-3); }
.latest__headline {
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.35;
}
.latest__headline a::after { content: ""; position: absolute; inset: 0; }
.latest__item:hover .latest__headline { color: var(--accent); }
.latest__more { margin-top: 14px; }

/* Front page: section layouts ------------------------------------------- */
.split {
	display: grid;
	gap: 40px var(--gap);
}
@media (min-width: 1024px) {
	.split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
.cluster { display: grid; gap: 28px; align-content: start; }
.cluster__grid {
	display: grid;
	gap: 22px var(--gap);
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
	.cluster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.row-4 {
	display: grid;
	gap: 28px var(--gap);
	grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 559px) {
	.row-4 { gap: 0; }
	.row-4 > .card:first-child { padding-bottom: 18px; }
	.row-4 > .card:not(:first-child) {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 14px;
		padding: 14px 0;
		border-top: 1px solid var(--line);
	}
	.row-4 > .card:not(:first-child) .card__media { aspect-ratio: 4 / 3; }
	.row-4 > .card:not(:first-child) .card__title { font-size: 1rem; line-height: 1.28; }
}
@media (min-width: 560px) { .row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.duo {
	display: grid;
	gap: 48px calc(var(--gap) * 2);
}
@media (min-width: 900px) {
	.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.stack { display: grid; gap: 0; }
.stack > .card--text {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.stack > .card:first-child { padding-bottom: 18px; border-bottom: 1px solid var(--line); }

/* Most read ------------------------------------------------------------- */
.most-read__list {
	display: grid;
	gap: 0 var(--gap);
	counter-reset: rank;
}
@media (min-width: 700px) { .most-read__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .most-read__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.most-read__item {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	counter-increment: rank;
}
@media (min-width: 1100px) {
	.most-read__item { grid-template-columns: 1fr; gap: 10px; border-bottom: 0; padding: 0; }
}
.most-read__item::before {
	content: counter(rank);
	font-size: 2.25rem;
	font-weight: 850;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	min-width: 1.1ch;
}
.most-read__item a {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}
.most-read__item a::after { content: ""; position: absolute; inset: 0; }
.most-read__item:hover a { color: var(--accent); }
.sidebar .most-read__list { grid-template-columns: 1fr; }
.sidebar .most-read__item { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sidebar .most-read__item::before { font-size: 1.75rem; }
.sidebar .most-read__item a { font-size: 0.9375rem; }

/* League table ---------------------------------------------------------- */
.standings {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 18px 14px;
	align-self: start;
}
.standings__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}
.standings__title { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; }
.standings__season { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.standings__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
.standings__table th {
	padding: 8px 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--ink-3);
	text-align: right;
	border-bottom: 1px solid var(--line-2);
}
.standings__table th:nth-child(2) { text-align: left; }
.standings__table td {
	padding: 8px 4px;
	text-align: right;
	border-bottom: 1px solid var(--line);
}
.standings__table tr:last-child td { border-bottom: 0; }
.standings__table td.pos {
	position: relative;
	width: 28px;
	text-align: left;
	padding-left: 10px;
	font-weight: 700;
	color: var(--ink-2);
}
.standings__table td.pos::before {
	content: "";
	position: absolute;
	left: 0; top: 7px; bottom: 7px;
	width: 3px;
	border-radius: 2px;
	background: transparent;
}
.standings__table tr.zone-1 td.pos::before { background: var(--ink); }
.standings__table tr.zone-2 td.pos::before { background: #8b93a1; }
.standings__table tr.zone-rel td.pos::before { background: var(--accent); }
.standings__table td.team {
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 0;
	width: 100%;
}
.standings__table td.pts { font-weight: 800; }
.standings__table .team-logo {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	object-fit: contain;
	vertical-align: -4px;
}
.standings__table tbody tr { transition: background-color var(--dur-1); }
.standings__table tbody tr:hover { background: var(--bg); }
.standings__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 12px;
	font-size: 0.75rem;
	color: var(--ink-3);
}
.standings__legend span { display: inline-flex; align-items: center; gap: 6px; }
.standings__legend i { width: 10px; height: 3px; border-radius: 2px; background: var(--ink); }
.standings__legend .l-2 { background: #8b93a1; }
.standings__legend .l-rel { background: var(--accent); }
.standings__foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-guide { display: inline-flex; gap: 3px; }
.form-guide b {
	display: inline-grid;
	place-items: center;
	width: 18px; height: 18px;
	font-size: 0.625rem;
	font-weight: 800;
	border-radius: 3px;
	color: #fff;
	background: var(--ink-3);
}
.form-guide .f-F { background: var(--ink); }
.form-guide .f-B { background: #6f7684; }
.form-guide .f-H { background: var(--accent); }

/* full table (page / shortcode) */
.standings--full { padding: 0; border: 0; background: none; }
.standings--full .standings__scroll { overflow-x: auto; }
.standings--full .standings__table { min-width: 640px; font-size: 0.9375rem; }
.standings--full .standings__table td, .standings--full .standings__table th { padding: 11px 8px; }

/* Page / archive headers ------------------------------------------------- */
.page-head {
	padding-block: 36px 28px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 32px;
}
.page-head__kicker { margin-bottom: 10px; }
.page-head__title {
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.04;
}
.page-head__desc {
	margin-top: 12px;
	max-width: 62ch;
	font-size: 1.0625rem;
	color: var(--ink-2);
}
.archive-grid {
	display: grid;
	gap: 36px var(--gap);
}
@media (min-width: 640px) { .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.archive-grid > .card--feature { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.archive-grid > .card--feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: center; }
}
.content-sidebar {
	display: grid;
	gap: 48px var(--gap);
	padding-bottom: 56px;
}
@media (min-width: 1024px) {
	.content-sidebar { grid-template-columns: minmax(0, 1fr) 336px; gap: 56px; }
}

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	transition: background-color var(--dur-1), border-color var(--dur-1);
}
.pagination a.page-numbers:hover { background: var(--sunken); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; min-width: 24px; }

/* Single article --------------------------------------------------------- */
.read-progress {
	position: fixed;
	left: 0; top: 0;
	z-index: var(--z-progress);
	width: 100%;
	height: 3px;
	background: var(--accent);
	transform-origin: left;
	transform: scaleX(0);
	pointer-events: none;
}
.admin-bar .read-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .read-progress { top: 46px; } }

.article-head {
	padding-top: 36px;
	max-width: 920px;
}
.article-head__kicker { margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.article-head__title {
	font-size: clamp(2rem, 1.25rem + 2.6vw, 3.375rem);
	font-weight: 850;
	line-height: 1.04;
	letter-spacing: -0.034em;
}
.article-head__dek {
	margin-top: 18px;
	max-width: 62ch;
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
	line-height: 1.45;
	color: var(--ink-2);
}
.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding-block: 16px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.byline__author { display: flex; align-items: center; gap: 12px; }
.byline__avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--sunken);
	flex: none;
}
.byline__name { font-size: 0.9375rem; font-weight: 700; }
.byline__name a:hover { color: var(--accent); }
.byline .meta { margin-top: 1px; }

.share { display: flex; align-items: center; gap: 4px; }
.share__btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	color: var(--ink);
	transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1), transform var(--dur-1);
}
.share__btn .icon { width: 18px; height: 18px; }
.share__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share__btn:active { transform: scale(0.94); }
.share__toast {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	padding: 6px 10px;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
	color: #fff;
	background: var(--ink);
	border-radius: var(--radius);
	opacity: 0;
	transform: translateY(4px);
	pointer-events: none;
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.share__btn.is-copied .share__toast { opacity: 1; transform: none; }

.article-hero { margin-bottom: 32px; overflow: clip; }
.article-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--sunken);
}
.article-hero figcaption,
.entry-content figcaption,
.wp-caption-text {
	margin-top: 10px;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ink-3);
}

.article-layout {
	display: grid;
	gap: 56px;
	padding-block: 28px 64px;
}
@media (min-width: 1024px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; }
	.article-layout > .sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

/* Entry content (article body) */
.entry-content {
	max-width: 690px;
	font-size: 1.125rem;
	line-height: 1.7;
	color: #1d212a;
}
.entry-content > * + * { margin-top: 1.25em; }
.entry-content > p:first-child { font-size: 1.1875rem; }
.entry-content h2 {
	margin-top: 2em;
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.entry-content h3 {
	margin-top: 1.75em;
	font-size: 1.3125rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.012em;
	color: var(--ink);
}
.entry-content h4 { margin-top: 1.5em; font-size: 1.125rem; font-weight: 750; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 0.6em; }
.entry-content a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color var(--dur-1);
}
.entry-content a:hover { color: var(--accent); }
.entry-content strong { font-weight: 700; color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--accent); font-weight: 700; }
.entry-content blockquote:not(.twitter-tweet):not(.instagram-media),
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--accent);
	font-size: 1.375rem;
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: -0.012em;
	color: var(--ink);
}
.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	color: var(--ink-3);
}
.entry-content .wp-block-pullquote {
	padding: 28px 0;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.625rem; }
.entry-content figure { margin-inline: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content hr {
	border: 0;
	height: 1px;
	background: var(--line-2);
	margin-block: 2.5em;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}
.entry-content th, .entry-content td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-size: 0.8125rem; color: var(--ink-3); border-bottom-color: var(--line-2); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe, .entry-content .wp-block-embed { max-width: 100%; }
.entry-content .wp-block-embed__wrapper iframe { width: 100%; }
.entry-content .alignwide { max-width: none; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 0.4em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 0.4em 0 1em 1.5em; max-width: 50%; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content .has-drop-cap::first-letter {
	float: left;
	font-size: 4.2em;
	line-height: 0.82;
	font-weight: 850;
	margin: 0.06em 0.08em 0 0;
	color: var(--accent);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
	max-width: 690px;
}
.tag {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ink-2);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	transition: border-color var(--dur-1), color var(--dur-1), background-color var(--dur-1);
}
.tag:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }

.author-box {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	max-width: 690px;
	margin-top: 36px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.author-box img { width: 56px; height: 56px; border-radius: 50%; }
.author-box__name { font-weight: 800; }
.author-box__bio { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); }

.sidebar { display: grid; gap: 40px; align-content: start; }
.widget-title {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	padding-bottom: 10px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--ink);
}
.widget ul li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
.widget ul li a:hover { color: var(--accent); }
/* Block widgets added by editors */
.sidebar .widget .wp-block-heading,
.sidebar .widget > h2:not(.widget-title) {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	padding-bottom: 10px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--ink);
}
.sidebar .wp-block-search__label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 800; }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.sidebar .wp-block-search__button { height: 44px; padding: 0 16px; margin: 0; font-weight: 700; color: #fff; background: var(--ink); border: 0; border-radius: var(--radius); }
.sidebar .wp-block-latest-posts, .sidebar .wp-block-categories, .sidebar .wp-block-archives { padding: 0; list-style: none; }
.sidebar .wp-block-latest-comments { padding: 0; font-size: 0.9375rem; }

.related { border-top: 1px solid var(--line); background: var(--surface); }
.related .section { padding-block: 40px 56px; }

/* Generic page */
.page-content { padding-bottom: 64px; }

/* 404 / empty states */
.empty-state {
	display: grid;
	justify-items: start;
	gap: 16px;
	max-width: 620px;
	padding-block: 72px 96px;
}
.empty-state__code {
	font-size: clamp(4rem, 3rem + 6vw, 8rem);
	font-weight: 900;
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: var(--accent);
}
.empty-state__title { font-size: 1.75rem; font-weight: 850; letter-spacing: -0.025em; line-height: 1.1; }
.empty-state p { color: var(--ink-2); font-size: 1.0625rem; }
.empty-state .search-form { width: 100%; margin-top: 8px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
	margin-top: 24px;
	background: var(--sunken);
	border-top: 1px solid var(--line);
	padding-block: 48px 28px;
	font-size: 0.9375rem;
}
.site-footer__top {
	display: grid;
	gap: 36px var(--gap);
}
@media (min-width: 900px) {
	.site-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.site-footer__about p { margin-top: 14px; max-width: 38ch; color: var(--ink-2); }
.social { display: flex; gap: 4px; margin-top: 18px; }
.social .icon-btn { border: 1px solid var(--line-2); border-radius: 50%; }
.social .icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-nav__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px var(--gap);
}
@media (min-width: 600px) { .footer-nav__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-nav__list a { font-weight: 600; color: var(--ink-2); }
.footer-nav__list a:hover { color: var(--accent); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--line-2);
	font-size: 0.8125rem;
	color: var(--ink-3);
}
.site-footer__bottom a:hover { color: var(--ink); }
.legal-nav__list { display: flex; flex-wrap: wrap; gap: 16px; }

/* Front page: compact list block ---------------------------------------- */
.list-3 {
	display: grid;
	gap: 0 var(--gap);
}
@media (min-width: 700px) { .list-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .list-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.list-3 > .card { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* Top stories without side stories */
@media (min-width: 1100px) {
	.top-stories:not(:has(.top-stories__side)) { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
	.top-stories:not(:has(.top-stories__side)) .top-stories__lead { grid-column: 1; }
}

/* Card without image keeps its rhythm */
.card--no-image.card--lead .card__title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); }
.card--compact.card--no-image { grid-template-columns: 1fr; }

/* Sub-navigation chips (category children, competitions) ---------------- */
.subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}
.subnav__link {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--ink-2);
	border: 1px solid var(--line-2);
	border-radius: 999px;
	transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}
.subnav__link:hover { border-color: var(--ink); color: var(--ink); }
.subnav__link.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-head__search { margin-top: 20px; }

/* Search results */
.results-list { display: grid; }
.results-list > .card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.results-list > .card:first-child { padding-top: 0; }
.results-list > .card--row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 599px) { .results-list > .card--row { grid-template-columns: 1fr; } }

/* Ads -------------------------------------------------------------------- */
.ad-slot {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding-block: 16px;
}
.ad-slot::before {
	content: "Reklamë";
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--ink-3);
}
.ad-slot--article { margin-block: 2em; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-slot__inner { max-width: 100%; overflow: hidden; }

/* Fixtures page ---------------------------------------------------------- */
.fixtures { display: grid; gap: 40px; align-content: start; }
.fixtures__title {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	margin-bottom: 8px;
	border-top: 2px solid var(--ink);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.fixtures__group--live .fixtures__title { border-top-color: var(--accent); color: var(--accent); }
.fixtures__day + .fixtures__day { margin-top: 20px; }
.fixtures__date {
	padding: 12px 0 8px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--ink-3);
}
.fixtures__list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fixtures__row { border-bottom: 1px solid var(--line); padding: 10px 16px 12px; }
.fixtures__row:last-child { border-bottom: 0; }
.fixtures__comp { display: block; font-size: 0.75rem; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.match.match--row {
	width: auto;
	padding: 0;
	border: 0;
	grid-template-columns: minmax(0, 1fr) 96px;
	column-gap: 16px;
	animation: none;
}
.fixtures__group--live .match.match--row { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fixtures__group--live .match.match--row:last-child { border-bottom: 0; }
.match--row .match__team { grid-column: 1; font-size: 1rem; }
.match--row .match__status {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	justify-self: end;
	margin: 0;
	font-size: 0.875rem;
}
.match.match--row:hover { background: none; }
a.match--row:hover .match__name { text-decoration: underline; text-underline-offset: 3px; }
.match--postponed .match__status { color: var(--accent); }

/* Tables page */
.standings--empty .standings__note { padding: 20px 0 8px; color: var(--ink-2); }
.standings__admin {
	margin-top: 12px;
	padding: 12px 14px;
	font-size: 0.875rem;
	color: var(--ink-2);
	background: var(--accent-tint);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
}
.standings__admin a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.tables-list { display: grid; gap: 48px; align-content: start; }
.standings--full .standings__title { font-size: 1.375rem; }
.standings--full .standings__head { padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 4px; }
.standings__table th.col-form, .standings__table td.col-form { text-align: left; padding-left: 16px; }
.sidebar .standings { padding: 16px; }

/* Brand logo */
.brand { line-height: 0; }
.site-footer .brand img { max-height: 30px; }

/* Comments --------------------------------------------------------------- */
.comments { max-width: 690px; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.comments__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 16px; }
.comment-list { display: grid; margin-bottom: 32px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { padding-left: 24px; margin-top: 12px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin-top: 2px; font-size: 0.8125rem; color: var(--ink-3); }
.comment-content { margin-top: 8px; font-size: 1rem; line-height: 1.6; }
.comment-content p + p { margin-top: 0.8em; }
.reply a { font-size: 0.8125rem; font-weight: 700; color: var(--accent); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 600; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--surface);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(15 18 24 / 0.08); }
.comment-notes, .logged-in-as { font-size: 0.875rem; color: var(--ink-3); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* WordPress core classes ------------------------------------------------- */
.page-links { margin-top: 24px; font-weight: 700; display: flex; gap: 8px; }
.wp-caption { max-width: 100%; }
.wp-caption img { display: block; }
.gallery-caption { font-size: 0.8125rem; color: var(--ink-3); }
.alignnone { margin: 0; }
.sticky { position: relative; }
.bypostauthor > .comment-body .comment-author b::after { content: " (autori)"; font-weight: 500; color: var(--ink-3); }
.entry-content .wp-block-image figcaption { text-align: left; }
.entry-content .wp-block-gallery { gap: 8px; }
.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line-2); }
.entry-content .wp-block-button__link { background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none; font-weight: 700; padding: 12px 20px; }

/* Motion ---------------------------------------------------------------- */
/* Reveal on scroll. Content is visible by default; JS opts elements in. */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Lead image settles on load (scale only, so it never delays first paint) */
.card--lead .card__media img,
.article-hero img { animation: settle 1200ms var(--ease-out) both; }
@keyframes settle {
	from { transform: scale(1.045); }
	to { transform: scale(1); }
}
.card--lead:hover .card__media img { animation: none; }

/* Scores enter */
.scores .match { animation: rise 520ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

/* Breaking ticker transitions */
.breaking__item { transition: transform 520ms var(--ease-out), opacity 360ms var(--ease-out); }
.breaking__item.is-leaving { transform: translateY(-100%); opacity: 0; }
.breaking__item.is-entering { transform: translateY(100%); opacity: 0; transition: none; }

/* Reading progress with scroll-driven animations where supported */
@supports (animation-timeline: scroll()) {
	.read-progress {
		animation: grow-x linear both;
		animation-timeline: scroll(root block);
	}
}
@keyframes grow-x { to { transform: scaleX(1); } }

/* Cross-document view transitions (progressive) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 180ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.js [data-reveal] { opacity: 1; transform: none; }
	.card:hover .card__media img { transform: none; }
	.live-dot::after, .match__minute-tick { animation: none; }
	@view-transition { navigation: none; }
}

/* Print */
@media print {
	.breaking, .site-header, .scores, .site-footer, .share, .sidebar, .related, .read-progress { display: none !important; }
	body { background: #fff; }
}
