/*
Theme Name: Ligaradar Superliga
Theme URI: https://busekistmedia.dk
Author: Busekist Media
Description: Ligasite med stilling, slutspil, kampe, spillere, statistik, transfers og historik. Data fra API-Football. Standardprofilen er Superligaen med grundspil, mesterskabsspil og kvalifikationsspil. Liga, navn og farver kan ændres under Ligaradar → Indstillinger.
Version: 1.6.2
Requires at least: 6.3
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: ligaradar
*/

/* ------------------------------------------------------------------
   Skrifttype (Manrope, SIL Open Font License – hostet lokalt)
------------------------------------------------------------------ */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
	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: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
	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;
}

/* ------------------------------------------------------------------
   Variabler
------------------------------------------------------------------ */
:root {
	/* Ligaens farver. Kan ændres under Ligaradar → Indstillinger. */
	--c-primary: #0b1f3f;
	--c-accent: #e0313b;
	--c-neon: #2ee66f;
	--c-cyan: #dde3ec;
	--c-glow: color-mix(in srgb, var(--c-neon) 55%, #1c6bd6);

	--c-primary-dark: color-mix(in srgb, var(--c-primary) 78%, #000);
	--c-primary-mid: color-mix(in srgb, var(--c-primary) 72%, #fff);
	--c-primary-soft: color-mix(in srgb, var(--c-primary) 34%, #fff);
	--c-tint: color-mix(in srgb, var(--c-primary) 4.5%, #fff);
	--c-tint-2: color-mix(in srgb, var(--c-primary) 2.5%, #fff);
	--c-chip: color-mix(in srgb, var(--c-primary) 9%, #fff);
	--c-border: color-mix(in srgb, var(--c-primary) 15%, #fff);
	--c-line: color-mix(in srgb, var(--c-primary) 8%, #fff);
	--c-text: color-mix(in srgb, var(--c-primary) 45%, #0c0c0c);
	--c-muted: color-mix(in srgb, var(--c-primary) 30%, #6a6a6a);
	--c-down: color-mix(in srgb, var(--c-accent) 88%, #000);
	--c-down-bg: color-mix(in srgb, var(--c-accent) 9%, #fff);
	--c-gold: #b67a00;
	--c-gold-bg: #fdf3dc;
	--c-white: #fff;
	--zone-cl: #1c6bd6;
	--zone-el: #ff8a00;
	--zone-ecl: #12b76a;
	--zone-po: #8b5cf6;
	--zone-rel: var(--c-accent);
	--zone-rpo: #f59e0b;
	--zone-mester: var(--c-neon);
	--zone-kval: color-mix(in srgb, var(--c-primary) 30%, #fff);
	--band: linear-gradient(90deg, var(--c-neon), color-mix(in srgb, var(--c-neon) 70%, var(--c-cyan)) 65%, var(--c-cyan));
	--radius: 6px;
	--shadow: 0 1px 2px color-mix(in srgb, var(--c-primary) 8%, transparent);
	--shadow-hover: 0 10px 28px -12px color-mix(in srgb, var(--c-primary) 34%, transparent);
	--container: 1152px;
	--gutter: 24px;
	--font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------
   Grundlæggende
------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-variant-numeric: tabular-nums;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--c-primary);
	text-decoration: none;
}

a:hover {
	color: var(--c-primary-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--c-text);
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 2px;
}

[id] {
	scroll-margin-top: 16px;
}

[hidden] {
	display: none !important;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.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: -9999px;
	top: 8px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--c-primary);
	color: #fff;
	border-radius: var(--radius);
}

.skip-link:focus {
	left: 8px;
	color: #fff;
}

.icon {
	flex: none;
}

.muted {
	color: var(--c-muted);
}

.small {
	font-size: 13.5px;
}

.up {
	color: var(--c-primary);
}

.down {
	color: var(--c-down);
}

/* ------------------------------------------------------------------
   Knapper og links
------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn .icon {
	transition: transform 0.18s ease;
}

.btn:hover .icon-arrow-right {
	transform: translateX(3px);
}

.btn-primary {
	background: var(--c-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--c-primary-dark);
	color: #fff;
}

.btn-outline {
	border-color: var(--c-primary);
	background: #fff;
	color: var(--c-primary);
}

.btn-outline:hover {
	background: var(--c-primary);
	color: #fff;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	font-size: 16px;
	color: var(--c-primary);
	white-space: nowrap;
}

.text-link .icon {
	transition: transform 0.18s ease;
}

.text-link:hover .icon {
	transform: translateX(3px);
}

.text-link-sm {
	gap: 8px;
	font-size: 14.5px;
}

/* Overlinje */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--c-primary);
}

.eyebrow::before {
	content: "";
	flex: none;
	width: 32px;
	height: 1.5px;
	background: currentColor;
}

.eyebrow-light {
	color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.site-header {
	position: relative;
	z-index: 20;
	background: var(--c-primary);
	color: #fff;
}

/* Båndet under menuen er sitets kendetegn og går igen i sidefoden. */
.site-header::after {
	content: "";
	display: block;
	height: 4px;
	background: var(--band);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #fff;
	font-size: 25px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.site-logo:hover {
	color: #fff;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: var(--c-neon);
	color: var(--c-primary);
	flex: none;
}

.site-logo .logo-text {
	font-weight: 400;
}

.site-logo strong {
	font-weight: 800;
}

.custom-logo-link img {
	max-height: 48px;
	width: auto;
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	font-size: 15.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.86);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-list a:hover {
	color: #fff;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: #fff;
	border-bottom-color: var(--c-neon);
}

.header-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: var(--radius);
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.header-search:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius);
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nav-toggle-close {
	display: none;
}

.nav-open .nav-toggle-open {
	display: none;
}

.nav-open .nav-toggle-close {
	display: block;
}

/* ------------------------------------------------------------------
   Forside – hero
------------------------------------------------------------------ */
.hero {
	position: relative;
	padding: 64px 0 64px;
	background: radial-gradient(120% 150% at 88% 10%, color-mix(in srgb, var(--c-primary) 74%, var(--c-glow)) 0%, var(--c-primary) 46%, var(--c-primary-dark) 100%);
	color: #fff;
	isolation: isolate;
	z-index: 2;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary-dark) 45%, transparent) 0%, transparent 70%);
}

.hero-deco {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.hero .eyebrow {
	margin-bottom: 26px;
}

.hero-title {
	max-width: 820px;
	font-size: clamp(2.4rem, 5vw, 3.7rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: #fff;
}

.hero-lead {
	max-width: 640px;
	margin-top: 22px;
	font-size: 18.5px;
	line-height: 1.55;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.92);
}

.hero-search {
	max-width: 760px;
	margin-top: 36px;
}

.popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin-top: 22px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.popular a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.5);
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
	white-space: nowrap;
}

.popular a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

/* ------------------------------------------------------------------
   Søgefelt med forslag
------------------------------------------------------------------ */
.lr-search {
	position: relative;
}

.lr-search-field {
	display: flex;
	align-items: stretch;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lr-search-hero .lr-search-field {
	padding: 10px;
	border: 0;
	box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.45);
}

.lr-search-field:focus-within {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 14%, transparent);
}

.lr-search-hero .lr-search-field:focus-within {
	box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.lr-search-icon {
	display: inline-flex;
	align-items: center;
	flex: none;
	padding: 0 4px 0 10px;
	color: var(--c-primary);
}

.lr-search-field input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	font-size: 18px;
	font-weight: 600;
	color: var(--c-text);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.lr-search-field input::-webkit-search-cancel-button {
	display: none;
}

.lr-search-field input::placeholder {
	font-weight: 400;
	font-size: 16px;
	color: var(--c-muted);
}

.lr-search-btn {
	min-height: 52px;
	padding: 0 24px;
	font-size: 16px;
}

.lr-search-compact .lr-search-field {
	padding: 5px;
}

.lr-search-compact .lr-search-field input {
	height: 42px;
	font-size: 16px;
}

.lr-search-compact .lr-search-btn {
	min-height: 42px;
	padding: 0 16px;
}

.lr-search-compact .lr-search-icon {
	padding-left: 8px;
}

.lr-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	box-shadow: 0 22px 48px -18px color-mix(in srgb, var(--c-primary-dark) 55%, transparent);
	color: var(--c-text);
}

.lr-suggest a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 12px;
	border-radius: var(--radius);
	color: var(--c-text);
}

.lr-suggest li.is-active a,
.lr-suggest a:hover {
	background: var(--c-tint);
	color: var(--c-text);
}

.sg-name {
	font-weight: 600;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sg-val {
	flex: none;
	font-size: 14px;
	color: var(--c-muted);
}

/* ------------------------------------------------------------------
   Fordele-bjælke og nøgletal
------------------------------------------------------------------ */
.trust-bar {
	background: var(--c-tint);
	border-bottom: 1px solid var(--c-border);
}

.trust-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px 32px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.trust-inner p {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	font-weight: 500;
}

.trust-inner .icon {
	color: var(--c-primary);
}

/* ------------------------------------------------------------------
   Sektioner
------------------------------------------------------------------ */
.section {
	padding: 64px 0 72px;
}

.section-flush {
	padding-top: 52px;
}

.section-tint {
	background: var(--c-tint);
	border-top: 1px solid var(--c-border);
	border-bottom: 1px solid var(--c-border);
}

.section-tint + .site-footer,
.section-tint + .section-tint {
	border-top: 0;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.section-head .text-link {
	margin-bottom: 6px;
}

.section-title {
	font-size: clamp(1.75rem, 3vw, 2.3rem);
}

.section-title-sm {
	margin-bottom: 20px;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.section-head .section-title-sm {
	margin-bottom: 0;
}

.section-lead {
	max-width: 660px;
	margin-top: 14px;
	font-size: 17px;
	color: var(--c-muted);
}

/* ------------------------------------------------------------------
   Sidehoveder (undersider)
------------------------------------------------------------------ */
.page-hero {
	padding: 30px 0 44px;
	background: radial-gradient(90% 180% at 92% 0%, color-mix(in srgb, var(--c-primary) 78%, var(--c-glow)) 0%, var(--c-primary) 52%, var(--c-primary-dark) 100%);
	color: #fff;
}

.page-hero .page-title {
	color: #fff;
}

.page-hero .page-lead {
	color: rgba(255, 255, 255, 0.86);
}

.page-hero .page-lead strong {
	color: #fff;
}

.page-hero .breadcrumbs ol,
.page-hero .breadcrumbs a {
	color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumbs a:hover {
	color: #fff;
}

.page-title {
	font-size: clamp(2rem, 4.2vw, 2.9rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.page-lead {
	max-width: 72ch;
	margin-top: 14px;
	font-size: 17.5px;
	line-height: 1.7;
	color: var(--c-muted);
}

.page-lead strong {
	color: var(--c-text);
}

.page-hero-search {
	max-width: 560px;
	margin-top: 28px;
}

.page-body {
	padding-top: 48px;
	padding-bottom: 88px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--c-muted);
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
}

.breadcrumbs a {
	color: var(--c-muted);
}

.breadcrumbs a:hover {
	color: var(--c-primary);
}

.crumb-sep {
	margin: 0 12px;
}

.post-meta {
	margin-top: 14px;
	font-size: 14.5px;
	color: var(--c-muted);
}

/* ------------------------------------------------------------------
   Højre side
------------------------------------------------------------------ */
.aside-card {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.aside-title {
	margin-bottom: 14px;
	font-size: 19px;
	letter-spacing: -0.015em;
}

.facts {
	margin: 0;
}

.facts div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 15px;
}

.facts div:first-child {
	padding-top: 0;
}

.facts dt {
	color: var(--c-muted);
}

.facts dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.facts-note {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--c-muted);
}

.facts-note .icon {
	margin-top: 2px;
}

/* ------------------------------------------------------------------
   Tekst
------------------------------------------------------------------ */
.prose {
	font-size: 16.5px;
	line-height: 1.75;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2,
.prose h3 {
	margin-top: 1.6em;
}

.prose h2 {
	font-size: 1.5rem;
}

.prose h3 {
	font-size: 1.2rem;
}

.prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose img {
	border-radius: var(--radius);
}

.prose-card .prose {
	font-size: 16px;
}

.prose-page {
	max-width: 760px;
}

/* Tekst og spørgsmål nederst på klub-, spiller- og indbyrdes sider */
.page-body:has(+ .page-copy) {
	padding-bottom: 56px;
}

.page-copy {
	padding: 64px 0 72px;
	background: var(--c-tint);
	border-top: 1px solid var(--c-border);
}

.page-copy-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

.page-copy-text p,
.faq-a {
	max-width: 62ch;
	line-height: 1.7;
}

.page-copy-text p + p {
	margin-top: 1.1em;
}

.page-copy-text a,
.faq-a a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.faq {
	border-top: 1px solid var(--c-border);
}

.faq-item {
	border-bottom: 1px solid var(--c-border);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 54px;
	padding: 12px 0;
	list-style: none;
	cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	flex: none;
	width: 16px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	color: var(--c-accent);
	content: "+";
}

.faq-item[open] summary::after {
	content: "–";
}

.faq-item summary:focus-visible {
	outline: 2px solid var(--c-accent);
	outline-offset: 2px;
}

.faq-q {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.faq-a {
	padding-bottom: 18px;
}

@media (max-width: 900px) {
	.page-copy {
		padding: 48px 0 56px;
	}

	.page-copy-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* Blog */
.post-list {
	display: grid;
	gap: 36px;
	max-width: 760px;
}

.post-item-title {
	margin: 6px 0 10px;
	font-size: 1.5rem;
}

.post-item-title a {
	color: var(--c-text);
}

.post-item-title a:hover {
	color: var(--c-primary);
}

.post-item p {
	margin-bottom: 12px;
	color: var(--c-muted);
}

.post-thumb {
	margin: 0 0 32px;
}

.post-thumb img {
	border-radius: var(--radius);
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	color: var(--c-text);
}

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

/* ------------------------------------------------------------------
   Fælles
------------------------------------------------------------------ */
.empty {
	padding: 22px 24px;
	background: var(--c-tint-2);
	border: 1px dashed var(--c-border);
	border-radius: var(--radius);
	color: var(--c-muted);
}

.crest {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--crest, 24px);
	height: var(--crest, 24px);
	font-size: calc(var(--crest, 24px) * 0.36);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--c-primary);
}

/* Forbogstaver vises kun, hvis logoet ikke kan hentes. */
.crest:not(:has(img))::before {
	content: attr(data-i);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--c-chip);
	border-radius: 50%;
}

.crest img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero-deco {
	color: rgba(255, 255, 255, 0.11);
}

.hero-deco svg {
	position: absolute;
	top: 0;
	right: 0;
	width: 62%;
	height: 100%;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%);
	mask-image: linear-gradient(to left, #000 35%, transparent 100%);
}

.section-seo {
	border-bottom: 0;
}

.archive-text,
.seo-text {
	margin-top: 48px;
}

.section-seo .seo-text {
	margin-top: 0;
}

.seo-text > :first-child {
	margin-top: 0;
}

.entity-content .seo-text {
	padding-top: 40px;
	border-top: 1px solid var(--c-border);
}

/* ------------------------------------------------------------------
   Faner med dage
------------------------------------------------------------------ */
.tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 28px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
	display: none;
}

.tab {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tab:hover {
	border-color: var(--c-primary);
}

.tab[aria-selected="true"] {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

.tab-count {
	min-width: 24px;
	padding: 1px 7px;
	background: var(--c-tint);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: var(--c-primary);
}

.tab[aria-selected="true"] .tab-count {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

/* ------------------------------------------------------------------
   Turneringer og kampe
------------------------------------------------------------------ */
.comp + .comp {
	margin-top: 30px;
}

.comp-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.comp-head a,
.comp-head span:not(.crest) {
	color: var(--c-text);
}

.comp-head a:hover {
	color: var(--c-primary);
}

.comp-head small {
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--c-muted);
}

.fx-section + .fx-section {
	margin-top: 52px;
}

.fx-group + .fx-group {
	margin-top: 26px;
}

[data-more-box] > .fx-group:first-child {
	margin-top: 26px;
}

.fx-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--c-text);
}

.fx-head span {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--c-muted);
}

.fx-list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.fx {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) 132px 60px;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 10px 16px;
}

.fx + .fx {
	border-top: 1px solid var(--c-line);
}

.fx:hover {
	background: var(--c-tint-2);
}

.fx:not(:has(.fx-info)) {
	grid-template-columns: 104px minmax(0, 1fr) 60px;
}

.fx-when {
	display: flex;
	flex-direction: column;
	gap: 1px;
	font-size: 14px;
	line-height: 1.35;
}

.fx-date {
	font-weight: 600;
	color: var(--c-text);
}

.fx-time {
	color: var(--c-muted);
}

.tab-panel .fx-time {
	font-weight: 600;
	color: var(--c-text);
}

.fx-live .fx-time {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	padding: 1px 8px;
	background: var(--c-down-bg);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-down);
}

.fx-live .fx-time::before {
	content: "";
	width: 7px;
	height: 7px;
	background: currentColor;
	border-radius: 50%;
	animation: lr-pulse 1.6s ease-in-out infinite;
}

@keyframes lr-pulse {
	50% {
		opacity: 0.3;
	}
}

.fx-off .fx-time {
	font-weight: 600;
	color: var(--c-down);
}

.fx-match {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22px 10px 22px minmax(0, 1fr);
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.fx-team {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--c-text);
}

a.fx-team:hover {
	color: var(--c-primary);
}

.fx-team.is-focus {
	font-weight: 700;
}

.fx-match > .fx-team:first-child {
	flex-direction: row-reverse;
	text-align: right;
}

.fx-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fx-goal {
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	color: var(--c-text);
}

.fx-sep {
	text-align: center;
	color: var(--c-primary-soft);
}

.fx-upcoming .fx-goal {
	visibility: hidden;
}

.fx-live .fx-goal {
	color: var(--c-down);
}

.fx-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	min-width: 0;
	font-size: 13.5px;
	line-height: 1.35;
}

.fx-comp {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
	color: var(--c-text);
}

a.fx-comp:hover {
	color: var(--c-primary);
}

.fx-round {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--c-muted);
}

.fx-end {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.fx-go {
	display: inline-flex;
	color: var(--c-primary-soft);
}

/* Hele rækken er et link til kampen. Klubnavnene ligger ovenpå og linker til klubben. */
.fx-go::after {
	content: "";
	position: absolute;
	inset: 0;
}

.fx:hover .fx-go {
	color: var(--c-primary);
}

.fx-side {
	font-size: 13px;
	font-weight: 500;
	color: var(--c-muted);
}

.res {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: var(--radius);
	font-size: 13.5px;
	font-weight: 800;
	color: #fff;
}

.res-v {
	background: var(--c-neon);
	color: var(--c-primary);
}

.res-u {
	background: var(--c-chip);
	color: var(--c-text);
}

.res-t {
	background: var(--c-accent);
}

.fx-more {
	max-width: 100%;
	margin-top: 18px;
	padding-top: 12px;
	padding-bottom: 12px;
	line-height: 1.3;
	text-align: center;
	white-space: normal;
}

/* ------------------------------------------------------------------
   Kort
------------------------------------------------------------------ */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.card-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-card,
.league-card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 15px 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--c-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.club-card:hover,
.league-card:hover {
	border-color: var(--c-primary-soft);
	box-shadow: var(--shadow-hover);
	color: var(--c-text);
	transform: translateY(-1px);
}

.club-card > .icon {
	margin-left: auto;
	color: var(--c-primary-soft);
}

.club-card-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.club-card-name {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.club-card-meta {
	font-size: 13.5px;
	color: var(--c-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.league-season {
	flex: none;
	margin-left: auto;
	padding: 3px 9px;
	background: var(--c-chip);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--c-primary);
}

.club-section + .club-section {
	margin-top: 48px;
}

.club-section h2 a {
	color: var(--c-text);
}

.club-section h2 a:hover {
	color: var(--c-primary);
}

.table-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	color: var(--c-primary);
}

.table-filter:focus-within {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 14%, transparent);
}

.table-filter input {
	flex: 1;
	min-width: 0;
	height: 50px;
	border: 0;
	background: transparent;
	font-size: 16px;
	color: var(--c-text);
	outline: none;
}

/* ------------------------------------------------------------------
   Klub- og ligaside
------------------------------------------------------------------ */
.entity-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	align-items: start;
	gap: 48px;
}

.entity-main {
	display: flex;
	align-items: flex-start;
	gap: 22px;
}

.entity-main > .crest {
	padding: 10px;
	width: 92px;
	height: 92px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 28px;
}

.entity-main > .crest::before {
	border-radius: 6px;
}

.entity-main .page-lead {
	margin-top: 14px;
}

.next-card {
	padding: 20px 22px 18px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	box-shadow: var(--shadow-hover);
}

.next-eyebrow {
	margin-bottom: 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-primary);
}

.next-card.is-live .next-eyebrow {
	color: var(--c-down);
}

.next-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.next-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	overflow-wrap: anywhere;
}

.next-mid {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 6px;
}

.next-mid strong {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--c-primary);
}

