/* ==========================================================================
   Bandyallsvenskan – huvudstil
   Färger och typsnitt styrs av variablerna nedan.
   ========================================================================== */

:root {
	/* Färger – se den grafiska profilen på /grafisk-profil/ (profil C, 18 okt 2026)
	   Två blå: huvudfärgen #003DA6 (header, kort, länkar) och den mörka tonen #001D5A
	   (ytor, sidfot, rubriklinjer, text). Guld för markeringar. */
	--blue: #003DA6;
	--blue-dark: #002E7D;
	--navy: #001D5A;
	--navy-2: #001D5A;
	--navy-card: #003DA6;
	--navy-card-hover: #0A4BB8;
	--navy-line: #24489A;
	--header: #003DA6;
	--gold: #E9A21A;
	--gold-btn: #E9A21A;
	--gold-btn-hover: #F4B53A;
	--gold-text: #A86F00;
	--ice: #F3F6FA;
	--white: #FFFFFF;
	--ink: #001D5A;
	--text: #2B3A50;
	--muted: #4D5B70;
	--faint: #677589;
	--line: #E1E7EE;
	--line-strong: #D2DAE4;
	--green: #11724A;
	--on-dark: #FFFFFF;
	--on-dark-2: #DCE6F5;
	--on-dark-3: #C2D2EC;
	--sky: #8AB0F2;
	--ice-hover: var(--ice-hover);

	/* Typsnitt – byt här om ni vill köra Open Sans i brödtexten */
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Rubriktypsnittet skalas med x-höjden: 0,55 = 10 % större än Sofia Sans naturliga storlek */
	--display-adjust: 0.55;
	--font-display: "Sofia Sans Extra Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;

	--wrap: 1240px;
	--gutter: 24px;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(0, 29, 90, .06), 0 12px 32px rgba(0, 29, 90, .07);
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* "html body" – TablePress på sajten sätter body-typsnitt (Open Sans Condensed 13px) och laddas efter temat */
html body {
	margin: 0;
	font-weight: 400;
	background: var(--ice);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--gold-btn); outline-offset: 2px; }
