/*
Theme Name: Saysports
Theme URI: https://saysports.uk
Author: Joshua
Description: Custom sports news/media theme for Saysports.uk — leagues, livescores, match highlights, and club pages.
Version: 1.2.0
Requires PHP: 7.4
Text Domain: saysports
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	/* Brand */
	--blue:        #2C6ED5;
	--blue-light:  #6FA3E8;
	--blue-dark:   #1E4E9C;
	--navy:        #0B1A2E;
	--navy-2:      #122A47;
	--navy-line:   #23405F;

	/* Surfaces */
	--paper:       #F5F3EE;
	--surface:     #FFFFFF;
	--line:        #E4E0D6;
	--line-soft:   #EEEBE3;

	/* Text */
	--ink:         #16202B;
	--ink-2:       #4A5763;
	--ink-mute:    #8892A0;
	--on-dark:     #F2F5F8;
	--on-dark-2:   #9FB0C4;

	/* Accents */
	--live:        #D33A2C;
	--pitch:       #2F6B4F;

	/* Type */
	--f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

	/* Spacing scale */
	--s1: 4px;
	--s2: 8px;
	--s3: 12px;
	--s4: 16px;
	--s5: 24px;
	--s6: 32px;
	--s7: 48px;
	--s8: 64px;

	--radius:    6px;
	--radius-sm: 4px;
	--wrap:      1180px;
	--shadow:    0 1px 2px rgba(11, 26, 46, 0.04), 0 4px 12px rgba(11, 26, 46, 0.05);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue); }

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.005em;
	margin: 0 0 var(--s3);
	color: var(--ink);
}

h1 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
h3 { font-size: 19px; }

p { margin: 0 0 var(--s4); }

.wrap, main {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--s5);
}

main { padding-block: var(--s6) var(--s8); }

/* Small uppercase label — used sparingly, not on every heading */
.eyebrow,
.page-banner__eyebrow {
	font-family: var(--f-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue-light);
}

.section-heading {
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: var(--s2);
	margin-bottom: var(--s4);
	padding-bottom: var(--s3);
	border-bottom: 1px solid var(--line);
}

.section-heading--live { border-bottom-color: var(--live); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: var(--navy);
	border-bottom: 3px solid var(--blue);
	position: relative;
}

.site-header__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: var(--s4) var(--s5);
	display: flex;
	align-items: center;
	gap: var(--s5);
}

.site-branding a {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 26px;
	letter-spacing: 0.01em;
	color: var(--on-dark);
}

.site-branding a:hover { color: var(--blue-light); }

/* Nav pushed to the right on desktop */
.primary-nav {
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: var(--s5);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	font-family: var(--f-display);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.02em;
	color: var(--on-dark-2);
}

.primary-nav a:hover { color: var(--on-dark); }
.primary-nav .current-menu-item > a { color: var(--blue-light); }

/* Hamburger — hidden on desktop, far-left on mobile */
.nav-toggle {
	display: none;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	margin-left: calc(var(--s2) * -1);
}

.nav-toggle__bars,
.nav-toggle__bars span {
	display: block;
	box-sizing: border-box;
}

.nav-toggle__bars {
	position: relative;
	width: 22px;
	height: 16px;
}

.nav-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--on-dark);
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }

/* Animate to an X when open */
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 26, 46, .5);
	opacity: 0;
	transition: opacity .25s ease;
	z-index: 90;
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }

	.site-header__inner {
		gap: var(--s3);
		justify-content: flex-start;
	}

	/* Logo sits right after the toggle */
	.site-branding { margin-right: auto; }
	.site-branding a { font-size: 22px; }

	/* Nav becomes a slide-in drawer from the left */
	.primary-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(78vw, 320px);
		background: var(--navy);
		border-right: 3px solid var(--blue);
		padding: var(--s7) var(--s5) var(--s5);
		margin: 0;
		transform: translateX(-100%);
		transition: transform .28s cubic-bezier(.4, 0, .2, 1);
		z-index: 100;
		overflow-y: auto;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav li { border-bottom: 1px solid var(--navy-line); }

	.primary-nav a {
		display: block;
		padding: var(--s4) 0;
		font-size: 20px;
	}

	/* Open states, toggled by JS on <body> */
	body.nav-open { overflow: hidden; }
	body.nav-open .primary-nav { transform: translateX(0); }
	body.nav-open .nav-overlay { opacity: 1; }
}

