/*
Theme Name: Crociati Theme
Theme URI: https://crociati.dk
Author: Crociati.dk
Description: Custom WordPress theme for Crociati.dk, a Danish Parma Calcio fan site. Moderne, mobilvenligt sportsmedie-look i Parmas gule og blå farver.
Version: 1.8.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crociati
*/

/* =========================================================
   1. Variabler & basis
   ========================================================= */

:root {
    --c-yellow: #ffd200;
    --c-yellow-dark: #e6b800;
    --c-blue: #1d3f8f;
    --c-navy: #0a1f44;
    --c-navy-deep: #071733;
    --c-black: #10131a;
    --c-white: #ffffff;
    --c-grey: #5c6470;
    --c-grey-light: #eef0f4;
    --c-red: #d7263d;
    --c-green: #1f8a4c;

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;

    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 6px 24px rgba(10, 31, 68, 0.12);
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.1);
    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

a {
    color: var(--c-blue);
}

h1, h2, h3, h4 {
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 800;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.container--narrow {
    max-width: 760px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-yellow);
    color: var(--c-black);
    padding: 10px 16px;
    z-index: 1000;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
}

/* =========================================================
   2. Topstrip (disclaimer) + header + navigation
   ========================================================= */

.top-strip {
    background: var(--c-yellow);
    color: var(--c-black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 0;
    text-align: center;
}

.site-header {
    background: var(--c-navy);
    color: var(--c-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--c-yellow);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    position: relative;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.site-branding .custom-logo {
    max-height: 48px;
    width: auto;
}

/* Lille "crociati-kors"-emblem som fallback-logo */
.site-crest {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--c-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crest-cross {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--c-navy), var(--c-navy)) center / 30% 100% no-repeat,
        linear-gradient(var(--c-navy), var(--c-navy)) center / 100% 30% no-repeat;
}

.site-title-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-title {
    color: var(--c-white);
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-title:hover {
    color: var(--c-yellow);
}

.site-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Burger-knap (mobil) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--c-white);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navigation: skjult dropdown på mobil */
.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    background: var(--c-navy-deep);
    border-bottom: 3px solid var(--c-yellow);
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: block;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--c-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
    color: var(--c-yellow);
}

/* =========================================================
   3. Knapper & badges
   ========================================================= */

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn--yellow {
    background: var(--c-yellow);
    color: var(--c-black);
}

.btn--blue {
    background: var(--c-blue);
    color: var(--c-white);
}

/* Farvekategorisering af artikler */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.badge--nyhed       { background: var(--c-blue);   color: var(--c-white); }
.badge--transfer    { background: var(--c-yellow); color: var(--c-black); }
.badge--kamp        { background: var(--c-green);  color: var(--c-white); }
.badge--breaking    { background: var(--c-red);    color: var(--c-white); }
.badge--spillerinfo { background: var(--c-navy);   color: var(--c-white); }
.badge--old-news    { background: var(--c-grey);   color: var(--c-white); }

/* =========================================================
   4. Sektioner
   ========================================================= */

.section {
    padding: 40px 0;
}

.section--navy {
    background: var(--c-navy);
    color: var(--c-white);
}

.section--navy a {
    color: var(--c-yellow);
}

.section--yellow {
    background: var(--c-yellow);
    color: var(--c-black);
}

.section--about {
    background: var(--c-grey-light);
}

.section-head {
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(44px, 6.5vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.045em;
    line-height: 0.88;
    padding-left: 0;
    border-left: none;
    margin-bottom: 4px;
}

/* Alle sektionsoverskrifter har samme størrelse (lg/xl er bevarede aliaser) */
.section-title--lg,
.section-title--xl { font-size: clamp(44px, 6.5vw, 72px); }

/* Lille "kicker"-tekst med gul streg over overskriften. Farven tilpasses
   baggrunden, så teksten altid er læsbar (gul på mørk, blå på lys). */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--c-blue);
    margin-bottom: 16px;
}

.section-kicker::before {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--c-yellow);
}

.section--navy .section-kicker,
.section--legend .section-kicker,
.section--nextmatch .section-kicker { color: var(--c-yellow); }

.section--yellow .section-kicker { color: var(--c-navy); }
.section--yellow .section-kicker::before { background: var(--c-navy); }

/* I række-headers ligger kickeren på egen linje over titel + "Se alle" */
.section-head--row .section-kicker { flex: 0 0 100%; }

/* Mindre titel til sidebar-widgets (fx Livescore) */
.section-title--sm { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.05; }

.section-sub {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--c-grey);
}

.section--navy .section-sub {
    color: rgba(255, 255, 255, 0.65);
}

.section-note {
    font-size: 13px;
    color: var(--c-grey);
    margin-top: 16px;
}

.section-note--light {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   5. Hero / topslider
   ========================================================= */

.hero-section {
    background: var(--c-navy-deep);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(150deg, var(--c-navy-deep) 0%, var(--c-blue) 100%);
}

/* Kors-motiv på slides uden billede */
.hero-slide--fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 78% 40% / 90px 340px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 78% 40% / 340px 90px no-repeat;
    pointer-events: none;
}

.hero-slide-media {
    position: absolute;
    inset: 0;
}

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

/* Mørk gradient over billedet, så teksten kan læses */
.hero-slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 23, 51, 0.92) 0%, rgba(7, 23, 51, 0.45) 55%, rgba(7, 23, 51, 0.15) 100%);
}

.hero-slide-body {
    position: relative;
    z-index: 1;
    padding-top: 48px;
    padding-bottom: 56px;
    max-width: var(--container);
}

.hero-title {
    font-size: clamp(30px, 5vw, 58px);
    line-height: 0.96;
    letter-spacing: -0.02em;
    margin: 12px 0 14px;
    max-width: 900px;
    color: var(--c-white);
}

.hero-title a {
    color: var(--c-white);
    text-decoration: none;
}

.hero-title a:hover {
    color: var(--c-yellow);
}

.hero-excerpt {
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 20px;
    max-width: 620px;
}

.card-date--hero {
    color: rgba(255, 255, 255, 0.7);
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(7, 23, 51, 0.5);
    color: var(--c-white);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.hero-arrow:hover {
    background: var(--c-yellow);
    color: var(--c-black);
    border-color: var(--c-yellow);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hero-dot.is-active {
    background: var(--c-yellow);
    transform: scale(1.25);
}

/* =========================================================
   6. Artikelkort
   ========================================================= */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.card-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-media--fallback {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) center / 10% 50% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) center / 50% 10% no-repeat,
        linear-gradient(135deg, var(--c-navy), var(--c-blue));
}

.card-media-link {
    display: block;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card-date {
    font-size: 12px;
    color: var(--c-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section--navy .card-date {
    color: rgba(255, 255, 255, 0.6);
}

.card-title {
    font-size: 18px;
    margin: 0;
}

.card-title a {
    color: var(--c-black);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--c-blue);
}

.card-excerpt {
    margin: 0;
    font-size: 14px;
    color: var(--c-grey);
    flex: 1;
}

.card-source {
    font-size: 12px;
    color: var(--c-grey);
    border-top: 1px dashed #dfe3e9;
    padding-top: 8px;
}

/* Rækkelayout (transferlisten) */
.card--row {
    flex-direction: row;
}

.card--row .card-media-link,
.card--row .card-media--fallback:first-child {
    flex: 0 0 110px;
}

.card--row > .card-media--fallback {
    aspect-ratio: auto;
    min-height: 100%;
}

.card--row .card-body {
    padding: 12px 16px;
}

.card--row .card-title {
    font-size: 16px;
}

.card--row .card-excerpt {
    display: none;
}

/* =========================================================
   7. Dagens overblik
   ========================================================= */

.overview-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.overview-list li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
}

.overview-list li:last-child {
    border-bottom: none;
}

.overview-time {
    font-weight: 800;
    color: var(--c-yellow);
    font-size: 13px;
    min-width: 42px;
    flex-shrink: 0;
}

.overview-list a {
    color: var(--c-white);
    text-decoration: none;
    font-weight: 600;
}

.overview-list a:hover {
    color: var(--c-yellow);
}

/* Dagens Parma-overblik: tidslinje til venstre, historie-kort til højre.
   Dybere navy + kors-vandmærke, så den adskiller sig fra "Næste kamp". */
#dagens-overblik.section--navy {
    position: relative;
    overflow: hidden;
    background: var(--c-navy-deep);
}

#dagens-overblik .container { position: relative; z-index: 1; }

.overblik-cross {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    max-width: 45vw;
    color: rgba(29, 63, 143, 0.32);
    pointer-events: none;
    z-index: 0;
}

.overblik-cross svg { width: 100%; height: 100%; display: block; }

.overblik-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 34px;
    align-items: stretch;
    margin-top: 26px;
}

.overblik-side { display: flex; }
.overblik-side .history-card { width: 100%; }

.overview-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.overview-timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: rgba(255, 255, 255, 0.16);
}

.overview-item {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 15px 0 15px 30px;
}

/* Prikken er hul som standard og fyldes ud ved mouse-over */
.overview-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--c-yellow);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.overview-item:hover::before {
    background: var(--c-yellow);
    transform: scale(1.5);
    box-shadow: inset 0 0 0 2px var(--c-yellow), 0 0 0 5px rgba(255, 210, 0, 0.18);
}

.overview-timeline .overview-time {
    font-family: var(--font-display);
    color: var(--c-yellow);
    font-size: 18px;
    min-width: 54px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    transition: transform 0.22s ease;
}

.overview-item:hover .overview-time { transform: scale(1.06); }

.overview-link {
    color: var(--c-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease;
}

.overview-item:hover .overview-link,
a.overview-link:hover { color: var(--c-yellow); }
.overview-item:hover .overview-link { transform: translateX(4px); }

/* Historie-kort (gult, som "Dagen i dag i Parma-historien") */
.history-card {
    position: relative;
    overflow: hidden;
    background: var(--c-yellow);
    color: var(--c-navy);
    border-radius: 16px;
    padding: 26px 28px 28px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.history-card-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-navy);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.history-card-year {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(46px, 7vw, 66px);
    line-height: 0.9;
    color: var(--c-navy);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.history-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--c-navy);
    margin: 0 0 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.history-card-text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(10, 31, 68, 0.86);
    margin: 0;
    position: relative;
    z-index: 1;
}

.history-card-cross {
    position: absolute;
    right: -20px;
    bottom: -46px;
    font-size: 190px;
    line-height: 1;
    color: rgba(10, 31, 68, 0.08);
    pointer-events: none;
}