.next-mid small {
	font-size: 12.5px;
	color: var(--c-muted);
}

.next-meta {
	display: grid;
	gap: 6px;
	margin: 16px 0 0;
	padding: 14px 0 0;
	list-style: none;
	border-top: 1px solid var(--c-line);
	font-size: 14px;
	color: var(--c-muted);
}

.next-meta li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.next-meta .icon {
	color: var(--c-primary);
}

.next-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
}

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

.entity-aside {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.aside-sub {
	margin: 20px 0 8px;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0;
}

.aside-sub:first-of-type {
	margin-top: 0;
}

.aside-card .text-link-sm {
	margin-top: 14px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.chip {
	min-height: 36px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
	border-color: var(--c-primary);
}

.chip.is-active {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

.form-row {
	display: flex;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.form-row .res {
	width: 36px;
	height: 36px;
	font-size: 15px;
}

/* Forsidens tabel */
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	align-items: center;
	gap: 48px;
}

.hero-table {
	padding: 18px 20px 16px;
	background: #fff;
	border-radius: 10px;
	color: var(--c-text);
	box-shadow: 0 24px 56px -24px rgba(0, 0, 0, 0.55);
}

.hero-table-title {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.hero-table .text-link {
	margin-top: 12px;
}

.lr-search-hero .lr-search-btn {
	background: var(--c-primary);
}

/* Tabeller */
.table-wrap {
	max-width: 100%;
	overflow-x: auto;
}

.table-full {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.lt {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.lt th {
	padding: 10px 10px;
	background: var(--c-tint);
	border-bottom: 1px solid var(--c-border);
	font-size: 12.5px;
	font-weight: 700;
	text-align: left;
	color: var(--c-muted);
	white-space: nowrap;
}

.table-mini .lt th {
	padding: 4px 6px 6px;
	background: none;
}

.lt abbr {
	text-decoration: none;
}

.lt td {
	padding: 10px;
	border-bottom: 1px solid var(--c-line);
	vertical-align: middle;
}

.table-mini .lt td {
	padding: 7px 6px;
	font-size: 14px;
}

.lt tbody tr:last-child td {
	border-bottom: 0;
}

.lt tbody tr:hover td {
	background: var(--c-tint-2);
}

.lt a {
	color: var(--c-text);
}

.lt a:hover {
	color: var(--c-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lt .num {
	text-align: right;
	white-space: nowrap;
}

.lt th.num {
	text-align: right;
}

.lt-rank {
	width: 44px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: inset 4px 0 0 transparent;
}

.table-mini .lt-rank {
	width: 38px;
}

/* Tallet skal stå fri af zonestregen i alle tabelvarianter. */
.lt th.lt-rank,
.lt td.lt-rank {
	padding-left: 14px;
}

.zone-cl .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-cl);
}

.zone-el .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-el);
}

.zone-ecl .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-ecl);
}

.zone-rel .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-rel);
}