/* ==========================================================================
   Page banner
   ========================================================================== */
.page-banner {
	background: var(--navy);
	color: var(--on-dark);
	padding-block: var(--s7);
}

.page-banner__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--s5);
}

.page-banner .page-title {
	color: var(--on-dark);
	margin: var(--s2) 0 var(--s2);
}

.page-banner__subtitle {
	color: var(--on-dark-2);
	font-size: 15px;
	max-width: 60ch;
	margin: 0;
}

.live-updated {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--blue-light);
	margin-left: var(--s2);
}

/* ==========================================================================
   Match cards
   ========================================================================== */
.match-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--s3);
}

.match-list--horizontal {
	display: flex;
	gap: var(--s3);
	overflow-x: auto;
	padding-bottom: var(--s2);
	scrollbar-width: thin;
	scroll-snap-type: x proximity;
}

.match-list--horizontal .match-card {
	flex: 0 0 250px;
	scroll-snap-align: start;
}

.match-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--s3) var(--s4);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.match-card:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow);
}

.match-card.is-live { border-left: 3px solid var(--live); }

/* Match cards sitting on the dark scoreboard strip */
.home-live-strip .match-card {
	background: var(--navy-2);
	border-color: var(--navy-line);
}

.home-live-strip .match-card:hover { border-color: var(--blue); }
.home-live-strip .team,
.home-live-strip .match-card__score { color: var(--on-dark); }
.home-live-strip .match-card__kickoff { color: var(--on-dark-2); }

.match-card__league {
	display: block;
	font-family: var(--f-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: var(--s3);
}

.match-card__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--s2);
}

.team {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.team--away { text-align: right; }

.match-card__score {
	font-family: var(--f-mono);
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	padding-inline: var(--s3);
	font-variant-numeric: tabular-nums;
}

.match-card__kickoff {
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--ink-mute);
	padding-inline: var(--s3);
}

.match-card__status {
	display: block;
	margin-top: var(--s3);
	padding-top: var(--s2);
	border-top: 1px solid var(--line-soft);
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--ink-mute);
}

.home-live-strip .match-card__status { border-top-color: var(--navy-line); }

.match-card.is-live .match-status,
.match-hero.is-live .match-status {
	color: var(--live);
	font-weight: 700;
}

.match-card.is-live .match-status::before,
.match-hero.is-live .match-status::before,
.live-dot {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--live);
	margin-right: var(--s2);
	animation: pulse 1.6s ease-in-out infinite;
	vertical-align: middle;
}

.live-dot { margin-right: 0; }

@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: .35; transform: scale(.85); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-live-strip {
	background: var(--navy-2);
	padding-block: var(--s5);
}

.home-live-strip__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--s5);
}

.home-live-strip .section-heading {
	color: var(--on-dark);
	border-bottom-color: var(--navy-line);
}

.view-all-link {
	display: inline-block;
	margin-top: var(--s4);
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--blue-light);
}

.view-all-link:hover { color: var(--on-dark); }

/* Hero */
.hero-block {
	max-width: var(--wrap);
	margin: var(--s6) auto 0;
	padding-inline: var(--s5);
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: var(--s5);
}

.hero-slider {
	position: relative;
	min-height: 430px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--navy-2);
}

.hero-slider__track { position: relative; height: 100%; min-height: 430px; }

.hero-slide {
	position: absolute;
	inset: 0;
	background: var(--navy-2) center/cover no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility .6s ease;
}

.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide__link {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--s5);
	color: var(--on-dark);
}

.hero-slide__link:hover { color: var(--on-dark); }
.hero-slide__link:hover .hero-slide__title { color: var(--blue-light); }