/* Historie-teaser i siden (nu selvstændig boks) */
.overblik-side .history-teaser {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 5px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

@media (max-width: 860px) {
    .overblik-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   8. Kampcenter: næste kamp + livescore
   ========================================================= */

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.match-card {
    background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-blue) 100%);
    color: var(--c-white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.match-competition {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
    font-weight: 800;
    margin-bottom: 12px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.match-team {
    font-size: 20px;
    font-weight: 900;
    flex: 1;
    text-align: center;
}

.match-vs {
    background: var(--c-yellow);
    color: var(--c-black);
    font-weight: 900;
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 10px;
    text-transform: uppercase;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.live-card {
    margin-top: 16px;
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-radius: var(--radius);
    padding: 18px 22px;
}

.live-card-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.live-card-empty {
    margin: 0;
    font-size: 14px;
    color: var(--c-grey);
}

.live-card-score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
}

.live-events {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 13px;
    color: var(--c-grey);
}

.live-events li {
    padding: 4px 0;
    border-top: 1px dashed #e2e5ea;
}

/* Live-bar øverst når kamp er i gang */
.live-bar {
    background: var(--c-red);
    color: var(--c-white);
    padding: 10px 0;
}

.live-bar[hidden] { display: none; }

.live-bar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.live-score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.live-result {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 900;
}

.live-competition {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 10px;
    border-radius: 999px;
}

.live-card .live-badge {
    background: var(--c-red);
    color: var(--c-white);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: crociati-pulse 1.2s ease-in-out infinite;
}

@keyframes crociati-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* =========================================================
   9. Serie A-tabel
   ========================================================= */

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    background: var(--c-navy-deep);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 420px;
}

.league-table th,
.league-table td {
    padding: 9px 12px;
    text-align: center;
    white-space: nowrap;
}

.league-table thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.league-table .team-col {
    text-align: left;
    font-weight: 700;
    width: 100%;
}

.league-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.league-table tbody tr:nth-child(4) {
    border-bottom: 2px solid rgba(255, 210, 0, 0.35); /* CL-streg */
}

.league-table tbody tr:nth-child(17) {
    border-bottom: 2px solid rgba(215, 38, 61, 0.6); /* nedrykningsstreg */
}

.league-table .points {
    font-weight: 900;
    color: var(--c-yellow);
}

.league-table .is-parma {
    background: var(--c-yellow);
    color: var(--c-black);
}

.league-table .is-parma .points {
    color: var(--c-black);
}

.parma-tag {
    display: inline-block;
    background: var(--c-navy);
    color: var(--c-yellow);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1px 7px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
}

/* =========================================================
   10. Truppen
   ========================================================= */

.squad-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.squad-group {
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-top: 4px solid var(--c-blue);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.squad-group--maalmand { border-top-color: var(--c-yellow); }
.squad-group--forsvar  { border-top-color: var(--c-navy); }
.squad-group--midtbane { border-top-color: var(--c-blue); }
.squad-group--winger   { border-top-color: var(--c-green); }
.squad-group--angreb   { border-top-color: var(--c-red); }

.squad-group-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

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

.squad-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 14px;
}

.squad-player:last-child {
    border-bottom: none;
}

.squad-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-navy);
    color: var(--c-yellow);
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.squad-name {
    font-weight: 700;
    flex: 1;
}

.squad-note {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    color: var(--c-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.squad-nation {
    font-size: 12px;
    color: var(--c-grey);
    text-align: right;
}

/* =========================================================
   11. Spiller i fokus + Månedens favorit
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--c-navy);
    color: var(--c-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.feature-card--legend {
    background: var(--c-black);
}

.feature-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-yellow);
    margin-bottom: 14px;
}

.error-404 .feature-kicker {
    color: var(--c-blue);
}

.feature-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.feature-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-navy);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 22px;
    margin: 0;
}

.feature-meta {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.feature-bio {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

/* Fuld-bredde variant (Spiller i fokus / Månedens favorit): topbillede,
   dernæst tekst + Fakta-tæller side om side. Statisk, ingen hover. */
.feature-card--full {
    background: transparent;
    color: var(--c-navy);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.feature-card--full.feature-card--legend { background: transparent; }

/* Statisk hover: ingen skygge/løft (base-reglen .feature-card:hover står
   senere i filen, så vi hæver specificiteten for at vinde). Gælder både
   Spiller i fokus (gul) og Månedens favorit (blå). */
.feature-card.feature-card--full:hover {
    transform: none;
    box-shadow: none;
}

/* Topbillede */
.feature-card--full .feature-media {
    display: block;
    margin: 0 0 26px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-card--full .feature-media img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Tekst + Fakta under billedet */
.feature-columns {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.feature-card--full .feature-kicker {
    color: var(--c-navy);
    opacity: 0.7;
    margin-bottom: 18px;
}

.feature-card--full .feature-number {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: rgba(10, 31, 68, 0.32);
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 62px);
    line-height: 0.9;
}

.feature-card--full .feature-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--c-navy);
    line-height: 1;
}

.feature-card--full .feature-meta {
    color: rgba(10, 31, 68, 0.72);
    font-size: 14px;
    margin-top: 6px;
}

.feature-card--full .feature-bio {
    color: rgba(10, 31, 68, 0.86);
    font-size: 16px;
    margin-top: 16px;
    max-width: 62ch;
}

.feature-card--full .feature-links { margin: 18px 0 0; }

/* Fakta-tæller */
.feature-facts { padding-top: 4px; }

.feature-facts-title {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(10, 31, 68, 0.55);
    margin-bottom: 4px;
}

.fact-list { margin: 0; }

.fact {
    padding: 18px 0;
    border-bottom: 1px solid rgba(10, 31, 68, 0.18);
}

.fact:last-child { border-bottom: none; }

.fact-num {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    color: var(--c-navy);
    font-variant-numeric: tabular-nums;
}

.fact-label {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(10, 31, 68, 0.6);
}

@media (max-width: 780px) {
    .feature-columns { grid-template-columns: 1fr; gap: 26px; }
    .fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .fact { border-bottom: none; padding: 6px 0; }
    .fact-num { font-size: 26px; }
}

/* Månedens Parma-favorit: egen blå sektion, så den adskiller sig tydeligt
   fra den gule "Spiller i fokus". Lys skrift + lyse fakta-linjer. */
.section--legend {
    background: linear-gradient(160deg, var(--c-blue) 0%, var(--c-navy-deep) 92%);
    color: var(--c-white);
}

.section--legend .feature-card--full { color: var(--c-white); }
.section--legend .feature-kicker { color: var(--c-yellow); opacity: 1; }
.section--legend .feature-title { color: var(--c-white); }
.section--legend .feature-number { color: rgba(255, 255, 255, 0.34); }
.section--legend .feature-meta { color: rgba(255, 255, 255, 0.72); }
.section--legend .feature-bio { color: rgba(255, 255, 255, 0.86); }
.section--legend .feature-facts-title { color: rgba(255, 255, 255, 0.6); }
.section--legend .fact { border-bottom-color: rgba(255, 255, 255, 0.18); }
.section--legend .fact-num { color: var(--c-white); }
.section--legend .fact-label { color: rgba(255, 255, 255, 0.66); }

/* =========================================================
   12. Om / disclaimer
   ========================================================= */

.about-body {
    max-width: 760px;
}

.about-disclaimer {
    background: var(--c-white);
    border-left: 6px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   13. Enkelt artikel
   ========================================================= */

.single-hero {
    background: linear-gradient(160deg, var(--c-navy-deep) 0%, var(--c-blue) 100%);
    color: var(--c-white);
    padding: 36px 0;
}

.single-hero .card-date {
    color: rgba(255, 255, 255, 0.7);
}

.single-title {
    font-size: 28px;
    margin: 12px 0 0;
    max-width: 900px;
}

/* Herobillede: fuld bredde over to-kolonne-layoutet, med luft under */
.single-thumb {
    margin: 28px 0 32px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 2 / 1;
    background: var(--c-grey-light);
}

.single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-content {
    padding: 0 0 8px;
    font-size: 17px;
}

/* Første afsnit uden top-luft, så teksten flugter med sidebarens top */
.single-main > .single-content {
    padding-top: 0;
}

.single-content p {
    margin: 0 0 1.2em;
}

.single-content h2,
.single-content h3 {
    margin-top: 1.4em;
}

.single-source {
    background: var(--c-grey-light);
    border-left: 6px solid var(--c-blue);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 24px;
}

.single-footer {
    border-top: 1px solid #e2e5ea;
    padding: 20px 0 48px;
}

.single-disclaimer {
    font-size: 13px;
    color: var(--c-grey);
}

/* Pagination */
.pagination-wrap {
    margin-top: 32px;
}

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

.pagination-wrap .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--c-grey-light);
    color: var(--c-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.pagination-wrap .page-numbers.current {
    background: var(--c-navy);
    color: var(--c-yellow);
}

/* =========================================================
   14. Footer
   ========================================================= */

.site-footer {
    background: var(--c-navy-deep);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 48px;
    border-top: 4px solid var(--c-yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px;
}

.footer-logo {
    display: inline-block;
    font-size: 20px;
    font-weight: 900;
    color: var(--c-white);
    margin-bottom: 8px;
}

.footer-col p {
    font-size: 14px;
    margin: 0;
}

.footer-heading {
    color: var(--c-yellow);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.footer-menu,
.site-footer .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li a,
.site-footer .nav-menu li a {
    display: block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.footer-menu li a:hover,
.site-footer .nav-menu li a:hover {
    color: var(--c-yellow);
}

.footer-disclaimer {
    background: var(--c-black);
    padding: 18px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer p {
    margin: 0 0 6px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   15. Responsivt: tablet og desktop
   ========================================================= */

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .single-title {
        font-size: 36px;
    }
}

@media (min-width: 960px) {
    .section {
        padding: 56px 0;
    }

    /* Navigation inline på desktop */
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
        position: static;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
    }

    .nav-menu {
        display: flex;
        gap: 4px;
        padding: 0;
    }

    .nav-menu li a {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: var(--radius-sm);
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Større hero-slider på desktop */
    .hero-slide {
        min-height: 520px;
    }

    .hero-slide-body {
        padding-bottom: 72px;
    }

    .hero-excerpt {
        font-size: 18px;
    }

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

    .split-grid {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

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

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

    .feature-title {
        font-size: 26px;
    }
}

/* =========================================================
   16. Hero-slider: højde +20% og forskudt entré-animation
   ========================================================= */

.hero-slide {
    min-height: 460px;
}

/* Billedet zoomer roligt ind, mens teksten ankommer forskudt */
.hero-slide-media img {
    transform: scale(1.08);
    transition: transform 6s ease-out, opacity 0.6s ease;
    opacity: 0.85;
}

.hero-slide.is-active .hero-slide-media img {
    transform: scale(1);
    opacity: 1;
}

.hero-slide-body > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-slide.is-active .hero-slide-body > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.2s; }
.hero-slide.is-active .hero-slide-body > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.32s; }
.hero-slide.is-active .hero-slide-body > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.44s; }
.hero-slide.is-active .hero-slide-body > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.56s; }

/* =========================================================
   17. Reveal-animationer (tabel, trup, kort)
   ========================================================= */

.will-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Tabelrækker glider ind fra venstre */
tr.will-reveal {
    transform: translateX(-28px);
}

.will-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .will-reveal,
    .hero-slide-body > *,
    .hero-slide-media img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   18. Links i tabel og trup
   ========================================================= */

.team-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
}

.team-link:hover {
    color: var(--c-yellow);
    border-bottom-color: var(--c-yellow);
}

.is-parma .team-link {
    border-bottom-color: rgba(16, 19, 26, 0.4);
}

.is-parma .team-link:hover {
    color: var(--c-blue);
    border-bottom-color: var(--c-blue);
}

.squad-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted #c6ccd6;
}

.squad-link:hover {
    color: var(--c-blue);
    border-bottom-color: var(--c-blue);
}

.squad-count {
    display: inline-block;
    background: var(--c-grey-light);
    color: var(--c-grey);
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

/* =========================================================
   19. Feature-kort: foto, kreditering og links
   ========================================================= */

.feature-media {
    margin: -24px -24px 18px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-media img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: top center;
}

.feature-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(7, 23, 51, 0.75);
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    padding: 3px 10px;
    border-top-left-radius: var(--radius-sm);
    max-width: 100%;
}

.feature-links {
    margin: 16px 0 0;
}

.btn--small {
    padding: 8px 16px;
    font-size: 12px;
}

.feature-kicker--dark {
    color: var(--c-navy);
}

/* =========================================================
   20. Undersider: page-hero + sektionshoveder
   ========================================================= */

.page-hero {
    background: linear-gradient(160deg, var(--c-navy-deep) 0%, var(--c-blue) 100%);
    color: var(--c-white);
    padding: 48px 0;
}

.page-hero--yellow {
    background: linear-gradient(160deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    color: var(--c-black);
}

.page-hero--navy {
    background:
        linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)) 85% 30% / 70px 260px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)) 85% 30% / 260px 70px no-repeat,
        var(--c-navy-deep);
}