.zone-po .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-po);
}

.zone-rpo .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-rpo);
}

.zone-mester .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-mester);
}

.zone-kval .lt-rank {
	box-shadow: inset 4px 0 0 var(--zone-kval);
}

/* Stregen mellem mesterskabsspil og kvalifikationsspil i grundspillet. */
.lt tbody tr.is-cut td {
	border-bottom: 2px dashed color-mix(in srgb, var(--c-primary) 45%, #fff);
}

/* Overskrift for hver del af slutspillet i tabellen. */
.lt tbody tr.lt-group th {
	padding: 9px 14px;
	background: var(--c-primary);
	border-bottom: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.lt tbody tr.lt-group th::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 9px;
	border-radius: 50%;
	background: var(--c-neon);
	vertical-align: 1px;
}

.lt tbody tr.lt-group + tr td {
	border-top: 0;
}

.table-mini .lt tbody tr.lt-group th {
	padding: 6px 8px;
	border-radius: 4px;
	font-size: 11px;
}

.lt tbody tr.lt-group:hover th {
	background: var(--c-primary);
}

td.lt-team {
	min-width: 0;
	font-weight: 600;
}

td.lt-team .crest {
	margin-right: 10px;
	vertical-align: middle;
}

.table-mini td.lt-team {
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lt-pts {
	font-weight: 800;
	color: var(--c-primary);
}

.lt-strong {
	font-weight: 700;
}

.lt-date {
	white-space: nowrap;
	color: var(--c-muted);
}

.lt-form {
	width: 150px;
}

.form-mini {
	display: inline-flex;
	gap: 3px;
}

.form-mini .res {
	width: 22px;
	height: 22px;
	border-radius: 4px;
	font-size: 11.5px;
}

.lt .is-focus td {
	background: var(--c-chip);
}

.tr-club {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--c-muted);
}

.legend li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.legend li::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background: var(--zone-cl);
}