.hero-slide__title {
	color: var(--on-dark);
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.12;
	margin: var(--s3) 0 var(--s2);
	max-width: 22ch;
	transition: color .15s ease;
}

.hero-slide__date {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--on-dark-2);
}

/* Arrows */
.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(11, 26, 46, .55);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease;
	z-index: 3;
}

.hero-slider__arrow:hover { background: var(--blue); }
.hero-slider__arrow--prev { left: var(--s3); }
.hero-slider__arrow--next { right: var(--s3); }

/* Dots */
.hero-slider__dots {
	position: absolute;
	bottom: var(--s3);
	right: var(--s5);
	display: flex;
	gap: var(--s2);
	z-index: 3;
}

.hero-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

.hero-slider__dot:hover { background: rgba(255, 255, 255, .8); }
.hero-slider__dot.is-active { background: var(--blue); transform: scale(1.25); }

.hero-subleads {
	display: flex;
	flex-direction: column;
	gap: var(--s4);
}

.hero-sublead { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.hero-sublead:last-child { border-bottom: 0; padding-bottom: 0; }

.hero-sublead__link { display: flex; gap: var(--s3); }

.hero-sublead__thumb {
	flex: 0 0 104px;
	height: 72px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--line-soft);
}

.hero-sublead__thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero-sublead__body h3 {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	margin: var(--s1) 0 0;
}

/* League quick-nav */
.league-quicknav {
	max-width: var(--wrap);
	margin: var(--s6) auto 0;
	padding: var(--s3) var(--s5);
	display: flex;
	gap: var(--s2);
	overflow-x: auto;
	border-block: 1px solid var(--line);
	scrollbar-width: none;
}

.league-quicknav::-webkit-scrollbar { display: none; }

.league-quicknav__item {
	flex: 0 0 auto;
	font-family: var(--f-display);
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
	padding: var(--s1) var(--s4);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-2);
	background: var(--surface);
	transition: all .15s ease;
}

.league-quicknav__item.is-active {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

/* Leagues directory (Template: Leagues) */
.leagues-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--s4);
}

.league-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--s3);
	min-height: 120px;
	padding: var(--s5);
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--blue);
	border-radius: var(--radius);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.league-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.league-card__name {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.league-card:hover .league-card__name { color: var(--blue); }

.league-card__meta {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--ink-mute);
}

.league-quicknav__item:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.homepage-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--s7);
	align-items: start;
}

.homepage-main > section { margin-bottom: var(--s7); }
.homepage-main > section:last-child { margin-bottom: 0; }

/* ==========================================================================
   News cards
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: var(--s5);
}

.news-card__thumb {
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--line-soft);
	margin-bottom: var(--s3);
}

.news-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .3s ease;
}

.news-card:hover .news-card__thumb img { transform: scale(1.03); }

.news-card__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.28;
	margin: 0 0 var(--s2);
}

.news-card:hover .news-card__title { color: var(--blue); }

.news-card__meta {
	display: block;
	font-family: var(--f-mono);
	font-size: 11px;
	color: var(--ink-mute);
}

.news-card__source { color: var(--blue); }
.news-card__sep { margin-inline: var(--s1); }

/* ==========================================================================
   Highlights
   ========================================================================== */
.highlights-rail {
	display: flex;
	gap: var(--s4);
	overflow-x: auto;
	padding-bottom: var(--s2);
	scroll-snap-type: x proximity;
}

.highlights-rail .highlight-card { flex: 0 0 260px; scroll-snap-align: start; }

.highlight-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.highlight-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.highlight-card__thumb { position: relative; background: var(--navy-2); }

.highlight-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.highlight-card__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(11, 26, 46, .8);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	padding-left: 3px;
	transition: background .15s ease, transform .15s ease;
}

.highlight-card:hover .highlight-card__play {
	background: var(--live);
	transform: scale(1.08);
}

.highlight-card h3 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	padding: var(--s3) var(--s4) var(--s4);
	margin: 0;
}