.page-hero--pitch {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 60px, rgba(255, 255, 255, 0) 60px 120px),
        linear-gradient(160deg, #0d3320 0%, var(--c-navy-deep) 85%);
}

.page-hero-title {
    font-size: 34px;
    text-transform: uppercase;
    margin: 10px 0 8px;
}

.page-hero-sub {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    opacity: 0.85;
}

.page-hero--yellow .feature-kicker {
    color: var(--c-navy);
}

.section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.section-more {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--c-blue);
    white-space: nowrap;
}

.section-more:hover {
    color: var(--c-navy);
}

.section-more--light {
    color: var(--c-yellow);
}

.section-more--light:hover {
    color: var(--c-white);
}

/* =========================================================
   21. Diverse undersideelementer
   ========================================================= */

.parma-status {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 16px;
}

.parma-status-pos {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-navy);
    color: var(--c-yellow);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-card--big {
    padding: 30px 24px;
}

.match-card--big .match-team {
    font-size: 24px;
}

.split-side .live-card + .live-card {
    margin-top: 16px;
}

.card-grid--two {
    grid-template-columns: 1fr;
}

/* Artikelindhold: luft mellem afsnit + kilde-linje */
.single-content .cne-source {
    background: var(--c-grey-light);
    border-left: 6px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
}

@media (min-width: 640px) {
    .card-grid--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .hero-slide {
        min-height: 624px;
    }

    .page-hero {
        padding: 72px 0;
    }

    .page-hero-title {
        font-size: 48px;
    }
}

/* Manchet i importerede artikler */
.single-content .cne-lead {
    font-size: 19px;
    font-weight: 600;
    color: var(--c-navy);
    line-height: 1.55;
}

/* Parma-rækken i tabellen: blåt link på gul baggrund (aldrig gul-på-gul) */
.league-table .is-parma .team-link {
    color: var(--c-blue);
    border-bottom-color: rgba(29, 63, 143, 0.45);
}

.league-table .is-parma .team-link:hover {
    color: var(--c-navy);
    border-bottom-color: var(--c-navy);
}

/* Hover-løft på Spiller i fokus / Månedens favorit (som artikelkortene) */
.feature-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(10, 31, 68, 0.3);
}

/* Footer-genveje: altid under hinanden med gul markør (desktop-flex fra
   topmenuen må ikke smitte af på footeren) */
.site-footer .nav-menu,
.footer-menu {
    display: block;
    padding: 0;
}

.site-footer .nav-menu li,
.footer-menu li {
    margin: 0 0 2px;
}

.site-footer .nav-menu li a,
.footer-menu li a {
    position: relative;
    display: inline-block;
    padding: 4px 0 4px 16px;
    border-radius: 0;
}

.site-footer .nav-menu li a::before,
.footer-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--c-yellow);
    transition: width 0.15s ease;
}

.site-footer .nav-menu li a:hover::before,
.footer-menu li a:hover::before {
    width: 12px;
}

.site-footer .nav-menu li a:hover,
.footer-menu li a:hover {
    background: transparent;
    padding-left: 20px;
}

/* Nedtælling til kickoff i kampkortet */
.match-countdown {
    margin-top: 16px;
    padding: 9px 12px;
    text-align: center;
    background: rgba(255, 210, 0, 0.14);
    border: 1px solid rgba(255, 210, 0, 0.35);
    border-radius: var(--radius-sm);
    color: var(--c-yellow);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

.match-countdown:empty {
    display: none;
}

/* =========================================================
   Næste kamp: fremhævet fuldbredde-element med live nedtælling
   (bruger alle tre klubfarver: mørkeblå, blå og gul)
   ========================================================= */

.section--nextmatch {
    position: relative;
    background: var(--c-navy);
    color: var(--c-white);
    overflow: hidden;
}

/* Kæmpe "TARDINI"-vandmærke i konturskrift bag indholdet */
.section--nextmatch .nm-watermark {
    position: absolute;
    top: -0.15em;
    left: 0;
    font-family: var(--font-display);
    font-size: 16vw;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(246, 241, 227, 0.10);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.nextmatch-head {
    position: relative;
    margin-bottom: 24px;
}

.section--nextmatch .container { position: relative; z-index: 1; }

.feature-kicker--light { color: var(--c-yellow); }

.section-title--xl {
    line-height: 0.95;
    margin-bottom: 0;
    padding-left: 0;
    border-left: none;
    color: var(--c-white);
}

.nextmatch-card {
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
    border: 1px solid rgba(255, 210, 0, 0.2);
    border-radius: 0;
    padding: clamp(26px, 4vw, 42px);
}

.nextmatch-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px 30px;
}

.nextmatch-teams {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
}

.nm-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nm-abbr {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    color: var(--c-white);
    letter-spacing: 0.01em;
}

.nm-abbr--home { color: var(--c-yellow); }

.nm-name {
    margin-top: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.62);
}