.legend .zone-el::before {
	background: var(--zone-el);
}

.legend .zone-ecl::before {
	background: var(--zone-ecl);
}

.legend .zone-rel::before {
	background: var(--zone-rel);
}

.legend .zone-po::before {
	background: var(--zone-po);
}

.legend .zone-rpo::before {
	background: var(--zone-rpo);
}

.legend .zone-mester::before {
	background: var(--zone-mester);
}

.legend .zone-kval::before {
	background: var(--zone-kval);
}

/* Undersider */
.subnav {
	display: flex;
	gap: 8px;
	margin-bottom: 26px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav::-webkit-scrollbar {
	display: none;
}

.subnav a {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text);
}

.subnav a:hover {
	border-color: var(--c-primary);
}

.subnav a[aria-current="page"] {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

.subnav-hero {
	margin: 28px 0 -44px;
	padding-bottom: 0;
	gap: 26px;
}

.subnav-hero a {
	min-height: 48px;
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	color: rgba(255, 255, 255, 0.8);
}

.subnav-hero a:hover {
	color: #fff;
}

.subnav-hero a[aria-current="page"] {
	background: none;
	border-bottom-color: var(--c-neon);
	color: #fff;
}

.round-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 28px;
}

.round-pills a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text);
}

.round-pills a.is-past {
	background: var(--c-tint);
	color: var(--c-muted);
}