.highlight-card__channel {
	display: block;
	font-family: var(--f-mono);
	font-size: 10px;
	color: var(--ink-mute);
	padding: 0 var(--s4) var(--s3);
}

/* ==========================================================================
   Widgets / rail
   ========================================================================== */
.homepage-sidebar { position: sticky; top: var(--s5); }

.widget {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--s4);
	margin-bottom: var(--s5);
}

.widget:last-child { margin-bottom: 0; }

.widget-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 var(--s3);
	padding-bottom: var(--s2);
	border-bottom: 2px solid var(--blue);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.widget ul li { padding: var(--s2) 0; border-bottom: 1px solid var(--line-soft); }
.widget ul li:last-child { border-bottom: 0; }

.widget select, .widget input[type="search"], .widget input[type="text"] {
	width: 100%;
	padding: var(--s2) var(--s3);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: var(--f-body);
	font-size: 14px;
}

.trending-list { list-style: none; margin: 0; padding: 0; }

.trending-list__item {
	display: flex;
	gap: var(--s3);
	align-items: baseline;
	padding: var(--s3) 0;
	border-bottom: 1px solid var(--line-soft);
}

.trending-list__item:last-child { border-bottom: 0; padding-bottom: 0; }

.trending-list__rank {
	font-family: var(--f-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--blue);
	flex: 0 0 auto;
}

.trending-list__item a { font-size: 14px; line-height: 1.35; font-weight: 500; }

/* ==========================================================================
   League tags
   ========================================================================== */
.league-tag {
	display: inline-block;
	font-family: var(--f-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--pitch);
	color: #fff;
	padding: 3px var(--s2);
	border-radius: var(--radius-sm);
	margin-right: var(--s1);
}

.league-tag--hero { background: var(--blue); width: fit-content; }
.league-tag:hover { color: #fff; opacity: .85; }

/* ==========================================================================
   Livescores page
   ========================================================================== */
.livescores-page .league-group,
.livescores-page .live-now { margin-bottom: var(--s7); }

.empty-state {
	text-align: center;
	padding: var(--s8) var(--s5);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.empty-state p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }

.button-link {
	display: inline-block;
	margin-top: var(--s3);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 15px;
	background: var(--blue);
	color: #fff;
	padding: var(--s2) var(--s5);
	border-radius: var(--radius-sm);
}

.button-link:hover { background: var(--navy); color: #fff; }

/* ==========================================================================
   Match hero (single match)
   ========================================================================== */
.match-hero {
	background: var(--navy);
	color: var(--on-dark);
	padding: var(--s7) var(--s5);
	text-align: center;
}

.match-hero__scoreline {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--s5);
	max-width: 760px;
	margin: var(--s4) auto 0;
}

.match-hero__team {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--s3);
	font-family: var(--f-display);
	font-size: 21px;
	font-weight: 600;
}

.match-hero__team--away { justify-content: flex-start; }
.match-hero__team img { border-radius: var(--radius-sm); }

.match-hero__score, .match-hero__kickoff {
	font-family: var(--f-mono);
	font-size: 42px;
	font-weight: 700;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.match-hero__kickoff { font-size: 26px; color: var(--blue-light); }
.match-hero__dash { color: var(--on-dark-2); padding-inline: var(--s2); }

.match-hero__status {
	display: inline-block;
	margin-top: var(--s4);
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--on-dark-2);
}

.match-info-bar {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--s6);
	padding: var(--s4) var(--s5);
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--ink-2);
}

.match-info-bar strong {
	font-family: var(--f-body);
	color: var(--ink-mute);
	font-weight: 600;
	margin-right: var(--s2);
}

/* ==========================================================================
   Covers (club / article / highlight)
   ========================================================================== */
.club-cover, .article-cover {
	background: var(--navy) center/cover no-repeat;
	display: flex;
	align-items: flex-end;
}

.club-cover { min-height: 280px; }
.article-cover { min-height: 340px; }

.club-cover__inner, .article-cover__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	width: 100%;
	padding: 0 var(--s5) var(--s5);
	color: var(--on-dark);
}

.article-cover__inner { max-width: 820px; }