abbr[title] { text-decoration: none; cursor: help; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.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: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold-btn); color: var(--navy); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.display {
	font-family: var(--font-display); font-size-adjust: var(--display-adjust);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: -.005em;
}
.eyebrow {
	font-family: var(--font-display); font-size-adjust: var(--display-adjust);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-btn);
}
.eyebrow--muted { color: var(--on-dark-3); }
.eyebrow--dark { color: var(--muted); font-size: 13px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty { color: var(--muted); margin: 0; padding: 24px; }

/* ---------- Knappar och länkar ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn--gold { background: var(--gold-btn); color: var(--navy); }
.btn--gold:hover { background: var(--gold-btn-hover); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 17px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 20px; }
.more {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; white-space: nowrap;
}
.more:hover { color: var(--blue-dark); text-decoration: underline; }
.more--light { color: var(--on-dark); }
.more--light:hover { color: var(--gold-btn); }

/* ---------- Sidhuvud ---------- */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 72px; }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { display: block; height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 10px 0; border-bottom: 2px solid transparent;
	color: var(--on-dark-2); text-decoration: none;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 700; font-size: 17px;
	letter-spacing: .08em; text-transform: uppercase;
}
.site-nav .menu a:hover { color: var(--on-dark); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { color: var(--on-dark); border-bottom-color: var(--gold-btn); }
.site-nav .sub-menu {
	position: absolute; left: -16px; top: 100%; min-width: 220px; margin: 0; padding: 8px 0; list-style: none;
	background: var(--navy); border: 1px solid var(--navy-line); border-radius: 10px;
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 16px; border: 0; }
.nav-toggle { display: none; }

/* ---------- Undersidornas sidhuvud ---------- */
.page-hero { background: var(--navy-2); color: var(--on-dark); }
.page-hero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 112px; }
.page-hero__title { margin: 8px 0 0; font-size: clamp(44px, 7vw, 88px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stat { display: flex; flex-direction: column; padding: 12px 18px; border: 1px solid var(--navy-line); border-radius: 10px; }
.hero-stat__label { font-size: 13px; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .1em; }
.hero-stat__value { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 28px; line-height: 1.1; }
.page-card-wrap { margin-top: -64px; padding-bottom: 72px; position: relative; }
.ads { padding-top: 24px; padding-bottom: 8px; text-align: center; }
.ads + .page-card-wrap { margin-top: 16px; }
.ad-mobile { display: none; }
.page-card { padding: 8px 12px 4px; }
.page-card.prose, .page-card.article, .page-card.person { padding: 40px clamp(20px, 5vw, 64px); }
.card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.page-extra { margin-top: 32px; }
.sample-notice { background: #FFF4D6; color: #5C3D00; text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

/* ---------- Flikar och filter ---------- */
.tabs { display: flex; gap: 4px; background: var(--ice); padding: 4px; border-radius: 10px; }
.tab {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent;
	color: var(--text); font: 600 15px var(--font-body); cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--on-dark); }
.tab__count { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--line-strong); color: var(--text); }
.tab[aria-selected="true"] .tab__count { background: var(--navy-line); color: var(--on-dark); }
.filter { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.filter select {
	min-height: 44px; min-width: 220px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px;
	background: var(--white); font: 500 15px var(--font-body); color: var(--ink);
}

/* ---------- Klubbmärke ---------- */
.crest {
	width: 38px; height: 38px; flex: none; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--white); color: var(--navy); border: 1px solid var(--line-strong);
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.crest--xs { width: 22px; height: 22px; font-size: 9px; border: 0; }
.crest--long { font-size: 10px; letter-spacing: 0; }
.crest--img { background: transparent; object-fit: contain; border-radius: 0; }

/* ---------- Tabell ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings th, .standings td { padding: 0 8px; text-align: center; }
.standings thead th {
	padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.standings tbody td, .standings tbody th { height: 64px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 400; color: var(--ink); }
.standings tbody tr:last-child > * { border-bottom: 0; }
.standings tbody tr:hover > * { background: #F7F9FC; }
.standings .c-pos { width: 56px; }
.standings tbody .c-pos { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; }
.standings .c-pos.is-tied { color: var(--faint); }
.standings .c-team { text-align: left; }
.standings .c-n { width: 48px; }
.standings .c-goals { width: 80px; white-space: nowrap; }
.standings .c-diff { width: 64px; }
.standings .c-diff.is-plus { color: var(--green); font-weight: 600; }
.standings .c-form { width: 160px; }
.standings .c-pts { width: 72px; }
.standings .is-leader .c-pos { box-shadow: inset 4px 0 0 var(--gold); }
.standings .is-idle td:not(.c-pos) { color: var(--faint); }
.pts { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 6px; border-radius: 6px; background: var(--blue); color: var(--white); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 20px; }
.is-idle .pts { background: var(--line); color: var(--muted); }
.team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.team__name { font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.team__name:hover { color: var(--blue); }
.form { display: inline-flex; gap: 4px; }
.form__item { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 14px; color: var(--white); }
.form__item--v { background: var(--green); }
.form__item--o { background: var(--muted); }
.form__item--f { background: #A33A2B; }
.form__item--none { background: transparent; color: var(--faint); border: 1px dashed var(--line-strong); }

.standings--compact tbody td, .standings--compact tbody th { height: 50px; font-size: 15px; }
.standings--compact .c-pos { width: 36px; }
.standings--compact tbody .c-pos { font-size: 19px; }
.standings--compact .crest { width: 28px; height: 28px; font-size: 11px; }
.standings--compact .team { gap: 10px; }
.standings--compact .team__name { font-size: 15px; }
.standings--compact .pts { min-width: 32px; height: 28px; font-size: 18px; }
.standings--compact .is-leader .c-pos { box-shadow: inset 3px 0 0 var(--gold); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 16px 12px 14px; border-top: 1px solid var(--line); list-style: none; font-size: 14px; color: var(--muted); }
.legend b { color: var(--ink); }
.legend__bar { display: inline-block; width: 4px; height: 16px; margin-right: 8px; vertical-align: -3px; border-radius: 2px; background: var(--gold); }

/* ---------- Spelprogram ---------- */
.fx-flag { margin: 12px 12px 0; font-size: 14px; color: var(--muted); }
.fx-group__title {
	margin: 0; padding: 18px 12px 12px; border-bottom: 2px solid var(--navy);
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.fx { display: grid; grid-template-columns: 88px 1fr 200px; align-items: center; gap: 16px; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.fx-group__list .fx:last-child { border-bottom: 0; }
.fx--next { background: #F4F7FC; box-shadow: inset 4px 0 0 var(--gold); }
.fx__date { display: flex; flex-direction: column; line-height: 1.1; }
.fx__day { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 34px; }
.fx__dow { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fx__teams { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "home mid away"; align-items: center; gap: 16px; min-width: 0; }
.fx__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fx__team--home { grid-area: home; flex-direction: row-reverse; text-align: right; }
.fx__team--away { grid-area: away; }
.fx__name { font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx__time, .fx__score {
	grid-area: mid; min-width: 76px; padding: 6px 10px; border-radius: 8px; text-align: center;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums;
	background: var(--navy); color: var(--white);
}
.fx__score { background: var(--blue); }
.fx__score.is-live { background: var(--gold-btn); color: var(--navy); }
.fx__time--muted { background: var(--line); color: var(--muted); font-size: 16px; }
.fx__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 16px; text-align: right; min-width: 0; }
.fx__venue { flex-basis: 100%; }
.fx__venue { font-size: 14px; color: var(--muted); }
.fx__link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; font-weight: 600; text-decoration: none; }
.fx__link:hover { text-decoration: underline; }

/* ---------- Startsidan: resultatband (omgången) ---------- */
.ticker { background: var(--navy-2); color: var(--on-dark); border-top: 1px solid var(--navy-line); }
.ticker__inner { display: flex; align-items: stretch; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.ticker__label { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; width: 128px; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--navy-line); }
.ticker__round { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 22px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.ticker__dates { font-size: 13px; color: var(--on-dark-3); }
.ticker__all { font-size: 13px; font-weight: 600; color: var(--gold-btn); text-decoration: none; }
.ticker__all:hover { color: var(--gold-btn-hover); text-decoration: underline; }
.ticker__list { flex: 1; min-width: 0; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; }
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__arrow { flex: none; width: 36px; border: 0; border-radius: 10px; background: var(--navy-card); color: var(--on-dark); font-size: 18px; cursor: pointer; }
.ticker__arrow:hover { background: var(--navy-line); }
.chip { flex: none; width: 156px; scroll-snap-align: start; }
.chip__inner { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 8px 12px; border-radius: 10px; background: var(--navy-card); color: var(--on-dark); text-decoration: none; }
a.chip__inner:hover { background: var(--navy-card-hover); color: var(--on-dark); }
.chip__status { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.chip--live .chip__status { color: var(--gold-btn); }
.chip--scheduled .chip__status { color: var(--on-dark); font-size: 14px; letter-spacing: .04em; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-btn); animation: bas-pulse 1.4s ease-in-out infinite; }

.chip__team { display: flex; align-items: center; gap: 8px; }
.chip__code { flex: 1; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.chip__score { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.chip__team.is-lost { color: var(--on-dark-3); }

/* ---------- Startsidan: omgången ---------- */
.round { background: var(--navy-2); color: var(--on-dark); }
.round__inner { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; padding-bottom: 56px; }
.round__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.round__title { margin: 6px 0 0; font-size: clamp(40px, 6vw, 64px); }
.round__day { margin: 8px 0 -8px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.round__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.round__next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 20px; border: 1px solid var(--navy-line); border-radius: 14px; }
.round__next-list { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.round__next-list time { margin-left: 6px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; color: var(--gold-btn); }
.round__next-more { color: var(--on-dark-3); font-weight: 500; }

.mc { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px; border: 1px solid var(--navy-line); border-radius: 14px; background: var(--navy-card); }
.mc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.mc__time, .mc__final { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 20px; padding: 2px 10px; border-radius: 6px; background: var(--white); color: var(--navy); font-variant-numeric: tabular-nums; }
.mc__final { background: transparent; color: var(--on-dark-3); padding: 2px 0; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.mc__live { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 6px; background: var(--gold-btn); color: var(--navy); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.mc__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); animation: bas-pulse 1.4s ease-in-out infinite; }
@keyframes bas-pulse { 50% { opacity: .3; } }
.mc__venue { flex: 1; min-width: 0; text-align: right; font-size: 13px; color: var(--on-dark-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__teams { display: flex; flex-direction: column; gap: 10px; }
.mc__team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 16px; }
.mc__team .crest { width: 30px; height: 30px; font-size: 11px; background: var(--white); color: var(--navy); }
.mc__team .crest--long { font-size: 10px; letter-spacing: 0; }
.crest--img { background: transparent; }
.mc__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__score { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.mc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--navy-line); }
.mc__play { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--gold-btn); color: var(--navy); text-decoration: none; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.mc__play:hover { background: var(--gold-btn-hover); color: var(--navy); }
.mc__info { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; font-weight: 600; color: var(--on-dark); text-decoration: none; }
.mc__info:hover { color: var(--gold-btn); }
.mc--finished .mc__score { color: var(--on-dark-3); }

/* ---------- Startsidan: sektioner ---------- */
.home-sections { display: flex; flex-direction: column; gap: 64px; padding-top: 56px; padding-bottom: 72px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head--tight { margin-bottom: 12px; padding: 0 8px; }
.section-title { margin: 0; font-size: 40px; color: var(--ink); }
.section-title--sm { margin-top: 4px; font-size: 32px; }
.home-table { padding: 24px 12px 8px; }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.news-card:hover { color: var(--ink); }
.news-card:hover .news-card__title { color: var(--blue); }
.news-card__media { aspect-ratio: 16 / 9; background: #D6DEE8; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.news-card__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.news-card--lead { grid-column: 1 / -1; }
.news-card--lead .news-card__body { padding: 24px 28px 28px; gap: 10px; }
.news-card--lead .news-card__title { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 36px; line-height: 1.05; text-transform: uppercase; }
.news-card__excerpt { margin: 0; font-size: 17px; color: var(--text); }
.tag { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 48px; border-radius: 20px; background: var(--navy); color: var(--on-dark); }
.promo__text { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.promo__title { margin: 0; font-size: clamp(30px, 4vw, 48px); overflow-wrap: break-word; }
.promo p { margin: 0; color: var(--on-dark-2); }

.clubs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.club { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
a.club:hover { border-color: var(--blue); color: var(--ink); }
.club .crest { width: 40px; height: 40px; }

.partners { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.partners__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.partner img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.partner img:hover { filter: none; opacity: 1; }

/* ---------- Startsidan: BandyPlay-klipp ---------- */
.clips { padding: 40px; border-radius: 20px; background: var(--navy); color: var(--on-dark); }
.clips__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.clips__title { margin: 6px 0 0; font-size: clamp(32px, 4vw, 44px); }
.clips__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.clip { display: flex; flex-direction: column; gap: 8px; color: var(--on-dark); text-decoration: none; }
.clip:hover { color: var(--on-dark); }
.clip__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--navy-card); }
.clip__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.clip:hover .clip__media img { transform: scale(1.04); }
.clip__play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-btn); color: var(--navy); box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .2s; }
.clip__play .icon { width: 16px; height: 16px; margin-left: 3px; }
.clip:hover .clip__play { transform: scale(1.1); }
.clip__duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 29, 90, .85); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.clip__title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.clip:hover .clip__title { color: var(--gold-btn); }
.clip__date { font-size: 13px; color: var(--on-dark-3); }

.video-dialog { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 14px; background: #000; color: var(--on-dark); overflow: hidden; }
.video-dialog::backdrop { background: rgba(0, 12, 38, .85); }
.video-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--navy); }
.video-dialog__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--on-dark); cursor: pointer; }
.video-dialog__close:hover { background: var(--navy-line); }
.video-dialog__frame { aspect-ratio: 16 / 9; }
.video-dialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Live-punkt ---------- */
.chip__dot { display: none; }
.chip--live .chip__dot, .match-hero__status--live .chip__dot { display: inline-block; }

/* ---------- Matchsidan ---------- */
.crest--xl { width: 96px; height: 96px; font-size: 26px; border: 0; }
.match-hero { background: var(--navy-2); color: var(--on-dark); }
.match-hero .wrap { padding-top: 36px; padding-bottom: 104px; }
.match-hero__meta { text-align: center; }
.match-hero__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 24px; }
.match-hero__team { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; min-width: 0; }
.match-hero__name { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: clamp(22px, 3.4vw, 40px); line-height: 1; text-transform: uppercase; }
.match-hero__center { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 160px; }
.match-hero__score { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: clamp(56px, 9vw, 104px); line-height: 1; font-variant-numeric: tabular-nums; }
.match-hero__score.is-empty { display: none; }
.match-hero__dash { color: #fff; }
.match-hero__kickoff { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 56px; line-height: 1; color: var(--gold-btn); }
.match-hero__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--navy-card); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.match-hero__status--live { background: var(--gold-btn); color: var(--navy); }
.match-hero__status--live .chip__dot { background: var(--navy); }
.match-body { margin-top: -64px; padding-bottom: 72px; position: relative; display: flex; flex-direction: column; gap: 24px; }
.match-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.match-side { display: flex; flex-direction: column; gap: 24px; }
.match-card { padding: 24px; }
.match-card__title { margin: 0 0 16px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 28px; line-height: 1; text-transform: uppercase; }

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline__empty { color: var(--muted); padding: 8px 0; }
.tl { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.tl__time { white-space: nowrap; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 17px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl__body { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tl__badge { flex: none; min-width: 52px; padding: 4px 8px; border-radius: 6px; background: var(--blue); color: var(--white); text-align: center; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.tl--away .tl__badge { background: var(--navy); }
.tl__badge--pen { background: #FFF1D6 !important; color: #7A4B00; font-size: 15px; }
.tl__text { display: flex; flex-direction: column; min-width: 0; }
.tl__text strong { font-weight: 700; }
.tl__assist { color: var(--muted); font-weight: 500; }
.tl__sub { font-size: 14px; color: var(--muted); }
.tl__text--period { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl--period { background: var(--ice); padding-left: 8px; padding-right: 8px; border-radius: 8px; border-bottom: 0; margin: 4px 0; }

.stat-head { display: flex; justify-content: space-between; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.stat { padding: 8px 0; }
.stat__row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; font-size: 15px; }
.stat__label { text-align: center; color: var(--text); }
.stat__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.stat__v[data-side="away"] { text-align: right; }
.stat__bar { display: flex; gap: 4px; height: 6px; margin-top: 6px; }
.stat__fill { display: block; height: 100%; border-radius: 3px; min-width: 2px; }
.stat__fill--home { background: var(--blue); }
.stat__fill--away { background: var(--navy); margin-left: auto; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.clip--light { color: var(--ink); }
.clip--light:hover { color: var(--blue); }

.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lineup__team { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; }
.lineup__list { margin: 0; padding: 0; list-style: none; }
.lineup__list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lineup__no { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; color: var(--blue); text-align: right; }
.lineup__pos { font-size: 13px; color: var(--muted); }
.lineup__c { text-decoration: none; color: var(--muted); font-size: 13px; }
.lineup__staff { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Statistiksidan ---------- */
.tabs--scroll { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs--scroll::-webkit-scrollbar { display: none; }
.tabs--scroll .tab { white-space: nowrap; }
.player { display: flex; flex-direction: column; min-width: 0; }
.player__team { font-size: 13px; color: var(--muted); font-weight: 500; }
.statlist .c-main { width: 72px; }
.pts--wide { min-width: 64px; }
.sub-title { margin: 28px 12px 12px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase; }
.att-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 12px 0; }
.att-stat { display: flex; flex-direction: column; padding: 16px 20px; border-radius: 12px; background: var(--ice); }
.att-stat__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 36px; line-height: 1; color: var(--blue); }
.att-stat__l { font-size: 14px; color: var(--muted); }
.att-top { margin: 0; padding: 0 12px 16px; list-style: none; counter-reset: att; }
.att-top a { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.att-top a:hover { color: var(--blue); }
.att-top__n { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; color: var(--blue); }
.att-top__d { font-size: 14px; color: var(--muted); text-align: right; }

/* ---------- Artiklar och sidor ---------- */
.prose { color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.2; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.prose img { border-radius: 10px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-size: 20px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; }
.ingress p { margin: 0 0 1.2em; font-size: 21px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.article { max-width: 860px; margin: 0 auto; }
.article__media { margin: -40px clamp(-64px, -5vw, -20px) 32px; }
.article__media img { width: 100%; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.person { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.person__media { margin: 0; }
.person__media img { border-radius: 12px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; max-width: 860px; margin: 24px auto 0; font-weight: 600; }
.post-nav__next { margin-left: auto; text-align: right; }
.post-nav a { text-decoration: none; }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 8px; background: var(--white); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--navy); color: var(--white); }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.site-footer__brand img { height: 26px; width: auto; display: block; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-menu, .site-footer .menu { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.footer-info ul { margin: 0; padding: 0; list-style: none; }
.footer-title { margin: 0 0 6px; font-size: 15px; color: var(--on-dark); }
.site-footer__bottom { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--navy-line); font-size: 14px; color: var(--on-dark-3); }

/* ==========================================================================
   Surfplatta
   ========================================================================== */
@media (max-width: 1080px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--navy-line); border-radius: 10px;
		background: transparent; color: var(--on-dark); cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 8px var(--gutter) 24px; background: var(--navy); border-top: 1px solid var(--navy-line);
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
	.site-nav .current-menu-item > a { border-bottom-color: var(--gold-btn); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; }
	.site-nav .btn { align-self: flex-start; }

	.home-grid { grid-template-columns: 1fr; }
	.match-grid { grid-template-columns: 1fr; }
	.clubs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clips__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hide-m { display: none; }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.site-header__inner { min-height: 64px; }
	.site-logo img { height: 22px; }
	.ad-desktop { display: none; }
	.ad-mobile { display: block; }

	.page-hero__inner { padding-top: 36px; padding-bottom: 88px; }
	.page-card { padding: 4px 4px 2px; border-radius: 12px; }
	.page-card-wrap { padding-bottom: 48px; }
	.card__bar { flex-direction: column; align-items: stretch; padding: 10px 8px 12px; }
	.tab { flex: 1; min-height: 44px; }
	.filter { justify-content: space-between; }
	.filter select { flex: 1; min-width: 0; }

	.hide-s { display: none; }
	.standings tbody td, .standings tbody th { height: 54px; font-size: 15px; padding: 0 4px; }
	.standings thead th { padding-left: 4px; padding-right: 4px; font-size: 12px; letter-spacing: .06em; }
	.standings .c-pos { width: 36px; padding-left: 8px; }
	.standings tbody .c-pos { font-size: 18px; }
	.standings .c-n { width: 32px; }
	.standings .c-diff { width: 44px; }
	.standings .c-pts { width: 52px; }
	.standings .crest { width: 28px; height: 28px; font-size: 11px; }
	.team { gap: 10px; }
	.team__name { font-size: 15px; max-width: 46vw; }
	.pts { min-width: 32px; height: 30px; font-size: 18px; }
	.legend { font-size: 13px; gap: 6px 16px; padding: 14px 8px; }

	.fx { grid-template-columns: 52px 1fr; grid-template-areas: "date teams" "date meta"; row-gap: 10px; column-gap: 12px; padding: 16px 8px; }
	.fx__date { grid-area: date; align-self: start; text-align: center; }
	.fx__day { font-size: 28px; }
	.fx__dow { font-size: 12px; }
	.fx__teams { grid-area: teams; grid-template-columns: 1fr auto; grid-template-areas: "home mid" "away mid"; gap: 8px 12px; }
	.fx__team--home { flex-direction: row; text-align: left; }
	.fx .crest { width: 30px; height: 30px; font-size: 11px; }
	.fx__name { font-size: 16px; }
	.fx__time, .fx__score { min-width: 64px; font-size: 19px; }
	.fx__meta { grid-area: meta; text-align: left; }
	.fx__venue { flex-basis: 100%; }
	.fx__meta { justify-content: flex-start; gap: 0 20px; }
	.fx__link { min-height: 44px; }
	.fx-group__title { padding: 16px 8px 10px; }

	.round__inner { padding-top: 32px; padding-bottom: 40px; }
	.ticker__inner { padding-right: 0; }
	.ticker__inner { flex-wrap: wrap; row-gap: 10px; padding-top: 10px; }
	.ticker__label { width: 100%; flex-direction: row; align-items: baseline; gap: 10px; padding: 0 var(--gutter) 0 0; margin: 0; border: 0; }
	.ticker__round { font-size: 18px; }
	.ticker__all { margin-left: auto; }
	.ticker__arrow { display: none; }
	.chip { width: 140px; }
	.round__cards {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
		margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
	}
	.mc { scroll-snap-align: start; }
	.mc__play, .mc__info { min-height: 44px; }

	.home-sections { gap: 48px; padding-top: 40px; padding-bottom: 48px; }
	.section-title { font-size: 32px; }
	.news-grid, .news-grid--archive { grid-template-columns: 1fr; }
	.news-card--lead .news-card__title { font-size: 28px; }
	.promo { padding: 28px 20px; }
	.clips { padding: 28px 0 24px 20px; border-radius: 16px; }
	.clips__head { padding-right: 20px; }
	.clips__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; padding-bottom: 6px; }
	.clips__list li { scroll-snap-align: start; }
	.promo__title { font-size: 27px; }
	.clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.club { min-height: 64px; padding: 0 12px; font-size: 15px; }
	.club .crest { width: 32px; height: 32px; font-size: 11px; }
	.person { grid-template-columns: 1fr; }
	.match-hero .wrap { padding-bottom: 88px; }
	.match-hero__board { gap: 10px; }
	.crest--xl { width: 56px; height: 56px; font-size: 17px; }
	.match-hero__center { min-width: 0; }
	.match-hero__kickoff { font-size: 40px; }
	.match-grid, .lineups { grid-template-columns: 1fr; }
	.match-card { padding: 20px 16px; }
	.att-summary { grid-template-columns: 1fr; }
	.att-top a { grid-template-columns: 70px 1fr; }
	.att-top__d { grid-column: 2; text-align: left; }
}

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

/* ==========================================================================
   STIL: sneda former överst, platt innehåll
   Regel: det som lutar är levande eller klickbart (band, knappar, status,
   serieledare). Allt annat är platt: inga kort, inga skuggor, inga runda hörn.
   ========================================================================== */
:root {
	--slant: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	--slant-sm: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
	--zebra: #F0F5FA;
	--radius: 0;
	--shadow: none;
}
body { background: var(--white); }

/* Knappar */
.btn { border-radius: 0; clip-path: var(--slant); padding: 0 30px; font-style: italic; font-weight: 800; }
.btn--sm { padding: 0 26px; }

/* Meny: aktivt val = sned guldlinje */
.site-nav .menu a { font-style: italic; position: relative; border-bottom: 0; }
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after,
.site-nav .current_page_item > a::after {
	content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 4px;
	background: var(--gold-btn); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

/* Resultatbandet */
.ticker { border-top: 0; }
.ticker__inner { padding-top: 14px; padding-bottom: 14px; gap: 6px; }
.ticker__label { border-right: 0; padding-right: 8px; }
.ticker__list { gap: 6px; }
.chip { width: 164px; }
.chip__inner { border-radius: 0; clip-path: var(--slant); padding: 10px 26px; gap: 3px; }
.chip--live .chip__inner { background: var(--gold-btn); color: var(--navy); }
.chip--live a.chip__inner:hover { background: var(--gold-btn-hover); color: var(--navy); }
.chip--live .chip__status { color: var(--navy); }
.chip--live .chip__dot { background: var(--navy); }
.chip__status { font-style: italic; font-size: 13px; }
.chip__code, .chip__score { font-style: italic; font-size: 20px; }
.chip .crest--xs { display: none; } /* bara kod i bandet */
.chip__team.is-lost { color: inherit; opacity: .5; }
.ticker__arrow { border-radius: 0; clip-path: var(--slant-sm); }

/* Rubriker i innehållet: tjock linje under */
.section-head { margin-bottom: 0; padding-bottom: 12px; border-bottom: 4px solid var(--navy); }
.section-head--tight { padding: 0 0 12px; }
.section-title { font-size: 52px; }
.section-title--sm { font-size: 52px; }
.home-table { padding: 0; }
.home-table .section-head { margin-bottom: 4px; }
.home-news .news-grid { margin-top: 24px; }
.eyebrow--dark { display: none; }

/* Kort blir platta */
.card { background: transparent; border-radius: 0; box-shadow: none; }
.page-card-wrap { margin-top: 0; padding-top: 32px; }
.page-hero__inner { padding-bottom: 48px; }
.page-card { padding: 0; }
.page-card.prose, .page-card.article, .page-card.person { padding: 0; }
.article__media { margin: 0 0 32px; }
.article__media img { border-radius: 0; }
.card__bar { padding: 0 0 16px; border-bottom: 4px solid var(--navy); margin-bottom: 0; }

/* Flikar: platta, aktiv flik sned */
.tabs { background: transparent; padding: 0; border-radius: 0; gap: 2px; }
.tab { border-radius: 0; background: var(--zebra); font-style: italic; font-weight: 700; }
.tab[aria-selected="true"] { background: var(--navy); clip-path: var(--slant-sm); padding: 0 20px; }
.filter select { border-radius: 0; border: 2px solid var(--navy); }

/* Tabeller: varannan rad tonad, inga hårlinjer */
.standings thead th { border-bottom: 0; }
.standings tbody td, .standings tbody th { border-bottom: 0; }
.standings tbody tr:nth-child(odd) > * { background: var(--zebra); }
.standings tbody tr:hover > * { background: var(--ice-hover); }
.standings .is-leader .c-pos, .standings--compact .is-leader .c-pos { box-shadow: none; }
.standings tbody .c-pos { padding-left: 4px; }
.standings .is-leader .c-pos { position: relative; color: var(--white); z-index: 0; }
.standings .is-leader .c-pos::before {
	content: ""; position: absolute; z-index: -1; left: 2px; right: 6px; top: 50%; height: 32px; transform: translateY(-50%);
	background: var(--blue); clip-path: var(--slant-sm);
}
.pts { background: transparent; color: var(--ink); min-width: 0; height: auto; padding: 0; font-size: 22px; font-weight: 800; }
.is-idle .pts { background: transparent; color: var(--faint); }
.standings--compact .pts { font-size: 20px; }
.legend { border-top: 0; padding-left: 0; }
.legend__bar { width: 18px; height: 12px; vertical-align: -1px; border-radius: 0; background: var(--blue); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.crest { border-color: var(--line-strong); }
.statlist .pts { color: var(--blue); }

/* Nyheter: platta, utan kort */
.news-card { background: transparent; box-shadow: none; border-radius: 0; }
.news-card__body { padding: 14px 0 0; }
.news-card--lead .news-card__body { padding: 16px 0 0; }
.news-card__media { border-radius: 0; }
.news-grid { gap: 28px 24px; }

/* Spelprogram */
.fx-group__title { border-bottom: 4px solid var(--navy); padding-left: 0; }
.fx { border-bottom: 0; }
.fx-group__list .fx:nth-child(odd) { background: var(--zebra); }
.fx--next { box-shadow: inset 6px 0 0 var(--gold); }
.fx__time, .fx__score { border-radius: 0; clip-path: var(--slant-sm); font-style: italic; padding: 6px 14px; }
.fx__score.is-live { background: var(--gold-btn); }

/* Klipp och klubbar */
.clips { border-radius: 0; }
.clip__media { border-radius: 0; }
.clip__play { border-radius: 0; clip-path: var(--slant-sm); width: 56px; }
.clip__duration { border-radius: 0; }
.club { border-radius: 0; border: 0; background: var(--zebra); }
a.club:hover { background: var(--ice-hover); }

/* Matchsidan */
.match-body { margin-top: 0; padding-top: 32px; }
.match-hero .wrap { padding-bottom: 48px; }
.match-card { padding: 0; }
.match-card__title { padding-bottom: 12px; border-bottom: 4px solid var(--navy); font-size: 32px; }
.match-hero__status { border-radius: 0; clip-path: var(--slant-sm); padding: 4px 18px; font-style: italic; }
.tl { border-bottom: 0; }
.tl:nth-child(even) { background: var(--zebra); }
.tl--period { border-radius: 0; background: transparent; }
.tl__badge { border-radius: 0; clip-path: var(--slant-sm); font-style: italic; padding: 4px 12px; }
.stat__fill { border-radius: 0; }
.lineup__list li { border-bottom: 0; }
.lineup__list li:nth-child(odd) { background: var(--zebra); }
.att-stat { border-radius: 0; }
.att-top a { border-bottom: 0; }
.att-top li:nth-child(odd) a { background: var(--zebra); }
.pagination .page-numbers { border-radius: 0; background: var(--zebra); }
.pagination .page-numbers.current { background: var(--navy); color: var(--white); }
.pagination .current { clip-path: var(--slant-sm); }

@media (max-width: 720px) {
	.section-title, .section-title--sm { font-size: 38px; }
	.chip { width: 146px; }
	.chip__inner { padding: 8px 22px; }
	.tab { min-height: 44px; }
	.page-card { padding: 0; }
}
.chip__status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-toggle { border-radius: 0; }
@media (max-width: 720px) { .chip__status { font-size: 12px; letter-spacing: .06em; } }

/* Meny: håll den på en rad; byt till mobilmeny tidigare om den inte får plats */
@media (min-width: 1241px) {
	.site-nav .menu { flex-wrap: nowrap; gap: 4px 22px; }
	.site-nav .menu a { white-space: nowrap; font-size: 16px; letter-spacing: .06em; }
}
@media (max-width: 1240px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--navy-line);
		background: transparent; color: var(--on-dark); cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 8px var(--gutter) 24px; background: var(--navy); border-top: 1px solid var(--navy-line);
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
	.site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { left: 0; right: auto; width: 48px; bottom: -2px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; }
	.site-nav .btn { align-self: flex-start; }
}

/* Guldmarkering före rubriker (från skiss 2) – tjock linje flyttas till innehållet */
.section-title, .clips__title, .match-card__title, .sub-title {
	display: flex; align-items: center; gap: .28em;
}
.section-title::before, .clips__title::before, .match-card__title::before, .sub-title::before {
	content: ""; flex: none; width: .54em; height: .66em; background: var(--gold);
	clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%);
}
.section-head { padding-bottom: 0; border-bottom: 0; margin-bottom: 20px; align-items: center; }
.section-head--tight { padding: 0; }
.home-table .section-head { margin-bottom: 12px; }
.home-table .standings { border-top: 4px solid var(--navy); }
.home-news .news-grid { margin-top: 0; }
.match-card__title { padding-bottom: 0; border-bottom: 0; }

/* Mobilmeny utan linjer: luft och storlek i stället, guldmarkering på aktivt val */
@media (max-width: 1240px) {
	.nav-toggle { border: 0; width: 48px; height: 48px; margin-right: -10px; }
	.nav-toggle svg { width: 28px; height: 28px; }
	.site-nav { border-top: 0; padding-top: 16px; padding-bottom: 32px; }
	.site-nav .menu a {
		display: flex; align-items: center; gap: 12px;
		padding: 11px 0; border-bottom: 0; font-size: 26px; letter-spacing: .04em;
	}
	.site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after,
	.site-nav .current-menu-ancestor > a::after { display: none; }
	.site-nav .current-menu-item > a::before, .site-nav .current_page_item > a::before {
		content: ""; flex: none; width: 14px; height: 18px; background: var(--gold);
		clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%);
	}
	.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: #FFFFFF; }
	.site-nav .sub-menu { padding: 0 0 8px 0; }
	.site-nav .sub-menu a { padding: 7px 0; font-size: 18px; color: var(--on-dark-3, #9FB2CC); }
	.site-nav .btn { margin-top: 12px; }
}

/* Spelprogram grupperat per dag – ingen datumkolumn, ingen guldkant */
.fx-group + .fx-group { margin-top: 28px; }
.fx-group__title {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 0 0 10px; border-bottom: 4px solid var(--navy);
	font-weight: 800; font-style: italic; font-size: 24px; letter-spacing: .02em; color: var(--ink);
}
.fx-group__tag {
	flex: none; padding: 3px 14px; background: var(--gold); color: var(--navy);
	clip-path: var(--slant-sm); font-size: 14px; letter-spacing: .08em;
}
.fx, .fx--next { grid-template-columns: 1fr 240px; box-shadow: none; }
@media (max-width: 720px) {
	.fx { grid-template-columns: 1fr; grid-template-areas: "teams" "meta"; row-gap: 6px; padding: 14px 12px; }
	.fx__teams { gap: 6px 12px; }
	.fx__meta { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
	.fx__venue { flex: 1 1 auto; flex-basis: auto; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fx__link { flex: none; min-height: 40px; }
	.fx-group__title { font-size: 21px; }
}
/* Horisontella listor: dölj rullningslisten (klipp) */
.clips__track, .clips__list, .ticker__track { scrollbar-width: none; }
.clips__track::-webkit-scrollbar, .clips__list::-webkit-scrollbar, .ticker__track::-webkit-scrollbar { display: none; }

/* Mobilgenomgång */
.tl__badge { width: 64px; min-width: 64px; padding-left: 0; padding-right: 0; }
.tl__badge--pen { background: var(--gold) !important; color: var(--navy); }
.hero-stat { border: 0; border-radius: 0; background: rgba(255, 255, 255, .07); clip-path: var(--slant-sm); padding: 12px 24px; }
@media (max-width: 720px) {
	.tabs--scroll, .tabs { flex-wrap: wrap; overflow: visible; }
	.tabs .tab { flex: 1 1 auto; }
}
/* Innehåll från gamla sidbyggaren */
.prose h1, .prose h2 { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; color: var(--ink); }
.prose h1 { font-size: 36px; }
.prose h2 { font-size: 30px; }
.prose h3 { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose td, .prose th { border-bottom: 0; }
.prose tbody tr:nth-child(odd) > * { background: var(--zebra); }
.prose img[src=""], .prose img:not([src]) { display: none; }
.prose .vc_box_border_grey, .prose .vc_box_shadow, .prose .vc_box_rounded { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
@media (max-width: 720px) {
	.prose h1 { font-size: 30px; }
	.prose h2 { font-size: 26px; }
	.prose { font-size: 16px; }
}
/* En tjock linje: på innehållet, inte under flikraden */
.card__bar { border-bottom: 0; padding-bottom: 20px; }
.page-card .standings { border-top: 4px solid var(--navy); }
.fx-group__title > span:first-child { white-space: nowrap; }
@media (max-width: 720px) {
	.fx-group__title { font-size: 19px; }
	.fx-group__tag { font-size: 12px; padding: 3px 12px; }
	.hero-stats { display: grid; grid-template-columns: auto 1fr; }
	.hero-stat { padding: 10px 20px; }
	.hero-stat__value { font-size: 22px; }
}

/* Vit grund (TablePress-fixen gjorde bakgrunden isblå så att zebran försvann) */
html body { background: var(--white); }

/* Hela matchraden klickbar – stor pil i stället för "Matchinfo" */
.fx { position: relative; grid-template-columns: 1fr 240px 44px; background: var(--white); }
.fx-group__list .fx:nth-child(odd) { background: var(--zebra); }
.fx__go { display: flex; align-items: center; justify-content: center; align-self: stretch; color: var(--blue); }
.fx__go::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fx__go svg { width: 26px; height: 26px; transition: transform .15s; }
.fx .fx__link { position: relative; z-index: 2; }
.fx--link:hover { background: var(--ice-hover) !important; }
.fx--link:hover .fx__go svg { transform: translateX(4px); }
.fx__go:focus-visible { outline: 0; }
.fx--link:has(.fx__go:focus-visible) { outline: 3px solid var(--gold-btn); outline-offset: -3px; }
@media (max-width: 720px) {
	.fx { grid-template-columns: 1fr 32px; grid-template-areas: "teams go" "meta go"; column-gap: 8px; }
	.fx__go { grid-area: go; }
	.fx__go svg { width: 24px; height: 24px; }
	.fx__meta { justify-content: flex-start; }
}

/* Klipp: liten länk till höger om rubriken i stället för stor knapp */
.clips__head { flex-wrap: nowrap; align-items: flex-end; }
.clips__more { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.clips__more:hover { color: #FFFFFF; }
.clips__more svg { width: 18px; height: 18px; transition: transform .15s; }
.clips__more:hover svg { transform: translateX(3px); }
@media (max-width: 720px) {
	.clips__title { font-size: 28px; }
	.clips__more { font-size: 14px; min-height: 36px; }
}

/* Lagfilter: lika hög som flikarna, platt, egen pil */
.filter select {
	-webkit-appearance: none; appearance: none;
	height: 48px; padding: 0 44px 0 16px; border: 0; border-radius: 0;
	background: var(--zebra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23001D5A' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 16px center;
	font: 600 16px var(--font-body); color: var(--ink); cursor: pointer;
}
.filter select:hover { background-color: var(--ice-hover); }
.filter > span { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.tab { min-height: 48px; }
@media (max-width: 720px) {
	.card__bar { gap: 10px; }
}
@media (max-width: 720px) {
	.fx { grid-template-areas: "teams go" "meta meta"; }
}
.match-grid--solo { grid-template-columns: 1fr; }
.match-grid--solo .match-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* Egen pil (sned, fylld) – pilen på matchraden centreras mot tiden */
.fx__go svg { width: 28px; height: 28px; }
.fx__teams { align-self: center; }
.fx__go { align-self: center; height: 100%; }
@media (max-width: 720px) {
	.fx__go { align-self: stretch; }
}
/* Mindre sektionsrubriker på mobil */
@media (max-width: 720px) {
	.section-title, .section-title--sm, .clips__title { font-size: 30px; }
	.match-card__title { font-size: 26px; }
	.section-head { margin-bottom: 16px; }
}

/* Rak, kantig pil (alt. B) – rak ikon även i sneda knappar */
.icon--arrow { flex: none; }
.ticker__arrow { display: inline-flex; align-items: center; justify-content: center; }
.ticker__arrow svg { width: 20px; height: 20px; }
.ticker__all { display: inline-flex; align-items: center; gap: 5px; }
.ticker__all svg, .more svg { width: 13px; height: 13px; }
.post-nav a, .page-numbers { display: inline-flex; align-items: center; gap: 6px; }
.fx__go svg { width: 24px; height: 24px; }
/* Sektionsrubriker lite mindre även på dator */
.section-title, .section-title--sm, .clips__title { font-size: 40px; }
@media (max-width: 720px) {
	.section-title, .section-title--sm, .clips__title { font-size: 30px; }
}
/* Riktiga klubbmärken: ingen cirkel/ram */
.crest.crest--img { border: 0; background: transparent; border-radius: 0; box-shadow: none; }
/* Klubbmärken i resultatbandet */
.chip .crest--xs { display: inline-flex; width: 22px; height: 22px; }
.chip .crest--xs:not(.crest--img) { background: #FFFFFF; color: var(--navy); font-style: normal; }
.chip__team { gap: 8px; }
/* Överrader (omgång/arena, serie): större och ljus i stället för små guldbokstäver */
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--on-dark-2, #DCE6F2); }
.match-hero__meta { font-size: 17px; }
@media (max-width: 720px) {
	.eyebrow { font-size: 14px; letter-spacing: .06em; }
	.match-hero__meta { font-size: 14px; line-height: 1.4; }
}
/* Sidfot: logga + copyright på en rad, ingen meny, ingen linje */
.site-footer__inner { align-items: center; padding-top: 40px; padding-bottom: 40px; }
.site-footer__copy { font-size: 14px; color: var(--on-dark-3); }

/* Tabell: tydligare siffror, inget blekt */
.standings tbody td { color: var(--ink); font-weight: 600; font-size: 17px; }
.standings tbody .team__name { font-weight: 600; color: var(--ink); }
.standings .c-pos.is-tied, .standings .is-idle td:not(.c-pos) { color: var(--ink); }
.standings .is-idle .pts { color: var(--ink); }
.standings .c-diff { font-weight: 600; }
.standings .c-diff.is-plus { color: #127A3E; font-weight: 700; }
.standings .c-goals { font-weight: 500; }
.standings thead th { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink); opacity: .75; }
.standings tbody td, .standings tbody th { height: 54px; }
.standings--compact tbody td, .standings--compact tbody th { height: 48px; font-size: 16px; }
.standings .pts { font-size: 22px; font-weight: 800; color: var(--ink); }
@media (max-width: 720px) {
	.standings tbody td, .standings tbody th { height: 50px; font-size: 16px; }
}
.standings .c-goals { font-weight: 600; }
.form__item { border-radius: 0; clip-path: var(--slant-sm); width: 28px; font-style: italic; }
.form__item--none { clip-path: none; border: 0; background: transparent; color: var(--ink); opacity: .5; }

/* ================= KLUBBAR ================= */
.crest--sm { width: 28px; height: 28px; font-size: 10px; }
.crest--lg { width: 56px; height: 56px; font-size: 15px; }
.crest--xxl { width: 140px; height: 140px; font-size: 36px; border: 0; }
.team--link { color: inherit; text-decoration: none; }
.team--link:hover .team__name { text-decoration: underline; }
a.match-hero__team { color: inherit; text-decoration: none; }
a.match-hero__team:hover .match-hero__name { text-decoration: underline; text-underline-offset: 4px; }

/* Översikt */
.club-grid-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 6px; }
.club-tile { display: grid; grid-template-columns: 88px 1fr 28px; align-items: center; gap: 18px; padding: 18px 20px; background: var(--zebra); color: var(--ink); text-decoration: none; min-height: 112px; }
.club-tile:hover { background: var(--ice-hover); color: var(--ink); }
.club-tile__crest { display: flex; justify-content: center; }
.club-tile__crest .crest--xl { width: 76px; height: 76px; font-size: 20px; background: var(--white); }
.club-tile__crest .crest--img { background: transparent; }
.club-tile__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.club-tile__name { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.club-tile__meta { font-size: 14px; color: var(--muted); }
.club-tile__go { color: var(--blue); display: flex; }
.club-tile__go svg { width: 22px; height: 22px; transition: transform .15s; }
.club-tile:hover .club-tile__go svg { transform: translateX(4px); }

/* Klubbsida – topp */
.club-hero { background: var(--navy-2); color: var(--on-dark); }
.club-hero__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding-top: 48px; padding-bottom: 32px; }
.club-hero__crest .crest--xxl:not(.crest--img) { background: var(--white); color: var(--navy); }
.club-hero__title { margin: 6px 0 0; font-size: clamp(40px, 6vw, 76px); line-height: .95; color: var(--white); }
.club-hero__official { margin: 10px 0 0; color: var(--on-dark-3); font-size: 15px; }
.club-hero__rank { display: flex; align-items: center; gap: 14px; padding: 14px 30px; background: rgba(255,255,255,.07); clip-path: var(--slant); color: var(--on-dark); text-decoration: none; }
.club-hero__rank:hover { background: rgba(255,255,255,.12); color: var(--on-dark); }
.club-hero__rank-pos { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); }
.club-hero__rank-txt { font-size: 14px; line-height: 1.4; color: var(--on-dark-2); }
.club-tabs { padding-bottom: 0; gap: 2px; }
.club-tabs .tab { background: rgba(255,255,255,.07); color: var(--on-dark-2); }
.club-tabs .tab[aria-selected="true"] { background: var(--gold); color: var(--navy); }
.club-tabs .tab__count { background: rgba(255,255,255,.15); color: inherit; }
.club-tabs .tab[aria-selected="true"] .tab__count { background: rgba(0,29,90,.15); }

.club-body { padding-top: 40px; padding-bottom: 72px; }
.club-panel > * + * { margin-top: 48px; }

/* Senaste/nästa match */
.cmc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cmc { display: flex; flex-direction: column; gap: 14px; padding: 22px 26px; background: var(--zebra); color: var(--ink); text-decoration: none; }
.cmc:hover { background: var(--ice-hover); color: var(--ink); }
.cmc__label { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 18px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.cmc__label::before { content: ""; width: 12px; height: 16px; background: var(--gold); clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%); }
.cmc__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.cmc__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.2; }
.cmc__score, .cmc__time { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 34px; padding: 4px 18px; background: var(--navy); color: var(--white); clip-path: var(--slant-sm); white-space: nowrap; }
.cmc__time { background: var(--white); color: var(--navy); }
.cmc__meta { text-align: center; font-size: 14px; color: var(--muted); }

.club-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.club-table .is-me > * { background: #FFF3D6 !important; }
.club-table .is-me .team__name { font-weight: 800; }

/* Lagets bästa */
.club-leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 4px solid var(--navy); padding-top: 6px; }
.cl { background: var(--zebra); padding: 14px 16px 16px; }
.cl__title { margin: 0 0 10px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 16px; text-transform: uppercase; color: var(--muted); }
.cl__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cl__list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.cl__list li.is-first { font-size: 16px; }
.cl__list li.is-first .cl__val { color: var(--blue); font-size: 22px; }
.cl__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl__val { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 18px; line-height: 1; }

/* Om klubben */
.club-about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; border-top: 4px solid var(--navy); padding-top: 24px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.news-grid--three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Trupp */
.squad { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; border-top: 4px solid var(--navy); }
.squad thead th { padding: 12px 8px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .75; text-align: center; }
.squad thead .sq-name { text-align: left; }
.squad td, .squad tbody th { padding: 0 8px; height: 52px; text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.squad tbody tr:nth-child(even):not(.squad__group) > * { background: var(--zebra); }
.squad__group th { height: auto !important; padding: 22px 8px 8px !important; text-align: left !important; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 18px; text-transform: uppercase; color: var(--ink); background: transparent !important; }
.sq-no { width: 64px; }
.sq-no span { display: inline-flex; justify-content: center; min-width: 40px; padding: 3px 8px; background: var(--navy); color: var(--white); clip-path: var(--slant-sm); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 17px; }
.squad .sq-name { text-align: left; }
.sq-player { display: inline-flex; align-items: center; gap: 8px; }
.sq-flag { font-size: 18px; line-height: 1; }
.sq-pos { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.sq-n { width: 64px; }
.sq-pts { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 20px !important; }
.staff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; border-top: 4px solid var(--navy); padding-top: 6px; }
.staff li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--zebra); }
.staff__role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.staff__name { font-weight: 700; font-size: 16px; }

/* Matcher */
.club-matches { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.club-matches > * + * { margin-top: 0; }
.cm-list { border-top: 4px solid var(--navy); }
.cm { display: grid; grid-template-columns: 96px 26px 1fr auto 28px; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px; color: var(--ink); text-decoration: none; }
.cm:nth-child(odd) { background: var(--zebra); }
.cm:hover { background: var(--ice-hover); color: var(--ink); }
.cm__date { font-size: 14px; font-weight: 600; white-space: nowrap; }
.cm__dow { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; text-transform: uppercase; }
.cm__ha { display: inline-flex; justify-content: center; width: 24px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; color: var(--muted); }
.cm__opp { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; }
.cm__opp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm__res { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 18px; padding: 3px 12px; clip-path: var(--slant-sm); white-space: nowrap; background: var(--navy); color: var(--white); }
.cm__res--v { background: #127A3E; }
.cm__res--f { background: #B3261E; }
.cm__res--o { background: #5B6576; }
.cm__res--time { background: var(--white); color: var(--navy); }
.cm__res--muted { background: var(--line); color: var(--muted); font-size: 14px; }
.cm__go { color: var(--blue); display: flex; }
.cm__go svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
	.club-hero__inner { grid-template-columns: auto 1fr; }
	.club-hero__rank { grid-column: 1 / -1; justify-self: start; }
	.club-grid, .club-about__grid, .club-matches { grid-template-columns: 1fr; }
	.club-matches > * + * { margin-top: 40px; }
	.news-grid--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.club-grid-list { grid-template-columns: 1fr; }
	.club-tile { grid-template-columns: 64px 1fr 22px; min-height: 88px; padding: 14px 16px; gap: 14px; }
	.club-tile__crest .crest--xl { width: 56px; height: 56px; font-size: 15px; }
	.club-tile__name { font-size: 20px; }
	.club-hero__inner { gap: 18px; padding-top: 32px; padding-bottom: 20px; }
	.crest--xxl { width: 84px; height: 84px; font-size: 22px; }
	.club-hero__title { font-size: 38px; }
	.club-hero__rank { padding: 10px 24px; }
	.club-hero__rank-pos { font-size: 44px; }
	.club-tabs { flex-wrap: nowrap; }
	.club-tabs .tab { flex: 1 1 0; padding: 0 10px; }
	.cmc-row { grid-template-columns: 1fr; }
	.cmc { padding: 18px 16px; }
	.cmc__score, .cmc__time { font-size: 26px; padding: 3px 12px; }
	.cmc__team { font-size: 13px; }
	.club-leaders { grid-template-columns: 1fr; }
	.news-grid--three { grid-template-columns: 1fr; }
	.cm { grid-template-columns: 70px 20px 1fr auto; gap: 8px; padding: 6px 8px; }
	.cm__go { display: none; }
	.cm__date { font-size: 13px; }
	.squad td, .squad tbody th { padding: 0 4px; font-size: 15px; height: 50px; }
	.sq-no { width: 46px; }
	.sq-no span { min-width: 34px; font-size: 15px; }
	.sq-n { width: 38px; }
	.squad thead th { padding: 10px 4px; font-size: 12px; letter-spacing: .04em; }
}
/* Publiklistor: luft inne i raderna */
.att-top { padding-left: 0; padding-right: 0; }
.att-top a { padding: 12px 20px; grid-template-columns: 80px 1fr auto; }
.att-top__n { font-style: italic; }
@media (max-width: 720px) { .att-top a { padding: 10px 14px; grid-template-columns: 60px 1fr; } }
.club-table { border-top: 4px solid var(--navy); }
/* Sidtopp på undersidor: mindre titel, luftigare, lägre yta, nedtonad säsong */
.page-hero__inner { padding-top: 40px; padding-bottom: 40px; }
.page-hero__title { margin: 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: .015em; line-height: 1; }
.page-hero__season { color: var(--sky); }
.page-card-wrap { padding-top: 32px; }
@media (max-width: 720px) {
	.page-hero__inner { padding-top: 28px; padding-bottom: 28px; }
	.page-hero__title { font-size: 36px; }
}
/* Mobilmeny: täcker hela skärmen, sidan bakom låst, undersidor indragna */
@media (max-width: 1240px) {
	.nav-open .site-nav { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); overflow-y: auto; box-sizing: border-box; }
	html.nav-lock, html.nav-lock body { overflow: hidden; }
	.site-nav .sub-menu { padding-left: 26px; }
	.site-nav .menu > li + li { margin-top: 2px; }
}

/* ================= INFOSIDOR (Om, Marknad) ================= */
.info-body { padding-top: 40px; padding-bottom: 80px; }
.info-body > * + * { margin-top: 56px; }
.info-lead { max-width: 860px; }
.info-lead__big { margin: 0; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.info-lead__text { margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: var(--text); }
.info-lead .btn { margin-top: 24px; }
.info-facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.info-facts li { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; background: var(--navy-2); color: var(--on-dark); clip-path: var(--slant); }
.info-facts__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 52px; line-height: 1; color: var(--gold-btn); }
.info-facts__l { font-size: 15px; color: var(--on-dark-2); }

.info-rules__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; border-top: 4px solid var(--navy); padding-top: 24px; }
.zones-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zones-legend li { display: flex; align-items: baseline; gap: 12px; }
.zl { flex: none; width: 18px; height: 14px; clip-path: var(--slant-sm); transform: translateY(1px); }
.zl--up, .zones__row--up .zones__pos { background: var(--gold-btn); }
.zl--q-up, .zones__row--q-up .zones__pos { background: #F4D58C; }
.zl--q-down, .zones__row--q-down .zones__pos { background: #E9B7B3; }
.zl--down, .zones__row--down .zones__pos { background: #C0392B; color: #fff; }
.zones { list-style: none; margin: 0; padding: 0; }
.zones__row { display: grid; grid-template-columns: 44px 1fr auto 48px; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px 0 0; }
.zones__row:nth-child(odd) { background: var(--zebra); }
.zones__pos { align-self: stretch; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 18px; }
.zones__team { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; min-width: 0; }
.zones__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zones__team:hover span { text-decoration: underline; }
.zones__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.zones__pts { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; text-align: right; }

.info-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-dates__title { margin: 0 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; color: var(--ink); padding-bottom: 10px; border-bottom: 4px solid var(--navy); }
.info-dates__title span { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 14px; text-transform: none; color: var(--muted); }
.mini-fx { list-style: none; margin: 0; padding: 0; }
.mini-fx li:nth-child(odd) a { background: var(--zebra); }
.mini-fx a { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 4px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.mini-fx a:hover { background: var(--ice-hover) !important; }
.mini-fx__team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-fx__team--home { justify-content: flex-end; text-align: right; }
.mini-fx__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-fx__mid { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 16px; padding: 2px 10px; background: var(--navy); color: var(--white); clip-path: var(--slant-sm); white-space: nowrap; }

.link-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; border-top: 4px solid var(--navy); padding-top: 6px; }
.link-tiles a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 0 22px; background: var(--zebra); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; }
.link-tiles a:hover { background: var(--ice-hover); color: var(--ink); }
.link-tiles svg { color: var(--blue); width: 20px; height: 20px; transition: transform .15s; }
.link-tiles a:hover svg { transform: translateX(4px); }

.value-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-top: 4px solid var(--navy); padding-top: 6px; }
.value-tiles li { padding: 24px 22px; background: var(--zebra); }
.value-tiles h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 21px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.value-tiles h3::before { content: ""; flex: none; width: 12px; height: 16px; background: var(--gold-btn); clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%); }
.value-tiles p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.crest-strip { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; border-top: 4px solid var(--navy); }
.crest-strip a { display: flex; transition: transform .15s; }
.crest-strip a:hover { transform: translateY(-3px); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 40px 44px; background: var(--navy-2); color: var(--on-dark); }
.cta__title { margin: 0; font-size: clamp(28px, 3vw, 40px); color: var(--white); line-height: 1; }
.cta__text { margin: 10px 0 0; color: var(--on-dark-2); }
.cta__btn { flex: none; }

@media (max-width: 960px) {
	.info-facts, .value-tiles { grid-template-columns: 1fr 1fr; }
	.info-rules__grid, .info-dates { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.info-body > * + * { margin-top: 44px; }
	.info-lead__text { font-size: 17px; }
	.info-facts li { padding: 16px 20px; }
	.info-facts__v { font-size: 40px; }
	.value-tiles { grid-template-columns: 1fr; }
	.zones__tag { display: none; }
	.zones__row { grid-template-columns: 40px 1fr 44px; }
	.mini-fx a { font-size: 13px; padding: 4px 8px; gap: 6px; }
	.cta { padding: 28px 22px; }
	.link-tiles a { min-height: 60px; font-size: 19px; }
}
/* ASF */
.purpose { margin: 56px 0 0; padding: 30px 36px; background: var(--zebra); border-left: 0; position: relative; }
.purpose::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--gold-btn); }
.purpose__label { display: block; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 16px; text-transform: uppercase; color: var(--muted); }
.purpose p { margin: 8px 0 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; font-weight: 600; color: var(--ink); max-width: 900px; }
.info-prose { border-top: 4px solid var(--navy); padding-top: 20px; max-width: 860px; }
.info-prose + .crest-strip { border-top: 0; padding-top: 24px; }
.section-title__sub { color: var(--muted); font-size: .6em; margin-left: .3em; }
.person-grid { list-style: none; margin: 0; padding: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 6px; border-top: 4px solid var(--navy); }
.person-card { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; background: var(--zebra); min-width: 0; }
.person-card__role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.person-card__name { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; color: var(--ink); line-height: 1.1; margin-bottom: 6px; }
.person-card__line { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.person-card__line:hover { text-decoration: underline; }
/* Mobil: långa sidtitlar och rubrikrader får plats */
.section-head { flex-wrap: wrap; }
@media (max-width: 720px) {
	.page-hero__title { font-size: clamp(26px, 8vw, 36px); overflow-wrap: anywhere; }
	.purpose { padding: 22px 20px 22px 26px; }
}

/* ---------- Dropdown på desktop: platt, utan ram och rundning ---------- */
@media (min-width: 1241px) {
	.site-nav .sub-menu { background: var(--navy-2); border: 0; border-radius: 0; padding: 6px 0; box-shadow: 0 12px 24px rgba(0,0,0,.25); min-width: 240px; }
	.site-nav .sub-menu a { position: relative; padding: 11px 20px; }
	.site-nav .sub-menu a::after { display: none; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: #fff; background: rgba(255,255,255,.05); }
	.site-nav .sub-menu .current-menu-item > a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; background: var(--gold-btn, #E9A21A); }
}

/* ---------- Partners: list ovanför sidhuvudet + sidfot ---------- */
.partner-bar { background: var(--header); }
.partner-bar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-height: 40px; }
.partner-bar__label { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.partner-bar__list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.partner-bar__list li { display: flex; }
.partner-bar__list a, .partner-bar__list span { display: flex; align-items: center; opacity: .82; transition: opacity .15s; }
.partner-bar__list a:hover { opacity: 1; }
.partner-bar__list img { display: block; height: auto; }
.partner-bar__list img[src*="bandyforbundet"] { opacity: 1; }
@media (max-width: 720px) {
	.partner-bar__inner { justify-content: center; gap: 16px; min-height: 36px; }
	.partner-bar__label { display: none; }
	.partner-bar__list { gap: 22px; }
}

.site-footer__inner { align-items: flex-end; }
.site-footer__partners { display: flex; flex-direction: column; gap: 18px; }
.site-footer__label { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin: 0; padding: 0; list-style: none; }
.partner-logos li { display: flex; }
.partner-logos a, .partner-logos span { display: flex; align-items: center; opacity: .9; transition: opacity .15s; }
.partner-logos a:hover { opacity: 1; }
.partner-logos img { display: block; height: auto; }
.site-footer__copy { flex-basis: 100%; }
@media (max-width: 720px) {
	.partner-logos { gap: 24px 36px; }
}
@media (max-width: 1240px) {
	.nav-open .site-nav { min-height: 0; height: calc(100vh - var(--nav-top, 100px)); height: calc(100dvh - var(--nav-top, 100px)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 720px) {
	.partner-logos { gap: 20px 26px; flex-wrap: nowrap; }
	.partner-logos img[src*="bandyforbundet"] { width: 56px; }
	.partner-logos img[src*="bury-fen"] { width: 116px; }
	.partner-logos img[src*="munana"] { width: 116px; }
}

/* Omgångsraden i mobil: mindre, linjerad med kortens lutande överkant */
@media (max-width: 720px) {
	.ticker__inner { padding-top: 14px; row-gap: 12px; }
	.ticker__label { padding-left: 12px; align-items: baseline; gap: 8px; }
	.ticker__round { font-size: 15px; letter-spacing: .02em; }
	.ticker__dates { font-size: 12px; }
	.ticker__all { font-size: 12px; }
}

/* ================= MATCHSIDA: snabbnavigering + hopfälld händelselista ================= */
.match-jump { position: sticky; top: 0; z-index: 15; background: var(--navy); }
.admin-bar .match-jump { top: 32px; }
.match-jump__inner { display: flex; gap: 2px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.match-jump__inner::-webkit-scrollbar { display: none; }
.match-jump__link {
	flex: none; padding: 9px 14px; background: rgba(255,255,255,.07); color: var(--on-dark-2);
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; white-space: nowrap; transition: background .15s, color .15s;
}
.match-jump__link:hover { color: var(--on-dark); background: rgba(255,255,255,.12); }
.match-jump__link.is-active { background: var(--gold); color: var(--navy); }
.match-card[id] { scroll-margin-top: 72px; }
.admin-bar .match-card[id] { scroll-margin-top: 104px; }
.timeline-more { display: none; }
@media (min-width: 1001px) {
	.match-jump__inner { gap: 4px; }
	.match-jump__link { padding: 10px 18px; font-size: 15px; }
	.match-card[id] { scroll-margin-top: 80px; }
}
@media (max-width: 782px) {
	.admin-bar .match-jump { top: 0; }
}
@media (max-width: 720px) {
	.match-jump__inner { padding-right: 0; }
	.match-jump__link { font-size: 13px; padding: 8px 12px; }
	.match-card.is-collapsed .timeline > .tl--expulsion { display: none; }
	.timeline-more {
		display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 14px; padding: 13px 16px;
		background: var(--zebra, #F0F5FA); color: var(--navy); border: 0; cursor: pointer;
		font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
	}
	.timeline-more:hover { background: var(--ice-hover); }
}
@media (max-width: 720px) {
	.match-hero__board { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
	.match-hero__name { font-size: clamp(17px, 5vw, 22px); line-height: 1.05; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
}

/* ================= TABELLZONER: färgad platsruta ================= */
:root { --z-up: #E9A21A; --z-qu: #F5DDA8; --z-qd: #F3CDC6; --z-dn: #B8382B; }
.zone--up { background: var(--z-up); }
.zone--qu { background: var(--z-qu); }
.zone--qd { background: var(--z-qd); }
.zone--dn { background: var(--z-dn); }
.standings--zones tbody .c-pos { text-align: center; padding-left: 0; padding-right: 0; }
.standings--zones tbody .c-pos.zone { background-clip: padding-box; color: var(--navy); }
.standings--zones tbody .c-pos.zone--dn { color: #fff; }
.standings--zones .is-leader .c-pos { color: var(--navy); }
.standings--zones .is-leader .c-pos::before { display: none; }
.standings--zones tbody .c-pos.zone--up { background: var(--z-up); }
.standings--zones tbody .c-pos.zone--qu { background: var(--z-qu); }
.standings--zones tbody .c-pos.zone--qd { background: var(--z-qd); }
.standings--zones tbody .c-pos.zone--dn { background: var(--z-dn); }
.standings--zones tbody .c-pos.is-tied.zone { color: var(--navy); }
.standings--zones tbody .c-pos.is-tied.zone--dn { color: #fff; }
.legend--zones { padding-top: 0; }
.zone-sw { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
/* Om-sidan: samma dämpade toner */
.zl--up, .zones__row--up .zones__pos { background: var(--z-up); }
.zl--q-up, .zones__row--q-up .zones__pos { background: var(--z-qu); }
.zl--q-down, .zones__row--q-down .zones__pos { background: var(--z-qd); }
.zl--down, .zones__row--down .zones__pos { background: var(--z-dn); color: #fff; }

/* ================= TABELL: form (räknas ur matcherna) ================= */
.standings .c-form { width: 150px; }
.standings thead .c-form { text-align: left; }
.form { display: inline-flex; gap: 3px; vertical-align: middle; }
.form__item { width: 22px; height: 22px; border-radius: 0; border: 0; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; line-height: 1; color: #fff; opacity: 1; }
.form__item--v { background: #1E7A3C; }
.form__item--o { background: #6F7C91; }
.form__item--f { background: #B8382B; }
.form__item--none { background: #D5DDE8; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); border: 0; opacity: 1; }
.team__code { display: none; }
.legend__form { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.legend__form .form__item { width: 16px; height: 16px; font-size: 10px; }
@media (max-width: 720px) {
	.standings:not(.standings--compact) .team > .team__name { display: none; }
	.standings:not(.standings--compact) .team__code { display: inline; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--ink); }
	.standings:not(.standings--compact) .team { gap: 8px; }
	.standings .c-form { width: auto; padding-left: 2px; padding-right: 2px; }
	.form { gap: 2px; }
	.form__item { width: 18px; height: 18px; font-size: 12px; }
}

/* Förbundet: huvudman, inte partner */
.federation { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark-2); }
.federation img { display: block; height: auto; }
.federation__name { font-size: 13px; font-weight: 600; }
.federation:hover .federation__name { color: var(--on-dark); text-decoration: underline; }
.partner-bar .federation { margin-right: auto; }
.partner-bar .federation__name { font-size: 12px; color: var(--on-dark-2); }
.site-footer__fed { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.site-footer__fed .federation__name { font-size: 15px; }
@media (max-width: 720px) {
	.partner-bar__inner { justify-content: space-between; }
	.partner-bar .federation__name { display: none; }
	.partner-bar .federation { margin-right: 0; }
}
.site-footer__fed .federation img { width: 48px; height: 48px; }
.partner-bar .federation img { width: 22px; height: 22px; }
.federation, .federation img { opacity: 1; }
.partner-bar .federation__name { color: var(--on-dark-2); }
.site-footer__fed { margin-top: 18px; }
.site-footer__fed .federation__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= SIDFOT: balans och luft ================= */
.partner-bar .federation__name { display: none; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 40px 64px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__brand { gap: 0; }
.site-footer__brand > a img, .site-footer__brand img[src*="logo-vit"] { height: 36px; width: auto; }
.site-footer__fed { margin-top: 28px; }
.site-footer__fed .federation img { width: 40px; height: 40px; }
.site-footer__partners { gap: 14px; align-items: flex-end; }
.site-footer__label { font-size: 12px; letter-spacing: .14em; }
.partner-logos { gap: 24px 44px; }
.partner-logos img[src*="bury-fen"] { width: 128px; height: auto; }
.partner-logos img[src*="munana"] { width: 132px; height: auto; }
.site-footer__copy { grid-column: 1 / -1; padding-top: 8px; font-size: 13px; color: var(--on-dark-3); }
@media (max-width: 720px) {
	.site-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 32px; }
	.site-footer__brand > a img, .site-footer__brand img[src*="logo-vit"] { height: 30px; }
	.site-footer__fed { margin-top: 22px; }
	.site-footer__fed .federation img { width: 36px; height: 36px; }
	.site-footer__partners { align-items: flex-start; }
	.partner-logos { gap: 20px 32px; }
	.partner-logos img[src*="bury-fen"] { width: 108px; }
	.partner-logos img[src*="munana"] { width: 112px; }
	.site-footer__copy { padding-top: 0; }
}
/* Förbundet i listan med övriga, utan rubrik */
.partner-bar__inner { justify-content: flex-end; }
.partner-bar__list .federation { opacity: 1; margin: 0; }
@media (max-width: 720px) {
	.partner-bar__inner { justify-content: center; }
}
@media (max-width: 720px) {
	.partner-bar__inner { justify-content: flex-end; }
}


/* ================= STATISTIKSIDAN ================= */
.stat-facts { margin-bottom: 28px; }
.stat-facts .info-facts__v { white-space: nowrap; }
.stat-tabs { align-items: center; }
.stat-tabs__group { flex: none; padding: 0 6px 0 2px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat-tabs__group:not(:first-child) { margin-left: 18px; }
.statlist .c-n { width: auto; min-width: 44px; white-space: nowrap; }
.statlist .c-wide { min-width: 84px; }
.statlist td.is-zero, .statlist .muted { color: var(--faint); }
.statlist .muted { font-size: 13px; }
.statlist .c-def { background-image: linear-gradient(#F3CDC6, #F3CDC6); background-size: 100% 3px; background-repeat: no-repeat; background-position: bottom; }
.statlist thead .c-def { color: #8A2A20; }
.statlist tbody .c-def { background: none; }
.statlist .c-reason { max-width: 110px; white-space: normal; line-height: 1.15; font-size: 12px; }
.statlist tbody .c-reason { font-size: 15px; }
.c-bar { width: 30%; }
.fp-bar { display: block; height: 10px; background: #B8382B; clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.stat-note { margin: 14px 12px 4px; font-size: 14px; color: var(--muted); }
.statlist .team__code { display: none; }
@media (max-width: 720px) {
	.stat-facts { grid-template-columns: repeat(2, 1fr); }
	.statlist .team > .team__name { display: none; }
	.statlist .team__code { display: inline; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 18px; }
	.statlist .player .team__name { display: block; }
	.statlist .c-n { min-width: 34px; }
	.stat-tabs__group { display: none; }
}
.stat-facts { margin-top: 0; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .stat-facts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .stat-facts { grid-template-columns: repeat(2, 1fr); } }
.table-more { margin-top: 40px; }
.table-more .link-tiles { margin-top: 0; }
@media (max-width: 720px) {
	.stat-facts { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); margin-bottom: 20px; }
	.stat-facts::-webkit-scrollbar { display: none; }
	.stat-facts li { flex: none; width: 152px; padding: 14px 18px; }
	.stat-facts .info-facts__v { font-size: 28px; }
	.stat-facts .info-facts__l { font-size: 13px; }
	.stat-tabs.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.stat-tabs.tabs::-webkit-scrollbar { display: none; }
	.stat-tabs .tab { flex: none; }
}
.statlist tfoot td, .statlist tfoot th { height: 52px; border-top: 2px solid var(--navy); background: #fff; font-weight: 700; }
.statlist tfoot th.c-team { padding-left: 12px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; text-align: left; }
.statlist tfoot .pts { color: var(--ink); }
.statlist .c-wide { min-width: 116px; }
.statlist tfoot .c-def { background: #fff; }
/* Hörnor: växel totalt / vänster-höger */
.seg { display: inline-flex; gap: 2px; margin: 0 0 14px; }
.seg button { padding: 8px 14px; border: 0; background: var(--zebra, #F0F5FA); color: var(--navy); cursor: pointer; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.statlist .c-split { display: none; }
.is-split .statlist .c-split { display: table-cell; }
.is-split .statlist .c-split.hide-s { display: table-cell; }
.statlist .c-def-first { box-shadow: inset 2px 0 0 #F3CDC6; }
.table-stats-link { }
@media (max-width: 720px) {
	.page-card .card__bar:has(.table-stats-link) { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
.table-stats-link { white-space: nowrap; }
@media (max-width: 720px) {
	.page-card .card__bar:has(.table-stats-link) { flex-wrap: nowrap; gap: 8px; }
	.card__bar:has(.table-stats-link) .tabs { flex: 0 1 auto; flex-wrap: nowrap; width: auto; }
	.card__bar:has(.table-stats-link) .tabs .tab { flex: none; padding-left: 12px; padding-right: 12px; }
	.table-stats-link { font-size: 13px; }
}
/* "Mer statistik" som fjärde ruta efter flikarna */
.table-stats-link.more {
	margin-left: 2px; align-self: stretch; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px;
	background: var(--zebra, #F0F5FA); color: var(--blue); text-decoration: none; white-space: nowrap;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
	clip-path: none; transition: background .15s, color .15s;
}
.table-stats-link.more svg { width: 14px; height: 14px; }
.table-stats-link.more:hover { background: var(--blue); color: #fff; text-decoration: none; }
.card__bar:has(.table-stats-link) { justify-content: flex-start; gap: 0; }
@media (max-width: 720px) {
	.table-stats-link.more { font-size: 13px; padding: 0 12px; gap: 5px; }
	.table-stats-link.more svg { width: 12px; height: 12px; }
}
.table-stats-link.more { text-transform: none; letter-spacing: 0; font-size: 16px; }
@media (max-width: 720px) {
	.page-card .card__bar:has(.table-stats-link) { gap: 0; }
	.table-stats-link.more { font-size: 15px; }
}
/* "Mer statistik" som ren textlänk efter flikarna */
.table-stats-link.more { background: none; padding: 0 0 0 18px; color: var(--blue); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 16px; text-transform: none; letter-spacing: .01em; }
.table-stats-link.more:hover { background: none; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.table-stats-link.more svg { width: 14px; height: 14px; transition: transform .15s; }
.table-stats-link.more:hover svg { transform: translateX(3px); }
@media (max-width: 720px) {
	.table-stats-link.more { padding-left: 14px; font-size: 15px; }
}

/* ================= HÖRNOR: grupperad tabell ================= */
.corners .c-s { display: none; }
.is-split .corners .c-s { display: table-cell; }
.is-split .corners .c-t { display: none; }
.corners .corners__sides { display: none; }
.is-split .corners .corners__sides { display: table-row; }
.corners thead tr.corners__groups th { padding: 4px 6px 8px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-align: center; border-bottom: 3px solid #E9A21A; }
.corners thead tr.corners__groups th:first-child { border-bottom: 0; }
.corners thead tr.corners__groups th.g-def { border-bottom-color: #B8382B; color: #8A2A20; }
.corners thead tr.corners__sides th { padding: 8px 6px 2px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.corners .g-first { box-shadow: inset 2px 0 0 #DCE4EE; }
.corners .g-def.g-first.c-t, .corners .corners__groups .g-def.g-first, .is-split .corners .g-def.g-first { }
.corners td.c-goal { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 19px; }
.corners thead th.g-def { color: #8A2A20; }
.corners td.c-n, .corners th.c-n { min-width: 52px; }
/* tydligare gräns mellan anfall och försvar */
.corners th.g-def.g-first, .corners td.g-def.g-first { box-shadow: inset 3px 0 0 #F3CDC6; }
.is-split .corners .corners__sides th:nth-child(3) { box-shadow: inset 2px 0 0 #DCE4EE; }
.is-split .corners .corners__sides th:nth-child(4) { box-shadow: inset 3px 0 0 #F3CDC6; }
@media (max-width: 720px) {
	.corners td.c-n, .corners th.c-n { min-width: 40px; }
	.corners thead tr.corners__groups th { font-size: 12px; }
}
/* Växeln till höger ovanför tabellen */
[data-split-toggle].seg { display: flex; width: fit-content; margin-left: auto; }
/* Lagstatistik: många kolumner – tätare */
#panel-lag .statlist .c-n { min-width: 38px; padding-left: 4px; padding-right: 4px; }
#panel-lag .statlist .c-wide { min-width: 78px; }
#panel-lag .statlist thead th { font-size: 12px; letter-spacing: .06em; }
#panel-lag .statlist .muted { font-size: 12px; }
#panel-lag .statlist .team__name { max-width: 190px; }
/* Hörnor: lugnare färger – bara blått och grått */
.corners thead tr.corners__groups th,
.corners thead tr.corners__groups th.g-def { color: var(--navy); border-bottom: 2px solid var(--navy); }
.corners thead tr.corners__groups th:first-child { border-bottom: 0; }
.corners thead th.g-def, .statlist thead .c-def { color: var(--muted); }
.corners .g-first,
.is-split .corners .corners__sides th:nth-child(3) { box-shadow: inset 1px 0 0 #DCE4EE; }
.corners th.g-def.g-first, .corners td.g-def.g-first,
.is-split .corners .corners__sides th:nth-child(4) { box-shadow: inset 2px 0 0 #B9C6D6; }
.corners thead tr.corners__groups th.g-def.g-first { box-shadow: none; }
.corners thead tr.corners__groups th.g-att.g-first { box-shadow: none; }

/* ================= STATISTIK: ny struktur ================= */
.stat-bar { align-items: center; }
.stat-seg.tabs { display: grid; grid-template-columns: repeat(4, minmax(120px, auto)); gap: 2px; }
.stat-seg .tab { font-size: 17px; letter-spacing: .03em; text-transform: uppercase; min-height: 48px; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 18px; }
.stat-chips .tab { min-height: 36px; padding: 0 14px; border: 1px solid #C9D3DF; background: #fff; color: var(--navy); font: 600 14px var(--font-body); font-style: normal; clip-path: none; border-radius: 0; }
.stat-chips .tab:hover { border-color: var(--blue); color: var(--blue); }
.stat-chips .tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; clip-path: none; padding: 0 14px; }
.statlist .c-hidden { display: none; }

/* Ledarkort */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 28px; }
.leader__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 0; margin-bottom: 10px; }
.leader__head h3 { margin: 0; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.leader__head a { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.leader__head a svg { width: 12px; height: 12px; }
.leader__top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--navy-2); color: #fff; }
.leader__top .crest { width: 40px; height: 40px; background: none; }
.leader__who { min-width: 0; }
.leader__who b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader__who small { display: block; font-size: 12px; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 36px; line-height: 1; color: var(--gold-btn, #E9A21A); }
.leader__list { list-style: none; margin: 4px 0 0; padding: 0; counter-reset: ld 1; }
.leader__list li { counter-increment: ld; display: grid; grid-template-columns: 22px 24px 1fr auto; gap: 8px; align-items: center; padding: 7px 6px; font-size: 15px; }
.leader__list li::before { content: counter(ld); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 16px; color: var(--muted); text-align: center; }
.leader__list li:nth-child(odd) { background: var(--zebra); }
.leader__list .crest { width: 24px; height: 24px; }
.leader__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.leader__val { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; }

/* Målminuter */
.minchart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 170px; align-items: end; margin: 6px 0 28px; }
.minchart__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.minchart__bar { display: block; width: 100%; min-height: 3px; background: var(--blue); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.minchart__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; }
.minchart__l { font-size: 12px; color: var(--muted); }
.statlist td.c-min b { display: block; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; line-height: 1.05; }
.statlist td.c-min .muted { display: block; font-size: 12px; line-height: 1.1; }

/* Disciplin: orsak */
.statlist .c-reason-t { text-align: left; font-size: 14px; white-space: nowrap; }

/* Rekord */
.records { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--navy); }
.records__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 12px; color: var(--ink); text-decoration: none; }
.records li:nth-child(odd) .records__row { background: var(--zebra); }
a.records__row:hover .records__t { color: var(--blue); text-decoration: underline; }
.records__k { grid-column: 1 / -1; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.records__t { font-weight: 600; font-size: 16px; }
.records__v { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 28px; color: var(--blue); white-space: nowrap; }

/* Utfällbara rader: bara mobil */
.statlist .c-exp { display: none; }
.statlist .row-detail { display: none; }
@media (max-width: 720px) {
	.stat-seg.tabs { grid-template-columns: repeat(4, 1fr); width: 100%; }
	.stat-seg .tab { font-size: 14px; padding: 0 4px; min-height: 44px; }
	.stat-bar { flex-direction: column; align-items: stretch; gap: 10px; }
	.stat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px calc(-1 * var(--gutter, 16px)) 14px 0; padding-right: var(--gutter, 16px); }
	.stat-chips::-webkit-scrollbar { display: none; }
	.stat-chips .tab { flex: none; }
	.leaders { grid-template-columns: 1fr; gap: 22px; }
	.statlist .c-exp { display: table-cell; width: 22px; padding: 0 4px 0 0; color: var(--blue); text-align: center; }
	.statlist tbody .c-exp::after { content: "›"; font-size: 22px; font-weight: 700; display: inline-block; transition: transform .15s; }
	.statlist tr.is-open .c-exp::after { transform: rotate(90deg); }
	.statlist tr[data-expand] { cursor: pointer; }
	.statlist .row-detail:not([hidden]) { display: table-row; }
	.statlist .row-detail td { padding: 0 8px 12px; background: var(--zebra); height: auto; }
	.row-detail__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin: 0; padding: 10px 6px 2px; }
	.row-detail__list div { min-width: 0; }
	.row-detail__list dt { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
	.row-detail__list dd { margin: 2px 0 0; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; color: var(--ink); }
	.row-detail__list dd .muted { font-size: 12px; font-family: var(--font-body); font-weight: 500; }
	.minchart { height: 130px; gap: 6px; }
	.minchart__l { font-size: 10px; }
	.records__v { font-size: 22px; }
	.statlist td.c-min b { font-size: 16px; }
	#panel-minuter .statlist .c-n { min-width: 34px; padding-left: 2px; padding-right: 2px; }
}
@media (max-width: 1080px) and (min-width: 721px) {
	.leaders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.statlist td.c-wide .muted { display: block; font-size: 12px; line-height: 1.1; }
	.statlist td.c-wide { line-height: 1.15; }
	#panel-minuter .statlist thead th { font-size: 10px; letter-spacing: 0; padding-left: 1px; padding-right: 1px; }
	#panel-minuter .statlist .c-n { min-width: 0; width: 13%; }
	#panel-minuter .statlist .c-team { width: auto; }
	#panel-minuter .statlist .crest { width: 22px; height: 22px; }
}
.records__k { grid-column: 1; grid-row: 1; }
.records__t { grid-column: 1; grid-row: 2; }
.records__v { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 720px) {
	.statlist td.c-wide .pts { display: inline-block; }
}
.records a.records__row, .records a.records__row span { text-decoration: none; color: inherit; }
.records a.records__row .records__v { color: var(--blue); }
.records a.records__row:hover .records__t { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* Ledarkort: nollställ sidbyggarens rubrikstil */
.leader .leader__head h3 { background: none !important; color: var(--ink) !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.leader .leader__head a { color: var(--blue) !important; }
@media (max-width: 720px) {
	#panel-malvakter .statlist .team__name, #panel-malvakter .statlist .player__team { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}
/* Hörnor: alla vänster/höger-linjer tunna, bara anfall|försvar tydlig */
.corners .g-first,
.corners th.g-def.g-first, .corners td.g-def.g-first,
.is-split .corners .corners__sides th:nth-child(3),
.is-split .corners .corners__sides th:nth-child(4) { box-shadow: inset 1px 0 0 #DCE4EE; }
.corners .g-block, .corners th.g-block, .corners td.g-block,
.is-split .corners .corners__sides th.g-block { box-shadow: inset 3px 0 0 #8FA3BC !important; }
.corners thead tr.corners__groups th { box-shadow: none !important; }
#panel-forlopp .statlist thead th { white-space: normal; line-height: 1.2; max-width: 120px; }

/* ================= MÅLMINUTER v2 ================= */
.minchart { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; height: auto; align-items: stretch; margin: 8px 0 36px; }
.minchart__half { display: flex; flex-direction: column; gap: 12px; }
.minchart__title { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); padding-bottom: 6px; }
.minchart__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; height: 190px; align-items: end; }
.minchart__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.minchart__bar { position: relative; display: flex; align-items: flex-start; justify-content: center; width: 100%; max-width: 92px; min-height: 30px; background: var(--blue); }
.minchart__pct { padding-top: 8px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 20px; color: #fff; line-height: 1; }
.minchart__l { margin-top: 6px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 14px; color: var(--ink); }
.minchart__n { font-size: 12px; color: var(--muted); }
.minchart__v { display: none; }

/* Per lag: blå upp = gjorda, grå ned = insläppta */
.statlist td.c-min { padding-top: 6px; padding-bottom: 6px; }
.statlist .c-half { box-shadow: inset 2px 0 0 #DCE4EE; }
.mm { display: inline-grid; grid-template-rows: 20px auto 20px; justify-items: center; width: 34px; }
.mm__up, .mm__dn { position: relative; width: 14px; height: 20px; }
.mm__up i, .mm__dn i { position: absolute; left: 0; right: 0; display: block; }
.mm__up i { bottom: 0; background: var(--blue); }
.mm__dn i { top: 0; background: #B9C6D6; }
.mm__n { display: flex; gap: 4px; align-items: baseline; font-size: 12px; line-height: 1.3; }
.mm__n b { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 14px; color: var(--ink); }
.mm__n span { color: var(--muted); }
.statlist td.c-min b, .statlist td.c-min .muted { display: inline; }
@media (max-width: 720px) {
	.minchart { grid-template-columns: 1fr 1fr; gap: 14px; }
	.minchart__bars { gap: 6px; height: 150px; }
	.minchart__pct { font-size: 14px; padding-top: 6px; }
	.minchart__title { font-size: 12px; }
	.minchart__l { font-size: 12px; }
	.minchart__n { font-size: 10px; }
	.minchart__bar { clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
	.mm { width: 26px; }
	.mm__up, .mm__dn { width: 10px; }
	.mm__n b { font-size: 12px; }
}
/* Minidiagram per lag och kvart */
.mm { display: inline-grid; grid-template-rows: auto 26px 26px auto; justify-items: center; width: 40px; gap: 0; }
.mm__f { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; line-height: 1.1; color: var(--ink); margin-bottom: 3px; }
.mm__f.is-zero { color: var(--faint); }
.mm__a { font-size: 12px; line-height: 1.1; color: var(--muted); margin-top: 3px; }
.mm__up, .mm__dn { position: relative; width: 22px; height: 26px; }
.mm__up { border-bottom: 1px solid var(--navy); }
.mm__up i { bottom: 0; background: var(--blue); }
.mm__dn i { top: 0; background: #C3CEDB; }
.mm__n { display: none; }
@media (max-width: 720px) {
	.mm { width: 30px; grid-template-rows: auto 20px 20px auto; }
	.mm__up, .mm__dn { width: 14px; height: 20px; }
	.mm__f { font-size: 13px; }
}

/* ================= REKORD som kort ================= */
.records { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 0; }
.records li { display: flex; }
.records__row, .records li:nth-child(odd) .records__row { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 18px 20px 20px; background: var(--zebra); border-top: 4px solid var(--navy); }
.records__k { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.records__v { order: 2; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; color: var(--blue); }
.records__t { order: 3; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.records a.records__row:hover { background: var(--ice-hover); }
@media (max-width: 1080px) { .records { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
	.records { grid-template-columns: 1fr; gap: 8px; }
	.records__row, .records li:nth-child(odd) .records__row { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "v k" "v t"; gap: 2px 14px; align-items: center; padding: 14px 16px; border-top-width: 3px; }
	.records__k { grid-area: k; align-self: end; font-size: 12px; }
	.records__t { grid-area: t; align-self: start; font-size: 14px; }
	.records__v { grid-area: v; font-size: 30px; }
}
.records__v { align-self: flex-start; text-align: left; }
.records__v small { font-size: .45em; font-style: normal; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
@media (max-width: 720px) {
	.records__v { align-self: center; }
	.records__v small { display: block; font-size: 12px; margin-top: 2px; }
}
/* Finputs efter genomgång */
.statlist tbody .c-exp::after { color: #A9B6C7; font-weight: 400; }
.statlist tr.is-open .c-exp::after { color: var(--blue); }
.leader__head h3 { font-size: 18px !important; }
.leader__head { flex-wrap: wrap; row-gap: 2px; }
.statlist .c-reason-t { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
	.stat-facts li { width: 132px; padding: 10px 14px; }
	.stat-facts .info-facts__v { font-size: 24px; }
	.stat-facts .info-facts__l { font-size: 12px; }
	.stat-facts { margin-bottom: 14px; }
}
.records__t { font-weight: 400; color: #3B4A60; }
.records__k { color: var(--navy); }
/* Samma hovereffekt på huvudflikar och underflikar */
.stat-seg .tab { transition: background .15s, color .15s; }
.stat-seg .tab[aria-selected="false"]:hover { background: var(--ice-hover); color: var(--navy); }
.stat-chips .tab { transition: background .15s, color .15s, border-color .15s; }
.stat-chips .tab[aria-selected="false"]:hover { background: var(--ice-hover); border-color: #C9D3DF; color: var(--navy); }

/* ================= KLUBBSIDA: säsongen i siffror ================= */
.club-season { margin-top: 48px; }
.cs-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cs-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; background: var(--zebra); border-top: 4px solid var(--navy); }
.cs-tile__k { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.cs-tile__v { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 38px; line-height: 1.05; color: var(--blue); }
.cs-tile__r { font-size: 14px; color: var(--ink); }
.cs-tile__r b { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 17px; }
.cs-tile.is-top .cs-tile__r b { color: var(--gold-text); }
.cs-tile__d { font-size: 12px; color: var(--muted); }
.cs-min { margin-top: 28px; }
.cs-min__title { margin: 0 0 10px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.cs-min__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 640px; }
.cs-min__col { display: grid; grid-template-rows: auto 48px 48px auto auto; justify-items: center; }
.cs-min__col.is-half { box-shadow: inset 2px 0 0 #DCE4EE; }
.cs-min__up, .cs-min__dn { position: relative; width: 34px; height: 48px; }
.cs-min__up { border-bottom: 1px solid var(--navy); }
.cs-min__up i, .cs-min__dn i { position: absolute; left: 0; right: 0; display: block; }
.cs-min__up i { bottom: 0; background: var(--blue); }
.cs-min__dn i { top: 0; background: #C3CEDB; }
.cs-min__f { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 17px; }
.cs-min__a { font-size: 12px; color: var(--muted); }
.cs-min__l { margin-top: 4px; font-size: 12px; color: var(--muted); }
.cs-min__legend { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.cs-min__legend .sw { display: inline-block; width: 12px; height: 12px; margin-right: -8px; }
.sw--f { background: var(--blue); }
.sw--a { background: #C3CEDB; }
.cs-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 0; }
.cs-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--navy); color: #fff; text-decoration: none; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; clip-path: var(--slant); transition: background .15s; }
.cs-link + .cs-link { background: var(--zebra); color: var(--navy); }
.cs-link:hover { background: var(--blue); color: #fff; }
.cs-link svg { width: 14px; height: 14px; }
@media (max-width: 1080px) { .cs-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
	.cs-tile { padding: 12px 14px 14px; }
	.cs-tile__v { font-size: 30px; }
	.cs-tile__k { font-size: 12px; }
	.cs-min__up, .cs-min__dn { width: 22px; height: 36px; }
	.cs-min__col { grid-template-rows: auto 36px 36px auto auto; }
	.cs-min__l { font-size: 10px; }
	.cs-links { flex-direction: column; align-items: stretch; }
	.cs-link { justify-content: center; }
}

/* Startsidan: topplistor */
.leaders--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) and (min-width: 721px) {
	.leaders--home.leaders--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.leaders--home { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); }
	.leaders--home::-webkit-scrollbar { display: none; }
	.leaders--home .leader { scroll-snap-align: start; }
}
.home-leaders, .leaders--home { min-width: 0; }
.leaders--home { position: relative; }

.stat-bar .filter.is-off { visibility: hidden; }
@media (max-width: 720px) {
	.stat-bar .filter.is-off { display: none; }
}

/* Matchsidan mobil: hela ord, smalare mitt */
@media (max-width: 720px) {
	.match-hero__board { gap: 8px; }
	.match-hero__name { font-size: 15px; line-height: 1.15; text-transform: none; overflow-wrap: normal; word-break: normal; hyphens: manual; }
	.match-hero__status { white-space: normal; text-align: center; max-width: 118px; font-size: 12px; line-height: 1.25; padding: 5px 10px; }
}

/* Klubbsidan: målminuter + länkar bredvid varandra på dator */

@media (min-width: 900px) {
	.cs-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
	.cs-bottom .cs-links { flex-direction: column; align-items: stretch; margin: 0; }
	.cs-bottom .cs-link { justify-content: space-between; }
}
.cs-min { background: var(--zebra); padding: 16px 18px 14px; }
.cs-min__grid { max-width: none; gap: 0; }
.cs-min__up, .cs-min__dn { width: 100%; }
.cs-min__up i, .cs-min__dn i { left: 50%; right: auto; width: 56%; max-width: 64px; transform: translateX(-50%); }
.cs-min__col.is-half { box-shadow: inset 2px 0 0 #D3DCE8; }
@media (min-width: 900px) {
	.cs-bottom { grid-template-columns: 3fr 1fr; gap: 8px; align-items: stretch; margin-top: 8px; }
	.cs-bottom .cs-min { margin-top: 0; }
	.cs-bottom .cs-links { justify-content: flex-end; gap: 10px; }
}

/* Infosidor: linjen under rubriken i full bredd, texten smal */
.info-prose { max-width: none; }
.info-prose > * { max-width: 860px; }
/* Personkort: bryt e-post vid @, större tryckytor */
.person-card__line { overflow-wrap: normal; word-break: normal; padding: 3px 0; display: inline-block; }
.person-card__line .nw { white-space: nowrap; }

/* 404 + sökformulär */
.nf__lead { font-size: 18px; margin: 0 0 18px; }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form__field { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 2px solid #D3DCE8; border-radius: 0; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.search-form__field:focus { outline: none; border-color: var(--blue); }
.search-form__btn { min-height: 48px; padding: 0 22px; border: 0; cursor: pointer; }
.nf__links { margin-top: 28px; }

/* Statistiktabeller: randning från JS (synliga rader) */
.statlist.is-striped tbody tr > * { background: transparent; }
.statlist.is-striped tbody tr.is-z > * { background: var(--zebra); }
.minchart__n { margin-top: 2px; }
.minchart__n b { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 20px; color: var(--ink); margin-right: 2px; }
@media (max-width: 720px) {
	.minchart__n b { font-size: 16px; }
}

/* Klubbsidans flikar: samma formspråk som övriga flikar, inverterat på mörk botten */
.club-tabs .tab { background: rgba(255,255,255,.08); color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .03em; font-size: 16px; transition: background .15s, color .15s; }
.club-tabs .tab[aria-selected="false"]:hover { background: rgba(255,255,255,.16); color: #fff; }
.club-tabs .tab[aria-selected="true"] { background: #fff; color: var(--navy); clip-path: var(--slant-sm); }
.club-tabs .tab__count { background: rgba(255,255,255,.14); color: inherit; }
.club-tabs .tab[aria-selected="true"] .tab__count { background: var(--zebra); color: var(--navy); }
@media (max-width: 720px) {
	.club-tabs .tab { font-size: 14px; }
}

.statlist .h-s { display: none; }
@media (max-width: 720px) {
	.statlist .h-l { display: none; }
	.statlist .h-s { display: inline; }
}

/* Inga tjocka mörkblå avdelarstreck – block skiljs åt av luft och bakgrund */
.section-head, .card__bar, .fx-group__title, .match-card__title, .info-dates__title, .minchart__title { border-bottom: 0; }
.home-table .standings, .page-card .standings, .club-leaders, .club-about__grid, .squad, .staff, .cm-list, .club-table,
.info-rules__grid, .link-tiles, .value-tiles, .crest-strip, .info-prose, .person-grid, .records,
.records__row, .records li:nth-child(odd) .records__row { border-top: 0; }
.statlist tfoot td, .statlist tfoot th { border-top: 2px solid #D3DCE8; }
.card__bar { padding-bottom: 12px; }


/* ==========================================================================
   Grafisk profil – normalisering (se /grafisk-profil/)
   ========================================================================== */
/* Primära flikar: en stil överallt – versaler, kursiv, 700 */
.tabs:not(.chips) .tab { font-family: var(--font-body); font-style: italic; font-weight: 700; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }
.tabs:not(.chips) .tab[aria-selected="false"]:hover { background: var(--ice-hover); color: var(--navy); }
.club-tabs .tab[aria-selected="false"]:hover { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 720px) {
	.tabs:not(.chips) .tab { font-size: 14px; }
}
/* Etiketter: en stil – smal versal 13 px */
.zones__tag, .person-card__role { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
/* Rutnät av rutor: 6 px mellanrum */
.cs-tiles, .cs-bottom { gap: 6px; }
@media (min-width: 900px) { .cs-bottom { margin-top: 6px; } }

/* ---------- Grafisk profil (/grafisk-profil/) ---------- */
.gp-body { display: flex; flex-direction: column; gap: 64px; padding-top: 32px; padding-bottom: 72px; }
.gp-toc { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-toc a { padding: 10px 16px; background: var(--zebra); color: var(--navy); font-weight: 700; font-style: italic; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.gp-toc a:hover { background: var(--ice-hover); }
.gp-lead { max-width: 760px; margin: 14px 0 24px; font-size: 19px; color: var(--text); }
.gp-h3 { margin: 32px 0 12px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--ink); }
.gp-h3 code { font-style: normal; font-size: 15px; text-transform: none; }
.gp-small { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.gp code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--muted); }
.gp-principles { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: gp; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.gp-principles li { counter-increment: gp; padding: 18px 20px 20px; background: var(--zebra); font-size: 15px; color: var(--text); }
.gp-principles li::before { content: counter(gp); display: block; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 32px; line-height: 1; color: var(--blue); margin-bottom: 6px; }
.gp-principles b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 16px; }
.gp-swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.gp-sw { display: flex; flex-direction: column; background: var(--zebra); }
.gp-sw__chip { height: 72px; box-shadow: inset 0 0 0 1px rgba(0,29,90,.08); }
.gp-sw__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; font-size: 13px; color: var(--muted); }
.gp-sw__body b { font-size: 15px; color: var(--ink); }
.gp-swatches--sm .gp-sw__chip { height: 40px; }
.gp-type { display: flex; flex-direction: column; }
.gp-type__row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 16px 0; }
.gp-type__row:nth-child(odd) { background: var(--zebra); padding-left: 16px; padding-right: 16px; }
.gp-type__row:nth-child(even) { padding-left: 16px; padding-right: 16px; }
.gp-type__meta { font-size: 13px; color: var(--muted); }
.gp-sample { font-size: 17px; color: var(--text); }
.gp-sample--hero { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 64px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.gp-sample--hero .page-hero__season { color: var(--blue); }
.gp-sample--card { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--ink); }
.gp-sample--lead { font-size: 19px; }
.gp-sample--name { font-weight: 600; color: var(--ink); }
.gp-sample--meta { font-size: 14px; color: var(--muted); }
.gp-type .section-title { margin: 0; }
.gp-rules { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 860px; font-size: 16px; color: var(--text); }
.gp-rules--tight { margin: 0; gap: 8px; font-size: 15px; }
.gp-do, .gp-dont { display: inline-block; min-width: 58px; padding: 1px 8px; margin-right: 6px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; clip-path: var(--slant-sm); text-align: center; }
.gp-do { background: #1E7A3C; }
.gp-dont { background: #B8382B; margin-top: 6px; }
.gp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.gp-card { padding: 20px; background: var(--zebra); }
.gp-card--white { background: #fff; }
.gp-card--dark { background: var(--navy-2); color: var(--on-dark); }
.gp-card--dark .gp-small { color: var(--on-dark-2); }
.gp-card .section-head { margin-bottom: 8px; }
.gp-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gp-card .stat-chips { margin: 0; }
.gp-card .tabs + .gp-small { margin-top: 18px; }
.gp-tiles { grid-template-columns: repeat(4, 1fr); }
.gp-leaders { grid-template-columns: repeat(2, minmax(0, 360px)); }
.gp-fx { background: #fff; }
.gp-table { border-collapse: collapse; width: 100%; max-width: 620px; font-size: 16px; }
.gp-table th, .gp-table td { padding: 12px 16px; text-align: left; }
.gp-table th { font-weight: 600; color: var(--ink); }
.gp-table td { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; color: var(--ink); text-align: right; }
.gp-table tr:nth-child(odd) > * { background: var(--zebra); }
.gp .section-head + .gp-small { margin-top: 12px; }
@media (max-width: 900px) {
	.gp-grid2 { grid-template-columns: 1fr; }
	.gp-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.gp-body { gap: 48px; padding-top: 20px; }
	.gp-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); }
	.gp-toc::-webkit-scrollbar { display: none; }
	.gp-toc a { flex: none; font-size: 14px; }
	.gp-type__row { grid-template-columns: 1fr; gap: 6px; }
	.gp-sample--hero { font-size: 40px; }
	.gp-leaders { grid-template-columns: 1fr; }
	.gp-swatches { grid-template-columns: repeat(2, 1fr); }
	.gp-lead { font-size: 17px; }
}
@media (max-width: 720px) {
	.card__bar .tabs:not(.chips):not(.stat-seg) .tab { padding: 0 11px; letter-spacing: .02em; }
	.table-stats-link.more { padding-left: 10px; }
}
@media (max-width: 380px) {
	.card__bar .tabs:not(.chips):not(.stat-seg) .tab { padding: 0 9px; font-size: 13px; }
	.table-stats-link.more { font-size: 14px; padding-left: 8px; }
}

/* Bråk + andel: andelen alltid under siffran, oavsett kolumn och skärm */
.statlist td.c-wide { line-height: 1.15; }
.statlist td.c-wide .muted { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; line-height: 1.1; }
.statlist td.c-wide .pts { display: inline-block; }

/* Visningsval (nivå 3): brytare direkt ovanför tabellen, till vänster */
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: 12px 0 4px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 15px var(--font-body); color: var(--ink); }
.switch__ui { position: relative; flex: none; width: 46px; height: 26px; background: #C3CEDB; transition: background .15s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; transition: transform .15s; }
.switch[aria-checked="true"] .switch__ui { background: var(--blue); }
.switch[aria-checked="true"] .switch__ui::after { transform: translateX(20px); }
.switch:hover .switch__ui { background: #A9B8CB; }
.switch[aria-checked="true"]:hover .switch__ui { background: var(--blue-dark); }
/* Sekundära siffror (insläppta) minst 14 px, dämpade men läsbara */
.mm__a { display: block; margin-top: 4px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; line-height: 1.1; color: var(--muted); }
.cs-min__a { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 15px; color: var(--muted); }

/* Detaljrad med grupper (t.ex. Överläge / Underläge): en rad per grupp */
@media (max-width: 720px) {
	.row-detail__group.has-label { display: block; padding: 10px 6px 6px; }
	.row-detail__group.has-label + .row-detail__group.has-label { border-top: 1px solid #DCE4EE; }
	.row-detail__group.has-label .row-detail__list { padding: 0; }
	.row-detail__gh { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--ink); }
}

/* Svephint för breda tabeller */
.scroll-wrap { position: relative; }
.scroll-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; background: linear-gradient(to right, rgba(255,255,255,0), #fff 85%); pointer-events: none; opacity: 0; transition: opacity .2s; }
.scroll-wrap.can-scroll:not(.at-end)::after { opacity: 1; }
.scroll-hint { display: none; width: fit-content; margin: 0 0 8px auto; align-items: center; gap: 6px; padding: 4px 10px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; clip-path: var(--slant-sm); pointer-events: none; opacity: 0; transition: opacity .2s; }
.scroll-hint::after { content: "→"; font-style: normal; }
.scroll-hint { align-items: center; gap: 6px; }
.scroll-wrap.can-scroll .scroll-hint { display: flex; }
.scroll-wrap.can-scroll:not(.at-end):not(.scrolled) .scroll-hint { opacity: 1; }
.scroll-wrap.can-scroll.at-end .scroll-hint, .scroll-wrap.can-scroll.scrolled .scroll-hint { opacity: .35; }
@media (max-width: 720px) {
	.row-detail__list div { display: flex; flex-direction: column; justify-content: flex-end; }
}
/* Laguppställning: luft på båda sidor i de randiga raderna */
.lineup__list li { padding: 8px 14px 8px 8px; }

/* BandyPlay-knappen: BandyPlays egen symbol i vår guldknapp */
.btn--bandyplay { gap: 10px; padding-left: 16px; }
.btn--bandyplay .bp-symbol { flex: none; width: 28px; height: 28px; }
@media (max-width: 720px) {
	.btn--bandyplay .bp-symbol { width: 24px; height: 24px; }
}
/* Matchklockan */
[data-live-status].is-clock { font-variant-numeric: tabular-nums; }

/* BandyPlay i toppraden, till höger om förbundet (helt namn på dator, bara symbolen på mobil) */
.partner-bar__sep { width: 1px; height: 18px; background: rgba(255,255,255,.22); align-self: center; }
.partner-bar__list .bp-link { opacity: 1; display: flex; align-items: center; min-height: 36px; }
.partner-bar__list .bp-link:hover { opacity: .85; }
.bp-link .bp-full { width: auto; height: 22px; }
.bp-link .bp-mini { display: none; width: 26px; height: 26px; }
@media (max-width: 720px) {
	.bp-link .bp-full { display: none; }
	.bp-link .bp-mini { display: block; }
	.partner-bar__list { gap: 18px; }
}

/* Märken som bara är mörka linjer (Mölndal) blir vita på mörk botten */
.ticker .crest--molndal-bandy, .leader__top .crest--molndal-bandy,
.clips .crest--molndal-bandy, .site-footer .crest--molndal-bandy,
.cta .crest--molndal-bandy { filter: brightness(0) invert(1); }

/* BandyPlay (alt. B): på dator sist i menyn som hel logga, på mobil som symbol i toppraden */
.nav-bp { display: flex; align-items: center; margin-left: 30px; padding: 6px 0; opacity: .95; transition: opacity .15s; }
.nav-bp:hover { opacity: 1; }
.nav-bp img { display: block; width: auto; height: 30px; }
@media (max-width: 1080px) {
	.bp-link .bp-full { display: none; }
	.bp-link .bp-mini { display: block; }
}
/* Toppraden: jämna avstånd, alla märken ungefär lika höga visuellt */
.partner-bar__list { gap: 28px; }
.bp-link .bp-full { height: 23px; }
@media (max-width: 720px) {
	.partner-bar__list { gap: 20px; }
}

/* Nedräkning */
.match-hero__countdown { font-size: 14px; font-weight: 600; color: var(--on-dark-2); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ticker__countdown { display: block; margin-top: 2px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
	.match-hero__countdown { font-size: 12px; }
}
@media (max-width: 720px) {
	.ticker__countdown { margin-top: 0; white-space: nowrap; }
	.ticker__label .ticker__all { white-space: nowrap; margin-left: auto; }
}
/* Loggan centreras på bokstäverna, inte på stjärnan som sticker upp över A:et */
.site-logo img { transform: translateY(-9.4%); }

/* Nedräkning i matchhuvudet: rutor Dagar · Tim · Min · Sek */
.cd-boxes { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.cd-boxes[hidden] { display: none; }
.cd-u { display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 6px 5px 4px; background: rgba(255,255,255,.07); }
.cd-u[hidden] { display: none; }
.cd-u b { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; font-size-adjust: var(--display-adjust); }
.cd-u small { margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-2); }
.cd-boxes.is-zero .cd-u b { color: var(--gold); }
@media (max-width: 720px) {
	.cd-boxes { gap: 4px; margin-top: 14px; }
	.cd-u { min-width: 44px; padding: 5px 4px 4px; }
	.cd-u b { font-size: 22px; }
	.cd-u small { font-size: 12px; letter-spacing: .02em; }
}

/* Säsongen i siffror i rubrikytan (statistiksidan): ljust på mörkt, utan rutor */
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 13px; color: var(--on-dark-3); }
@media (max-width: 720px) {
	.hero-facts { width: 100%; flex-wrap: nowrap; gap: 20px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); }
	.hero-facts::-webkit-scrollbar { display: none; }
	.hero-facts li { flex: none; }
	.hero-facts b { font-size: 24px; }
	.hero-facts span { font-size: 12px; }
}

/* Mobilmenyn: föräldern är redan en länk, dölj undervalet som pekar på samma sida */
@media (max-width: 1080px) {
	.site-nav .menu-item--same-as-parent { display: none; }
}

/* Säsongsväljare (Tabell, Matcher, Statistik) */
.season-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 18px; }
.season-nav__pick select { min-width: 170px; }
.season-nav__parts { margin: 0; }
.season-nav__parts a.tab { display: inline-flex; align-items: center; text-decoration: none; }
.season-note { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.season-group + .season-group { margin-top: 32px; }
.season-group__title { margin: 0 0 10px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; color: var(--navy); }
@media (max-width: 720px) {
	.season-nav { gap: 10px; margin-bottom: 14px; }
	.season-nav__pick { width: 100%; }
	.season-nav__pick select { flex: 1; }
	.season-nav__parts { width: 100%; margin: 0 calc(-1 * var(--gutter, 16px)) 0 0; }
}
.fx-panel > .season-group__title { margin: 28px 0 4px; padding: 8px 14px; background: var(--navy-2); color: #fff; font-size: 20px; }
.fx-panel > .season-group__title:first-child { margin-top: 0; }


/* ==========================================================================
   Profil C (18 okt 2026): originalloggan + #003DA6
   Header och toppremsa i huvudfärgen, ytor i den mörka tonen, kort i huvudfärgen.
   ========================================================================== */
.site-header { background: var(--header); }
.match-jump { background: var(--header); }
.match-jump__link { background: rgba(255,255,255,.1); }
.match-jump__link:hover { background: rgba(255,255,255,.18); }

/* Loggan: Bandyallsvenskans stående originallogga, oförändrad.
   Dator: står över både toppremsan och menyraden. Mobil: i menyraden. */
.site-header__inner { position: relative; }
.site-logo img, .site-logo .site-logo__img { transform: none; height: 56px; width: auto; }
@media (min-width: 1241px) {
	.site-header__inner { padding-left: 220px; justify-content: flex-end; }
	/* Header H2: loggan (84 px) centrerad i hela det blå fältet (toppremsa 40 + menyrad 72 = 112 px).
	   Menyn högerställd i underkant: menytexten i linje med nederkanten av ALLSVENSKAN,
	   streck (aktiv sida och hovring) i höjd med loggans stjärnor. Sponsorerna fria överst. */
	.site-header__inner { min-height: 72px; align-items: flex-end; padding-bottom: 26px; }
	.site-logo { position: absolute; left: var(--gutter); top: -26px; bottom: auto; z-index: 25; }
	.site-logo .site-logo__img { height: 84px; }
	.site-nav { gap: 26px; }
	.site-nav .menu { align-items: flex-end; }
	.site-nav .menu > li > a { padding: 4px 0; line-height: 1; }
	.site-nav .current-menu-item > a::after,
	.site-nav .current-menu-ancestor > a::after,
	.site-nav .current_page_item > a::after { bottom: -9px; }
	.partner-bar__bp { display: none !important; }
}
@media (max-width: 1240px) {
	.site-header__inner { min-height: 68px; }
	.site-logo .site-logo__img { height: 50px; }
	.site-nav { background: var(--header); }
}
@media (max-width: 720px) {
	.site-logo .site-logo__img { height: 46px; }
	.site-header__inner { min-height: 64px; }
}
.site-footer__brand > a img.site-footer__logo { height: 84px; width: auto; }
@media (max-width: 720px) { .site-footer__brand > a img.site-footer__logo { height: 70px; } }

/* Grafisk profil: logotypsektionen */
.gp-logos { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gp-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 240px; padding: 32px 20px 20px; }
.gp-logo img { display: block; width: auto; height: 110px; }
.gp-logo span { font-size: 13px; font-weight: 600; text-align: center; }
.gp-logo--blue { background: var(--header); color: var(--on-dark-2); }
.gp-logo--dark { background: var(--navy); color: var(--on-dark-2); }
.gp-logo--white { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .gp-logos { grid-template-columns: 1fr; } .gp-logo { min-height: 200px; } .gp-logo img { height: 90px; } }

/* Menyn: vita länkar på huvudfärgen. Aktivt val markeras med guldstrecket, hover med ett ljust streck. */
.site-nav .menu > li > a { color: #fff; }
@media (min-width: 1241px) {
	.site-nav .menu > li:not(.current-menu-item):not(.current_page_item):not(.current-menu-ancestor) > a:hover::after {
		content: ""; position: absolute; left: -4px; right: -4px; bottom: -9px; height: 4px;
		background: var(--gold-btn); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
	}
}
@media (max-width: 1240px) { .site-nav .sub-menu a { color: var(--on-dark-2); } }

/* Ljusare mitt på sidan: ledarkortens etta i huvudfärgen.
   Mörka tonen bär rubrikytor, matchband, BandyPlay-blocket och sidfot. */
.leader__top { background: var(--blue); }


/* ==========================================================================
   Mörkt eller isblått (profil 18 okt)
   Mörkt (#001D5A) där det händer: matchbandet, omgången, BandyPlay, faktarutor, sidfot.
   Isblått (#EEF3FA) med stora A:et där man läser och orienterar sig:
   sidrubriker, matchhuvud och klubbhuvud. Klubbmärkena syns bättre på ljust.
   ========================================================================== */
:root { --ice-surface: #EEF3FA; --ice-line: #C9D6EA; }
.page-hero, .match-hero, .club-hero {
	background-color: var(--ice-surface);
	background-image: url("../img/a-stor.svg");
	background-repeat: no-repeat;
	background-position: right max(-80px, calc((100vw - 1240px) / 2 - 160px)) center;
	background-size: auto 150%;
	color: var(--ink);
	--on-dark: var(--ink);
	--on-dark-2: var(--text);
	--on-dark-3: var(--muted);
	--navy-line: var(--ice-line);
}
.match-hero { background-size: auto 130%; }
@media (max-width: 720px) {
	.page-hero, .match-hero, .club-hero { background-position: right -90px center; background-size: auto 140%; }
}
.page-hero__title, .club-hero__title, .match-hero__name { color: var(--ink); }
.page-hero__season { color: var(--blue); }
.page-hero .eyebrow, .club-hero .eyebrow, .match-hero__meta { color: var(--ink); }
.hero-facts b { color: var(--ink); }
.hero-facts span { color: var(--muted); }
.hero-stat { background: #fff; }

/* Matchhuvudet */
.match-hero__score, .match-hero__dash { color: var(--ink); }
.match-hero__kickoff { color: var(--blue); }
.match-hero__status { background: var(--blue); color: #fff; }
.match-hero__status--live { background: var(--gold-btn); color: var(--navy); }
.match-hero__countdown { color: var(--text); }
.cd-u { background: #fff; }
.cd-u b { color: var(--ink); }
.cd-u small { color: var(--muted); }
.cd-boxes.is-zero .cd-u b { color: var(--blue); }

/* Klubbhuvudet */
.club-hero__rank { background: #fff; color: var(--ink); }
.club-hero__rank:hover { background: var(--ice-hover); color: var(--ink); }
.club-hero__rank-pos { color: var(--blue); }
.club-tabs .tab { background: rgba(0,29,90,.06); color: var(--text); }
.club-tabs .tab[aria-selected="false"]:hover { background: rgba(0,29,90,.12); color: var(--ink); }
.club-tabs .tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.club-tabs .tab__count { background: rgba(0,29,90,.1); }
.club-tabs .tab[aria-selected="true"] .tab__count { background: rgba(255,255,255,.18); color: #fff; }

/* Grafisk profil: mörkt eller isblått */
.gp-card--ice { background: var(--ice-surface); }
.gp-surfaces { margin-bottom: 8px; align-items: stretch; }
.gp-surface { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 200px; padding: 24px 28px; font-size: 15px; line-height: 1.5; }
.gp-surface b { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 26px; text-transform: uppercase; }
.gp-surface--dark { background: var(--navy); color: var(--on-dark-2); }
.gp-surface--dark b { color: var(--gold); }
.gp-surface--ice { background: var(--ice-surface) url("../img/a-stor.svg") no-repeat right -40px center / auto 160%; color: var(--text); }
.gp-surface--ice b { color: var(--blue); }


/* ==========================================================================
   Undermeny (nivå två) som understrukna textflikar – samma grepp som menyn.
   Statistik: säsongen och lagfiltret står till höger i flikraden.
   ========================================================================== */
.stat-chips { gap: 26px; border-bottom: 1px solid var(--line); padding: 0; margin: 0 0 22px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.stat-chips::-webkit-scrollbar { display: none; }
.stat-chips .tab,
.stat-chips .tab[aria-selected="true"],
.stat-chips .tab[aria-selected="false"]:hover {
	position: relative; min-height: 0; height: auto; padding: 0 0 12px; border: 0; border-radius: 0;
	background: none; clip-path: none; color: var(--muted);
	font: 600 16px/1.2 var(--font-body); font-style: normal; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.stat-chips .tab:hover { color: var(--ink); }
.stat-chips .tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.stat-chips .tab[aria-selected="true"]::after {
	content: ""; position: absolute; left: -3px; right: -3px; bottom: -1px; height: 4px;
	background: var(--blue); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.stat-chips .tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 720px) {
	.stat-chips { gap: 20px; margin: 14px calc(-1 * var(--gutter, 16px)) 18px 0; padding-right: var(--gutter, 16px); }
	.stat-chips .tab, .stat-chips .tab[aria-selected="true"], .stat-chips .tab[aria-selected="false"]:hover { font-size: 15px; }
}
/* Säsongens delar (tabell/matcher) använder samma understrukna flikar */
.season-nav__parts { flex: 1 1 100%; margin: 0; }

/* Statistik: flikraden med säsong och lagfilter till höger */
.stat-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.stat-bar__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 20px; margin-left: auto; }
.stat-bar .season-nav { margin: 0; }
.stat-bar .filter.is-off { display: none; }
@media (max-width: 720px) {
	.stat-bar__side { width: 100%; margin-left: 0; justify-content: stretch; flex-direction: column; align-items: stretch; gap: 10px; }
	.stat-bar__side .filter, .stat-bar .season-nav, .stat-bar .season-nav__pick { width: 100%; }
}
@media (min-width: 721px) { .stat-page .stat-chips { margin-top: 22px; } }

/* Sponsorer i vitt på blått (förbundets märke och BandyPlay behåller sina färger) */
.partner-bar__list img:not([src*="bandyforbundet"]):not(.bp-full),
.site-footer .partner-logos img { filter: brightness(0) invert(1); }
.partner-bar__list a, .partner-bar__list span { opacity: 1; }
.partner-bar__list a:hover { opacity: .8; }

/* BandyPlay som guldknapp: sist i menyraden på dator, överst i den uppfällda mobilmenyn */
.bp-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 22px 0 18px; margin-bottom: 0;
	background: var(--gold-btn); color: var(--navy); clip-path: var(--slant-sm);
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic;
	font-size: 16px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: background .15s;
}
.bp-btn:hover { background: var(--gold-btn-hover); color: var(--navy); }
.bp-btn img { display: block; flex: none; width: auto; height: 22px; }
@media (max-width: 1240px) {
	.site-nav .bp-btn { align-self: flex-start; height: 46px; margin: 18px 0 0; padding: 0 26px 0 22px; font-size: 18px; }
	.site-nav .bp-btn img { height: 26px; }
}

/* Undermenyer: mörkblå rullgardin på dator, indragen lista i huvudfärgen på mobil */
@media (min-width: 1241px) {
	.site-nav .sub-menu { background: var(--navy); box-shadow: 0 14px 28px rgba(0, 18, 60, .35); }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: rgba(255,255,255,.1); }
}
/* Mobilmenyn: undersidor indragna med en tunn linje, ingen egen ruta */
@media (max-width: 1240px) {
	.site-nav .sub-menu { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 2px 0 6px 4px; padding: 0 0 0 18px; border-left: 2px solid rgba(255,255,255,.22); }
	.site-nav .sub-menu a { padding: 8px 0; font-size: 18px; color: var(--on-dark-2); }
	.site-nav .sub-menu .current-menu-item > a { color: #fff; }
	.site-nav .menu > li > a { font-size: 24px; }
}

/* ==========================================================================
   Sidfot (18 okt): loggan · genvägar · partners, under en linje förbundet och copyright
   ========================================================================== */
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav partners" "bottom bottom bottom"; align-items: start; gap: 40px 72px; padding-top: 56px; padding-bottom: 28px; }
.site-footer__brand { grid-area: brand; gap: 18px; }
.site-footer__brand > a img.site-footer__logo { height: 84px; width: auto; }
.site-footer__nav { grid-area: nav; display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.site-footer__nav .footer-links, .site-footer__nav .menu { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 48px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav .footer-links a, .site-footer__nav .menu a {
	color: #fff; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic;
	font-size: 17px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.site-footer__nav .footer-links a:hover, .site-footer__nav .menu a:hover { color: var(--gold-btn); }
.site-footer__bp { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: var(--on-dark-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer__bp:hover { color: #fff; }
.site-footer__bp-icon { width: 26px; height: 26px; flex: none; }
.site-footer__partners { grid-area: partners; align-items: flex-end; gap: 16px; padding-top: 4px; }
.site-footer__label { color: var(--sky); }
.site-footer .partner-logos { gap: 20px 40px; justify-content: flex-end; }
.site-footer__bottom { grid-area: bottom; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer__fed { display: flex; flex-direction: row; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--on-dark-2); }
.site-footer__fed .federation { display: flex; }
.site-footer__fed .federation img { width: 32px; height: 32px; }
.site-footer__fed .federation__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-footer__copy { grid-column: auto; padding: 0; font-size: 13px; color: var(--on-dark-3); flex-basis: auto; }
@media (max-width: 1000px) {
	.site-footer__inner { grid-template-columns: 1fr auto; grid-template-areas: "brand partners" "nav nav" "bottom bottom"; gap: 36px 40px; }
}
@media (max-width: 720px) {
	.site-footer__inner { grid-template-columns: 1fr; grid-template-areas: "brand" "nav" "partners" "bottom"; gap: 32px; padding-top: 40px; padding-bottom: 24px; }
	.site-footer__brand > a img.site-footer__logo { height: 70px; }
	.site-footer__nav .footer-links, .site-footer__nav .menu { gap: 12px 32px; }
	.site-footer__nav .footer-links a, .site-footer__nav .menu a { font-size: 18px; }
	.site-footer__partners { align-items: flex-start; }
	.site-footer .partner-logos { justify-content: flex-start; flex-wrap: wrap; gap: 18px 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Sidfot centrerad och symmetrisk: loggan, genvägarna, partners och förbundet på en mittaxel */
.site-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; padding-top: 56px; padding-bottom: 28px; }
.site-footer__brand { align-items: center; }
.site-footer__nav { align-items: center; gap: 18px; padding: 0; }
.site-footer__nav .footer-links, .site-footer__nav .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.site-footer__bp { align-self: center; }
.site-footer__partners { align-items: center; padding: 0; gap: 14px; }
.site-footer .partner-logos { justify-content: center; }
.site-footer__bottom { width: 100%; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding-top: 24px; }
.site-footer__fed .federation img { width: 40px; height: 40px; }
@media (max-width: 1000px) {
	.site-footer__inner { display: flex; }
}
@media (max-width: 720px) {
	.site-footer__inner { display: flex; gap: 28px; padding-top: 40px; }
	.site-footer__nav .footer-links, .site-footer__nav .menu { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 12px 36px; }
	.site-footer__partners { align-items: center; }
	.site-footer .partner-logos { justify-content: center; }
	.site-footer__bottom { align-items: center; }
}

/* Sidfot: BandyPlay som guldknapp till höger om genvägarna, ingen linje ovanför förbundet */
.site-footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.site-footer__bp { align-self: center; color: var(--navy); font-size: 16px; }
.site-footer__bp:hover { color: var(--navy); }
.site-footer__bottom { border-top: 0; padding-top: 4px; }
@media (max-width: 720px) {
	.site-footer__nav { flex-direction: column; gap: 22px; }
	.site-footer .site-footer__bp { height: 44px; padding: 0 26px 0 22px; }
	.site-footer .site-footer__bp img { height: 26px; }
}

/* Mobil/surfplatta: toppremsan mörk med bara partners, högerställda.
   BandyPlay som symbol direkt till vänster om menyknappen. Förbundet finns i sidfoten. */
.hdr-bp { display: none; }
@media (max-width: 1240px) {
	.partner-bar { background: var(--navy); }
	.partner-bar__fed, .partner-bar__bp { display: none !important; }
	.partner-bar__inner, .partner-bar__list { justify-content: flex-end !important; }
	.partner-bar__list { gap: 26px; }
	.hdr-bp { display: flex; align-items: center; margin-left: auto; margin-right: -6px; }
	.hdr-bp__icon { display: block; width: 30px; height: 30px; }
}

/* Mobil: guldbanner till BandyPlay under matchbandet (startsidan) och matchhuvudet (matchsidan) */
.bp-banner { display: none; }
@media (max-width: 1240px) {
	.bp-banner {
		display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 16px;
		background: var(--gold-btn); color: var(--navy); text-decoration: none;
		font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic;
		font-size: 16px; letter-spacing: .05em; text-transform: uppercase;
	}
	.bp-banner:hover { background: var(--gold-btn-hover); color: var(--navy); }
	.bp-banner img { display: block; width: auto; height: 27px; }
	.bp-banner .icon { width: 16px; height: 16px; }
}
/* BandyPlay-bannern: lite mindre innehåll och mer luft i matchbandet ovanför */
@media (max-width: 1240px) {
	.bp-banner { height: 46px; gap: 8px; font-size: 14px; letter-spacing: .06em; }
	.bp-banner img { height: 22px; }
	.bp-banner .icon { width: 14px; height: 14px; }
	.ticker:has(+ .bp-banner) .ticker__inner { padding-bottom: 22px; }
}

/* Matchsidan, dator: BandyPlay-knapp i matchhuvudet ("Se matchen på" / "Höjdpunkter på" + loggan) */
.mh-bp {
	display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 26px 0 22px; margin-top: 6px;
	background: var(--gold-btn); color: var(--navy); clip-path: var(--slant); text-decoration: none; white-space: nowrap;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic;
	font-size: 16px; letter-spacing: .05em; text-transform: uppercase;
}
.mh-bp:hover { background: var(--gold-btn-hover); color: var(--navy); }
.mh-bp img { display: block; width: auto; height: 24px; }
.mh-bp .icon { width: 14px; height: 14px; }
@media (max-width: 1240px) { .mh-bp { display: none; } }

/* Grafisk profil: kärnfärger större, listor i header-avsnittet */
.gp-swatches--core { grid-template-columns: repeat(4, 1fr); }
.gp-swatches--core .gp-sw__chip { height: 110px; }
@media (max-width: 900px) { .gp-swatches--core { grid-template-columns: repeat(2, 1fr); } }
.gp-list { margin: 8px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--text); }
.gp-list li + li { margin-top: 6px; }
.gp-card .stat-chips { margin-bottom: 14px; }
@media (max-width: 720px) { .page-hero__title { font-size: clamp(24px, 7.6vw, 36px); } }
/* Små telefoner (≤ 400 px): inget får skjuta ut i sidled */
@media (max-width: 400px) {
	.clips__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.fx-group__title { flex-wrap: wrap; row-gap: 6px; }
	.section-title { font-size: 26px; overflow-wrap: anywhere; min-width: 0; }
	.section-head { flex-wrap: wrap; row-gap: 6px; }
}
/* Skydd: sidan scrollar aldrig i sidled (clip påverkar inte sticky som hidden gör) */
html, body { overflow-x: clip; }

/* ==========================================================================
   Profilkontroll 18 okt: minsta textstorlek, tryckytor, skarpa hörn
   ========================================================================== */
.pts { border-radius: 0; }
.news-card__media { background: var(--ice-surface); }
/* Etiketter och kolumnrubriker minst 13 px (Condensed), små diagramtal minst 12 px */
.statlist thead th, .statlist thead th abbr, .standings thead th { font-size: 13px; }
.records__k, .cs-tile__k { font-size: 13px; }
.cs-min__l { font-size: 12px; }
.legend .form__item, .legend__form .form__item { font-size: 12px; }
@media (max-width: 720px) {
	.match-hero__status { font-size: 12px !important; }
	/* Tryckytor minst 44 px */
	.site-footer__nav .footer-links a, .site-footer__nav .menu a { display: inline-block; padding: 10px 0; }
	.site-footer__nav .footer-links, .site-footer__nav .menu { row-gap: 0; }
	.leader__head a { padding: 12px 0; margin: -12px 0; }
	.stat-chips .tab, .stat-chips .tab[aria-selected="true"], .stat-chips .tab[aria-selected="false"]:hover { padding-top: 12px; }
	.ticker__all { padding: 10px 0; margin: -10px 0; }
}
.cta__text a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta__text a:hover { color: var(--gold-btn); }
.cta > div { min-width: 0; flex: 1 1 260px; }
.cta__title { overflow-wrap: anywhere; }
@media (max-width: 720px) { .cta { padding: 28px 20px; } .cta__title { font-size: 24px; } .cta__text a { font-size: 14px; } }

/* Sociala medier: tydliga knappar i sidfoten, ikoner sist i mobilmenyn */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 16px; text-decoration: none; }
.social svg { display: block; width: 22px; height: 22px; flex: none; }
.socials--footer .social {
	background: rgba(255,255,255,.08); color: #fff; clip-path: var(--slant-sm);
	font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic;
	font-size: 16px; letter-spacing: .05em; text-transform: uppercase; transition: background .15s, color .15s;
}
.socials--footer .social:hover { background: var(--blue); color: #fff; }
.site-footer__social { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.socials--menu { display: none; }
@media (max-width: 1240px) {
	.site-nav .socials--menu { display: flex; justify-content: flex-start; gap: 6px; margin-top: 18px; }
	.socials--menu .social { width: 48px; height: 48px; min-height: 0; padding: 0; justify-content: center; color: #fff; background: rgba(255,255,255,.1); }
	.socials--menu .social:hover { background: rgba(255,255,255,.2); }
	.socials--menu .social svg { width: 24px; height: 24px; }
}
@media (max-width: 720px) {
	.socials--footer { gap: 8px; }
	.socials--footer .social { padding: 0 16px 0 13px; font-size: 15px; }
}

/* Luft mellan överraden och rubriken så att Å, Ä och Ö inte krockar med den */
.page-hero .eyebrow + .page-hero__title.has-ring,
.club-hero .eyebrow + .club-hero__title.has-ring { margin-top: .2em; }

/* Ingress: samma typsnitt som rubrikerna, men versaler/gemener och rak */
.ingress p, .gp-sample--lead {
	margin: 0 0 1.1em;
	font-family: var(--font-display); font-size-adjust: var(--display-adjust);
	font-weight: 700; font-style: normal; text-transform: none;
	font-size: 30px; line-height: 1.18; letter-spacing: .005em;
	color: var(--ink);
}
@media (max-width: 720px) { .ingress p, .gp-sample--lead { font-size: 24px; } }

/* Nyhetsfilter: klubb, säsong och sök */
.news-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 28px; }
.news-filter .filter select { min-width: 200px; }
.news-filter__search { flex: 1 1 260px; display: flex; gap: 0; }
.news-filter__search input {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 0;
	background: var(--zebra); font: 500 16px var(--font-body); color: var(--ink);
}
.news-filter__search input::placeholder { color: var(--faint); }
.news-filter__search input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.news-filter__go {
	flex: none; width: 48px; height: 48px; border: 0; background: var(--blue); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.news-filter__go:hover { background: var(--navy); }
.news-filter__go svg { width: 18px; height: 18px; }
.news-filter__status { flex: 1 0 100%; margin: 0; font-size: 15px; color: var(--muted); }
.news-filter__status a { font-weight: 600; }
@media (max-width: 720px) {
	.news-filter { flex-direction: column; align-items: stretch; gap: 10px; }
	.news-filter .filter { justify-content: space-between; }
	.news-filter .filter > span:not(.screen-reader-text) { flex: none; width: 76px; }
	.news-filter .filter select { flex: 1; min-width: 0; }
	.news-filter__search { flex: none; }
}