.round-pills a.is-now {
	border-color: var(--c-primary);
	color: var(--c-primary);
	font-weight: 800;
}

.round-pills a:hover {
	border-color: var(--c-primary);
}

.round-pills a[aria-current="page"] {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

/* Grundspil, slutspil og playoff på hver sin linje. */
.round-pills-label {
	flex: 0 0 100%;
	margin: 8px 0 2px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.round-pills-label:first-child {
	margin-top: 0;
}

/* ------------------------------------------------------------------
   Slutspil
------------------------------------------------------------------ */
.split-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.split-steps li {
	position: relative;
	padding: 18px 18px 18px 58px;
	background: var(--c-tint);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font-size: 15px;
	line-height: 1.5;
	color: var(--c-text);
	counter-increment: step;
}

.split-steps li::before {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--c-primary);
	font-size: 14px;
	font-weight: 800;
	color: var(--c-neon);
	content: counter(step);
}

.split-steps strong {
	display: block;
	color: var(--c-primary);
}

.split-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.split-card {
	min-width: 0;
}

.split-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	font-size: 19px;
	letter-spacing: -0.015em;
	color: var(--c-text);
}

.split-title::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background: var(--zone-mester);
}

.split-kval .split-title::before {
	background: var(--zone-kval);
}

.split-note {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--c-muted);
}