.club-cover__badge img {
	width: 66px;
	height: 66px;
	object-fit: contain;
	background: #fff;
	border-radius: var(--radius-sm);
	padding: var(--s1);
	margin-bottom: var(--s3);
}

.club-cover__title, .article-cover__title {
	color: var(--on-dark);
	font-weight: 700;
	margin: var(--s3) 0 var(--s2);
}

.club-cover__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s5);
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--blue-light);
}

.club-cover__meta strong {
	font-family: var(--f-body);
	color: var(--on-dark-2);
	font-weight: 500;
	margin-right: var(--s2);
}

/* ==========================================================================
   Article body
   ========================================================================== */
.single-post article, .single-club .club-content {
	max-width: 760px;
}

.entry-byline {
	max-width: 760px;
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--ink-mute);
	margin: var(--s5) 0;
	padding-bottom: var(--s4);
	border-bottom: 1px solid var(--line);
}

.entry-byline__sep { margin-inline: var(--s2); }

.entry-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
}

.entry-content p { margin-bottom: var(--s5); }
.entry-content h2, .entry-content h3 { margin-top: var(--s6); }

.entry-content a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-source {
	max-width: 760px;
	margin: var(--s5) 0;
	padding: var(--s4);
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius-sm);
}

.entry-source a {
	font-family: var(--f-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
}

.entry-source a:hover { color: var(--blue); }

.entry-leagues { margin: var(--s5) 0; }

.article-related {
	max-width: 760px;
	margin-top: var(--s7);
	padding-top: var(--s5);
	border-top: 2px solid var(--navy);
}

/* Highlight cinema */
.highlight-cinema {
	background: var(--navy);
	color: var(--on-dark);
	padding-block: var(--s6);
}

.highlight-cinema__inner {
	max-width: 900px;
	margin-inline: auto;
	padding-inline: var(--s5);
}

.highlight-cinema__title {
	color: var(--on-dark);
	font-weight: 700;
	margin: var(--s3) 0 var(--s2);
}

.highlight-cinema .entry-date,
.highlight-cinema__channel {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--on-dark-2);
}

.video-embed { margin-top: var(--s5); }

.video-embed__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}

.video-embed__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Standings
   ========================================================================== */
.standings-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-family: var(--f-mono);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.standings-table th {
	text-align: left;
	font-family: var(--f-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
	background: var(--paper);
	padding: var(--s3);
	border-bottom: 2px solid var(--blue);
}

.standings-table td { padding: var(--s3); border-bottom: 1px solid var(--line-soft); }
.standings-table tr:last-child td { border-bottom: 0; }
.standings-table tbody tr:hover { background: var(--paper); }

.standings-table__team {
	display: flex;
	align-items: center;
	gap: var(--s2);
	font-family: var(--f-body);
	font-weight: 500;
}

.standings-table__team img { flex: 0 0 auto; object-fit: contain; }

/* ==========================================================================
   Club grid
   ========================================================================== */
.club-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: var(--s3);
}

.club-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	padding: var(--s4) var(--s2);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 14px;
	min-height: 118px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.club-grid__item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.club-grid__item img { width: 40px; height: 40px; object-fit: contain; }

.league-standings, .league-fixtures, .league-clubs, .league-news,
.club-fixtures, .club-news { margin-bottom: var(--s7); }

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
	max-width: 760px;
	margin-top: var(--s7);
	padding-top: var(--s5);
	border-top: 2px solid var(--navy);
}

.comments-title { font-size: 20px; margin-bottom: var(--s5); }

.comment-list { list-style: none; margin: 0 0 var(--s6); padding: 0; }
.comment-list .children { list-style: none; margin: var(--s4) 0 0 var(--s6); padding: 0; }

.saysports-comment { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.saysports-comment__body { display: flex; gap: var(--s3); }
.saysports-comment__avatar img { border-radius: 50%; }
.saysports-comment__content { flex: 1; min-width: 0; }

.saysports-comment__meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: var(--s2);
	margin-bottom: var(--s2);
}