.nm-vs {
    font-family: var(--font-display);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.nextmatch-when {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nm-date { font-family: var(--font-display); font-size: clamp(15px, 2vw, 19px); color: var(--c-white); }
.nm-venue { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Nedtællingsbokse */
.match-countdown--boxes {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cd-cell {
    flex: 1 1 0;
    min-width: 62px;
    max-width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Skarp, mørk boks – tallet glider ind ved hvert sekund */
.cd-box {
    position: relative;
    width: 100%;
    height: 88px;
    background: var(--c-navy-deep);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.cd-num {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1;
    color: var(--c-yellow);
    font-variant-numeric: tabular-nums;
}

.cd-num.cd-flip { animation: cd-slide 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes cd-slide {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.cd-label {
    margin-top: 9px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(246, 241, 227, 0.5);
}

.match-countdown--boxes.is-live,
.match-countdown--tbd { justify-content: center; }

.cd-live,
.cd-tbd {
    font-family: var(--font-display);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-yellow);
    background: var(--c-navy-deep);
    padding: 16px 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Formbadges: skarpe kvadrater – gul ved sejr, dæmpet ellers (som oplægget) */
.nextmatch-foot .form-badge {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: rgba(246, 241, 227, 0.1);
    color: rgba(246, 241, 227, 0.6);
}
.nextmatch-foot .form-badge--w {
    background: var(--c-yellow);
    color: var(--c-navy);
}

.nextmatch-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.nextmatch-foot .team-form { margin: 0; }

@media (max-width: 680px) {
    .nextmatch-when { text-align: left; }
    .cd-cell { min-width: 52px; }
    .cd-box { height: 70px; }
    .nextmatch-foot { justify-content: center; }
}

/* Tom trøjenummer-plads (API'et kender ikke alle numre) */
.squad-number--empty {
    background: var(--c-grey-light);
    color: var(--c-grey);
}

/* =========================================================
   22. Nyhedsbrev: signup-sektion, popup og afstemninger
   ========================================================= */

.section--signup {
    background: var(--c-yellow);
    padding: 36px 0;
}

.signup-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.signup-title {
    font-size: 26px;
    text-transform: uppercase;
    margin: 6px 0 6px;
    color: var(--c-black);
}

.signup-sub {
    margin: 0;
    max-width: 520px;
    color: rgba(16, 19, 26, 0.8);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
    padding: 12px 16px;
    border: 2px solid var(--c-navy);
    border-radius: 999px;
    font-size: 15px;
    font-family: var(--font-body);
    background: var(--c-white);
    min-width: 0;
}

.signup-form input:focus {
    outline: 2px solid var(--c-blue);
    outline-offset: 1px;
}

.signup-form .btn {
    border: none;
    cursor: pointer;
    background: var(--c-navy);
    color: var(--c-yellow);
    font-family: var(--font-body);
}

.signup-form .btn:hover {
    background: var(--c-blue);
}

.signup-success {
    margin: 0;
    font-weight: 800;
    color: var(--c-navy);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.signup-error {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--c-red);
}

/* Popup: diskret nederst i venstre hjørne (~20% af skærmen) */
.signup-popup {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 900;
    width: min(340px, 86vw);
    background: var(--c-navy);
    color: var(--c-white);
    border-radius: var(--radius);
    border-top: 4px solid var(--c-yellow);
    box-shadow: 0 16px 48px rgba(7, 23, 51, 0.45);
    padding: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.signup-popup.is-visible {
    opacity: 1;
    transform: none;
}

.signup-popup-title {
    font-size: 18px;
    margin: 6px 0 4px;
    color: var(--c-white);
}

.signup-popup-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 12px;
}

.signup-popup .signup-form input[type="text"],
.signup-popup .signup-form input[type="email"] {
    border-color: transparent;
    padding: 10px 14px;
    font-size: 14px;
}

.signup-popup .signup-form .btn {
    background: var(--c-yellow);
    color: var(--c-black);
}

.signup-popup .signup-success {
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
}

.signup-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.signup-popup-close:hover {
    color: var(--c-yellow);
}

/* Afstemningskort */
.poll-card {
    margin-top: 16px;
}

.poll-question {
    font-weight: 800;
    font-size: 15px;
    margin: 0 0 12px;
    color: var(--c-black);
}

.poll-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-btn {
    display: block;
    text-align: center;
    padding: 10px 14px;
    border: 2px solid var(--c-navy);
    border-radius: 999px;
    color: var(--c-navy);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.poll-btn:hover {
    background: var(--c-navy);
    color: var(--c-yellow);
}

.poll-result {
    display: grid;
    grid-template-columns: 1fr 90px 38px;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}

.poll-result-label {
    font-weight: 600;
}

.poll-result--mine .poll-result-label {
    font-weight: 900;
    color: var(--c-blue);
}

.poll-result-bar {
    height: 8px;
    background: var(--c-grey-light);
    border-radius: 999px;
    overflow: hidden;
}

.poll-result-bar span {
    display: block;
    height: 100%;
    background: var(--c-yellow);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.poll-result--mine .poll-result-bar span {
    background: var(--c-blue);
}

.poll-result-pct {
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.poll-total {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--c-grey);
}

@media (min-width: 700px) {
    .signup-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .signup-form {
        flex-direction: row;
        align-items: center;
    }

    .signup-form input[type="text"] {
        width: 160px;
    }

    .signup-form input[type="email"] {
        width: 240px;
    }
}

/* Popup-justeringer: højre side, bredere, ens felter/knap i fuld bredde */
.signup-popup {
    left: auto;
    right: 16px;
    width: min(400px, 92vw);
}

.signup-popup .signup-form {
    flex-direction: column;
    align-items: stretch;
}

.signup-popup .signup-form input[type="text"],
.signup-popup .signup-form input[type="email"],
.signup-popup .signup-form .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.signup-popup .signup-form input[type="text"],
.signup-popup .signup-form input[type="email"] {
    text-align: left;
}

/* =========================================================
   23. Afstemninger: livligere knapper, resultater og animation
   ========================================================= */

.poll-card {
    border-top: 4px solid var(--c-yellow);
}

/* Farverige, fyldte knapper med shine-sweep og løft ved hover */
.poll-buttons .poll-btn {
    position: relative;
    overflow: hidden;
    border: none;
    color: var(--c-white);
    background: linear-gradient(120deg, var(--c-blue) 0%, var(--c-navy) 100%);
    box-shadow: 0 3px 10px rgba(10, 31, 68, 0.25);
    transition: transform 0.18s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.18s ease, filter 0.18s ease;
}

.poll-buttons .poll-btn:nth-child(2) {
    background: linear-gradient(120deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    color: var(--c-black);
    box-shadow: 0 3px 10px rgba(230, 184, 0, 0.35);
}

.poll-buttons .poll-btn:nth-child(3) {
    background: linear-gradient(120deg, #123163 0%, var(--c-navy-deep) 100%);
    color: var(--c-yellow);
}

.poll-buttons .poll-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
    pointer-events: none;
}

.poll-buttons .poll-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(10, 31, 68, 0.35);
    filter: brightness(1.05);
}

.poll-buttons .poll-btn:hover::after {
    left: 120%;
}

.poll-buttons .poll-btn:active {
    transform: translateY(0) scale(0.99);
}

/* Resultater: gradient-bjælker der vokser frem, glød og pokal til føreren */
.poll-result-bar {
    height: 12px;
    background: var(--c-grey-light);
    box-shadow: inset 0 1px 2px rgba(10, 31, 68, 0.12);
}

.poll-result-bar span {
    background: linear-gradient(90deg, var(--c-yellow-dark), var(--c-yellow));
    transform-origin: left center;
    animation: poll-grow 0.9s cubic-bezier(0.33, 1, 0.68, 1) backwards;
}

.poll-result:nth-child(2) .poll-result-bar span { animation-delay: 0.05s; }
.poll-result:nth-child(3) .poll-result-bar span { animation-delay: 0.15s; }
.poll-result:nth-child(4) .poll-result-bar span { animation-delay: 0.25s; }

@keyframes poll-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.poll-result--mine .poll-result-bar span {
    background: linear-gradient(90deg, var(--c-blue), #3a63c4);
}

.poll-result--top .poll-result-bar span {
    box-shadow: 0 0 10px rgba(255, 210, 0, 0.55);
}

.poll-result--top .poll-result-label::after {
    content: " 🏆";
    font-size: 12px;
}

.poll-result--mine.poll-result--top .poll-result-bar span {
    box-shadow: 0 0 10px rgba(29, 63, 143, 0.5);
}

.poll-result-pct {
    color: var(--c-navy);
}

.poll-total {
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .poll-result-bar span,
    .poll-buttons .poll-btn,
    .poll-buttons .poll-btn::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   24. Matchday-mode i topslideren
   ========================================================= */

.hero-slide--matchday {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 70px, rgba(255, 255, 255, 0) 70px 140px),
        radial-gradient(ellipse at 50% 120%, rgba(255, 210, 0, 0.18) 0%, rgba(255, 210, 0, 0) 55%),
        linear-gradient(160deg, #0d3320 0%, var(--c-navy-deep) 80%);
}

.hero-slide-body--matchday {
    text-align: center;
    align-self: center;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
}

.matchday-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.matchday-teams {
    font-size: 34px;
    color: var(--c-white);
    text-transform: uppercase;
    margin: 0 0 8px;
}

.matchday-vs {
    display: inline-block;
    background: var(--c-yellow);
    color: var(--c-black);
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    vertical-align: middle;
    margin: 0 10px;
}

.matchday-meta {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin: 0 0 20px;
}

.match-countdown--hero {
    display: inline-block;
    font-size: 20px;
    padding: 14px 26px;
    margin: 0 0 22px;
    background: rgba(255, 210, 0, 0.12);
    border: 1px solid rgba(255, 210, 0, 0.4);
}

.hero-slide-body--matchday .btn {
    display: inline-block;
}

@media (min-width: 960px) {
    .matchday-teams {
        font-size: 56px;
    }

    .match-countdown--hero {
        font-size: 26px;
    }
}

/* Podcast-afspiller i kampartikler */
.cne-podcast {
    background: var(--c-navy);
    color: var(--c-white);
    border-radius: var(--radius);
    border-left: 6px solid var(--c-yellow);
    padding: 20px 22px;
    margin: 28px 0;
}

.cne-podcast h3 {
    color: var(--c-yellow);
    font-size: 17px;
    margin: 0 0 6px;
}

.cne-podcast p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px;
}

.cne-podcast audio {
    width: 100%;
}

/* =========================================================
   25. Display-font: Archivo Black (self-hosted)
   ========================================================= */

@font-face {
    font-family: 'Archivo Black';
    src: url('assets/fonts/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Anton: kondenseret display-font til overskrifter (self-hosted, GDPR-venlig) */
@font-face {
    font-family: 'Anton';
    src: url('assets/fonts/anton-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Anton';
    src: url('assets/fonts/anton-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --font-display: 'Anton', 'Archivo Black', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

h1, h2, h3,
.site-title,
.section-title,
.hero-title,
.page-hero-title,
.matchday-teams,
.feature-title,
.signup-title,
.single-title,
.card-title {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.card-title {
    font-size: 17px;
    line-height: 1.3;
}

/* =========================================================
   26. Breaking-ticker under headeren
   ========================================================= */

.ticker {
    display: flex;
    align-items: stretch;
    background: var(--c-navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    height: 36px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 14px;
    z-index: 1;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 0 28px 0 0;
    white-space: nowrap;
}

.ticker-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-yellow);
    flex-shrink: 0;
}

.ticker-item:hover {
    color: var(--c-yellow);
}

.ticker-item--breaking::before {
    background: var(--c-red);
    box-shadow: 0 0 6px rgba(215, 38, 61, 0.8);
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* =========================================================
   27. Spillerkarakterer (efter kampen)
   ========================================================= */

.cne-ratings {
    background: var(--c-grey-light);
    border-radius: var(--radius);
    padding: 22px;
    margin: 28px 0;
}

.cne-ratings h3 {
    margin: 0 0 4px;
}

.cne-ratings-sub {
    font-size: 14px;
    color: var(--c-grey);
    margin: 0 0 18px;
}

.ratings-group-title {
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-blue);
    margin: 18px 0 8px;
    border-left: 4px solid var(--c-yellow);
    padding-left: 8px;
}

.rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--c-white);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 6px;
}

.rating-name {
    font-weight: 700;
    font-size: 14px;
    flex: 1;
    min-width: 0;
}

/* Spillerportræt i karakterrækkerne (kamptrup med portrætter) */
.rating-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-navy);
    box-shadow: inset 0 0 0 2px rgba(255, 210, 0, 0.5);
}

.rating-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.rating-initials {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--c-yellow);
    letter-spacing: 0.02em;
}

.rating-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.rating-star {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #cdd3dd;
    padding: 2px;
    transition: transform 0.12s ease, color 0.12s ease;
}

.rating-star:hover {
    transform: scale(1.25) rotate(-8deg);
}

.rating-star.is-active {
    color: var(--c-yellow);
    text-shadow: 0 0 8px rgba(255, 210, 0, 0.5);
}

.motm-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px dashed #d5dae2;
}

.motm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.motm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--c-navy);
    background: var(--c-white);
    color: var(--c-navy);
    border-radius: 999px;
    padding: 5px 14px 5px 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.motm-avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-navy);
    color: var(--c-yellow);
    font-family: var(--font-display);
    font-size: 11px;
}

.motm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.motm-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.motm-chip.is-selected {
    background: var(--c-yellow);
    border-color: var(--c-yellow);
    color: var(--c-black);
    transform: scale(1.05);
}

.ratings-submit {
    margin-top: 20px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.ratings-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Resultatvisning */
.rating-avg {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--c-navy);
    min-width: 44px;
    text-align: right;
}

.rating-avg small {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--c-grey);
    font-weight: 400;
}

.rating-avg-stars {
    color: var(--c-yellow);
    font-size: 14px;
    letter-spacing: 1px;
}

.ratings-motm-winner {
    background: linear-gradient(120deg, var(--c-navy), var(--c-blue));
    color: var(--c-white);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 16px;
    text-align: center;
    animation: motm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.ratings-motm-winner strong {
    color: var(--c-yellow);
    font-family: var(--font-display);
    font-size: 20px;
    display: block;
    margin-top: 4px;
}

@keyframes motm-pop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.ratings-thanks {
    text-align: center;
    font-weight: 700;
    color: var(--c-green);
    margin-top: 12px;
}

/* =========================================================
   28. Ugens Parma-quiz
   ========================================================= */

.cne-quiz {
    background: linear-gradient(160deg, var(--c-navy-deep), var(--c-navy));
    color: var(--c-white);
    border-radius: var(--radius);
    padding: 26px 22px;
    margin: 28px 0;
    overflow: hidden;
}

.quiz-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}

.quiz-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--c-yellow-dark), var(--c-yellow));
    border-radius: 999px;
    transition: width 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.quiz-counter {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-yellow);
    font-weight: 800;
    margin-bottom: 8px;
}

.quiz-question {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: var(--c-white);
}

.quiz-options {
    display: grid;
    gap: 10px;
}

.quiz-option {
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--c-white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.15s ease;
}

.quiz-option:hover:not(:disabled) {
    border-color: var(--c-yellow);
    transform: translateX(4px);
}

.quiz-option.is-correct {
    background: rgba(31, 138, 76, 0.35);
    border-color: #2ecc71;
    animation: quiz-correct 0.4s ease;
}

.quiz-option.is-wrong {
    background: rgba(215, 38, 61, 0.3);
    border-color: var(--c-red);
    animation: quiz-shake 0.4s ease;
}

@keyframes quiz-correct {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes quiz-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.quiz-explanation {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 210, 0, 0.1);
    border-left: 4px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    animation: quiz-fade 0.35s ease backwards;
}

.quiz-next {
    margin-top: 16px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.quiz-step {
    animation: quiz-fade 0.4s ease backwards;
}

@keyframes quiz-fade {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* Slutskaerm */
.quiz-final {
    text-align: center;
    animation: quiz-fade 0.5s ease backwards;
}

.quiz-score-ring {
    font-family: var(--font-display);
    font-size: 54px;
    color: var(--c-yellow);
    line-height: 1;
    margin: 12px 0 4px;
    animation: motm-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.quiz-score-ring small {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
}

.quiz-title-award {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--c-white);
    margin: 8px 0 6px;
}

.quiz-verdict {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    max-width: 440px;
    margin: 0 auto 18px;
}

@media (min-width: 640px) {
    .quiz-question { font-size: 24px; }
    .quiz-options { grid-template-columns: 1fr 1fr; }
}

/* Maanedens spiller: dropdown-form */
.poll-select-form {
    display: flex;
    gap: 8px;
}

.poll-select-form select {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 2px solid var(--c-navy);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    background: var(--c-white);
    color: var(--c-navy);
}

.poll-btn--submit {
    flex-shrink: 0;
    padding: 10px 20px;
}

/* Ticker-label: gul som standard (roed kun ved breaking) */
.ticker-label {
    background: var(--c-yellow);
    color: var(--c-navy);
}

.ticker-label--breaking {
    background: var(--c-red);
    color: var(--c-white);
}

/* Traeningslejr-slide i topslideren */
.hero-slide--camp {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 210, 0, 0.22) 0%, rgba(255, 210, 0, 0) 55%),
        linear-gradient(160deg, #1d3f8f 0%, var(--c-navy-deep) 85%);
}

.matchday-badge--camp {
    background: var(--c-yellow);
    color: var(--c-navy);
}

.hero-slide--camp .match-countdown {
    margin-bottom: 20px;
    display: inline-block;
}

/* Dagen i dag i Parma-historien (forsiden) */
.history-box {
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 5px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.history-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
    margin-bottom: 6px;
}

.history-title {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--c-white);
    margin: 0 0 6px;
}

.history-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* Topscorer-widget (Serie A-siden) */
.scorer-list {
    max-width: 640px;
}

.scorer-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 6px;
}

.scorer-row--parma {
    background: var(--c-yellow);
    border-color: var(--c-yellow-dark);
}

.scorer-pos {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--c-blue);
    text-align: center;
}

.scorer-row--parma .scorer-pos {
    color: var(--c-navy);
}

.scorer-name {
    font-weight: 700;
    font-size: 15px;
}

.scorer-team {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    color: var(--c-grey);
}

.scorer-row--parma .scorer-team {
    color: rgba(16, 19, 26, 0.65);
}

.scorer-goals {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--c-navy);
    white-space: nowrap;
}