.split-intro {
	margin-bottom: 34px;
}

@media (max-width: 860px) {
	.split-steps,
	.split-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.fx-head a {
	color: var(--c-text);
}

.fx-head a:hover {
	color: var(--c-primary);
}

.view-section {
	margin-top: 44px;
}

.view-first,
.club-section:first-of-type {
	margin-top: 0;
}

.two-col,
.three-col {
	display: grid;
	gap: 16px;
	align-items: start;
}

.two-col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aside-title small {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--c-muted);
}

.aside-title a {
	color: var(--c-text);
}

.aside-card > .text-link {
	margin-top: 14px;
}

.section-note {
	margin-bottom: 18px;
	color: var(--c-muted);
}

.stat-big {
	margin-bottom: 14px;
	color: var(--c-muted);
}

.stat-big strong {
	display: block;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--c-primary);
}

.facts a {
	color: var(--c-text);
}

.facts a:hover {
	color: var(--c-primary);
}

.facts-list dt {
	font-weight: 500;
	color: var(--c-text);
}

.facts dt a {
	color: var(--c-text);
	font-weight: 500;
}

.tr-filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 15px;
	font-weight: 600;
}

.tr-filter select {
	min-height: 42px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.table-filter {
	max-width: 420px;
	margin-bottom: 32px;
}

/* Spillere og fravær */
.avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--av, 32px);
	height: var(--av, 32px);
	background: #e4e4e7;
	border-radius: 50%;
	font-size: calc(var(--av, 32px) * 0.36);
	font-weight: 700;
	color: #6d6d75;
}

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

.abs-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 12px;
	padding: 9px 0;
	border-top: 1px solid var(--c-line);
}

.abs-name {
	font-weight: 600;
}

.abs-name a {
	color: var(--c-text);
}

.abs-why {
	grid-row: 2;
	font-size: 13.5px;
	color: var(--c-muted);
}

.abs-list .pill {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}

.pill-out {
	background: var(--c-down-bg);
	color: var(--c-down);
}

.pill-warn {
	background: var(--c-gold-bg);
	color: var(--c-gold);
}

.status-line {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.86);
}

.stat-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stat-tiles li {
	padding: 12px 14px;
	background: var(--c-tint);
	border-radius: var(--radius);
	font-size: 13px;
	color: var(--c-muted);
}

.stat-tiles strong {
	display: block;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--c-primary);
}

.career {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.career li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
}

.career span:not(.crest) {
	font-weight: 600;
}

.career small {
	margin-left: auto;
	color: var(--c-muted);
}

/* Kampside */
.match-hero {
	padding: 26px 0 34px;
	background: radial-gradient(90% 180% at 50% -20%, color-mix(in srgb, var(--c-primary) 74%, var(--c-glow)) 0%, var(--c-primary) 56%, var(--c-primary-dark) 100%);
	color: #fff;
}

.match-hero .breadcrumbs ol,
.match-hero .breadcrumbs a {
	color: rgba(255, 255, 255, 0.72);
}

.score {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	max-width: 780px;
	margin: 0 auto;
}

.score-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: center;
	color: #fff;
}

.score-team:hover {
	color: var(--c-neon);
}

.score-team .crest {
	padding: 9px;
	box-sizing: content-box;
	background: #fff;
	border-radius: 12px;
}

.score-mid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 150px;
}

.score-mid strong {
	font-size: 58px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.score-mid strong.is-time {
	font-size: 44px;
}

.score-mid small {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.82);
}

.match-hero.fx-live .score-mid small[data-label] {
	color: var(--c-neon);
	font-weight: 700;
}

.match-title {
	margin-top: 22px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.9);
}

.match-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 22px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.82);
}

.match-meta li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.match-meta a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.match-body {
	max-width: calc(860px + var(--gutter) * 2);
}

.match-lead {
	font-size: 17.5px;
	line-height: 1.65;
}