.saysports-comment__author { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.saysports-comment__date { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); }
.saysports-comment__date a { color: inherit; }
.saysports-comment__pending { font-family: var(--f-mono); font-size: 12px; color: var(--blue); }
.saysports-comment__text { font-size: 15px; }
.saysports-comment__text p { margin-bottom: var(--s2); }
.saysports-comment__reply { margin-top: var(--s2); }

.saysports-comment__reply a {
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--blue);
	border: 1px solid var(--line);
	padding: var(--s1) var(--s3);
	border-radius: 999px;
}

.saysports-comment__reply a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.no-comments { font-family: var(--f-mono); font-size: 13px; color: var(--ink-mute); }
.comment-reply-title { font-size: 18px; margin-bottom: var(--s4); }
.saysports-comment-form p { margin-bottom: var(--s4); }

.saysports-comment-form label {
	display: block;
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-bottom: var(--s2);
}

.saysports-comment-form input[type="text"],
.saysports-comment-form input[type="email"],
.saysports-comment-form input[type="url"],
.saysports-comment-form textarea {
	width: 100%;
	font-family: var(--f-body);
	font-size: 15px;
	padding: var(--s3);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
}

.saysports-comment-form textarea { resize: vertical; }

.saysports-comment-form input:focus,
.saysports-comment-form textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(44, 110, 213, .12);
}

.saysports-comment-submit {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.02em;
	background: var(--blue);
	color: #fff;
	border: 0;
	padding: var(--s3) var(--s6);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background .15s ease;
}

.saysports-comment-submit:hover { background: var(--navy); }

.comment-notes, .logged-in-as {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--ink-mute);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.nav-links, .comments-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
	margin: var(--s6) 0;
	font-family: var(--f-mono);
	font-size: 13px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding-inline: var(--s3);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: all .15s ease;
}

.page-numbers:hover { border-color: var(--blue); color: var(--blue); }

.page-numbers.current {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.page-numbers.dots { border-color: transparent; background: none; color: var(--ink-mute); }

.page-numbers.prev, .page-numbers.next {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding-inline: var(--s4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-2); margin-top: var(--s8); }

.site-footer__widgets {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: var(--s7) var(--s5);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--s6);
	border-bottom: 1px solid var(--navy-line);
}

.site-footer__widgets .widget {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
}

.site-footer__widgets .widget-title {
	color: var(--on-dark);
	border-bottom-color: var(--navy-line);
}

.site-footer__widgets a { color: var(--on-dark-2); }
.site-footer__widgets a:hover { color: var(--blue-light); }
.site-footer__widgets ul li { border-bottom-color: var(--navy-line); }

.site-footer__bar {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: var(--s5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--s4);
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s5);
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--f-display);
	font-size: 15px;
}

.footer-nav a { color: var(--on-dark-2); }
.footer-nav a:hover { color: var(--blue-light); }

.site-footer__copy {
	font-family: var(--f-mono);
	font-size: 12px;
	margin: 0;
	color: var(--ink-mute);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
	.homepage-layout { grid-template-columns: 1fr; gap: var(--s6); }
	.homepage-sidebar { position: static; }
	.hero-block { grid-template-columns: 1fr; }
	.hero-slider, .hero-slider__track { min-height: 320px; }
	.match-hero__scoreline { gap: var(--s3); }
	.match-hero__team { font-size: 16px; }
	.match-hero__score { font-size: 32px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	main, .hero-block, .page-banner__inner, .home-live-strip__inner { padding-inline: var(--s4); }
	.page-banner { padding-block: var(--s5); }
	.match-hero { padding: var(--s5) var(--s4); }
	.match-hero__team img { display: none; }
	.match-hero__score { font-size: 28px; }
	.match-info-bar { gap: var(--s3); flex-direction: column; align-items: center; text-align: center; }
	.news-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s4); }
	.hero-sublead__thumb { flex-basis: 84px; height: 60px; }
	.entry-content { font-size: 16px; }
	.site-footer__bar { flex-direction: column; align-items: flex-start; }
}