.scorer-goals small {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--c-grey);
    font-weight: 600;
}

/* =========================================================
   25. Månedens spiller: mørkeblåt kort med live-stilling
   ========================================================= */

.poll-card--player {
    background: linear-gradient(160deg, #123163 0%, var(--c-navy-deep) 100%);
    border: none;
    border-top: 4px solid var(--c-yellow);
    box-shadow: var(--shadow);
}

.poll-card--player .live-card-title {
    color: var(--c-yellow);
}

.poll-card--player .poll-question {
    color: var(--c-white);
    font-size: 16px;
}

/* Stillingen lige nu: top 3 med medaljer */
.poll-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 14px;
}

.poll-leader {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    animation: quiz-fade 0.4s ease backwards;
}

.poll-leader:nth-child(2) { animation-delay: 0.08s; }
.poll-leader:nth-child(3) { animation-delay: 0.16s; }

.poll-leader--first {
    background: rgba(255, 210, 0, 0.16);
    color: var(--c-white);
    font-weight: 800;
    box-shadow: 0 0 14px rgba(255, 210, 0, 0.25);
}

.poll-leader-medal {
    font-size: 16px;
    line-height: 1;
}

.poll-leader-votes {
    margin-left: auto;
    font-weight: 800;
    color: var(--c-yellow);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Dropdown og stem-knap i sitets gul/blaa */
.poll-card--player .poll-select-form select {
    border-color: var(--c-yellow);
    background: var(--c-white);
}

.poll-card--player .poll-btn--submit {
    border: none;
    background: linear-gradient(120deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    color: var(--c-navy);
    box-shadow: 0 3px 10px rgba(255, 210, 0, 0.35);
    transition: transform 0.18s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.18s ease;
}

.poll-card--player .poll-btn--submit:hover {
    background: linear-gradient(120deg, var(--c-yellow) 0%, var(--c-yellow-dark) 100%);
    color: var(--c-navy);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 210, 0, 0.45);
}

/* Resultatvisning paa den moerke baggrund */
.poll-card--player .poll-result-label {
    color: rgba(255, 255, 255, 0.9);
}

.poll-card--player .poll-result--mine .poll-result-label {
    color: var(--c-yellow);
}

.poll-card--player .poll-result-bar {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.poll-card--player .poll-result-pct {
    color: var(--c-white);
}

.poll-card--player .poll-total {
    color: rgba(255, 255, 255, 0.6);
}

.poll-card--player .poll-result--mine .poll-result-bar span {
    background: linear-gradient(90deg, #3a63c4, #6b93ea);
}

/* =========================================================
   26. Kampagnebanner: sommerens traeningslejr
   ========================================================= */

.camp-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: var(--container);
    margin: 14px auto 0;
    padding: 8px 16px 8px 8px;
    background: linear-gradient(100deg, var(--c-yellow) 0%, #ffdf4d 100%);
    border-radius: 999px;
    text-decoration: none;
    color: var(--c-navy);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.18s ease;
}

.camp-banner:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.camp-banner-media {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--c-navy);
}

.camp-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.camp-banner-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.camp-banner-kicker {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10, 31, 68, 0.75);
}

.camp-banner-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camp-banner-cta {
    margin-left: auto;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    background: var(--c-navy);
    color: var(--c-yellow);
    padding: 8px 16px;
    border-radius: 999px;
}

@media (max-width: 560px) {
    .camp-banner { margin: 10px 12px 0; }
    .camp-banner-cta { display: none; }
}

/* =========================================================
   27. Truppen: avatarer og flag
   ========================================================= */

.squad-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-grey-light);
    border: 2px solid rgba(10, 31, 68, 0.12);
}

.squad-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.squad-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--c-navy);
    background: linear-gradient(140deg, #ffe36b 0%, var(--c-yellow) 100%);
    border-color: rgba(10, 31, 68, 0.18);
}

.squad-nation {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.squad-flag {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 700px) {
    .squad-nation-name { display: none; }
}

/* =========================================================
   28. Hvad siger spillerne: Instagram-karrusel
   ========================================================= */

.ig-section {
    background: linear-gradient(160deg, #10306b 0%, var(--c-navy-deep) 90%);
}

.ig-carousel {
    position: relative;
}

.ig-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--c-yellow) rgba(255, 255, 255, 0.1);
}

.ig-slide {
    flex: 0 0 210px;
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-slide:hover { transform: translateY(-8px); }

@media (prefers-reduced-motion: reduce) {
    .ig-slide { transition: none; }
    .ig-slide:hover { transform: none; }
}

.ig-slide .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Kort med gradient-baggrund og store initialer (som designoplægget) */
.ig-placeholder {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
}

.ig-slide:nth-child(4n+1) .ig-placeholder { background: linear-gradient(135deg, #12266B 0%, #050D2B 100%); }
.ig-slide:nth-child(4n+2) .ig-placeholder { background: linear-gradient(135deg, #1B3486 0%, #081541 100%); }
.ig-slide:nth-child(4n+3) .ig-placeholder { background: linear-gradient(135deg, #F5C400 0%, #0B1B4D 100%); }
.ig-slide:nth-child(4n)   .ig-placeholder { background: linear-gradient(135deg, #0B1B4D 0%, #1B3486 100%); }

.ig-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 72px;
    color: rgba(246, 241, 227, 0.15);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s ease;
}

.ig-slide:hover .ig-initials {
    transform: scale(1.25);
    color: rgba(255, 210, 0, 0.4);
}

.ig-cam {
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 20px;
    z-index: 2;
}

.ig-card-foot {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    padding: 42px 16px 16px;
    background: linear-gradient(to top, rgba(5, 13, 43, 0.92), transparent);
}

.ig-card-name {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: var(--c-white);
}

.ig-placeholder-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(246, 241, 227, 0.5);
    text-decoration: none;
    transition: color 0.28s ease;
}

.ig-slide:hover .ig-placeholder-link { color: var(--c-yellow); }

.ig-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--c-yellow);
    color: var(--c-navy);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.ig-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    filter: brightness(1.05);
}

.ig-arrow--prev { left: -10px; }
.ig-arrow--next { right: -10px; }

.ig-consent {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.07);
    border-left: 5px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ig-consent p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   29. Parmas historie: lodret tidslinje
   ========================================================= */

.section--history {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(255, 210, 0, 0.12) 0%, rgba(255, 210, 0, 0) 50%),
        linear-gradient(170deg, #0e2a5c 0%, var(--c-navy-deep) 70%);
    color: var(--c-white);
    overflow: hidden;
    isolation: isolate;
}

/* Flydende farveglimt i klubbens farver – bevaeger sig langsomt bag indholdet */
.section--history::before {
    content: "";
    position: absolute;
    inset: -15% -12%;
    z-index: 0;
    background:
        radial-gradient(38% 32% at 14% 16%, rgba(255, 210, 0, 0.18), rgba(255, 210, 0, 0) 70%),
        radial-gradient(34% 30% at 88% 40%, rgba(215, 38, 61, 0.16), rgba(215, 38, 61, 0) 72%),
        radial-gradient(42% 34% at 52% 90%, rgba(31, 138, 76, 0.15), rgba(31, 138, 76, 0) 72%);
    filter: blur(4px);
    animation: tl-drift 28s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Meget svag diagonal linjestruktur oven paa – giver dybde uden at forstyrre */
.section--history::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.028) 0 1px, rgba(255, 255, 255, 0) 1px 28px);
    pointer-events: none;
}

.section--history > .container {
    position: relative;
    z-index: 1;
}

@keyframes tl-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2.5%, -2%, 0) scale(1.07); }
    100% { transform: translate3d(-2.5%, 2%, 0) scale(1.04); }
}

.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 30px;
}

/* Den lodrette linje loeber ned gennem midten */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, rgba(255, 210, 0, 0.15) 0%, var(--c-yellow) 12%, var(--c-yellow) 88%, rgba(255, 210, 0, 0.15) 100%);
    border-radius: 999px;
}

/* Hver raekke: kort | aarstal (midten) | kort. Kortet ligger i den ene
   yderkolonne alt efter --left/--right. */
.tl-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
    margin-bottom: 46px;
}

.tl-row:last-child { margin-bottom: 8px; }

/* Aarstallet i midten, paa linjen */
.tl-axis {
    grid-column: 2;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.tl-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #12305f 0%, var(--c-navy-deep) 75%);
    border: 2px solid var(--c-yellow);
    color: var(--c-yellow);
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.01em;
    box-shadow: 0 0 0 6px rgba(10, 31, 68, 0.6), 0 0 22px rgba(255, 210, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.45);
}

/* Kortet */
.tl-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    /* --tl-x styrer scroll-reveal (fra siden), --tl-y styrer hover-loeft.
       Adskilt via variabler, saa de ikke overskriver hinanden. */
    transform: translate(var(--tl-x, 0), var(--tl-y, 0));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.tl-row--left .tl-card  { grid-column: 1; margin-right: 20px; }
.tl-row--right .tl-card { grid-column: 3; margin-left: 20px; }

/* Lille "hale" fra kortet ud mod midterlinjen */
.tl-card::after {
    content: "";
    position: absolute;
    top: 40px;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 210, 0, 0.7), rgba(255, 210, 0, 0));
}
.tl-row--left .tl-card::after  { right: -21px; background: linear-gradient(90deg, rgba(255, 210, 0, 0), rgba(255, 210, 0, 0.7)); }
.tl-row--right .tl-card::after { left: -21px; }

/* Topbillede */
.tl-media {
    position: relative;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: transparent;
}

.tl-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 51, 0) 45%, rgba(7, 23, 51, 0.85) 100%);
    pointer-events: none;
}

.tl-content {
    position: relative;
    padding: 18px 22px 20px;
}

.tl-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
    margin-bottom: 6px;
}

.tl-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--c-white);
    margin: 0 0 8px;
    line-height: 1.25;
}

.tl-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.tl-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-yellow);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.2s ease;
}

.tl-more svg { transition: transform 0.25s ease; }
.tl-more:hover { gap: 10px; }
.tl-more:hover svg { transform: translateX(3px); }