.pitch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 400px;
	overflow: hidden;
	border-radius: var(--radius);
	background:
		linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.26) calc(50% - 1px), rgba(255, 255, 255, 0.26) calc(50% + 1px), transparent calc(50% + 1px)),
		repeating-linear-gradient(90deg, var(--c-primary) 0 10%, color-mix(in srgb, var(--c-primary) 90%, #fff) 10% 20%);
}

.pitch-half {
	display: flex;
	padding: 10px 6px;
}

.pitch-away {
	flex-direction: row-reverse;
}

.pitch-line {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	min-width: 0;
}

.pitch-p {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	max-width: 100%;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
}

.pitch-p span {
	max-width: 74px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pitch-p i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: var(--c-neon);
	border-radius: 50%;
	font-style: normal;
	font-size: 13px;
	font-weight: 800;
	color: var(--c-primary);
}

.pitch-away .pitch-p i {
	background: var(--c-cyan);
}

.lineup-lists {
	margin-top: 16px;
}

.lineup {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.lineup li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.lineup i {
	width: 24px;
	font-style: normal;
	font-weight: 700;
	text-align: right;
	color: var(--c-muted);
}

.lineup a {
	color: var(--c-text);
}

.lineup-coach {
	margin-top: 14px;
}

.lineup-from {
	margin: -4px 0 12px;
}

.lineup .pill {
	margin-left: auto;
	align-self: center;
}

.events {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.ev-min {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	min-width: 44px;
	padding: 3px 6px;
	background: var(--c-chip);
	border-radius: var(--radius);
	font-size: 13.5px;
	font-weight: 700;
	text-align: center;
}

.ev-goal .ev-min {
	background: var(--c-neon);
	color: var(--c-primary);
}

.ev-yellow .ev-min {
	background: #ffd43b;
	color: #3d3000;
}

.ev-red .ev-min {
	background: var(--c-accent);
	color: #fff;
}

.ev-body {
	grid-row: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 15px;
	line-height: 1.3;
}

.ev-body a {
	color: var(--c-text);
}

.ev-body strong {
	font-weight: 700;
}

.ev-body small {
	font-size: 13px;
	color: var(--c-muted);
}

.ev-home .ev-body {
	grid-column: 1;
	text-align: right;
}

.ev-away .ev-body {
	grid-column: 3;
}

.cmp {
	display: grid;
	gap: 14px;
}

.cmp-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: baseline;
	gap: 4px 12px;
}

.cmp-v {
	font-weight: 600;
}

.cmp-v.is-best {
	font-weight: 800;
	color: var(--c-primary);
}

.cmp-l + .cmp-v {
	text-align: right;
}

.cmp-l {
	font-size: 14px;
	text-align: center;
	color: var(--c-muted);
}

.cmp-bar {
	grid-column: 1 / -1;
	height: 6px;
	overflow: hidden;
	background: var(--c-accent);
	border-radius: 3px;
}

.cmp-bar i {
	display: block;
	height: 100%;
	background: var(--c-primary);
}

.tally-nums {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	font-size: 14.5px;
	color: var(--c-muted);
}

.tally-nums span:nth-child(2) {
	text-align: center;
}

.tally-nums span:nth-child(3) {
	text-align: right;
}

.tally-nums strong {
	display: block;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--c-primary);
}

.tally-bar {
	display: flex;
	gap: 3px;
	height: 12px;
	margin: 10px 0 8px;
}

.tally-bar span {
	min-width: 3px;
}

.t-a {
	background: var(--c-primary);
	border-radius: 6px 0 0 6px;
}

.t-d {
	background: var(--c-primary-soft);
}

.t-b {
	background: var(--c-accent);
	border-radius: 0 6px 6px 0;
}

.h2h-crests {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.h2h-crests .crest {
	padding: 6px;
	box-sizing: content-box;
	background: #fff;
	border-radius: 10px;
}

.h2h-list {
	list-style: none;
}

.h2h-row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr) 64px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 500;
}

.h2h-row + .h2h-row {
	border-top: 1px solid var(--c-line);
}

.h2h-when {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 1.3;
}

.h2h-when small {
	font-size: 12.5px;
	color: var(--c-muted);
}