/* Ikon-badge (paa billedet, ellers inline over kickeren) */
.tl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-navy-deep);
    border: 1.5px solid rgba(255, 210, 0, 0.55);
    color: var(--c-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.tl-icon--inline { margin-bottom: 12px; }
.tl-icon svg { width: 22px; height: 22px; }

/* Typer: guld (trofae), moerk (roed), genrejsning (groen) */
.tl-row--triumph .tl-year   { border-color: var(--c-yellow); }
.tl-row--triumph .tl-card   { background: linear-gradient(140deg, rgba(255, 210, 0, 0.12) 0%, rgba(255, 255, 255, 0.04) 55%); }

.tl-row--dark .tl-year      { border-color: var(--c-red); color: #ff8797; box-shadow: 0 0 0 6px rgba(10, 31, 68, 0.6), 0 0 22px rgba(215, 38, 61, 0.4), 0 10px 24px rgba(0, 0, 0, 0.45); }
.tl-row--dark .tl-kicker    { color: #ff8797; }
.tl-row--dark .tl-icon      { border-color: rgba(215, 38, 61, 0.6); color: #ff8797; }

.tl-row--rebirth .tl-year   { border-color: var(--c-green); color: #6fd39a; box-shadow: 0 0 0 6px rgba(10, 31, 68, 0.6), 0 0 22px rgba(31, 138, 76, 0.45), 0 10px 24px rgba(0, 0, 0, 0.45); }
.tl-row--rebirth .tl-kicker { color: #6fd39a; }
.tl-row--rebirth .tl-icon   { border-color: rgba(31, 138, 76, 0.65); color: #6fd39a; }

/* Hover: kortet loeftes, billedet zoomer, en fin lysende kant kommer frem
   (kun ved hover - ingen statisk ramme) */
.tl-card:hover {
    --tl-y: -6px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 210, 0, 0.4);
}
.tl-card:hover .tl-media img { transform: scale(1.06); }
.tl-row--dark .tl-card:hover    { box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(215, 38, 61, 0.5); }
.tl-row--rebirth .tl-card:hover { box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(31, 138, 76, 0.55); }

/* Scroll-reveal: hele kortet skubbes ind fra siden som ét samlet element,
   saa der ikke staar en tom ramme, som billedet glider ind i. Billedet
   toner blidt ind en anelse efter, saa teksten laander foerst. */
.tl-row .tl-card {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}
.tl-row--left  .tl-card { --tl-x: -52px; }
.tl-row--right .tl-card { --tl-x: 52px; }

.tl-row .tl-year {
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-media img { opacity: 0; }

.tl-row.is-shown .tl-card {
    opacity: 1;
    --tl-x: 0;
}
.tl-row.is-shown .tl-year {
    opacity: 1;
    transform: scale(1);
}
.tl-row.is-shown .tl-media img {
    animation: tl-img-in 0.7s ease 0.18s both;
}

@keyframes tl-img-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.timeline-outro {
    text-align: center;
    padding: 26px 0 6px;
}

.timeline-outro-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--c-yellow);
    margin: 0 0 8px;
}

.timeline-outro p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px;
}

/* Tablet/mobil: alt paa én kolonne med linjen i venstre side */
@media (max-width: 720px) {
    .timeline { max-width: 560px; }
    .timeline::before { left: 30px; transform: none; }

    .tl-row {
        grid-template-columns: 60px 1fr;
        align-items: start;
        margin-bottom: 30px;
    }

    .tl-axis { grid-column: 1; justify-content: flex-start; }

    .tl-year {
        width: 60px;
        height: 60px;
        font-size: 15px;
        box-shadow: 0 0 0 5px rgba(10, 31, 68, 0.6), 0 0 16px rgba(255, 210, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.45);
    }
    .tl-row--dark .tl-year,
    .tl-row--rebirth .tl-year { box-shadow: 0 0 0 5px rgba(10, 31, 68, 0.6), 0 6px 16px rgba(0, 0, 0, 0.45); }

    .tl-row--left .tl-card,
    .tl-row--right .tl-card {
        grid-column: 2;
        margin: 0 0 0 12px;
    }

    .tl-card::after {
        top: 26px;
        left: -13px !important;
        right: auto !important;
        background: linear-gradient(90deg, rgba(255, 210, 0, 0), rgba(255, 210, 0, 0.7)) !important;
    }

    .tl-title { font-size: 17px; }

    /* Paa mobil kommer alle kort ind fra samme side (hoejre) */
    .tl-row--left .tl-card,
    .tl-row--right .tl-card { --tl-x: 40px; }
    .tl-row.is-shown .tl-card { --tl-x: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .tl-row .tl-card,
    .tl-row .tl-year { transition: none; }
    .tl-row .tl-card { --tl-x: 0; opacity: 1; }
    .tl-row .tl-year { opacity: 1; transform: scale(1); }
    .tl-media img { opacity: 1; animation: none; }
    .tl-row.is-shown .tl-media img { animation: none; }
    .section--history::before { animation: none; }
}

/* Instagram profil-embed (seneste opslag fra en spillers profil) */
.ig-profile-frame {
    width: 100%;
    height: 460px;
    border: none;
    border-radius: var(--radius);
    background: var(--c-white);
    display: block;
}

/* =========================================================
   30. Klublogoer i Serie A-tabellen
   ========================================================= */

.team-cell {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.team-crest {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
}

.team-crest--letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 10px;
    line-height: 1;
}

/* Forside-teaser til historiesiden (under "Dagen i dag") */
.history-teaser {
    display: block;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.history-teaser:hover {
    background: rgba(255, 210, 0, 0.13);
    transform: translateX(4px);
}

.history-teaser-art {
    display: block;
    color: var(--c-yellow);
    margin-bottom: 8px;
}

.history-teaser-art svg {
    width: 34px;
    height: 46px;
    display: block;
}

.history-teaser-cta {
    display: inline-block;
    margin-top: 4px;
    font-weight: 800;
    color: var(--c-yellow);
}

/* =========================================================
   31. Rettelser + kampform + podcastarkiv
   ========================================================= */

/* FIX: display:flex paa .ig-consent overtrumfede hidden-attributten,
   saa samtykke-boksen aldrig forsvandt efter klik. */
.ig-consent[hidden] {
    display: none;
}

/* Kampagnebanner: samme luft under som over (op mod tickeren) */
.camp-banner {
    margin: 14px auto;
}

@media (max-width: 560px) {
    .camp-banner { margin: 10px 12px; }
}

/* Historie-teaser: tidslinjen ligger ned og er laengere */
.history-teaser-art svg {
    width: 170px;
    height: 37px;
    max-width: 100%;
}

/* --- Parmas kampform: W/D/L-badges ----------------------- */

.team-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.team-form-label {
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.65);
}

.team-form-badges {
    display: inline-flex;
    gap: 6px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--c-white);
    cursor: help;
    transition: transform 0.18s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.18s ease;
}

.form-badge:hover,
.form-badge:focus-visible {
    transform: translateY(-3px) scale(1.12);
    z-index: 1;
}

.form-badge--w {
    background: linear-gradient(140deg, #26a55c 0%, var(--c-green) 100%);
    box-shadow: 0 2px 8px rgba(31, 138, 76, 0.45);
}

.form-badge--d {
    background: linear-gradient(140deg, #8a94a5 0%, #5c6470 100%);
    box-shadow: 0 2px 8px rgba(92, 100, 112, 0.4);
}

.form-badge--l {
    background: linear-gradient(140deg, #e6485e 0%, var(--c-red) 100%);
    box-shadow: 0 2px 8px rgba(215, 38, 61, 0.45);
}

/* Pop-ind en efter en, naar elementet scroller ind */
.team-form.is-revealed .form-badge {
    animation: form-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.team-form.is-revealed .form-badge:nth-child(2) { animation-delay: 0.08s; }
.team-form.is-revealed .form-badge:nth-child(3) { animation-delay: 0.16s; }
.team-form.is-revealed .form-badge:nth-child(4) { animation-delay: 0.24s; }
.team-form.is-revealed .form-badge:nth-child(5) { animation-delay: 0.32s; }

@keyframes form-pop {
    from { opacity: 0; transform: scale(0.2); }
    to   { opacity: 1; transform: scale(1); }
}

/* Kampform i lyse kort (kampcenterets store kort er ogsaa navy - men
   fallback hvis kortet er lyst) */
.match-card .team-form-label { color: rgba(255, 255, 255, 0.65); }

/* --- Podcastarkiv ----------------------------------------- */

.section--podcast {
    background: linear-gradient(170deg, #0e2a5c 0%, var(--c-navy-deep) 75%);
    color: var(--c-white);
}

.section-title--light {
    color: var(--c-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.podcast-group {
    margin-bottom: 44px;
}

.podcast-group .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.podcast-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 210, 0, 0.14);
    color: var(--c-yellow);
    flex-shrink: 0;
}

.podcast-group-icon svg {
    width: 20px;
    height: 20px;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.podcast-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid var(--c-yellow);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.2s ease;
}

.podcast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.podcast-card-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
    margin-bottom: 8px;
}

.podcast-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.3;
}

.podcast-card-title a {
    color: var(--c-white);
    text-decoration: none;
}

.podcast-card-title a:hover {
    color: var(--c-yellow);
}

.podcast-card audio {
    width: 100%;
    margin-bottom: 10px;
}

.podcast-card-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--c-yellow);
    text-decoration: none;
}

.podcast-card-link:hover {
    text-decoration: underline;
}

.podcast-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 18px 22px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.podcast-empty p { margin: 0; }

.podcast-empty-icon {
    display: inline-flex;
    color: var(--c-yellow);
    flex-shrink: 0;
}

.podcast-empty-icon svg { width: 26px; height: 26px; }

/* --- Podcast-banner paa forsiden --------------------------- */

.section--podcast-banner {
    padding: 26px 0;
    background: var(--c-grey-light);
}

.podcast-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(255, 210, 0, 0.18) 0%, rgba(255, 210, 0, 0) 55%),
        linear-gradient(120deg, #123163 0%, var(--c-navy-deep) 100%);
    border-radius: var(--radius);
    padding: 20px 26px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.2s ease;
}

.podcast-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(10, 31, 68, 0.35);
}

.podcast-banner-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-navy);
}

.podcast-banner-icon svg { width: 28px; height: 28px; }

.podcast-banner-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.podcast-banner-kicker {
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
}

.podcast-banner-title {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--c-white);
    line-height: 1.25;
}

.podcast-banner-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.podcast-banner-cta {
    margin-left: auto;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    background: var(--c-yellow);
    color: var(--c-navy);
    padding: 10px 18px;
    border-radius: 999px;
}

@media (max-width: 640px) {
    .podcast-banner { flex-wrap: wrap; }
    .podcast-banner-cta { margin-left: 74px; }
}

/* =========================================================
   32. Enkeltartikel: to-kolonne-layout, sidebar, relaterede
   ========================================================= */

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

.single-main {
    min-width: 0;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 980px) {
    .single-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
    .single-main { margin: 0; }
}

/* Sidebar-kort */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 90px;
}

.sidebar-card {
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 15px;
    margin: 0 0 14px;
    color: var(--c-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title-mark { font-size: 16px; }

.sidebar-readlist {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.sidebar-readlist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-top: 1px solid #eef0f4;
    font-size: 14px;
    line-height: 1.35;
}

.sidebar-readlist li:first-child { border-top: none; }

.sidebar-rank {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--c-yellow-dark);
    min-width: 16px;
}

.sidebar-readlist a {
    color: var(--c-navy);
    text-decoration: none;
    font-weight: 600;
}

.sidebar-readlist a:hover { color: var(--c-blue); }

/* Kommende kamp i sidebar */
.sidebar-card--match {
    background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-blue) 100%);
    border: none;
    color: var(--c-white);
}

.sidebar-card--match .sidebar-title { color: var(--c-white); }

.sidebar-match-comp {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.sidebar-match-teams {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.sidebar-match-vs {
    color: var(--c-yellow);
    margin: 0 6px;
    font-size: 13px;
}

.sidebar-match-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    line-height: 1.5;
}

.match-countdown--sidebar { margin-bottom: 14px; }

/* Relaterede artikler */
.related-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid #eef0f4;
}

.related-title {
    font-size: 22px;
    margin-bottom: 18px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================================
   33. Transferoverblik: to kolonner (ind / ud)
   ========================================================= */

.section--transfers { background: var(--c-grey-light); }

.section-title .transfer-season {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-grey);
    margin-left: 6px;
}

.transfer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 8px;
}

@media (min-width: 820px) {
    .transfer-grid { grid-template-columns: 1fr 1fr; }
}

.transfer-col {
    background: var(--c-white);
    border: 1px solid #e2e5ea;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.transfer-col-head {
    background: var(--c-navy);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transfer-col-title {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-white);
    margin: 0;
}

.transfer-col-head::before {
    content: "";
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.transfer-col--in .transfer-col-head::before {
    border-right: 9px solid var(--c-green);
}

.transfer-col--out .transfer-col-head::before {
    border-left: 9px solid var(--c-red);
}

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

.transfer-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "avatar info fee";
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-top: 1px solid #eef0f4;
}

.transfer-row:first-child { border-top: none; }
.transfer-row:nth-child(even) { background: #fafbfc; }

.transfer-avatar {
    grid-area: avatar;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-grey-light);
    border: 2px solid rgba(10, 31, 68, 0.1);
}

.transfer-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.transfer-avatar--initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--c-navy);
    background: linear-gradient(140deg, #ffe36b 0%, var(--c-yellow) 100%);
}

.transfer-info { grid-area: info; min-width: 0; display: flex; flex-direction: column; }

.transfer-name {
    font-weight: 800;
    font-size: 14px;
    color: var(--c-navy);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.transfer-name:hover { color: var(--c-blue); }

.transfer-pos { font-size: 12px; color: var(--c-grey); }

.transfer-club {
    grid-area: fee;
    display: none;
    font-size: 12px;
    color: var(--c-grey);
    text-align: right;
    white-space: nowrap;
}

.transfer-fee {
    grid-area: fee;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--c-navy);
    text-align: right;
    white-space: nowrap;
}

@media (min-width: 520px) {
    .transfer-row {
        grid-template-columns: 44px minmax(0, 1fr) auto auto;
        grid-template-areas: "avatar info club fee";
        gap: 14px;
    }
    .transfer-club { grid-area: club; display: block; min-width: 70px; }
    .transfer-fee { min-width: 90px; }
}

/* Transferoverblik som sidebar-widget (stakket: ind over ud) */
.transfer-widget { margin-bottom: 4px; }

.sidebar-title--transfer {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--c-navy);
    margin: 0 0 12px;
}

.transfer-widget .transfer-col { margin-bottom: 14px; }
.transfer-widget .transfer-col:last-of-type { margin-bottom: 8px; }

.transfer-widget .transfer-col-head { padding: 10px 14px; }
.transfer-widget .transfer-row { padding: 9px 14px; }

/* I den smalle widget skjules klub-kolonnen; navn + beløb er nok */
.transfer-widget .transfer-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "avatar info fee";
}
.transfer-widget .transfer-club { display: none; }
.transfer-widget .transfer-avatar { width: 40px; height: 40px; }

.transfer-widget-note {
    font-size: 12px;
    color: var(--c-grey);
    margin: 6px 0 0;
}

/* =========================================================
   34. Kampoptakt: taktik-bane, fakta-blok, podcast
   ========================================================= */

.cne-lineup {
    margin: 22px 0 26px;
    background: linear-gradient(160deg, #10306b 0%, var(--c-navy-deep) 90%);
    border-radius: var(--radius);
    padding: 18px 18px 14px;
    color: var(--c-white);
    box-shadow: var(--shadow);
}

/* VS-topbillede: baggrund + de to klublogoer (hjemme venstre, ude højre) */
.cne-vs-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1774 / 887;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 0 20px;
    box-shadow: var(--shadow);
}
.cne-vs-logo {
    position: absolute;
    top: 46.5%;
    width: 17%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cne-vs-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}
.cne-vs-logo--home { left: 25.4%; }
.cne-vs-logo--away { left: 74.6%; }

.cne-lineup-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
}
@media (min-width: 640px) {
    .cne-lineup-stage { grid-template-columns: 112px minmax(0, 1fr); }
}

/* Venstre panel: mærke, klub og formation */
.cne-lineup-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}
@media (min-width: 640px) {
    .cne-lineup-side { align-items: flex-start; text-align: left; }
}
.cne-lineup-crest { width: 56px; height: 56px; }
.cne-lineup-crest img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.cne-lineup-club {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--c-white);
}
.cne-lineup-formation {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.14em;
    color: var(--c-navy);
    background: var(--c-yellow);
    padding: 3px 12px;
    border-radius: 999px;
}
.cne-lineup-kicker {
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}

/* Vandret bane med 3D-fornemmelse: målmand til venstre, angreb til højre */
.cne-pitch {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    perspective: 1150px;
    perspective-origin: 50% 40%;
}
.cne-pitch-plane {
    position: absolute;
    inset: 6% 2% 10%;
    transform: rotateX(27deg);
    transform-style: preserve-3d;
    border-radius: 12px;
}
.cne-pitch-surface {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 8%, rgba(255,255,255,0.09) 8% 16%),
        linear-gradient(180deg, #1f9a54 0%, #12622f 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 34px 50px rgba(0, 0, 0, 0.5);
}
.cne-pitch-lines::before,
.cne-pitch-lines::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.cne-pitch-lines::before { top: 0; bottom: 0; left: 50%; border-width: 0 0 0 2px; }
.cne-pitch-lines::after { height: 42%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.cne-pitch-tokens { position: absolute; inset: 0; transform-style: preserve-3d; }

.cne-token { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }

/* Spiller-chip står "op" fra banen (mod-roteret) i Parma-farver */
.cne-chip {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0) rotateX(-27deg);
    transform-origin: bottom center;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px 3px 3px;
    background: linear-gradient(180deg, #16398a 0%, var(--c-navy) 100%);
    border: 1px solid rgba(255, 213, 0, 0.55);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 9px 15px rgba(0, 0, 0, 0.45);
    opacity: 0;
}
.cne-pitch.is-live .cne-chip {
    animation: cne-chip-in 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
    animation-delay: var(--d, 0ms);
}
.cne-chip-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-navy);
    font-family: var(--font-display);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cne-chip-name {
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}
@keyframes cne-chip-in {
    from { opacity: 0; transform: translate(-50%, 10px) rotateX(-27deg) scale(0.6); }
    to   { opacity: 1; transform: translate(-50%, 0) rotateX(-27deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .cne-chip { opacity: 1; animation: none; transform: translate(-50%, 0) rotateX(-27deg); }
}

/* Bænken */
.cne-subs-title {
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-yellow);
    margin: 0 0 8px;
}

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

.cne-subs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}
.cne-subs-list li:first-child { border-top: none; }

.cne-subs-num {
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--c-yellow);
}

.cne-subs-name { flex: 1; color: rgba(255, 255, 255, 0.92); }
.cne-subs-pos { font-size: 11px; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }

.cne-lineup-note {
    margin: 12px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Fakta-blok: forventet resultat + form + Serie A */
.cne-facts {
    margin: 26px 0;
    background: var(--c-grey-light);
    border-radius: var(--radius);
    padding: 18px 20px;
    border-top: 4px solid var(--c-yellow);
}

.cne-facts-verdict {
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #dfe3ea;
}

.cne-facts-verdict-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-blue);
    margin-bottom: 4px;
}

.cne-facts-verdict-score {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--c-navy);
}

.cne-facts-verdict-note {
    display: block;
    font-size: 13px;
    color: var(--c-grey);
    margin-top: 4px;
}

.cne-facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 560px) {
    .cne-facts-grid { grid-template-columns: 1fr 1fr; }
}

.cne-facts-team {
    background: var(--c-white);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.match-team-logo {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
}
.match-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cne-facts-logo {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 0 8px;
}
.cne-facts-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cne-facts-name {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--c-navy);
    margin: 0 0 10px;
}

.cne-facts-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
}

.cne-facts-label {
    flex-shrink: 0;
    width: 52px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-grey);
}

.cne-facts-badges { display: inline-flex; gap: 4px; }
.cne-facts-badges .form-badge { width: 24px; height: 24px; font-size: 11px; }

.cne-facts-pos { font-family: var(--font-display); color: var(--c-navy); }
.cne-facts-pts { font-weight: 700; color: var(--c-navy); }
.cne-facts-played { color: var(--c-grey); font-size: 12px; }
.cne-facts-standing-empty, .cne-form-empty { color: var(--c-grey); font-size: 12px; }

/* Podcast-afspiller i artikler */
.cne-podcast {
    margin: 24px 0;
    background: linear-gradient(120deg, #123163 0%, var(--c-navy-deep) 100%);
    border-radius: var(--radius);
    padding: 18px 20px;
    color: var(--c-white);
    border-left: 5px solid var(--c-yellow);
}
.cne-podcast h3 { margin: 0 0 4px; font-size: 17px; color: var(--c-white); }
.cne-podcast p { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.cne-podcast audio { width: 100%; }

/* Sidebar podcast-widget (på kampoptakter) */
.sidebar-card--podcast {
    background: linear-gradient(150deg, #123163 0%, var(--c-navy-deep) 100%);
    border: none;
    border-left: 5px solid var(--c-yellow);
    color: var(--c-white);
}

.sidebar-title--light { color: var(--c-white); }

.sidebar-podcast-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px;
}

.sidebar-card--podcast audio { width: 100%; }

/* Form-barometer inde i sidebar-kampkortet */
.sidebar-card--match .team-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sidebar-card--match .team-form-label { color: rgba(255, 255, 255, 0.65); }
.sidebar-card--match .btn { margin-top: 14px; }

/* -------------------------------------------------------------------------
 * Kampforudsigelser & tipskonkurrence
 * ---------------------------------------------------------------------- */
.cne-predict {
    background: linear-gradient(160deg, var(--c-navy), var(--c-blue));
    color: #fff;
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 18px 40px -22px rgba(10, 31, 68, 0.7);
}

.cne-predict-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-yellow);
    margin: 0 0 6px;
}
.cne-predict-eyebrow > span {
    width: 20px;
    height: 2px;
    background: var(--c-yellow);
    display: inline-block;
}

.cne-predict-title {
    margin: 0;
    color: #fff;
    line-height: 0.95;
}

.cne-predict-when {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 4px 0 16px;
}

.cne-predict-teams {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cne-predict-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.cne-predict-crest {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
}
.cne-predict-crest img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cne-predict-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.15;
    color: #fff;
}

.cne-predict-score {
    width: 58px;
    height: 58px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--c-navy);
    background: #fff;
    border: 2px solid var(--c-yellow);
    border-radius: var(--radius-sm);
    -moz-appearance: textfield;
}
.cne-predict-score::-webkit-outer-spin-button,
.cne-predict-score::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cne-predict-score:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.4);
}

.cne-predict-sep {
    align-self: center;
    font-family: var(--font-display);
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 46px;
}

.cne-predict-nick {
    display: block;
    margin-bottom: 14px;
}
.cne-predict-nick span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}
.cne-predict-nick-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
}
.cne-predict-nick-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cne-predict-nick-input:focus {
    outline: none;
    border-color: var(--c-yellow);
    background: rgba(255, 255, 255, 0.14);
}

.cne-predict .cne-predict-submit { width: 100%; }

.cne-predict-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 10px 0 0;
    text-align: center;
}

.cne-predict-thanks,
.cne-predict-locked p {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.cne-predict-dist { margin-top: 18px; }

.cne-predict-empty {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 8px 0 0;
}

.cne-predict-dist-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
}

.cne-predict-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cne-predict-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 10px;
    font-size: 12px;
}
.cne-predict-bar-lbl {
    grid-column: 1 / 2;
    color: rgba(255, 255, 255, 0.85);
}
.cne-predict-bar b {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--c-yellow);
}
.cne-predict-bar-track {
    grid-column: 1 / 2;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}
.cne-predict-bar-track > span {
    display: block;
    height: 100%;
    background: var(--c-yellow);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.cne-predict-top-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin: 16px 0 8px;
}
.cne-predict-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cne-predict-top-chip {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}
.cne-predict-top-chip b {
    font-family: var(--font-display);
    color: #fff;
    margin-right: 3px;
}