.h2h-home,
.h2h-away {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.h2h-home {
	justify-content: flex-end;
	text-align: right;
}

.h2h-score {
	font-size: 17px;
	font-weight: 800;
	text-align: center;
}

.h2h-score a {
	color: var(--c-text);
}

.entity-main > .avatar {
	font-size: 30px;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer {
	background: var(--c-primary);
	color: rgba(255, 255, 255, 0.82);
}

.footer-clubs::after {
	content: "";
	display: block;
	height: 4px;
	background: var(--band);
}

.footer-clubs {
	background: #fff;
	border-top: 1px solid var(--c-border);
}

.footer-clubs .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 44px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 21px;
	letter-spacing: -0.02em;
	color: #fff;
}

.footer-logo:hover {
	color: #fff;
}

.footer-logo .logo-mark {
	width: 34px;
	height: 34px;
	border-radius: 7px;
}

.footer-logo .logo-text {
	font-weight: 400;
}

.footer-logo strong {
	font-weight: 800;
}

.footer-brand p {
	max-width: 300px;
	margin-top: 14px;
	font-size: 14.5px;
}

.footer-brand a {
	color: #fff;
}

.footer-title {
	margin-bottom: 12px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	color: #fff;
}

.footer-list {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
}

.footer-list a {
	color: rgba(255, 255, 255, 0.78);
}

.footer-list a:hover {
	color: var(--c-neon);
}

.footer-bottom {
	background: var(--c-primary-dark);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.7);
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-menu a:hover {
	color: #fff;
}

/* ------------------------------------------------------------------
   Responsivt
------------------------------------------------------------------ */
@media (max-width: 1100px) {
	.entity-head {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 28px;
	}

	.entity-layout {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 24px;
	}

	.fx {
		grid-template-columns: 96px minmax(0, 1fr) 56px;
		row-gap: 2px;
	}

	.fx-info {
		grid-column: 2;
		grid-row: 2;
		flex-direction: row;
		justify-content: center;
		gap: 8px;
	}

	.fx-end {
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.fx-when {
		grid-row: 1 / span 2;
	}
}

@media (max-width: 960px) {
	.header-inner {
		min-height: 72px;
		gap: 16px;
	}

	.site-logo {
		font-size: 24px;
	}

	.header-search {
		margin-left: 0;
	}

	.nav-toggle {
		display: inline-flex;
		order: 3;
		margin-left: 0;
	}

	.header-search {
		margin-left: auto;
		order: 2;
	}

	.main-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		gap: 14px;
		padding: 12px var(--gutter) 24px;
		background: var(--c-primary);
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		box-shadow: 0 18px 30px -20px rgba(0, 0, 0, 0.25);
	}

	.nav-open .main-nav {
		display: flex;
	}

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

	.nav-list li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.nav-list a {
		padding: 14px 0;
	}

	.trust-inner {
		flex-direction: column;
		gap: 10px;
	}

	.entity-head,
	.entity-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.entity-aside {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.card-grid,
	.three-col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 16px;
	}

	.hero {
		padding: 44px 0 40px;
	}

	.hero-deco svg {
		width: 100%;
		opacity: 0.6;
	}

	.hero-lead {
		font-size: 17px;
	}

	.lr-search-hero .lr-search-field {
		flex-wrap: wrap;
		padding: 8px;
	}

	.lr-search-hero .lr-search-field input {
		height: 48px;
		font-size: 17px;
	}

	.lr-search-hero .lr-search-btn {
		flex-basis: 100%;
		margin-top: 8px;
		min-height: 50px;
	}

	.lr-search-field input::placeholder {
		font-size: 14.5px;
	}

	.lr-search-compact .lr-search-btn span {
		display: none;
	}

	.section {
		padding: 44px 0 52px;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 22px;
	}

	.section-head .text-link {
		margin-bottom: 0;
	}

	.page-hero {
		padding: 22px 0 32px;
	}

	.breadcrumbs ol {
		margin-bottom: 20px;
	}

	.page-title {
		font-size: 1.8rem;
	}

	.page-lead {
		font-size: 16px;
		line-height: 1.6;
	}

	.page-body {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.entity-main {
		gap: 14px;
	}

	.entity-main > .crest {
		width: 60px;
		height: 60px;
		padding: 6px;
		font-size: 18px;
	}

	.entity-aside,
	.card-grid,
	.card-grid-2,
	.two-col,
	.three-col {
		grid-template-columns: minmax(0, 1fr);
	}

	.next-card {
		padding: 18px 16px 16px;
	}

	.aside-card {
		padding: 20px 16px;
	}

	/* Kampe på mobil: hold over hinanden, mål i højre side. */
	.fx,
	.fx:not(:has(.fx-info)) {
		grid-template-columns: 84px minmax(0, 1fr) auto;
		gap: 2px 12px;
		padding: 10px 12px;
	}

	.fx-when {
		grid-row: 1 / span 2;
		font-size: 13px;
	}

	.fx-match {
		grid-column: 2;
		grid-row: 1;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 5px 10px;
	}

	.fx-match > .fx-team:first-child {
		flex-direction: row;
		text-align: left;
	}

	.fx-match > .fx-team:first-child {
		grid-column: 1;
		grid-row: 1;
	}

	.fx-match > .fx-team:last-child {
		grid-column: 1;
		grid-row: 2;
	}

	.fx-gh {
		grid-column: 2;
		grid-row: 1;
	}

	.fx-ga {
		grid-column: 2;
		grid-row: 2;
	}

	.fx-sep {
		display: none;
	}

	.fx-upcoming .fx-goal {
		display: none;
	}

	.fx-team {
		font-size: 15px;
	}

	.fx-info {
		grid-column: 2;
		grid-row: 2;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 0 8px;
		padding-top: 2px;
		font-size: 12.5px;
	}

	.fx-end {
		grid-column: 3;
		grid-row: 1 / span 2;
		align-self: center;
	}

	.fx-side {
		font-size: 12px;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
		padding-top: 36px;
		padding-bottom: 32px;
	}
}

/* Smalle telefoner: dato og tid på egen linje, så klubnavnene får hele bredden. */
@media (max-width: 480px) {
	.fx,
	.fx:not(:has(.fx-info)) {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 10px;
	}

	.fx-when {
		grid-column: 1 / -1;
		grid-row: 1;
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.fx-match {
		grid-column: 1;
		grid-row: 2;
	}

	.fx-info {
		grid-column: 1;
		grid-row: 3;
		padding-top: 0;
	}

	.fx-end {
		grid-column: 2;
		grid-row: 2 / span 2;
	}

	.fx-live .fx-time {
		align-self: center;
	}
}

@media (max-width: 720px) {
	.lt-opt {
		display: none;
	}

	.lt {
		font-size: 14px;
	}

	.lt td,
	.lt th {
		padding: 9px 7px;
	}

	.lt-rank {
		width: 38px;
	}

	.lt-rank + .lt-team {
		padding-left: 4px;
	}

	.hero-table {
		padding: 14px 12px;
	}

	.match-hero {
		padding: 18px 0 26px;
	}

	.score {
		gap: 8px;
	}

	.score-team {
		font-size: 15px;
	}

	.score-team .crest {
		--crest: 48px !important;
		padding: 6px;
	}

	.score-mid {
		min-width: 96px;
	}

	.score-mid strong {
		font-size: 40px;
	}

	.score-mid strong.is-time {
		font-size: 30px;
	}

	.subnav-hero {
		margin-bottom: -32px;
		gap: 20px;
	}

	.pitch {
		grid-template-columns: 1fr;
		background:
			linear-gradient(0deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.26) calc(50% - 1px), rgba(255, 255, 255, 0.26) calc(50% + 1px), transparent calc(50% + 1px)),
			repeating-linear-gradient(0deg, var(--c-primary) 0 10%, color-mix(in srgb, var(--c-primary) 90%, #fff) 10% 20%);
	}

	.pitch-half {
		flex-direction: column;
		gap: 12px;
		padding: 12px 2px;
	}

	.pitch-away {
		flex-direction: column-reverse;
	}

	.pitch-line {
		flex-direction: row;
		justify-content: space-around;
	}

	.pitch-p {
		font-size: 11px;
	}

	.pitch-p span {
		max-width: 60px;
	}

	.h2h-row {
		grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
		padding: 8px 12px;
		font-size: 14px;
	}

	.h2h-when {
		grid-column: 1 / -1;
		flex-direction: row;
		gap: 8px;
	}

	.h2h-home .crest,
	.h2h-away .crest {
		display: none;
	}

	.cmp-row {
		grid-template-columns: 52px minmax(0, 1fr) 52px;
	}

	.tr-filter {
		display: flex;
	}

	.tr-filter select {
		flex: 1;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

.split-grid + .section-note {
	margin-top: 16px;
}

.lt tbody tr.lt-group-kval th::before {
	background: var(--c-cyan);
}

.fx-list + .fx-head {
	margin-top: 26px;
}