/* Sæson-leaderboard */
.cne-leaderboard {
    background: var(--c-grey-light);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 22px;
}

.cne-lb-title { margin: 0; }

.cne-predict-eyebrow.cne-lb-eyebrow,
.cne-leaderboard .cne-predict-eyebrow {
    color: var(--c-blue);
}
.cne-leaderboard .cne-predict-eyebrow > span { background: var(--c-blue); }

.cne-lb-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    counter-reset: none;
}

.cne-lb-row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 4px 12px;
    padding: 10px 12px;
    background: var(--c-white);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

.cne-lb-rank {
    grid-row: 1 / 3;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--c-grey);
    text-align: center;
}

.cne-lb-nick {
    grid-column: 2 / 3;
    font-weight: 700;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cne-lb-meta {
    grid-column: 2 / 3;
    font-size: 11px;
    color: var(--c-grey);
}

.cne-lb-points {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    font-size: 12px;
    color: var(--c-grey);
    text-align: right;
}
.cne-lb-points b {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--c-blue);
    display: block;
}

.cne-lb-row--podium .cne-lb-rank { color: var(--c-blue); }
.cne-lb-row--1 { box-shadow: inset 4px 0 0 var(--c-yellow); }
.cne-lb-row--1 .cne-lb-rank { color: #c99700; }
.cne-lb-row--2 { box-shadow: inset 4px 0 0 #b9c0cc; }
.cne-lb-row--3 { box-shadow: inset 4px 0 0 #d0a06a; }

@media (max-width: 480px) {
    .cne-predict-score { width: 50px; height: 50px; font-size: 26px; }
    .cne-predict-sep { margin-top: 42px; }
}

/* -------------------------------------------------------------------------
 * Live kamptråd & kommentarer
 * ---------------------------------------------------------------------- */
.cne-thread {
    background: var(--c-white);
    border: 1px solid var(--c-grey-light);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 14px 34px -24px rgba(10, 31, 68, 0.5);
}

.cne-thread-head { margin-bottom: 14px; }

.cne-thread-title {
    margin: 2px 0 0;
    line-height: 0.95;
}

.cne-thread-when {
    font-size: 13px;
    color: var(--c-grey);
    margin: 5px 0 0;
}

.cne-thread-list {
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 4px 4px 0;
    margin-bottom: 14px;
    scroll-behavior: smooth;
}

.cne-thread-empty {
    font-size: 14px;
    color: var(--c-grey);
    text-align: center;
    padding: 22px 0;
    margin: 0;
}

.cne-thread-msg {
    background: var(--c-grey-light);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    animation: cne-thread-in 0.3s ease;
}
@keyframes cne-thread-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.cne-thread-msg-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}
.cne-thread-msg-head b {
    font-size: 13px;
    color: var(--c-blue);
}
.cne-thread-msg-head time {
    font-size: 11px;
    color: var(--c-grey);
    font-variant-numeric: tabular-nums;
}

.cne-thread-msg-text {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--c-navy);
    word-break: break-word;
}

.cne-thread-form { display: flex; flex-direction: column; gap: 8px; position: relative; }

.cne-thread-nick-input,
.cne-thread-text-input {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-grey-light);
    background: #fff;
    font-size: 14px;
    color: var(--c-navy);
    width: 100%;
}
.cne-thread-nick-input:focus,
.cne-thread-text-input:focus {
    outline: none;
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(29, 63, 143, 0.12);
}

.cne-thread-input-row {
    display: flex;
    gap: 8px;
}
.cne-thread-input-row .cne-thread-text-input { flex: 1; }
.cne-thread-input-row .cne-thread-submit { flex-shrink: 0; }

.cne-thread-note {
    font-size: 12px;
    color: var(--c-grey);
    margin: 2px 0 0;
}

/* -------------------------------------------------------------------------
 * Push-notifikationer: aktivér-kort
 * ---------------------------------------------------------------------- */
.cne-notify {
    background: linear-gradient(150deg, #10254d, var(--c-blue));
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 22px;
}
.cne-notify.is-unsupported { display: none; }

.cne-notify-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cne-notify-icon { font-size: 26px; flex-shrink: 0; }

.cne-notify-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cne-notify-copy b { font-size: 15px; }
.cne-notify-copy span { font-size: 12px; color: rgba(255, 255, 255, 0.78); line-height: 1.35; }

.cne-notify .cne-notify-btn { flex-shrink: 0; }

.cne-notify-status {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cne-notify.is-done .cne-notify-inner { opacity: 0.75; }

@media (max-width: 420px) {
    .cne-notify-inner { flex-wrap: wrap; }
    .cne-notify .cne-notify-btn { width: 100%; }
}

/* -------------------------------------------------------------------------
 * Live-matchcenter (Serie A rundeoversigt)
 * ---------------------------------------------------------------------- */
.cne-sb {
    background: var(--c-white);
    border: 1px solid var(--c-grey-light);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 14px 34px -24px rgba(10, 31, 68, 0.5);
}

.cne-sb-head { margin-bottom: 14px; }

.cne-sb-title {
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cne-sb-livetag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body, inherit);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: #d81e2c;
    padding: 3px 8px;
    border-radius: 999px;
}

.cne-sb-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cne-sb-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    background: var(--c-grey-light);
}

.cne-sb-row--parma {
    background: linear-gradient(90deg, rgba(255, 210, 0, 0.18), rgba(29, 63, 143, 0.08));
    box-shadow: inset 3px 0 0 var(--c-yellow);
}
.cne-sb-row.is-live { box-shadow: inset 3px 0 0 #d81e2c; }
.cne-sb-row--parma.is-live { box-shadow: inset 3px 0 0 var(--c-yellow), inset 6px 0 0 #d81e2c; }

.cne-sb-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.cne-sb-team--home { justify-content: flex-end; text-align: right; }
.cne-sb-team--away { justify-content: flex-start; text-align: left; }

.cne-sb-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--c-navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cne-sb-crest {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
}
.cne-sb-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cne-sb-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 62px;
}

.cne-sb-score {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--c-navy);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}
.cne-sb-score i { font-style: normal; color: var(--c-grey); }
.cne-sb-score--vs {
    font-size: 12px;
    font-family: inherit;
    color: var(--c-grey);
    font-weight: 600;
}

.cne-sb-min {
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--c-grey);
    text-transform: uppercase;
    min-height: 12px;
}
.cne-sb-min--live {
    color: #d81e2c;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cne-sb-note {
    font-size: 12px;
    color: var(--c-grey);
    margin: 14px 0 0;
}

/* -------------------------------------------------------------------------
 * Forventet opstilling på banen
 * ---------------------------------------------------------------------- */
.cne-pitch {
    background: var(--c-white);
    border: 1px solid var(--c-grey-light);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 28px;
}
.cne-pitch-head { margin-bottom: 16px; }
.cne-pitch-title { margin: 2px 0 0; }

.cne-pitch-field {
    position: relative;
    aspect-ratio: 68 / 92;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 14px;
    background:
        repeating-linear-gradient(0deg, #1f7a3d 0 8.33%, #1b6c36 8.33% 16.66%);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 16px 40px -26px rgba(10,31,68,.7);
    overflow: hidden;
}

/* Banestreger */
.cne-pitch-lines span { position: absolute; border: 2px solid rgba(255,255,255,.38); }
.cne-pitch-circle { width: 30%; aspect-ratio: 1; border-radius: 50%; left: 35%; top: 50%; transform: translateY(-50%); }
.cne-pitch-spot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); border: none !important; left: calc(50% - 2.5px); top: calc(50% - 2.5px); }
.cne-pitch-halfway { left: 0; right: 0; top: 50%; height: 0; border-width: 0 0 2px 0; width: 100%; }
.cne-pitch-box { left: 22%; width: 56%; height: 15%; }
.cne-pitch-box--top { top: 0; border-top: none; }
.cne-pitch-box--bottom { bottom: 0; border-bottom: none; }
.cne-pitch-sixe { left: 36%; width: 28%; height: 6.5%; }
.cne-pitch-sixe--top { top: 0; border-top: none; }
.cne-pitch-sixe--bottom { bottom: 0; border-bottom: none; }

/* Spillere */
.cne-pitch-player {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0;
    animation: cne-pitch-in .5s cubic-bezier(.34,1.3,.5,1) forwards;
    animation-delay: calc(var(--d) * 70ms);
}
@keyframes cne-pitch-in {
    from { opacity: 0; transform: translate(-50%, -30%) scale(.7); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.cne-pitch-shirt {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c-white);
    box-shadow: 0 3px 10px rgba(0,0,0,.35), inset 0 0 0 2.5px var(--c-yellow);
    display: grid;
    place-items: center;
}
.cne-pitch-num { font-family: var(--font-display); font-size: 15px; color: var(--c-navy); line-height: 1; }
.cne-pitch-name {
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.75);
    white-space: nowrap;
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cne-pitch-slot { font-size: 8px; letter-spacing: .07em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.cne-pitch-note { font-size: 12px; color: var(--c-grey); margin: 16px 0 0; text-align: center; }

/* -------------------------------------------------------------------------
 * Head-to-head duel
 * ---------------------------------------------------------------------- */
.cne-duel {
    background: linear-gradient(155deg, var(--c-navy), #14315f);
    color: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
}
.cne-duel-head { margin-bottom: 18px; }
.cne-duel-title { margin: 2px 0 0; color: #fff; }
.cne-duel-when { font-size: 12.5px; color: rgba(255,255,255,.7); margin: 5px 0 0; }

.cne-duel-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 20px; }
.cne-duel-team { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.cne-duel-team b { font-size: 14px; line-height: 1.15; }
.cne-duel-team small { font-size: 11px; color: rgba(255,255,255,.6); font-family: var(--font-mono); }
.cne-duel-team.is-parma b { color: var(--c-yellow); }
.cne-duel-crest { width: 44px; height: 44px; display: grid; place-items: center; }
.cne-duel-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cne-duel-vs { font-family: var(--font-display); font-size: 17px; color: rgba(255,255,255,.45); }

.cne-duel-rows { display: flex; flex-direction: column; gap: 12px; }
.cne-duel-row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; }
.cne-duel-val { font-family: var(--font-display); font-size: 18px; text-align: center; }
.cne-duel-val--home { color: var(--c-yellow); }
.cne-duel-val--away { color: #fff; }
.cne-duel-bars { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cne-duel-label { font: 700 9.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.62); text-align: center; }
.cne-duel-track { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
.cne-duel-fill { display: block; height: 100%; width: 0; animation: cne-duel-grow 1s cubic-bezier(.4,0,.2,1) forwards; }
.cne-duel-fill--home { background: linear-gradient(90deg, var(--c-yellow), #ffe680); }
.cne-duel-fill--away { background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.3)); }
@keyframes cne-duel-grow { to { width: var(--w); } }

.cne-duel-forms { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.cne-duel-form { display: flex; gap: 4px; }
.cne-duel-form--home { justify-content: flex-end; }
.cne-duel-form--away { justify-content: flex-start; }
.cne-duel-f { width: 21px; height: 21px; border-radius: 5px; display: grid; place-items: center; font: 700 10px var(--font-mono); font-style: normal; color: #fff; }
.cne-duel-f--w { background: #1a8a4a; }
.cne-duel-f--d { background: #b98900; }
.cne-duel-f--l { background: #c0392b; }
.cne-duel-form-lbl { font: 700 9.5px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    .cne-pitch-player { animation: none; opacity: 1; }
    .cne-duel-fill { animation: none; width: var(--w); }
}
