/* =========================================================
   Crociati.dk – "Reimagined" forside-design
   Oversat fra crociati-reimagined (Next.js) til temaet.
   Bygges sektion for sektion. Denne fil loades EFTER style.css
   og overtager forsiden + topbar/footer.
   ========================================================= */

/* --- Self-hostede fonte (GDPR-venligt, ingen Google-kald) --------------- */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    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: 'Inter';
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    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;
}
@font-face {
    font-family: 'Space Mono';
    src: url('../fonts/spacemono-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Mono';
    src: url('../fonts/spacemono-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Designtokens ------------------------------------------------------- */
:root {
    --rx-ink: #071830;
    --rx-ink-2: #0c2345;
    --rx-yellow: #ffd500;
    --rx-yellow-hot: #ffe600;
    --rx-paper: #f5f2e9;
    --rx-white: #fffef8;
    --rx-blue: #174baf;
    --rx-parallax: 0px;
    --rx-mouse-x: 50vw;
    --rx-mouse-y: 50vh;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --font-display: 'Anton', 'Archivo Black', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* --- Cursor-glow (gul cirkel der følger musen) ------------------------- */
.rx-cursor-glow {
    position: fixed;
    z-index: 999;
    left: var(--rx-mouse-x);
    top: var(--rx-mouse-y);
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 0, .11), transparent 65%);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* --- Scroll-progress-bar ----------------------------------------------- */
.rx-scroll-progress {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: var(--rx-yellow-hot);
    box-shadow: 0 0 14px rgba(255, 230, 0, .7);
}

/* =========================================================
   Topbar (site-wide, erstatter den gamle header)
   ========================================================= */
.site-header {
    height: 88px;
    padding: 0 4.5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: rgba(7, 24, 48, .94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-width: none;
    margin: 0;
}

.rx-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: #fff;
}
.rx-brand-mark {
    position: relative;
    width: 43px;
    height: 43px;
    background: var(--rx-yellow);
    display: grid;
    place-items: center;
    border-radius: 11px 11px 11px 3px;
    transform: rotate(-3deg);
    box-shadow: 5px 5px 0 var(--rx-blue);
    flex-shrink: 0;
}
.rx-brand-mark::before,
.rx-brand-mark::after {
    content: "";
    position: absolute;
    background: var(--rx-ink);
    border-radius: 1px;
}
.rx-brand-mark::before { width: 25px; height: 9px; }
.rx-brand-mark::after { height: 25px; width: 9px; }
.rx-brand-copy {
    display: flex;
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: .5px;
    line-height: 1;
    text-transform: uppercase;
}
.rx-brand-copy em { font-style: normal; color: var(--rx-yellow); }

.rx-nav {
    display: flex;
    gap: clamp(18px, 2.4vw, 44px);
    align-items: center;
}
.rx-nav a {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .08em;
    position: relative;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.rx-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 2px;
    background: var(--rx-yellow);
    transition: right .3s ease;
}
.rx-nav a:hover::after,
.rx-nav a[aria-current="page"]::after { right: 0; }

.rx-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rx-yellow);
    border: 0;
    padding: 0;
    cursor: pointer;
}
.rx-menu-button i {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--rx-ink);
    margin: 5px auto;
    transition: transform .25s;
}

/* Sprog-skifter (flag øverst) */
.rx-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.rx-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    text-decoration: none;
    font: 700 11px/1 var(--font-mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s, border-color .2s, transform .2s;
}
.rx-lang-toggle:hover {
    background: rgba(255, 255, 255, .18);
    border-color: var(--rx-yellow);
    transform: translateY(-1px);
}
.rx-lang-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    display: block;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.rx-lang-label { white-space: nowrap; }

/* Banner i engelsk tilstand */
.rx-en-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 18px;
    background: var(--rx-blue);
    color: #fff;
    font: 600 13px/1.4 var(--font-body, inherit);
    text-align: center;
}
.rx-en-banner-flag { font-size: 15px; }

@media (max-width: 540px) {
    .rx-lang-label { display: none; }
    .rx-lang-toggle { padding: 7px 9px; }
}

/* =========================================================
   Ticker
   ========================================================= */
.rx-ticker {
    height: 42px;
    display: flex;
    overflow: hidden;
    background: var(--rx-yellow);
    border-bottom: 1px solid var(--rx-ink);
    position: relative;
    z-index: 12;
}
.rx-ticker-label {
    display: grid;
    place-items: center;
    flex: 0 0 118px;
    color: #fff;
    background: var(--rx-blue);
    font: 700 11px var(--font-mono);
    letter-spacing: .13em;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.rx-ticker-track {
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.rx-ticker-track > div {
    display: inline-flex;
    animation: rx-marquee 34s linear infinite;
}
.rx-ticker-track a {
    font: 700 11px var(--font-mono);
    letter-spacing: .06em;
    margin-right: 38px;
    color: var(--rx-ink);
    text-decoration: none;
}
.rx-ticker-track b { margin-left: 38px; color: var(--rx-blue); }

/* =========================================================
   Træningslejr-banner (ny stil)
   ========================================================= */
.rx-camp {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 4.5vw;
    background: var(--rx-blue);
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    position: relative;
    z-index: 11;
    transition: background .25s ease;
}
.rx-camp:hover { background: #1a54c4; }
.rx-camp-media {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 3px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.rx-camp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rx-camp-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rx-camp-kicker {
    font: 700 9px var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rx-yellow);
}
.rx-camp-title {
    font-family: var(--font-display);
    font-size: clamp(15px, 1.7vw, 20px);
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rx-camp-cta {
    margin-left: auto;
    flex-shrink: 0;
    font: 700 10px var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rx-yellow);
    white-space: nowrap;
}
@media (max-width: 680px) {
    .rx-camp { padding: 11px 20px; gap: 14px; }
    .rx-camp-cta { display: none; }
}

@keyframes rx-marquee { to { transform: translateX(-50%); } }
@keyframes rx-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 46, .6); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

/* =========================================================
   Topslider (hero)
   ========================================================= */
.rx-hero {
    position: relative;
    min-height: calc(100svh - 130px);
    display: flex;
    align-items: center;
    padding: 9vh 6vw 10vh;
    color: #fff;
    overflow: hidden;
    background: var(--rx-ink);
    isolation: isolate;
}
.rx-hero-bg { position: absolute; inset: -150px 0 -80px; z-index: -4; }
.rx-hero-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(7%);
    transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.rx-hero-img.is-active { opacity: 1; transform: translateX(0); }
.rx-hero-img-zoom {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center calc(50% + var(--rx-parallax));
    filter: saturate(.82) contrast(1.06);
    transform: scale(1.08);
}
.rx-hero-img.is-active .rx-hero-img-zoom { animation: rx-kenburns 8s ease-out forwards; }
/* Video-slide i topslideren (månedens longread) */
.rx-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); }
@media (prefers-reduced-motion: reduce) {
    .rx-hero-img-zoom { transform: scale(1.08); }
    .rx-hero-img.is-active .rx-hero-img-zoom { animation: none; }
}
.rx-hero-shade {
    position: absolute; inset: 0; z-index: -3;
    background:
        linear-gradient(90deg, rgba(7, 24, 48, .98) 0%, rgba(7, 24, 48, .82) 43%, rgba(7, 24, 48, .22) 78%),
        linear-gradient(0deg, rgba(7, 24, 48, .8), transparent 55%);
}
.rx-hero-noise {
    position: absolute; inset: 0; z-index: -1; opacity: .1;
    background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .55) 0 1px, transparent 1px 4px);
    background-size: 9px 11px; mix-blend-mode: soft-light; pointer-events: none;
}
.rx-hero-orbit {
    position: absolute; right: 7vw; bottom: -89px; width: 220px; height: 220px;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
    animation: rx-spin 20s linear infinite; display: grid; place-items: center; opacity: .6; z-index: -1;
}
.rx-hero-orbit span { width: 150px; font: 700 9px var(--font-mono); letter-spacing: .15em; color: var(--rx-yellow); text-align: center; }
.rx-hero-slice {
    position: absolute; z-index: -2;
    width: min(27vw, 390px); height: 54vh;
    right: 12vw; bottom: -10vh;
    background-size: cover; background-position: center;
    border: 1px solid rgba(255, 213, 0, .65);
    box-shadow: 22px 22px 0 rgba(255, 213, 0, .12);
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
    transform: translateY(calc(0px - var(--rx-parallax)));
    opacity: .6; mix-blend-mode: luminosity; pointer-events: none;
}

.rx-hero-content { width: min(830px, 78vw); position: relative; z-index: 2; }
.rx-eyebrow {
    font: 700 10px var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
    display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: rgba(255, 255, 255, .85);
}
.rx-eyebrow > span { display: inline-block; width: 34px; height: 2px; background: var(--rx-yellow); flex-shrink: 0; }
.rx-eyebrow.dark { color: var(--rx-blue); }
.rx-eyebrow.dark > span { background: var(--rx-blue); }

.rx-hero-slides { position: relative; }
.rx-hero-slide {
    position: absolute; inset: 0; opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.rx-hero-slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.rx-hero-tag { font: 700 9px var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--rx-yellow); }
.rx-hero-title { margin: 14px 0 0; font: 400 clamp(42px, 5.6vw, 88px)/.9 var(--font-display); letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.rx-hero-title a { color: #fff; text-decoration: none; }
.rx-hero-title a:hover { color: var(--rx-yellow); }
.rx-hero-deck { margin: 22px 0 28px; max-width: 620px; color: rgba(255, 255, 255, .76); font-size: clamp(15px, 1.4vw, 20px); line-height: 1.55; }

.rx-button {
    min-height: 55px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 20px;
    font: 700 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent;
    transition: transform .25s, box-shadow .25s, background .25s; text-decoration: none; cursor: pointer;
}
.rx-button:hover { transform: translateY(-4px); }
.rx-button-primary { background: var(--rx-yellow); color: var(--rx-ink); box-shadow: 7px 7px 0 var(--rx-blue); }
.rx-button-primary:hover { box-shadow: 11px 11px 0 var(--rx-blue); }
.rx-button-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.rx-button-ghost:hover { background: rgba(255, 255, 255, .1); }
.rx-button-dark { background: var(--rx-ink); color: #fff; }

.rx-hero-nav { display: flex; align-items: center; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.rx-hero-dots { display: flex; gap: 10px; }
.rx-hero-dot { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: background .3s; }
.rx-hero-dot.is-active { background: var(--rx-yellow); }

.rx-hero-meta {
    position: absolute; right: 3.3vw; top: 50%; transform: translateY(-50%);
    display: grid; gap: 6px; writing-mode: vertical-rl; font: 400 8px var(--font-mono); letter-spacing: .18em; color: rgba(255, 255, 255, .6); z-index: 2;
}
.rx-hero-meta span { color: var(--rx-yellow); font-weight: 700; }
.rx-hero-stamp {
    position: absolute; right: 5.4vw; top: 12%; width: 105px; height: 105px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
    display: grid; place-items: center; text-align: center; transform: rotate(9deg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 2;
}
.rx-hero-stamp::before { content: ""; position: absolute; inset: 7px; border: 1px dashed var(--rx-yellow); border-radius: 50%; animation: rx-spin 14s linear infinite reverse; }
.rx-hero-stamp b { font: 400 28px/1 var(--font-display); color: var(--rx-yellow); }
.rx-hero-stamp span { font: 700 7px/1.3 var(--font-mono); letter-spacing: .14em; }
.rx-scroll-cue { position: absolute; bottom: 22px; right: 6vw; font: 700 9px var(--font-mono); letter-spacing: .15em; display: flex; align-items: center; gap: 10px; z-index: 2; }
.rx-scroll-cue span { width: 52px; height: 1px; background: #fff; position: relative; overflow: hidden; }
.rx-scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--rx-yellow); animation: rx-scan 2s infinite; }

@keyframes rx-spin { to { transform: rotate(360deg); } }
@keyframes rx-kenburns { from { transform: scale(1.08); } to { transform: scale(1.2); } }
@keyframes rx-scan { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

/* =========================================================
   Seneste nyt (news-section)
   ========================================================= */
.rx-news { padding: 120px 5.5vw 140px; background: var(--rx-paper); position: relative; overflow: hidden; }
.rx-news::before {
    content: "CROCIATI"; position: absolute; top: 60px; right: -1vw;
    font: 400 14vw/.8 var(--font-display); color: transparent;
    -webkit-text-stroke: 1px rgba(7, 24, 48, .07); pointer-events: none; white-space: nowrap;
}
.rx-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 55px; position: relative; gap: 30px; }
.rx-section-heading h2 { margin: 0; font: 400 clamp(62px, 8vw, 124px)/.83 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; color: var(--rx-ink); }
.rx-text-link {
    font: 700 11px var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
    border-bottom: 2px solid var(--rx-ink); padding: 10px 0; display: inline-flex; gap: 25px;
    color: var(--rx-ink); white-space: nowrap; flex-shrink: 0;
}
.rx-text-link span { transition: transform .3s; }
.rx-text-link:hover span { transform: translateX(6px); }
.rx-lead-grid { display: grid; grid-template-columns: 1.08fr .92fr; border-top: 1px solid rgba(7, 24, 48, .25); }
.rx-lead-story { min-height: 700px; position: relative; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.rx-lead-story-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rx-lead-story:hover .rx-lead-story-image { transform: scale(1.055); }
.rx-image-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 24, 48, .98), rgba(7, 24, 48, .06) 70%); }
.rx-story-content { padding: 50px; position: relative; z-index: 1; }
.rx-story-meta { display: flex; align-items: center; gap: 16px; font: 700 9px var(--font-mono); letter-spacing: .1em; color: #8790a0; margin-bottom: 14px; text-transform: uppercase; }
.rx-story-meta span { color: var(--rx-blue); }
.rx-lead-story .rx-story-meta span { color: var(--rx-yellow); }
.rx-lead-story h3 { margin: 0 0 16px; font: 400 clamp(43px, 4.6vw, 73px)/.91 var(--font-display); text-transform: uppercase; }
.rx-lead-story h3 a { color: inherit; text-decoration: none; transition: color .25s; }
.rx-lead-story:hover h3 a, .rx-lead-story h3 a:hover { color: var(--rx-yellow); }
.rx-lead-story p { max-width: 560px; color: rgba(255, 255, 255, .7); line-height: 1.6; margin: 0 0 22px; }
.rx-lead-link { display: inline-flex; gap: 25px; border-bottom: 2px solid var(--rx-yellow); padding-bottom: 6px; font: 700 10px var(--font-mono); text-transform: uppercase; color: #fff; }
.rx-lead-link span { transition: transform .3s; }
.rx-lead-story:hover .rx-lead-link span { transform: translateX(6px); }
.rx-story-stack { border-left: 1px solid rgba(7, 24, 48, .25); }
.rx-story-row {
    position: relative; padding: 24px 26px; border-bottom: 1px solid rgba(7, 24, 48, .25);
    display: grid; grid-template-columns: 35px 135px 1fr 38px; gap: 20px; align-items: center;
    transition: background .35s, transform .35s;
}
.rx-story-row:hover { background: var(--rx-ink); transform: translateX(8px); }
.rx-story-row img { width: 135px; height: 155px; object-fit: cover; filter: saturate(.75); transition: filter .35s; }
.rx-story-row:hover img { filter: saturate(1.05); }
.rx-story-index { align-self: start; padding-top: 6px; font: 700 10px var(--font-mono); color: var(--rx-blue); transition: color .3s; }
.rx-story-row:hover .rx-story-index { color: var(--rx-yellow); }
.rx-story-row:hover .rx-story-meta { color: rgba(255, 255, 255, .55); }
.rx-story-row:hover .rx-story-meta span { color: var(--rx-yellow); }
.rx-story-row h3 { font: 400 clamp(25px, 2.3vw, 37px)/1 var(--font-display); text-transform: uppercase; margin: 0 0 9px; color: var(--rx-ink); transition: color .25s; }
.rx-story-row h3 a { color: inherit; text-decoration: none; }
.rx-story-row h3 a::after { content: ""; position: absolute; inset: 0; }
.rx-story-row:hover h3 a { color: var(--rx-yellow); }
.rx-story-row p { font-size: 12px; line-height: 1.5; color: #596273; margin: 0; transition: color .3s; }
.rx-story-row:hover p { color: rgba(255, 255, 255, .72); }
.rx-story-arrow { width: 36px; height: 36px; border: 1px solid rgba(7, 24, 48, .25); border-radius: 50%; display: grid; place-items: center; transition: .25s; color: var(--rx-ink); }
.rx-story-row:hover .rx-story-arrow { background: var(--rx-yellow); border-color: var(--rx-yellow); color: var(--rx-ink); transform: rotate(45deg); }

/* =========================================================
   Næste kamp (match-section)
   ========================================================= */
.rx-match { background: var(--rx-ink); color: #fff; padding: 110px 6vw 130px; position: relative; overflow: hidden; isolation: isolate; }
.rx-stadium-lines {
    position: absolute; z-index: -1; width: 850px; height: 850px;
    border: 1px solid rgba(255, 213, 0, .11); border-radius: 50%; right: -220px; top: -90px;
    box-shadow: 0 0 0 90px rgba(255, 213, 0, .035), 0 0 0 180px rgba(255, 213, 0, .025), 0 0 0 270px rgba(255, 213, 0, .018);
    animation: rx-stadium-drift 26s ease-in-out infinite;
}
@keyframes rx-stadium-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-26px, 22px, 0) scale(1.04); }
}
/* Stort parallax-ghostord bag kampen */
.rx-match-ghost {
    position: absolute; z-index: -1; left: -2vw; bottom: -4vw; pointer-events: none; user-select: none;
    font: 400 clamp(140px, 26vw, 400px)/.8 var(--font-display); text-transform: uppercase; letter-spacing: -.03em;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
    transform: translateY(calc(0px - var(--rx-parallax, 0)));
}
/* Løft alt reelt indhold i kampsektionen over parallax-lagene */
.rx-match > .rx-eyebrow,
.rx-match > .rx-match-top,
.rx-match > .rx-match-card,
.rx-match > .rx-match-data,
.rx-match > .rx-campaign { position: relative; z-index: 1; }
.rx-match .rx-page-cross { opacity: .8; }
.rx-match-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.rx-match-top h2 { margin: 0; font: 400 clamp(62px, 8vw, 124px)/.83 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; color: var(--rx-yellow); }
.rx-tiny-label { font: 700 10px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; display: block; margin-bottom: 8px; }

/* Nedtælling (genbruger .cd-* fra hovedscriptet) */
.rx-countdown { display: flex; border-top: 1px solid rgba(255, 255, 255, .25); }
.rx-countdown .cd-cell { min-width: 100px; padding: 18px 17px; border-right: 1px solid rgba(255, 255, 255, .15); text-align: left; }
.rx-countdown .cd-box { background: none; padding: 0; }
.rx-countdown .cd-num { font: 400 54px/1 var(--font-display); display: block; color: #fff; }
.rx-countdown .cd-label { font: 700 8px var(--font-mono); letter-spacing: .15em; color: rgba(255, 255, 255, .45); text-transform: uppercase; }
.rx-countdown--tbd { padding: 18px 0; font: 700 11px var(--font-mono); color: rgba(255, 255, 255, .55); letter-spacing: .1em; }
.rx-countdown .cd-live { font: 700 12px var(--font-mono); color: var(--rx-yellow); letter-spacing: .1em; display: flex; align-items: center; gap: 8px; padding: 16px 0; }

.rx-match-card {
    margin-top: 56px; min-height: 235px; background: var(--rx-yellow); color: var(--rx-ink);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 38px 5vw;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); position: relative;
}
.rx-match-card::before { content: ""; position: absolute; inset: 0; opacity: .1; background: repeating-linear-gradient(125deg, transparent 0 30px, var(--rx-ink) 30px 31px); pointer-events: none; }
.rx-match-club { display: flex; align-items: center; gap: 25px; position: relative; z-index: 1; }
.rx-match-club.away { justify-content: flex-end; text-align: right; }
.rx-match-club b { font: 400 clamp(38px, 5vw, 77px)/.8 var(--font-display); text-transform: uppercase; display: block; }
.rx-match-club small, .rx-match-center small { display: block; font: 700 8px var(--font-mono); letter-spacing: .15em; margin-top: 10px; text-transform: uppercase; }
.rx-club-badge { width: 94px; height: 112px; display: grid; place-items: center; color: #fff; font: 700 18px var(--font-mono); background: var(--rx-blue); flex-shrink: 0; clip-path: polygon(8% 0, 92% 0, 100% 18%, 88% 85%, 50% 100%, 12% 85%, 0 18%); }
.rx-club-badge.parma { background: var(--rx-ink); }
.rx-club-badge--logo,
.rx-club-badge--logo.parma { background: transparent; clip-path: none; border-radius: 0; padding: 0; box-shadow: none; }
.rx-club-badge--logo img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(7, 24, 48, .28)); }
.rx-match-center { position: relative; z-index: 1; text-align: center; min-width: 190px; }
.rx-match-center > span { font: 700 9px var(--font-mono); letter-spacing: .08em; }
.rx-match-center strong { display: block; font: 400 78px/.9 var(--font-display); }
.rx-match-center .rx-match-score { color: var(--rx-ink); letter-spacing: .02em; }

/* Live-indikator over baren */
.rx-match-card.is-live { box-shadow: 0 0 0 2px rgba(173, 38, 54, .5); }
.rx-live-flag {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 3;
    background: #fff; color: #ad2636; font: 700 10px var(--font-mono); letter-spacing: .12em;
    padding: 9px 20px; display: flex; align-items: center; gap: 9px; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 8px 24px rgba(7, 24, 48, .28);
}
.rx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e01b2e; animation: rx-pulse 1.4s ease-in-out infinite; }

.rx-match-data { display: grid; grid-template-columns: 1.3fr .7fr; gap: 35px; margin-top: 38px; }
.rx-data-tabs { grid-column: 1; display: flex; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.rx-data-tabs button { color: rgba(255, 255, 255, .45); background: none; border: 0; padding: 13px 24px 13px 0; margin-right: 26px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; position: relative; cursor: pointer; }
.rx-data-tabs button.is-active { color: #fff; }
.rx-data-tabs button.is-active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 24px; height: 3px; background: var(--rx-yellow); }
.rx-form-panel, .rx-table-panel { grid-column: 1; grid-row: 2; min-height: 235px; }
.rx-form-panel[hidden], .rx-table-panel[hidden] { display: none; }
.rx-form-row { display: grid; grid-template-columns: 170px repeat(5, 43px); gap: 8px; align-items: center; margin: 16px 0; }
.rx-form-row > span { font: 700 12px var(--font-mono); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-form-row i { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--font-mono); cursor: help; font-style: normal; position: relative; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.rx-form-row i:hover { transform: scale(1.28) translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, .4); z-index: 3; }
.rx-form-w { background: var(--rx-yellow); color: var(--rx-ink); }
.rx-form-d { background: #5b7bbf; color: #fff; }
.rx-form-l { background: #ad2636; color: #fff; }
.rx-form-empty { font: 400 11px var(--font-mono); color: rgba(255, 255, 255, .45); font-style: normal; }
.rx-form-panel > p { color: rgba(255, 255, 255, .55); font-size: 12px; margin-top: 23px; }
.rx-table-panel > div { display: grid; grid-template-columns: 40px 1fr 70px 50px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 400 11px var(--font-mono); align-items: center; }
.rx-table-panel .is-parma { background: var(--rx-yellow); color: var(--rx-ink); }
/* =========================================================
   Afstemning – redesignet i sidens stil (scoped til kampsektionen)
   ========================================================= */
.rx-poll { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; z-index: 1; }
.rx-poll #afstemninger { display: flex; flex-direction: column; gap: 22px; }
.rx-poll .cne-polls, .rx-poll .poll-card { margin: 0; }
.rx-poll .poll-card {
    position: relative; overflow: hidden; background: var(--rx-white); color: var(--rx-ink);
    padding: 26px 26px 28px; border: 0; border-radius: 0; box-shadow: 10px 10px 0 rgba(23, 75, 175, .35);
}
.rx-poll .poll-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--rx-yellow); }
.rx-poll .poll-card--player { box-shadow: 10px 10px 0 rgba(207, 146, 0, .4); }
.rx-poll .live-card-title {
    margin: 4px 0 14px; font: 700 10px var(--font-mono); letter-spacing: .2em; text-transform: uppercase;
    color: var(--rx-blue); display: flex; align-items: center; gap: 9px;
}
.rx-poll .live-card-title::before { content: ""; width: 22px; height: 2px; background: var(--rx-yellow); }
.rx-poll .poll-question { margin: 0 0 20px; font: 400 clamp(23px, 2vw, 30px)/.98 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink); }

/* Stem-knapper – som sidens knapper (firkantet, mono). Bumpet specificitet
   + nth-child-reset så den gamle flerfarvede knap-styling ikke slår igennem. */
.rx-poll .poll-buttons { display: flex; flex-direction: column; gap: 10px; }
.rx-poll .poll-buttons .poll-btn,
.rx-poll .poll-buttons .poll-btn:nth-child(2),
.rx-poll .poll-buttons .poll-btn:nth-child(3),
.rx-poll .poll-buttons .poll-btn:nth-child(4) {
    position: relative; display: block; text-align: left; text-decoration: none; cursor: pointer;
    background: var(--rx-ink); color: #fff; padding: 15px 44px 15px 20px; font: 700 11px var(--font-mono);
    letter-spacing: .1em; text-transform: uppercase; border: 0; border-radius: 0; box-shadow: none;
    transition: transform .22s, background .22s, color .22s; animation: none;
}
.rx-poll .poll-buttons .poll-btn::after { content: "→"; position: absolute; right: 18px; top: 50%; left: auto; bottom: auto; transform: translateY(-50%); opacity: 0; background: none; transition: opacity .22s, transform .22s; }
.rx-poll .poll-buttons .poll-btn:hover { background: var(--rx-yellow); color: var(--rx-ink); transform: translateX(6px); }
.rx-poll .poll-buttons .poll-btn:hover::after { opacity: 1; }

/* Resultater – track med animeret gradient-fyld */
.rx-poll .poll-result { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; margin: 0 0 13px; }
.rx-poll .poll-result-label { font: 700 12px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.rx-poll .poll-result-pct { font: 400 22px/1 var(--font-display); color: var(--rx-blue); }
.rx-poll .poll-result-bar { grid-column: 1 / -1; height: 9px; background: rgba(7, 24, 48, .1); overflow: hidden; }
.rx-poll .poll-result-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--rx-blue), #4f83e6); transform-origin: left; animation: rx-poll-fill 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rx-poll-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rx-poll .poll-result--top .poll-result-pct { color: var(--rx-ink); }
.rx-poll .poll-result--top .poll-result-bar > span { background: linear-gradient(90deg, #e0b400, var(--rx-yellow)); }
.rx-poll .poll-result--mine .poll-result-label::after { content: " · din stemme"; color: var(--rx-blue); font-weight: 700; }
.rx-poll .poll-total { margin: 16px 0 0; font: 700 9px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #7a8394; }

/* Månedens spiller: leaderboard + dropdown */
.rx-poll .poll-leaderboard { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.rx-poll .poll-leader { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; background: rgba(7, 24, 48, .05); }
.rx-poll .poll-leader--first { background: var(--rx-yellow); }
.rx-poll .poll-leader-medal { font-size: 16px; }
.rx-poll .poll-leader-name { font: 700 13px var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-poll .poll-leader-votes { font: 700 9px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #6b7688; }
.rx-poll .poll-leader--first .poll-leader-votes { color: rgba(7, 24, 48, .6); }
.rx-poll .poll-card .poll-select-form { display: flex; gap: 8px; }
.rx-poll .poll-card .poll-select-form select { flex: 1; min-width: 0; border: 2px solid var(--rx-ink); background: #fff; padding: 12px 12px; font: 700 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--rx-ink); border-radius: 0; }
.rx-poll .poll-card .poll-btn--submit { background: var(--rx-yellow); color: var(--rx-ink); padding: 12px 20px; border: 0; border-radius: 0; font: 700 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 4px 4px 0 var(--rx-ink); transition: box-shadow .2s, transform .2s; }
.rx-poll .poll-card .poll-btn--submit:hover { box-shadow: 7px 7px 0 var(--rx-ink); transform: translate(-1px, -1px); }

/* Kampagneelement under kampen (kampoptakt + podcast) */
.rx-campaign { margin-top: 48px; display: grid; grid-template-columns: .92fr 1.08fr; background: var(--rx-ink-2); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.rx-campaign-media { position: relative; min-height: 280px; overflow: hidden; display: block; }
.rx-campaign-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rx-campaign:hover .rx-campaign-media img { transform: scale(1.05); }
.rx-campaign-body { padding: 40px 44px; display: flex; flex-direction: column; gap: 16px; }
.rx-campaign-kicker { font: 700 10px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--rx-yellow); }
.rx-campaign-body h3 { margin: 0; font: 400 clamp(30px, 3.4vw, 48px)/.94 var(--font-display); text-transform: uppercase; }
.rx-campaign-body h3 a { color: #fff; text-decoration: none; }
.rx-campaign-body > p { margin: 0; color: rgba(255, 255, 255, .68); line-height: 1.6; font-size: 14px; }
.rx-campaign-pod { display: flex; flex-direction: column; gap: 8px; }
.rx-campaign-pod-label { font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.rx-campaign-pod audio { width: 100%; height: 38px; }
.rx-button-dark { align-self: flex-start; background: var(--rx-yellow); color: var(--rx-ink); border-color: var(--rx-yellow); margin-top: 4px; }
.rx-button-dark:hover { background: var(--rx-yellow-hot); }

/* =========================================================
   Transfernyt
   ========================================================= */
.rx-transfers { padding: 110px 5.5vw 130px; background: var(--rx-white); position: relative; overflow: hidden; }
.rx-transfer-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.rx-transfer-news { border-top: 1px solid rgba(7, 24, 48, .2); }
.rx-transfer-card {
    position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 24px; padding: 26px 4px;
    border-bottom: 1px solid rgba(7, 24, 48, .2);
    transition: background .35s; align-items: center;
}
.rx-transfer-card:hover { background: var(--rx-paper); }

/* Transferoverblik-widget (spillere ind/ud) */
.rx-tr-widget { position: relative; overflow: hidden; background: var(--rx-ink); background: linear-gradient(160deg, #0c2a5e 0%, var(--rx-ink) 62%); color: #fff; padding: 30px 32px 26px; isolation: isolate; }
.rx-tr-widget::after {
    content: "+"; position: absolute; z-index: 0; right: -3.2vw; bottom: -5vw; pointer-events: none;
    font: 400 clamp(220px, 22vw, 360px)/.7 var(--font-display); color: rgba(255, 213, 0, .05);
    transform: translateY(calc(var(--rx-parallax, 0) * .4));
}
.rx-tr-widget > * { position: relative; z-index: 1; }
.rx-tr-title { margin: 0 0 22px; font: 400 clamp(28px, 2.6vw, 38px)/1 var(--font-display); text-transform: uppercase; }
.rx-tr-title span { color: var(--rx-yellow); }
.rx-tr-group { margin-bottom: 22px; }
.rx-tr-head { display: flex; align-items: center; gap: 12px; background: var(--rx-ink-2); padding: 12px 18px; font: 700 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; margin-bottom: 6px; position: relative; overflow: hidden; }
.rx-tr-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .07) 50%, transparent 80%); transform: translateX(-100%); animation: rx-tr-sheen 5.5s ease-in-out infinite; }
@keyframes rx-tr-sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.rx-tr-head--in span { color: var(--rx-yellow); }
.rx-tr-head--out span { color: #e0566a; }
.rx-tr-list { list-style: none; margin: 0; padding: 0; }
.rx-tr-row { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 15px; align-items: center; padding: 11px 12px 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; transition: background .28s, transform .28s; }
.rx-tr-row::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; border-radius: 3px; background: var(--rx-yellow); transform: scaleY(0); transform-origin: center; transition: transform .28s; }
.rx-tr-row:hover { background: rgba(255, 255, 255, .06); transform: translateX(6px); }
.rx-tr-row:hover::before { transform: scaleY(1); }
.rx-tr-head--out ~ .rx-tr-list .rx-tr-row::before, .rx-tr-group:has(.rx-tr-head--out) .rx-tr-row::before { background: #e0566a; }
.rx-tr-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--rx-yellow); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 213, 0, .5); transition: transform .28s, box-shadow .28s; }
.rx-tr-row:hover .rx-tr-avatar { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(255, 213, 0, .3); }
.rx-tr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rx-tr-initials { font: 700 12px var(--font-mono); color: var(--rx-ink); }
.rx-tr-info { min-width: 0; }
.rx-tr-name { display: block; font: 700 14px var(--font-sans); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; transition: color .2s; }
.rx-tr-name:hover, .rx-tr-row:hover .rx-tr-name { color: var(--rx-yellow); }
.rx-tr-info small { display: block; font: 400 11px var(--font-sans); color: rgba(255, 255, 255, .5); }
.rx-tr-fee { font: 700 12px var(--font-mono); color: var(--rx-yellow); white-space: nowrap; transition: transform .28s; }
.rx-tr-row:hover .rx-tr-fee { transform: scale(1.12); }
.rx-tr-note { margin: 14px 0 0; font: 400 9px var(--font-mono); color: rgba(255, 255, 255, .4); }
.rx-transfer-thumb { width: 118px; height: 118px; object-fit: cover; filter: saturate(.78); }
.rx-transfer-body { min-width: 0; }
.rx-transfer-body h3 { margin: 6px 0 8px; font: 400 clamp(24px, 2.1vw, 33px)/1 var(--font-display); text-transform: uppercase; color: var(--rx-ink); }
.rx-transfer-body h3 a { color: inherit; text-decoration: none; }
.rx-transfer-body h3 a::after { content: ""; position: absolute; inset: 0; }
.rx-transfer-body p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #596273; }
.rx-transfer-arrow {
    position: absolute; top: 24px; right: 26px; width: 34px; height: 34px;
    border: 1px solid rgba(7, 24, 48, .2); border-radius: 50%; display: grid; place-items: center;
    font-size: 14px; color: var(--rx-blue); transition: .25s;
}
.rx-transfer-card:hover .rx-transfer-arrow { background: var(--rx-yellow); border-color: var(--rx-yellow); color: var(--rx-ink); transform: rotate(45deg); }

/* =========================================================
   Serie A (formbarometer pr. klub)
   ========================================================= */
.rx-league { padding: 110px 5.5vw 120px; background: var(--rx-paper); color: var(--rx-ink); position: relative; overflow: hidden; }
.rx-section-heading--light h2 { color: #fff; }
.rx-text-link--light { color: #fff; border-bottom-color: var(--rx-yellow); }
.rx-league-wrap { overflow-x: auto; border-top: 1px solid rgba(7, 24, 48, .14); }
.rx-league-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.rx-league-table thead th {
    font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
    color: rgba(7, 24, 48, .5); text-align: center; padding: 16px 10px; font-weight: 700;
    border-bottom: 1px solid rgba(7, 24, 48, .16);
}
.rx-league-table thead th.rx-la-team { text-align: left; }
.rx-league-table tbody td { text-align: center; padding: 13px 10px; font: 400 13px var(--font-mono); border-bottom: 1px solid rgba(7, 24, 48, .09); vertical-align: middle; }
.rx-league-table .rx-la-pos { color: var(--rx-yellow); font-weight: 700; width: 44px; }
.rx-league-table td.rx-la-team { text-align: left; }
.rx-league-table td.rx-la-team .team-cell { display: flex; align-items: center; gap: 12px; }
.rx-league-table .team-crest { width: 22px; height: 22px; object-fit: contain; }
.rx-league-table .team-crest--letter { display: grid; place-items: center; background: rgba(7, 24, 48, .08); border-radius: 50%; font: 700 10px var(--font-mono); color: var(--rx-ink); }
.rx-league-table .team-link { color: var(--rx-ink); font: 700 13px var(--font-sans); }
.rx-league-table .rx-la-pts { font: 400 18px var(--font-display); color: var(--rx-ink); }
.rx-league-table tr.is-parma td { background: var(--rx-yellow); color: var(--rx-ink); }
.rx-league-table tr.is-parma .rx-la-pos, .rx-league-table tr.is-parma .team-link, .rx-league-table tr.is-parma .rx-la-pts { color: var(--rx-ink); }
.rx-league-table tr.is-parma .team-crest--letter { background: rgba(7, 24, 48, .15); }

.rx-la-formcol { width: 172px; }
.rx-la-form { display: inline-flex; gap: 4px; justify-content: center; }
.rx-la-form i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 9px var(--font-mono); font-style: normal; position: relative; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.rx-la-form i:hover { transform: scale(1.3) translateY(-4px); box-shadow: 0 8px 16px rgba(0, 0, 0, .45); z-index: 3; }
.rx-la-w { background: var(--rx-yellow); color: var(--rx-ink); }
.rx-la-d { background: #5b7bbf; color: #fff; }
.rx-la-l { background: #ad2636; color: #fff; }
.rx-la-form--empty { color: rgba(7, 24, 48, .4); }
.rx-league-table tr.is-parma .rx-la-w { background: var(--rx-ink); color: var(--rx-yellow); }
.rx-league-note { margin: 24px 0 0; font: 400 11px var(--font-mono); color: rgba(7, 24, 48, .5); }
.rx-league-note a { color: var(--rx-blue); }
.rx-league-note--dark { color: #7a8394; }

/* =========================================================
   Truppen
   ========================================================= */
.rx-squad { padding: 110px 5.5vw 120px; background: var(--rx-paper); position: relative; overflow: hidden; }
.rx-squad .rx-section-heading { max-width: 1180px; margin-left: auto; margin-right: auto; }
.rx-squad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
.rx-squad-group { --acc: var(--rx-blue); background: var(--rx-white); border: 1px solid rgba(7, 24, 48, .1); border-top: 4px solid var(--acc); padding: 4px 16px 14px; }
.rx-squad-group[data-rx-accent="0"] { --acc: var(--rx-blue); }
.rx-squad-group[data-rx-accent="1"] { --acc: var(--rx-ink); }
.rx-squad-group[data-rx-accent="2"] { --acc: #e0a600; }
.rx-squad-group[data-rx-accent="3"] { --acc: #ad2636; }
.rx-squad-group-title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 4px 8px;
    font: 400 clamp(20px, 1.7vw, 27px)/1 var(--font-display); text-transform: uppercase; color: var(--rx-ink);
}
.rx-squad-group-title b { font: 700 11px var(--font-mono); color: var(--acc); }
.rx-squad-list { list-style: none; margin: 0; padding: 0; }
.rx-squad-player {
    display: grid; grid-template-columns: 38px 26px 1fr auto; gap: 11px; align-items: center;
    padding: 8px 4px; border-bottom: 1px solid rgba(7, 24, 48, .08);
    opacity: 0; transform: translateY(8px); animation: rx-squad-in .5s ease forwards; animation-delay: calc(var(--i, 0) * 45ms);
}
.rx-squad-player:last-child { border-bottom: 0; }
.rx-squad-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--acc); display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(7, 24, 48, .06); }
.rx-squad-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rx-squad-initials { font: 700 11px var(--font-mono); color: #fff; }
.rx-squad-num { font: 700 14px var(--font-mono); color: var(--acc); text-align: center; }
.rx-squad-name { font: 700 13.5px var(--font-sans); color: var(--rx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.rx-squad-name:hover { color: var(--acc); }
.rx-squad-flag { font-size: 15px; line-height: 1; }
@keyframes rx-squad-in { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .rx-squad-player { opacity: 1; transform: none; animation: none; } }

/* Truppen-banner (link til truppen-undersiden) */
.rx-squad-banner { background: linear-gradient(120deg, #1748a0 0%, #0f2f6d 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.rx-squad-banner::before {
    content: "TRUPPEN"; position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
    font: 400 20vw/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); white-space: nowrap; pointer-events: none;
}
.rx-squad-banner-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; padding: 84px 6vw; text-decoration: none; color: inherit; min-height: 340px; }
.rx-squad-banner-copy h2 { margin: 8px 0 18px; font: 400 clamp(50px, 6.6vw, 104px)/.85 var(--font-display); text-transform: uppercase; }
.rx-squad-banner-copy h2 em { color: var(--rx-yellow); font-style: normal; }
.rx-squad-banner-text { color: rgba(255, 255, 255, .72); line-height: 1.6; max-width: 440px; margin: 0 0 26px; font-size: 14px; }
/* Knap-animation som i topslideren (skygge vokser ved hover på banneret) */
.rx-squad-banner .rx-button-primary { pointer-events: none; box-shadow: 7px 7px 0 var(--rx-ink); transition: box-shadow .3s, transform .3s; }
.rx-squad-banner-inner:hover .rx-button-primary { box-shadow: 12px 12px 0 var(--rx-ink); transform: translate(-2px, -2px); }
.rx-squad-banner-faces { display: flex; justify-content: flex-end; padding-right: 8px; }
.rx-squad-face { width: clamp(64px, 6vw, 96px); height: clamp(64px, 6vw, 96px); border-radius: 50%; overflow: hidden; border: 3px solid #0f2f6d; box-shadow: 0 0 0 2px var(--rx-yellow); background: var(--rx-ink-2); margin-left: -20px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.rx-squad-face:first-child { margin-left: 0; }
.rx-squad-face img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: saturate(1.05) contrast(1.04); }
.rx-squad-banner-inner:hover .rx-squad-face { transform: translateY(-7px); }
.rx-squad-banner-inner:hover .rx-squad-face:nth-child(odd) { transform: translateY(7px); }

/* "Se hele tabellen"-link i Stilling-fanen */
.rx-table-link { display: inline-flex; gap: 12px; margin-top: 20px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #fff; border-bottom: 2px solid var(--rx-yellow); padding-bottom: 5px; }
.rx-table-link span { transition: transform .3s; }
.rx-table-link:hover span { transform: translateX(6px); }

/* "Mød alle Parmas legender"-link */
.rx-legend-all { display: inline-flex; gap: 12px; margin-top: 22px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #fff; border-bottom: 2px solid var(--rx-yellow); padding-bottom: 5px; }
.rx-legend-all span { transition: transform .3s; }
.rx-legend-all:hover span { transform: translateX(6px); }

/* =========================================================
   Legendeelementet
   ========================================================= */
.rx-legends { background: #041022; color: #fff; padding: 125px 5.5vw 95px; display: grid; grid-template-columns: .58fr 1.42fr; gap: 5vw; position: relative; overflow: hidden; isolation: isolate; }
.rx-legends::before { content: "LEGENDS"; position: absolute; z-index: -1; right: -2vw; top: 4%; font: 400 17vw/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; }
.rx-legends::after { content: ""; position: absolute; z-index: -1; width: 740px; height: 740px; border-radius: 50%; right: -260px; bottom: -360px; border: 1px solid rgba(255, 213, 0, .16); box-shadow: 0 0 0 85px rgba(255, 213, 0, .025), 0 0 0 170px rgba(255, 213, 0, .018); }
.rx-legends-title { align-self: center; }
.rx-legends-title h2 { margin: 0; font: 400 clamp(58px, 6.4vw, 101px)/.82 var(--font-display); text-transform: uppercase; }
.rx-legends-title h2 em { color: var(--rx-yellow); font-style: normal; }
.rx-legends-lead { color: rgba(255, 255, 255, .45); font: 400 11px/1.6 var(--font-mono); margin-top: 27px; }
.rx-legend-stage { min-width: 0; }
.rx-legend-image-wrap { min-height: 560px; position: relative; overflow: hidden; clip-path: polygon(0 0, 96% 0, 100% 8%, 100% 100%, 4% 100%, 0 92%); background: var(--rx-ink-2); display: grid; place-items: center; }
.rx-legend-image-wrap::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(4, 16, 34, .8), transparent 40%), linear-gradient(0deg, rgba(4, 16, 34, .65), transparent 60%); pointer-events: none; }
.rx-legend-image-wrap img { width: 100%; height: 560px; object-fit: cover; object-position: top center; animation: rx-legend-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.rx-legend-fallback { font: 400 130px/1 var(--font-display); color: rgba(255, 255, 255, .12); letter-spacing: .05em; }
.rx-legend-number { position: absolute; z-index: 3; left: 22px; bottom: 8px; font: 400 96px/.9 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--rx-yellow); opacity: .85; pointer-events: none; }
.rx-legend-scanline { position: absolute; z-index: 4; inset: 0; background: linear-gradient(transparent 49%, rgba(255, 213, 0, .25) 50%, transparent 51%); background-size: 100% 12px; mix-blend-mode: overlay; opacity: .15; pointer-events: none; }
.rx-legend-info { padding: 25px 5px 0; }
.rx-legend-role { display: block; color: var(--rx-yellow); font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.rx-legend-name { margin: 12px 0 16px; font: 400 clamp(42px, 4.5vw, 73px)/.85 var(--font-display); text-transform: uppercase; }
.rx-legend-quote { margin: 0 0 16px; color: rgba(255, 255, 255, .78); font: 400 15px/1.6 var(--font-display); border-left: 3px solid var(--rx-yellow); padding-left: 16px; }
.rx-legend-bio { margin: 0 0 24px; color: rgba(255, 255, 255, .6); font: 400 13.5px/1.7 var(--font-sans); max-width: 760px; min-height: 138px; display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rx-legend-facts { display: flex; gap: 40px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.rx-legend-fact b { display: block; font: 400 40px/1 var(--font-display); color: var(--rx-yellow); }
.rx-legend-fact span { font: 700 8px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.rx-legend-wiki { display: inline-flex; gap: 12px; margin-top: 22px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #fff; border-bottom: 2px solid var(--rx-yellow); padding-bottom: 5px; }
.rx-legend-controls { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 30px; }
.rx-legend-ctrl { color: rgba(255, 255, 255, .42); background: transparent; border: 0; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); min-height: 78px; text-align: left; padding: 16px; font: 700 12px var(--font-mono); text-transform: uppercase; position: relative; transition: color .25s, background .25s; overflow: hidden; cursor: pointer; }
.rx-legend-ctrl:nth-child(5n) { border-right: 0; }
.rx-legend-ctrl span { display: block; color: rgba(255, 213, 0, .42); font-size: 8px; margin-bottom: 10px; }
.rx-legend-ctrl i { position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: var(--rx-yellow); transition: right .35s; }
.rx-legend-ctrl:hover, .rx-legend-ctrl.is-active { color: #fff; background: rgba(255, 255, 255, .04); }
.rx-legend-ctrl.is-active i { right: 0; }
@keyframes rx-legend-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.rx-legends-title h2 em { color: var(--rx-yellow); font-style: normal; }

/* Underside-hero (genbruges på premium-undersider) */
.rx-page-hero { background: var(--rx-ink); color: #fff; padding: 118px 6vw 84px; position: relative; overflow: hidden; isolation: isolate; }
.rx-page-hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%; right: -240px; top: -320px; border: 1px solid rgba(255, 213, 0, .14); box-shadow: 0 0 0 80px rgba(255, 213, 0, .02); }
.rx-page-hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.rx-page-hero h1 { margin: 14px 0 0; font: 400 clamp(54px, 8vw, 118px)/.84 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.rx-page-hero h1 em { color: var(--rx-yellow); font-style: normal; }
.rx-page-hero-sub { color: rgba(255, 255, 255, .6); max-width: 580px; margin: 26px 0 0; line-height: 1.7; font-size: 15px; }

/* Legende-væg (alle legender på undersiden) */
.rx-legend-wall { background: var(--rx-paper); padding: 100px 5.5vw 120px; }
.rx-legend-wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.rx-legend-card { display: block; text-decoration: none; color: var(--rx-ink); background: var(--rx-white); border: 1px solid rgba(7, 24, 48, .1); padding-bottom: 18px; transition: transform .3s, box-shadow .3s; }
.rx-legend-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(7, 24, 48, .14); }
.rx-legend-card-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rx-ink-2); }
.rx-legend-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rx-legend-card-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 400 58px var(--font-display); color: rgba(255, 255, 255, .15); }
.rx-legend-card-year { position: absolute; left: 12px; bottom: 6px; font: 400 42px/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--rx-yellow); opacity: .9; }
.rx-legend-card-role { display: block; font: 700 9px var(--font-mono); color: var(--rx-blue); text-transform: uppercase; letter-spacing: .1em; margin: 14px 16px 4px; }
.rx-legend-card-name { display: block; font: 400 clamp(20px, 1.6vw, 26px)/1 var(--font-display); text-transform: uppercase; margin: 0 16px; }
@media (max-width: 680px) {
    .rx-page-hero { padding: 92px 20px 64px; }
    .rx-legend-wall { padding: 70px 20px 80px; }
    .rx-legend-wall-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}

/* Truppen-underside: interaktiv position-vælger med kortgitter */
.rx-squad2 { background: var(--rx-paper); padding: 74px 5.5vw 110px; position: relative; overflow: hidden; }
.rx-squad2-ghost {
    position: absolute; z-index: 0; left: -3vw; top: 30px; pointer-events: none; user-select: none;
    font: 400 21vw/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(7, 24, 48, .05);
    white-space: nowrap; transform: translateY(var(--rx-parallax, 0));
}
.rx-sq-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.rx-sq-foot { position: relative; z-index: 1; max-width: 1180px; margin: 26px auto 0; color: #6d7686; }
/* Parallax "+"-kors i baggrunden (sidens tone) */
.rx-page-crosses { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rx-page-cross { position: absolute; width: var(--s, 120px); height: var(--s, 120px); opacity: .5; transform: translateY(calc(var(--rx-parallax, 0) * var(--px, 1))); }
.rx-page-cross::before, .rx-page-cross::after { content: ""; position: absolute; background: var(--cc, rgba(255, 213, 0, .16)); border-radius: 3px; }
.rx-page-cross::before { left: 38%; top: 0; width: 24%; height: 100%; }
.rx-page-cross::after { top: 38%; left: 0; height: 24%; width: 100%; }
/* Positionsfaner med glidende highlight */
.rx-sq-tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; border-bottom: 1px solid rgba(7, 24, 48, .14); }
.rx-sq-tabs::-webkit-scrollbar { display: none; }
.rx-sq-tab-indicator { position: absolute; bottom: 0; left: 0; height: 100%; width: 0; background: var(--rx-yellow); z-index: 0; transition: left .34s cubic-bezier(.4, .8, .3, 1), width .34s cubic-bezier(.4, .8, .3, 1); }
.rx-sq-tab { position: relative; z-index: 1; flex-shrink: 0; background: none; border: 0; cursor: pointer; padding: 16px 24px; font: 700 12px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(7, 24, 48, .42); transition: color .3s; }
.rx-sq-tab:hover { color: rgba(7, 24, 48, .8); }
.rx-sq-tab.is-active { color: var(--rx-ink); }
.rx-sq-tab i { margin-left: 8px; font-style: normal; font-size: 10px; opacity: .6; }

/* Panel + kortgitter (hårfine skillelinjer) */
.rx-sq-panels { margin-top: 30px; }
.rx-sq-panel[hidden] { display: none; }
/* gap:0 + hårfin ring pr. kort => rene skillelinjer, men tomme celler i
   sidste række forbliver usynlige (ingen grå boks). */
.rx-sq-grid { display: grid; gap: 0; background: transparent; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .rx-sq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rx-sq-grid { grid-template-columns: 1fr; } }

/* Positionsfarver: accent pr. panel */
.rx-sq-panel[data-rx-accent="maalmand"] { --acc: #cf9200; --acc-soft: #fbeecb; }
.rx-sq-panel[data-rx-accent="forsvar"]  { --acc: #174baf; --acc-soft: #dce6fa; }
.rx-sq-panel[data-rx-accent="midtbane"] { --acc: #2f7d74; --acc-soft: #d7ede8; }
.rx-sq-panel[data-rx-accent="winger"]   { --acc: #6a4c93; --acc-soft: #e7ddf3; }
.rx-sq-panel[data-rx-accent="angreb"]   { --acc: #ad2636; --acc-soft: #f7dee1; }
.rx-sq-panel { --acc: var(--rx-blue); --acc-soft: #dce6fa; }

.rx-sq-card {
    position: relative; overflow: hidden; background: var(--rx-white); padding: 22px 22px 18px; min-height: 168px;
    display: flex; flex-direction: column; transition: background .3s;
    box-shadow: 0 0 0 1px rgba(7, 24, 48, .1);
    opacity: 0; transform: translateY(16px);
}
.rx-sq-panel.is-active .rx-sq-card { animation: rx-sq-in .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--ci, 0) * 45ms); }
@keyframes rx-sq-in { to { opacity: 1; transform: none; } }
.rx-sq-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--acc); transform: scaleY(0); transform-origin: top; transition: transform .32s; }
.rx-sq-card:hover { background: var(--acc-soft); }
.rx-sq-card:hover::after { transform: scaleY(1); }
.rx-sq-card.is-dane { background: var(--rx-yellow); }
.rx-sq-card.is-dane:hover { background: var(--rx-yellow-hot); }

.rx-sq-num {
    position: absolute; top: 6px; right: 14px; z-index: 0; pointer-events: none;
    font: 400 76px/.8 var(--font-display); color: rgba(7, 24, 48, .09); transition: transform .5s, color .3s;
}
.rx-sq-card:hover .rx-sq-num { transform: scale(1.12); color: var(--acc); }
.rx-sq-card.is-dane .rx-sq-num { color: rgba(7, 24, 48, .16); }
.rx-sq-card.is-dane:hover .rx-sq-num { color: var(--rx-ink); }
.rx-sq-note {
    position: absolute; top: 14px; left: 0; z-index: 2; background: var(--rx-ink); color: var(--rx-yellow);
    font: 700 8px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px;
}
.rx-sq-card.is-dane .rx-sq-note { background: var(--rx-ink); color: var(--rx-yellow); }

.rx-sq-id { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-top: 6px; }
.rx-sq-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--acc); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.rx-sq-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rx-sq-initials { font: 700 13px var(--font-mono); color: #fff; }
.rx-sq-id-text { min-width: 0; }
.rx-sq-name { display: block; font: 700 17px var(--font-sans); line-height: 1.1; color: var(--rx-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-sq-name:hover { color: var(--acc); }
.rx-sq-card.is-dane .rx-sq-name:hover { color: var(--rx-ink); }
.rx-sq-nat { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 11px var(--font-mono); letter-spacing: .04em; color: rgba(7, 24, 48, .55); }
.rx-sq-nat i { font-size: 15px; font-style: normal; line-height: 1; }

.rx-sq-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: auto; padding-top: 16px; }
.rx-sq-stat { display: flex; flex-direction: column; }
.rx-sq-stat b { font: 400 22px/1 var(--font-display); color: var(--rx-ink); }
.rx-sq-stat small { font: 700 7px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(7, 24, 48, .45); margin-top: 3px; }
.rx-sq-stat--hl b { color: var(--acc); }
.rx-sq-card.is-dane .rx-sq-stat--hl b { color: var(--rx-ink); }
.rx-sq-cards { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(7, 24, 48, .08); }
.rx-sq-card-dot { display: inline-flex; align-items: center; gap: 6px; font: 700 10px var(--font-mono); color: rgba(7, 24, 48, .6); }
.rx-sq-card-dot i { width: 11px; height: 14px; border-radius: 2px; display: inline-block; }
.rx-sq-card-dot--y i { background: #ffce1f; }
.rx-sq-card-dot--r i { background: #d8323f; }

@media (prefers-reduced-motion: reduce) { .rx-sq-card { opacity: 1; transform: none; animation: none !important; } .rx-sq-tab-indicator { transition: none; } }
@media (max-width: 680px) { .rx-squad2 { padding: 56px 16px 80px; } }

/* Serie A-underside: premium tabel + parallax + animation + topscorere */
.rx-la-status { display: flex; align-items: center; gap: 18px; margin-top: 38px; background: var(--rx-yellow); color: var(--rx-ink); padding: 16px 24px; width: fit-content; max-width: 100%; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.rx-la-status-pos { font: 400 52px/.8 var(--font-display); }
.rx-la-status-body b { display: block; font: 700 16px var(--font-sans); }
.rx-la-status-body span { font: 700 11px var(--font-mono); letter-spacing: .04em; color: rgba(7, 24, 48, .7); }
.rx-league-page { position: relative; overflow: hidden; }
.rx-league-ghost { position: absolute; z-index: 0; top: 30px; right: -2vw; font: 400 16vw/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(7, 24, 48, .06); white-space: nowrap; transform: translateY(var(--rx-parallax, 0)); pointer-events: none; }
.rx-league-page .rx-league-wrap { position: relative; z-index: 1; }
.rx-league-table tr.rx-la-zone-cl td:first-child, .rx-league-table tr.rx-la-zone-rel td:first-child { position: relative; }
.rx-league-table tr.rx-la-zone-cl td:first-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #37c99a; }
.rx-league-table tr.rx-la-zone-rel td:first-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #ad2636; }
.rx-league-page .rx-league-table tbody tr { opacity: 0; transform: translateX(-20px); }
.rx-league-page .rx-league-table tbody tr.is-revealed { animation: rx-row-in .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 35ms); }
.rx-league-table .team-crest { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.rx-league-page .rx-league-table tbody td { transition: background .18s ease, box-shadow .18s ease; }
.rx-league-page .rx-league-table tbody tr:hover td { background: rgba(23, 75, 175, .07); }
.rx-league-page .rx-league-table tbody tr:not(.is-parma):hover td:first-child { box-shadow: inset 4px 0 0 var(--rx-blue); }
.rx-league-page .rx-league-table tbody tr:not(.is-parma):hover .team-link { color: var(--rx-blue); }
.rx-league-page .rx-league-table tbody tr:hover .team-crest { transform: scale(1.14); }
.rx-league-page .rx-league-table tbody tr.is-parma:hover td { background: var(--rx-yellow-hot); }
@keyframes rx-row-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rx-league-page .rx-league-table tbody tr { opacity: 1; transform: none; animation: none; } }
.rx-la-legend { display: inline-flex; align-items: center; gap: 7px; margin-right: 18px; }
.rx-la-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.rx-la-dot-cl { background: #37c99a; }
.rx-la-dot-rel { background: #ad2636; }

.rx-scorers { background: var(--rx-paper); padding: 90px 5.5vw 110px; }
.rx-scorers .rx-section-heading, .rx-scorer-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }
.rx-scorer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; border-top: 1px solid rgba(7, 24, 48, .18); }
.rx-scorer { display: grid; grid-template-columns: 38px 1fr auto; gap: 16px; align-items: center; padding: 15px 6px; border-bottom: 1px solid rgba(7, 24, 48, .1); transition: background .3s; }
.rx-scorer:hover { background: var(--rx-white); }
.rx-scorer.is-parma { background: var(--rx-yellow); }
.rx-scorer-pos { font: 700 13px var(--font-mono); color: var(--rx-blue); text-align: center; }
.rx-scorer.is-parma .rx-scorer-pos { color: var(--rx-ink); }
.rx-scorer-name { font: 700 15px var(--font-sans); color: var(--rx-ink); text-decoration: none; display: block; }
.rx-scorer-name:hover { color: var(--rx-blue); }
.rx-scorer-info small { font: 700 10px var(--font-mono); color: #8a93a3; text-transform: uppercase; letter-spacing: .08em; }
.rx-scorer-goals { font: 400 30px/1 var(--font-display); color: var(--rx-blue); display: flex; align-items: baseline; gap: 5px; }
.rx-scorer.is-parma .rx-scorer-goals { color: var(--rx-ink); }
.rx-scorer-goals small { font: 700 9px var(--font-mono); color: #8a93a3; }
@media (max-width: 680px) {
    .rx-league-ghost { display: none; }
    .rx-scorers { padding: 60px 16px 80px; }
    .rx-la-status-pos { font-size: 42px; }
}

/* =========================================================
   Historieelementet
   ========================================================= */
.rx-history { background: var(--rx-yellow); padding: 120px 6vw 95px; position: relative; overflow: hidden; isolation: isolate; color: var(--rx-ink); }
.rx-history-word { position: absolute; z-index: -1; left: -2vw; top: 6%; font: 400 18vw/.75 var(--font-display); color: rgba(7, 24, 48, .055); white-space: nowrap; pointer-events: none; }
.rx-history-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 50px; }
.rx-history-heading .rx-eyebrow { grid-column: 1 / -1; }
.rx-history-heading h2 { grid-column: 2; margin: 0; font: 400 clamp(60px, 7.5vw, 118px)/.82 var(--font-display); text-transform: uppercase; }
.rx-history-stage { display: grid; grid-template-columns: 1.35fr .65fr; background: var(--rx-ink); color: #fff; min-height: 560px; box-shadow: 22px 22px 0 rgba(7, 24, 48, .16); }
.rx-history-image { position: relative; overflow: hidden; min-height: 560px; }
.rx-history-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(7, 24, 48, .95)); }
.rx-history-image img,
.rx-history-image video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; animation: rx-history-in .7s cubic-bezier(.2, .8, .2, 1) both; }
.rx-history-image > span { position: absolute; z-index: 2; left: 30px; bottom: 12px; font: 400 clamp(100px, 15vw, 210px)/.75 var(--font-display); color: var(--rx-yellow); mix-blend-mode: screen; }
.rx-history-copy { display: flex; flex-direction: column; justify-content: center; padding: 50px 5vw 50px 25px; position: relative; }
.rx-history-copy > span { font: 700 9px var(--font-mono); color: var(--rx-yellow); letter-spacing: .13em; }
.rx-history-copy h3 { font: 400 clamp(40px, 4.4vw, 68px)/.9 var(--font-display); text-transform: uppercase; margin: 22px 0 18px; }
.rx-history-copy p { color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 7; line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rx-history-arrows { display: flex; gap: 8px; margin-top: 22px; }
.rx-history-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; font-size: 18px; transition: .25s; cursor: pointer; }
.rx-history-arrows button:hover { background: var(--rx-yellow); color: var(--rx-ink); border-color: var(--rx-yellow); transform: scale(1.08); }
.rx-history-link { display: inline-flex; gap: 12px; margin-top: 24px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #fff; border-bottom: 2px solid var(--rx-yellow); padding-bottom: 5px; align-self: flex-start; }
.rx-history-nav { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 50px; }
.rx-history-yr { background: transparent; border: 0; border-top: 2px solid rgba(7, 24, 48, .25); padding: 18px 0; text-align: left; color: rgba(7, 24, 48, .45); font: 700 12px var(--font-mono); position: relative; cursor: pointer; }
.rx-history-yr i { position: absolute; left: 0; right: 100%; top: -2px; height: 3px; background: var(--rx-blue); transition: right .35s; }
.rx-history-yr.is-active { color: var(--rx-ink); }
.rx-history-yr.is-active i { right: 0; }
@keyframes rx-history-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }

/* =========================================================
   Podcast + Nyhedsbrev (community)
   ========================================================= */
.rx-community { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.rx-community-card { position: relative; padding: 65px 6vw; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
a.rx-community-card, a.rx-community-card * { text-decoration: none; }
.rx-community-card h3 { margin: 14px 0 0; font: 400 clamp(48px, 5.4vw, 86px)/.86 var(--font-display); text-transform: uppercase; }
.rx-community-card--podcast { background: var(--rx-ink); color: #fff; }
.rx-community-card--podcast .rx-eyebrow { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.rx-community-card--newsletter { background: var(--rx-yellow); color: var(--rx-ink); }
.rx-community-num { position: absolute; right: 35px; top: 25px; font: 700 11px var(--font-mono); opacity: .55; }
.rx-community-sub { color: rgba(255, 255, 255, .6); line-height: 1.6; font-size: 14px; margin: 20px 0 0; max-width: 430px; }
.rx-community-cta { margin-top: auto; padding-top: 32px; font: 700 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rx-yellow); display: inline-flex; gap: 10px; }
.rx-wave { height: 84px; display: flex; align-items: center; gap: 6px; margin-top: 40px; width: 72%; }
.rx-wave i { width: 5px; min-height: 9px; background: var(--rx-yellow); animation: rx-wave 1.3s ease-in-out infinite alternate; }
.rx-round-play { position: absolute; right: 9%; bottom: 13%; width: 80px; height: 80px; border-radius: 50%; background: var(--rx-yellow); color: var(--rx-ink); font-size: 20px; display: grid; place-items: center; transition: transform .3s; }
.rx-community-card--podcast:hover .rx-round-play { transform: scale(1.12) rotate(7deg); }

.rx-newsletter { margin-top: 42px; max-width: 460px; }
.rx-newsletter label { font: 700 9px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; display: block; margin: 16px 0 7px; }
.rx-newsletter label:first-of-type { margin-top: 0; }
.rx-newsletter-field { display: flex; border-bottom: 3px solid var(--rx-ink); }
.rx-newsletter input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 14px 0; outline: 0; font: 400 17px var(--font-sans); color: var(--rx-ink); }
.rx-newsletter input::placeholder { color: rgba(7, 24, 48, .48); }
.rx-newsletter button { width: 56px; border: 0; background: var(--rx-ink); color: #fff; font-size: 22px; cursor: pointer; transition: background .25s; }
.rx-newsletter button:hover { background: var(--rx-ink-2); }
.rx-newsletter small { font: 400 9px var(--font-mono); display: block; margin-top: 14px; }
.rx-hp { position: absolute; left: -9999px; }
.rx-newsletter-error { font: 700 11px var(--font-mono); color: #ad2636; margin: 18px 0 0; }
.rx-success { margin-top: 50px; border-top: 3px solid var(--rx-ink); padding-top: 25px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; }
.rx-success span { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--rx-blue); color: #fff; display: grid; place-items: center; font-size: 20px; }
.rx-success b { font: 700 18px var(--font-sans); align-self: end; }
.rx-success small { font-family: var(--font-mono); font-size: 11px; }
@keyframes rx-wave { from { transform: scaleY(.4); } to { transform: scaleY(1); } }

/* Hvad siger spillerne (Instagram) – mørkt bånd med levende baggrund */
.rx-ig { padding: 110px 5.5vw 120px; background: var(--rx-ink); background: linear-gradient(165deg, #0c2a5e 0%, var(--rx-ink) 58%, #050f24 100%); position: relative; overflow: hidden; isolation: isolate; }
.rx-ig > .rx-section-heading, .rx-ig > .ig-carousel, .rx-ig > .ig-consent, .rx-ig > .rx-league-note { position: relative; z-index: 1; }
.rx-ig .ig-track { gap: 26px; padding: 10px 8px 26px; }
/* Præcis 6 synlige kort ad gangen, alle i samme (større) højde. */
.rx-ig .ig-slide {
    flex: 0 0 calc((100% - 130px) / 6); height: 540px; overflow: hidden; border-radius: 14px; background: var(--rx-ink);
    box-shadow: 9px 9px 0 var(--rx-igbox, rgba(23, 75, 175, .3)); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
}
/* Subtilt farvede bokse bag hvert kort – varieret pr. position i rækken */
.rx-ig .ig-slide:nth-child(6n+1) { --rx-igbox: rgba(23, 75, 175, .32); }
.rx-ig .ig-slide:nth-child(6n+2) { --rx-igbox: rgba(255, 213, 0, .26); }
.rx-ig .ig-slide:nth-child(6n+3) { --rx-igbox: rgba(45, 125, 116, .30); }
.rx-ig .ig-slide:nth-child(6n+4) { --rx-igbox: rgba(173, 38, 54, .26); }
.rx-ig .ig-slide:nth-child(6n+5) { --rx-igbox: rgba(255, 255, 255, .16); }
.rx-ig .ig-slide:nth-child(6n)   { --rx-igbox: rgba(207, 146, 0, .28); }
.rx-ig .ig-slide:hover { transform: translateY(-10px); box-shadow: 15px 15px 0 var(--rx-igbox, rgba(23, 75, 175, .3)); }
.rx-ig .ig-placeholder { aspect-ratio: auto; height: 100%; border-radius: 14px; }
.rx-ig .ig-profile-frame { height: 540px; border-radius: 14px; }
.rx-ig .ig-slide .instagram-media { min-width: 100% !important; width: 100% !important; margin: 0 !important; }
.rx-ig .ig-consent { text-align: center; margin-top: 34px; }
.rx-ig .ig-consent p { max-width: 560px; margin: 0 auto 18px; color: rgba(255, 255, 255, .58); font-size: 13px; line-height: 1.6; }
.rx-ig .rx-league-note--dark { color: rgba(255, 255, 255, .5); }
.rx-ig .ig-arrow { background: var(--rx-yellow); color: var(--rx-ink); border: 0; }
.rx-ig .ig-arrow:hover { background: #fff; color: var(--rx-ink); }

/* =========================================================
   Kommende kamp-widget (mini-udgave af forsidens kampelement)
   ========================================================= */
.rx-mini-match { background: var(--rx-ink); color: #fff; padding: 22px 22px 24px; margin-bottom: 26px; }
.rx-mini-kicker { display: block; font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rx-yellow); margin-bottom: 14px; }
.rx-mini-card { background: var(--rx-yellow); color: var(--rx-ink); padding: 16px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.rx-mini-club { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.rx-mini-badge { width: 46px; height: 54px; display: grid; place-items: center; color: #fff; font: 700 11px var(--font-mono); background: var(--rx-blue); clip-path: polygon(8% 0, 92% 0, 100% 18%, 88% 85%, 50% 100%, 12% 85%, 0 18%); }
.rx-mini-badge.parma { background: var(--rx-ink); }
.rx-mini-badge--logo,
.rx-mini-badge--logo.parma { background: transparent; clip-path: none; border-radius: 0; padding: 0; box-shadow: none; }
.rx-mini-badge--logo img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(7, 24, 48, .25)); }
.rx-mini-club b { font: 400 15px/1 var(--font-display); text-transform: uppercase; }
.rx-mini-vs { font: 400 26px/1 var(--font-display); }
.rx-mini-info { text-align: center; font: 700 10px var(--font-mono); letter-spacing: .06em; margin: 14px 0 0; color: rgba(255, 255, 255, .8); line-height: 1.6; }
.rx-mini-venue { color: rgba(255, 255, 255, .5); font-weight: 400; }
.rx-mini-countdown { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.rx-mini-countdown .cd-cell { text-align: center; }
.rx-mini-countdown .cd-box { background: rgba(255, 255, 255, .08); padding: 8px 10px; }
.rx-mini-countdown .cd-num { font: 400 22px/1 var(--font-display); color: #fff; display: block; }
.rx-mini-countdown .cd-label { font: 700 7px var(--font-mono); letter-spacing: .1em; color: rgba(255, 255, 255, .45); text-transform: uppercase; }
.rx-mini-countdown .cd-live { font: 700 10px var(--font-mono); color: var(--rx-yellow); }
.rx-mini-match .team-form { margin-top: 16px; }
.rx-mini-cta { width: 100%; justify-content: center; margin-top: 16px; }

/* =========================================================
   Artikel-hero (fullsize topbillede, overskrift i billedet)
   ========================================================= */
.rx-article-hero {
    position: relative; min-height: 60vh; display: flex; align-items: flex-end;
    background: var(--rx-ink) center/cover no-repeat; color: #fff; overflow: hidden;
    margin-bottom: 44px;
}
.rx-article-hero--plain { background: linear-gradient(120deg, var(--rx-ink), var(--rx-ink-2)); min-height: 42vh; }
.rx-article-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 24, 48, .97) 2%, rgba(7, 24, 48, .55) 42%, rgba(7, 24, 48, .12) 100%); }
.rx-article-hero-inner { position: relative; z-index: 1; width: min(1160px, 92vw); margin: 0 auto; padding: 0 0 6vh; }
.rx-article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.rx-article-date { font: 700 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.rx-article-title { margin: 0; font: 400 clamp(36px, 5.6vw, 82px)/.94 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; max-width: 20ch; }
@media (max-width: 680px) {
    .rx-article-hero { min-height: 52vh; margin-bottom: 32px; }
    .rx-article-hero-inner { padding-bottom: 8vh; }
    .rx-article-title { font-size: clamp(30px, 9vw, 46px); }
}

/* =========================================================
   Afsluttende wordmark + footer
   ========================================================= */
.rx-footer { background: #041022; color: #fff; padding: 80px 6vw 35px; text-align: center; }
.rx-footer-brand { font-family: var(--font-display); font-weight: 400; font-size: clamp(70px, 12vw, 180px); line-height: .75; letter-spacing: -.03em; text-transform: uppercase; }
.rx-footer-brand span { color: var(--rx-yellow); }
.rx-footer-tagline { color: rgba(255, 255, 255, .5); margin: 30px auto; max-width: 520px; line-height: 1.6; font-size: 14px; }
.rx-footer-links {
    border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15);
    display: flex; flex-wrap: wrap; justify-content: center; gap: 5vw 4vw; padding: 25px;
    font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
}
.rx-footer-links a { color: #fff; transition: color .2s; }
.rx-footer-links a:hover { color: var(--rx-yellow); }
.rx-footer-legal { display: block; margin-top: 35px; color: rgba(255, 255, 255, .32); font: 400 8px var(--font-mono); letter-spacing: .1em; line-height: 1.9; }

@media (max-width: 980px) {
    .rx-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 88px;
        background: var(--rx-ink);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 6vw;
        transform: translateY(-140%);
        opacity: 0;
        transition: .35s;
        z-index: 49;
    }
    .rx-nav.is-open { transform: translateY(0); opacity: 1; }
    .rx-menu-button { display: block; }

    .rx-lead-grid { grid-template-columns: 1fr; }
    .rx-story-stack { border-left: 0; }
    .rx-lead-story { min-height: 620px; }

    .rx-match-top { align-items: flex-start; flex-direction: column; gap: 30px; }
    .rx-match-card { grid-template-columns: 1fr; gap: 30px; }
    .rx-match-club, .rx-match-club.away { justify-content: center; text-align: left; }
    .rx-match-club.away { flex-direction: row-reverse; }
    .rx-match-data { grid-template-columns: 1fr; }
    .rx-poll { grid-column: 1; grid-row: auto; }
    .rx-campaign { grid-template-columns: 1fr; }

    .rx-transfer-layout { grid-template-columns: 1fr; gap: 40px; }

    .rx-squad-grid { grid-template-columns: 1fr 1fr; }
    .rx-squad-banner-inner { grid-template-columns: 1fr; gap: 34px; padding: 64px 24px; }
    .rx-squad-banner-faces { justify-content: flex-start; }

    .rx-legends { grid-template-columns: 1fr; gap: 40px; }
    .rx-legend-image-wrap, .rx-legend-image-wrap img { min-height: 460px; height: 460px; }

    .rx-history-heading h2 { grid-column: 1 / -1; }
    .rx-history-stage { grid-template-columns: 1fr; }
    .rx-history-copy { padding: 45px; }
    .rx-history-nav { grid-template-columns: repeat(4, 1fr); }

    .rx-community { grid-template-columns: 1fr; }

    .rx-ig .ig-slide { flex: 0 0 calc((100% - 40px) / 3); height: 460px; }
    .rx-ig .ig-profile-frame { height: 460px; }
}

@media (max-width: 680px) {
    .site-header { height: 72px; padding: 0 20px; }
    .rx-brand-copy { font-size: 25px; }
    .rx-brand-mark { width: 37px; height: 37px; }
    .rx-nav { top: 72px; }
    .rx-ticker { height: 36px; }
    .rx-ticker-label { flex-basis: 92px; font-size: 9px; }
    .rx-cursor-glow { display: none; }

    .rx-hero { min-height: calc(100svh - 108px); padding: 80px 22px 64px; align-items: flex-end; }
    .rx-hero-content { width: 100%; }
    .rx-hero-title { font-size: clamp(40px, 13vw, 72px); }
    .rx-hero-deck { font-size: 14px; margin: 18px 0 22px; }
    .rx-hero-meta, .rx-hero-orbit, .rx-hero-slice, .rx-scroll-cue { display: none; }
    .rx-hero .rx-button { width: 100%; }
    .rx-hero-nav { width: 100%; }

    .rx-news { padding: 85px 20px; }
    .rx-section-heading { align-items: flex-start; gap: 25px; flex-direction: column; }
    .rx-section-heading h2 { font-size: 60px; }
    .rx-lead-story { min-height: 560px; }
    .rx-story-content { padding: 28px; }
    .rx-story-row { grid-template-columns: 25px 90px 1fr; gap: 12px; padding: 17px 0; }
    .rx-story-row img { width: 90px; height: 115px; }
    .rx-story-row p, .rx-story-arrow { display: none; }
    .rx-story-row h3 { font-size: 22px; }

    .rx-match { padding: 85px 20px; }
    .rx-match-top h2 { font-size: 60px; }
    .rx-countdown { width: 100%; }
    .rx-countdown .cd-cell { min-width: 0; flex: 1; padding: 12px 8px; }
    .rx-countdown .cd-num { font-size: 37px; }
    .rx-match-card { padding: 35px 12px; }
    .rx-club-badge { width: 63px; height: 76px; font-size: 11px; }
    .rx-match-club b { font-size: 40px; }
    .rx-form-row { grid-template-columns: 104px repeat(5, 1fr); gap: 4px; }
    .rx-form-row i { width: 30px; height: 30px; }
    .rx-campaign-body { padding: 28px 22px; }

    .rx-transfers { padding: 85px 20px; }
    .rx-transfer-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 20px; }
    .rx-transfer-thumb { width: 84px; height: 84px; }
    .rx-transfer-body p { display: none; }
    .rx-transfer-arrow { display: none; }

    .rx-squad { padding: 85px 20px; }
    .rx-squad-grid { grid-template-columns: 1fr; }

    .rx-legends { padding: 85px 20px; }
    .rx-legends-title h2 { font-size: 56px; }
    .rx-legend-image-wrap, .rx-legend-image-wrap img { min-height: 340px; height: 340px; }
    .rx-legend-number { font-size: 92px; }
    .rx-legend-facts { gap: 22px; }
    .rx-legend-controls { grid-template-columns: repeat(2, 1fr); }
    .rx-legend-ctrl:nth-child(5n) { border-right: 1px solid rgba(255, 255, 255, .14); }
    .rx-legend-ctrl:nth-child(2n) { border-right: 0; }

    .rx-community-card { min-height: 500px; padding: 60px 25px; }
    .rx-community-card h3 { font-size: 52px; }
    .rx-ig { padding: 85px 20px; }

    .rx-history { padding: 85px 20px; }
    .rx-history-heading h2 { font-size: 54px; }
    .rx-history-stage { display: block; box-shadow: 9px 9px 0 rgba(7, 24, 48, .16); }
    .rx-history-image { min-height: 300px; }
    .rx-history-image > span { font-size: 88px; }
    .rx-history-copy { padding: 35px 24px; }

    .rx-ig .ig-slide { flex: 0 0 calc((100% - 20px) / 2); height: 400px; }
    .rx-ig .ig-profile-frame { height: 400px; }
}

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

/* =========================================================
   Longreads (læs også-karrusel på forsiden)
   ========================================================= */
.rx-longreads { padding: 100px 5.5vw 110px; background: var(--rx-white); color: var(--rx-ink); position: relative; overflow: hidden; }
.rx-lr-accent { color: var(--rx-yellow); -webkit-text-stroke: 2px var(--rx-ink); text-stroke: 2px var(--rx-ink); paint-order: stroke fill; }
.rx-longreads-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 24px; scrollbar-width: none; -ms-overflow-style: none; }
.rx-longreads-track::-webkit-scrollbar { display: none; }
.rx-longread-card { flex: 0 0 clamp(258px, 30vw, 356px); scroll-snap-align: start; text-decoration: none; color: var(--rx-ink); background: var(--rx-paper); overflow: hidden; box-shadow: 10px 10px 0 rgba(23, 75, 175, .16); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.rx-longread-card:hover { transform: translateY(-6px); box-shadow: 15px 15px 0 rgba(23, 75, 175, .22); }
.rx-longread-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.rx-longread-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rx-longread-card:hover .rx-longread-media img { transform: scale(1.06); }
.rx-longread-badge { position: absolute; left: 12px; top: 12px; background: var(--rx-yellow); color: var(--rx-ink); font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; }
.rx-longread-body { padding: 20px 22px 24px; }
.rx-longread-meta { font: 700 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rx-blue); }
.rx-longread-body h3 { margin: 8px 0 0; font: 400 clamp(21px, 2.2vw, 28px)/1.02 var(--font-display); text-transform: uppercase; color: var(--rx-ink); }

/* =========================================================
   Spiller-hub (/spiller/<slug>/)
   ========================================================= */
.ph { background: var(--rx-paper); color: var(--rx-ink); }
.ph-hero { background: var(--rx-ink); color: #fff; padding: 92px 6vw 56px; position: relative; overflow: hidden; }
.ph-hero--dane { background: linear-gradient(120deg, #10306b 0%, var(--rx-ink) 78%); }
.ph-hero-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 720px) { .ph-hero-inner { grid-template-columns: 220px 1fr; gap: 40px; } }
.ph-portrait { position: relative; width: 200px; height: 200px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: 0 20px 44px rgba(0,0,0,.4); }
.ph-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-initials { display: grid; place-items: center; width: 100%; height: 100%; font: 400 74px var(--font-display); color: rgba(255,255,255,.5); }
.ph-num { position: absolute; right: 10px; bottom: 6px; font: 400 64px/.8 var(--font-display); color: var(--rx-yellow); mix-blend-mode: screen; }
.ph-kicker { display: inline-flex; align-items: center; gap: 9px; font: 700 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rx-yellow); margin: 0 0 10px; }
.ph-kicker span { width: 26px; height: 2px; background: var(--rx-yellow); display: inline-block; }
.ph-name { margin: 0; font: 400 clamp(40px,7vw,86px)/.92 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.ph-nation { display: inline-flex; align-items: center; gap: 9px; margin: 14px 0 0; font: 700 15px var(--font-sans); color: rgba(255,255,255,.85); }
.ph-flag { display: inline-flex; width: 26px; }
.ph-flag svg, .ph-flag img { width: 100%; height: auto; display: block; border-radius: 3px; }
.ph-rating { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 20px; background: var(--rx-yellow); color: var(--rx-ink); padding: 10px 18px; border-radius: 999px; }
.ph-rating-val { font: 400 30px/.8 var(--font-display); }
.ph-rating-max { font: 700 13px var(--font-mono); opacity: .7; }
.ph-rating-count { font: 700 11px var(--font-mono); letter-spacing: .04em; opacity: .7; margin-left: 4px; }

.ph-stats { max-width: 1120px; margin: 0 auto; padding: 46px 6vw 8px; }
.ph-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (min-width: 720px) { .ph-stats-grid { grid-template-columns: repeat(6, 1fr); } }
.ph-stat { background: #fff; border-radius: 14px; padding: 20px 12px; text-align: center; box-shadow: 6px 6px 0 rgba(23,75,175,.10); }
.ph-stat b { display: block; font: 400 40px/.9 var(--font-display); color: var(--rx-ink); }
.ph-stat small { display: block; margin-top: 6px; font: 700 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rx-blue); }
.ph-stat--hl b { color: var(--rx-blue); }
.ph-stats-note { max-width: 1120px; margin: 16px auto 0; padding: 0 6vw; font: 400 11px var(--font-mono); color: rgba(7,24,48,.5); }

.ph-news, .ph-ig { max-width: 1120px; margin: 0 auto; padding: 40px 6vw 0; }
.ph-section-head { margin-bottom: 20px; }
.ph-section-head h2 { margin: 6px 0 0; font: 400 clamp(24px,3.4vw,38px)/.98 var(--font-display); text-transform: uppercase; color: var(--rx-ink); }
.ph-news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .ph-news-grid { grid-template-columns: repeat(2, 1fr); } }
.ph-news-card { display: flex; gap: 14px; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--rx-ink); box-shadow: 6px 6px 0 rgba(23,75,175,.10); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.ph-news-card:hover { transform: translateY(-4px); box-shadow: 10px 10px 0 rgba(23,75,175,.16); }
.ph-news-media { flex: 0 0 108px; }
.ph-news-media img { width: 108px; height: 100%; object-fit: cover; display: block; }
.ph-news-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px 14px 0; }
.ph-news-date { font: 700 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rx-blue); }
.ph-news-title { font: 700 15px/1.25 var(--font-sans); }
.ph-ig-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-ig-link { display: inline-flex; align-items: center; gap: 8px; background: var(--rx-blue); color: #fff; padding: 11px 18px; border-radius: 999px; text-decoration: none; font: 700 13px var(--font-sans); }
.ph-ig-link:hover { background: var(--rx-ink); }

.ph-foot { max-width: 1120px; margin: 0 auto; padding: 48px 6vw 84px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ph-tm { font: 700 12px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--rx-blue); text-decoration: none; }
.ph-tm:hover { color: var(--rx-ink); }
.ph-missing { padding: 120px 6vw; text-align: center; }
.ph-missing h1 { font: 400 clamp(30px,5vw,56px) var(--font-display); text-transform: uppercase; color: var(--rx-ink); }

/* -------------------------------------------------------------------------
 * Data-viz: sæsonen i tal (Serie A-siden)
 * ---------------------------------------------------------------------- */
.cne-dv { background: var(--rx-paper); color: var(--rx-ink); padding: 90px 5.5vw 60px; position: relative; }
.cne-dv-head { margin: 0 auto 34px; max-width: 1200px; }
.cne-dv-head h2 { margin: 6px 0 0; font: 400 clamp(38px, 5vw, 68px)/.9 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink); }

.cne-dv-tiles { max-width: 1200px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cne-dv-tile { background: var(--rx-white); border: 1px solid rgba(7,24,48,.1); border-radius: 14px; padding: 20px 18px; }
.cne-dv-tile b { display: block; font: 400 clamp(30px, 3.4vw, 46px)/1 var(--font-display); color: var(--rx-ink); }
.cne-dv-tile b small { font-size: .5em; }
.cne-dv-tile span { display: block; margin-top: 6px; font: 700 11px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(7,24,48,.6); }
.cne-dv-tile--hl { background: var(--rx-blue); }
.cne-dv-tile--hl b { color: #fff; }
.cne-dv-tile--hl span { color: rgba(255,255,255,.8); }

.cne-dv-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cne-dv-card { background: var(--rx-white); border: 1px solid rgba(7,24,48,.1); border-radius: 14px; padding: 22px; }
.cne-dv-card--wide { grid-column: 1 / -1; }
.cne-dv-card-title { margin: 0 0 16px; font: 400 20px var(--font-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink); }

/* Formpiller */
.cne-dv-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cne-dv-pill { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 52px; border-radius: 10px; color: #fff; }
.cne-dv-pill b { font: 400 18px var(--font-display); line-height: 1; }
.cne-dv-pill small { font: 700 9px var(--font-mono); opacity: .85; margin-top: 2px; }
.cne-dv-pill--w { background: #1a8a4a; }
.cne-dv-pill--d { background: #b98900; }
.cne-dv-pill--l { background: #c0392b; }

.cne-dv-spark-wrap { border-top: 1px solid rgba(7,24,48,.08); padding-top: 14px; }
.cne-dv-spark-lbl { display: block; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: rgba(7,24,48,.55); margin-bottom: 8px; }
.cne-dv-spark { width: 100%; height: 90px; display: block; }

/* Mål for/imod søjler */
.cne-dv-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.cne-dv-bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.cne-dv-bar-col { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.cne-dv-bar-for, .cne-dv-bar-against { width: 42%; min-height: 3px; border-radius: 5px 5px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 3px; font: 700 10px var(--font-mono); color: #fff; }
.cne-dv-bar-for { background: var(--rx-blue); }
.cne-dv-bar-against { background: #c0392b; }
.cne-dv-bar-lbl { margin-top: 6px; font: 700 9px var(--font-mono); color: rgba(7,24,48,.5); }

.cne-dv-legend { display: flex; gap: 18px; margin-top: 14px; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(7,24,48,.6); }
.cne-dv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.cne-dv-dot-for { background: var(--rx-blue); }
.cne-dv-dot-against { background: #c0392b; }
.cne-dv-dot-eu { background: #1a8a4a; }
.cne-dv-dot-rel { background: #c0392b; }

/* Tabelplacerings-stige */
.cne-dv-ladder { position: relative; height: 22px; border-radius: 999px; background: rgba(7,24,48,.1); overflow: hidden; margin-bottom: 6px; }
.cne-dv-ladder-zone { position: absolute; top: 0; bottom: 0; }
.cne-dv-ladder-zone--eu { left: 0; background: rgba(26,138,74,.35); }
.cne-dv-ladder-zone--rel { right: 0; background: rgba(192,57,43,.35); }
.cne-dv-ladder-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.cne-dv-ladder-flag { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; background: var(--rx-yellow); color: var(--rx-ink); border-radius: 8px; font: 400 15px var(--font-display); box-shadow: 0 3px 10px rgba(7,24,48,.3); }
.cne-dv-ladder-scale { display: flex; justify-content: space-between; font: 700 10px var(--font-mono); color: rgba(7,24,48,.5); }
.cne-dv-card--wide .cne-dv-legend { margin-top: 16px; }

@media (max-width: 720px) {
    .cne-dv-tiles { grid-template-columns: repeat(2, 1fr); }
    .cne-dv-grid { grid-template-columns: 1fr; }
    .cne-dv-bars { height: 120px; }
}

/* -------------------------------------------------------------------------
 * Crociati TV – videohub
 * ---------------------------------------------------------------------- */
.rx-tv { position: relative; background: var(--rx-paper); color: var(--rx-ink); padding: 90px 5.5vw 130px; overflow: hidden; }
.rx-tv-ghost { position: absolute; top: 40px; right: 3vw; font: 400 clamp(120px, 20vw, 300px)/1 var(--font-display); color: rgba(7,24,48,.04); pointer-events: none; user-select: none; z-index: 0; }
.rx-tv > * { position: relative; z-index: 1; }

.rx-tv-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--rx-ink); box-shadow: 0 24px 60px -30px rgba(7,24,48,.6); }
.rx-tv-poster, .rx-tv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rx-tv-video { opacity: 0; pointer-events: none; transition: opacity .3s; }
.is-playing .rx-tv-video { opacity: 1; pointer-events: auto; }
.is-playing .rx-tv-poster, .is-playing .rx-tv-play, .is-playing .rx-tv-year { opacity: 0; pointer-events: none; }

.rx-tv-play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border: none; border-radius: 50%; background: rgba(255,213,0,.95); cursor: pointer; display: grid; place-items: center; transition: transform .25s, opacity .25s, box-shadow .25s; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.rx-tv-play span { display: block; width: 0; height: 0; margin-left: 5px; border-left: 22px solid var(--rx-ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.rx-tv-media:hover .rx-tv-play { transform: scale(1.08); box-shadow: 0 14px 40px -8px rgba(0,0,0,.6); }

.rx-tv-year { position: absolute; top: 14px; left: 14px; font: 400 18px var(--font-display); color: #fff; background: rgba(23,75,175,.9); padding: 4px 12px; border-radius: 8px; letter-spacing: .02em; transition: opacity .25s; }

/* Udvalgt (stor) film */
.rx-tv-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: center; max-width: 1200px; margin: 0 auto 60px; }
.rx-tv-feature-copy h2 { margin: 8px 0 14px; font: 400 clamp(32px, 4vw, 54px)/.92 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink); }
.rx-tv-feature-copy p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(7,24,48,.75); }

/* Gitter */
.rx-tv-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rx-tv-card { background: var(--rx-white); border-radius: 16px; overflow: hidden; border: 1px solid rgba(7,24,48,.08); transition: transform .25s, box-shadow .25s; }
.rx-tv-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(7,24,48,.55); }
.rx-tv-card .rx-tv-media { border-radius: 0; box-shadow: none; }
.rx-tv-card-copy { padding: 16px 18px 20px; }
.rx-tv-card-copy h3 { margin: 0 0 6px; font: 400 21px/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink); }
.rx-tv-card-copy p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(7,24,48,.68); }

.rx-tv-foot { max-width: 1200px; margin: 46px auto 0; text-align: center; }

@media (max-width: 900px) {
    .rx-tv-feature { grid-template-columns: 1fr; gap: 22px; }
    .rx-tv-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
    .rx-tv-grid { grid-template-columns: 1fr; }
    .rx-tv-play { width: 60px; height: 60px; }
}

/* -------------------------------------------------------------------------
 * Partikel-kors i hero
 * ---------------------------------------------------------------------- */
.rx-hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    opacity: .55;
}

/* -------------------------------------------------------------------------
 * Side-overgang: gult/blåt gardin
 * ---------------------------------------------------------------------- */
.rx-curtain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: grid;
    place-items: center;
    background: linear-gradient(120deg, var(--rx-blue) 0%, var(--rx-ink) 55%, var(--rx-yellow) 160%);
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
}
.rx-curtain-mark {
    position: relative;
    width: 66px;
    height: 66px;
    opacity: 0;
    transform: scale(.72);
}
/* Det gule kors i midten af gardinet. */
.rx-curtain-mark::before,
.rx-curtain-mark::after {
    content: "";
    position: absolute;
    background: var(--rx-yellow);
    border-radius: 2px;
}
.rx-curtain-mark::before { left: 50%; top: 0; width: 16px; height: 100%; transform: translateX(-50%); }
.rx-curtain-mark::after { top: 50%; left: 0; height: 16px; width: 100%; transform: translateY(-50%); }

.rx-curtain.is-closing {
    pointer-events: all;
    animation: rx-curtain-close .44s cubic-bezier(.76, 0, .24, 1) forwards;
}
.rx-curtain.is-closing .rx-curtain-mark {
    animation: rx-curtain-mark-in .44s cubic-bezier(.34, 1.4, .5, 1) .1s forwards;
}
.rx-curtain.is-opening {
    animation: rx-curtain-open .6s cubic-bezier(.76, 0, .24, 1) forwards;
}

@keyframes rx-curtain-close {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
    to   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}
@keyframes rx-curtain-open {
    from { transform: scaleY(1); transform-origin: top; opacity: 1; }
    to   { transform: scaleY(0); transform-origin: top; opacity: 1; }
}
@keyframes rx-curtain-mark-in {
    from { opacity: 0; transform: scale(.72) rotate(-12deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .rx-curtain { display: none; }
    .rx-hero-particles { display: none; }
}

/* -------------------------------------------------------------------------
 * Kampdags-takeover
 * ---------------------------------------------------------------------- */
.cne-md {
    position: relative;
    background: linear-gradient(100deg, var(--rx-ink) 0%, var(--rx-blue) 100%);
    color: #fff;
    overflow: hidden;
}
.cne-md--live { background: linear-gradient(100deg, #10254d 0%, #8d1420 130%); }
.cne-md--post { background: linear-gradient(100deg, var(--rx-ink) 0%, #2b3d63 100%); }

.cne-md-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cne-md-label { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cne-md-kicker,
.cne-md-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 11px/1 var(--font-mono);
    letter-spacing: .1em;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--rx-yellow);
    color: var(--rx-ink);
}
.cne-md-live { background: #e01526; color: #fff; animation: cne-md-pulse 1.8s ease-in-out infinite; }
@keyframes cne-md-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(224, 21, 38, .65); }
    50%      { box-shadow: 0 0 0 9px rgba(224, 21, 38, 0); }
}
.cne-md-comp { font: 600 11px var(--font-mono); color: rgba(255,255,255,.7); letter-spacing: .04em; }

.cne-md-score { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cne-md-team { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cne-md-nums {
    font: 400 26px/1 var(--font-display);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .02em;
}
.cne-md-nums i { font-style: normal; opacity: .55; }
.cne-md-nums--vs { font-size: 15px; opacity: .7; font-family: var(--font-mono); }

/* Nedtælling */
.cne-md-countdown { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); }
.cne-md-cd-lbl { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-right: 5px; }
.cne-md-countdown b {
    font: 400 20px/1 var(--font-display);
    background: rgba(255,255,255,.12);
    padding: 5px 8px;
    border-radius: 6px;
    min-width: 34px;
    text-align: center;
    display: inline-block;
}
.cne-md-countdown i { font-style: normal; opacity: .5; }

/* Momentum/puls */
.cne-md-momentum { display: flex; align-items: center; gap: 11px; min-width: 210px; }
.cne-md-mom-track {
    position: relative;
    flex: 1;
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    overflow: hidden;
    min-width: 110px;
}
.cne-md-mom-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rx-yellow), #fff3a6);
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.cne-md-mom-lbl { font: 600 11px var(--font-mono); color: rgba(255,255,255,.85); white-space: nowrap; }
.cne-md-mom-lbl b { color: var(--rx-yellow); font-weight: 700; }
.cne-md-mom-lbl i { font-style: normal; }

/* Konfetti-lærred */
.cne-md-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* Målfejring: kort gyldent glimt */
.cne-md.is-goal { animation: cne-md-goal 2.2s ease-out; }
@keyframes cne-md-goal {
    0%   { filter: brightness(1); }
    12%  { filter: brightness(1.85) saturate(1.3); }
    100% { filter: brightness(1); }
}

/* Kampdag farver sitets accenter en anelse varmere */
body.is-matchday-live .rx-ticker-label { background: #e01526; color: #fff; }
body.is-matchday .site-header { border-bottom-color: rgba(255, 213, 0, .35); }

@media (max-width: 780px) {
    .cne-md-inner { padding: 10px 5vw; gap: 12px; justify-content: center; text-align: center; }
    .cne-md-momentum { width: 100%; }
    .cne-md-team { font-size: 12.5px; }
    .cne-md-nums { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .cne-md-live { animation: none; }
    .cne-md.is-goal { animation: none; }
}

/* -------------------------------------------------------------------------
 * Interaktivt Tardini-stadion
 * ---------------------------------------------------------------------- */
.rx-tardini { background: var(--rx-ink); color: #fff; padding: 100px 5.5vw 110px; position: relative; overflow: hidden; }
.rx-tardini-head { max-width: 1200px; margin: 0 auto 40px; }
.rx-tardini-head h2 { margin: 8px 0 12px; font: 400 clamp(38px, 5.4vw, 76px)/.88 var(--font-display); text-transform: uppercase; letter-spacing: -.015em; color: #fff; }
.rx-tardini-head h2 em { font-style: normal; color: var(--rx-yellow); }
.rx-tardini-sub { margin: 0; max-width: 560px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.72); }

.rx-tardini-stage { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }

.rx-tardini-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.rx-td-pitch { fill: #1c7038; stroke: rgba(255,255,255,.35); stroke-width: 3; }
.rx-td-line { stroke: rgba(255,255,255,.4); stroke-width: 3; fill: none; }

.rx-td-stand {
    fill: rgba(255,255,255,.13);
    stroke: rgba(255,255,255,.28);
    stroke-width: 2;
    cursor: pointer;
    transition: fill .28s, stroke .28s, transform .28s;
    transform-origin: 500px 350px;
}
.rx-td-stand:hover { fill: rgba(255,213,0,.35); stroke: var(--rx-yellow); }
.rx-td-stand.is-active { fill: var(--rx-yellow); stroke: var(--rx-yellow); }
.rx-td-stand:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.rx-td-label {
    font: 700 21px var(--font-mono);
    fill: rgba(255,255,255,.85);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.rx-td-stand.is-active + .rx-td-label { fill: var(--rx-ink); }

/* Infopanel */
.rx-tardini-info { min-width: 0; }
.rx-td-panel-sub { margin: 0 0 6px; font: 700 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--rx-yellow); }
.rx-td-panel h3 { margin: 0 0 14px; font: 400 clamp(28px, 3vw, 44px)/.95 var(--font-display); text-transform: uppercase; color: #fff; }
.rx-td-panel-text { margin: 0 0 18px; font-size: 15px; line-height: 1.62; color: rgba(255,255,255,.76); }
.rx-td-panel { animation: rx-td-fade .4s ease; }
@keyframes rx-td-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.rx-td-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rx-td-facts li {
    font: 700 11px var(--font-mono);
    letter-spacing: .04em;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.86);
}

.rx-td-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.rx-td-meta b { display: block; font: 400 clamp(22px, 2.2vw, 32px)/1 var(--font-display); color: var(--rx-yellow); }
.rx-td-meta span { display: block; margin-top: 5px; font: 700 10px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.55); }

@media (max-width: 900px) {
    .rx-tardini-stage { grid-template-columns: 1fr; gap: 30px; }
    .rx-td-label { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .rx-td-panel { animation: none; }
}

/* -------------------------------------------------------------------------
 * Sæson-rejsen (scrollytelling)
 * ---------------------------------------------------------------------- */
.cne-journey { background: var(--rx-ink); color: #fff; padding: 100px 5.5vw 120px; position: relative; }
.cne-journey-head { max-width: 1200px; margin: 0 auto 30px; }
.cne-journey-head h2 { margin: 8px 0 10px; font: 400 clamp(36px, 5vw, 70px)/.9 var(--font-display); text-transform: uppercase; color: #fff; }
.cne-journey-sub { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.7); }

.cne-journey-chart {
    position: sticky;
    top: 110px;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 40px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 18px 20px 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cne-journey-chart svg { width: 100%; height: 200px; display: block; overflow: visible; }
.cne-journey-line { fill: none; stroke: var(--rx-yellow); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1); }
.cne-journey-dot { fill: rgba(255,255,255,.22); transition: fill .3s, r .3s; }
.cne-journey-dot.is-past { fill: rgba(255,213,0,.55); }
.cne-journey-dot.is-active { fill: #fff; r: 8; }

.cne-journey-readout { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; }
.cne-journey-readout b { font: 400 34px/1 var(--font-display); color: var(--rx-yellow); }
.cne-journey-readout span { font: 700 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cne-journey-readout i { font-style: normal; color: #fff; }

.cne-journey-rail { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 26vh; padding: 12vh 0 30vh; }
.cne-journey-step {
    display: grid;
    gap: 6px;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    border-left: 4px solid rgba(255,255,255,.2);
    opacity: .32;
    transform: translateY(10px);
    transition: opacity .45s, transform .45s, background .45s, border-color .45s;
}
.cne-journey-step.is-active { opacity: 1; transform: none; background: rgba(255,255,255,.1); }
.cne-journey-step--w.is-active { border-left-color: #29c26a; }
.cne-journey-step--d.is-active { border-left-color: #e3b23c; }
.cne-journey-step--l.is-active { border-left-color: #e05a4d; }

.cne-journey-round { font: 700 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cne-journey-result { display: flex; align-items: baseline; gap: 12px; }
.cne-journey-result b { font: 400 27px/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.cne-journey-step--w .cne-journey-result b { color: #4fdc8d; }
.cne-journey-step--d .cne-journey-result b { color: #ffd166; }
.cne-journey-step--l .cne-journey-result b { color: #ff8778; }
.cne-journey-result i { font-style: normal; font: 400 22px var(--font-display); color: #fff; }
.cne-journey-opp { font-size: 14px; color: rgba(255,255,255,.78); }
.cne-journey-date { font: 700 10px var(--font-mono); letter-spacing: .06em; color: rgba(255,255,255,.42); }

/* -------------------------------------------------------------------------
 * Spiller-sammenligning (radar)
 * ---------------------------------------------------------------------- */
.cne-cmp { background: var(--rx-paper); color: var(--rx-ink); padding: 90px 5.5vw 100px; }
.cne-cmp-head { max-width: 1100px; margin: 0 auto 26px; }
.cne-cmp-head h2 { margin: 8px 0 0; font: 400 clamp(34px, 4.4vw, 62px)/.9 var(--font-display); text-transform: uppercase; color: var(--rx-ink); }

.cne-cmp-controls { max-width: 1100px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; }
.cne-cmp-pick span { display: block; font: 700 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(7,24,48,.55); margin-bottom: 6px; }
.cne-cmp-pick select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(7,24,48,.18);
    background: var(--rx-white);
    color: var(--rx-ink);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
}
.cne-cmp-pick select:focus { outline: none; border-color: var(--rx-blue); box-shadow: 0 0 0 3px rgba(23,75,175,.15); }
.cne-cmp-vs { font: 400 20px var(--font-display); color: rgba(7,24,48,.35); padding-bottom: 12px; }

.cne-cmp-stage { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: center; }
.cne-cmp-radar svg { width: 100%; height: auto; display: block; overflow: visible; }
.cne-cmp-grid polygon { fill: none; stroke: rgba(7,24,48,.12); stroke-width: 1; }
.cne-cmp-grid line { stroke: rgba(7,24,48,.12); stroke-width: 1; }
.cne-cmp-shape { stroke-width: 2.5; transition: points .4s; }
.cne-cmp-shape--a { fill: rgba(23,75,175,.28); stroke: var(--rx-blue); }
.cne-cmp-shape--b { fill: rgba(207,146,0,.26); stroke: #cf9200; }
.cne-cmp-axis-labels text { font: 700 10px var(--font-mono); fill: rgba(7,24,48,.6); letter-spacing: .04em; text-transform: uppercase; }

.cne-cmp-names { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; }
.cne-cmp-n--a { color: var(--rx-blue); }
.cne-cmp-n--b { color: #a37200; }

.cne-cmp-row { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; margin-bottom: 12px; }
.cne-cmp-v { font: 400 17px var(--font-display); text-align: center; }
.cne-cmp-v--a { color: var(--rx-blue); }
.cne-cmp-v--b { color: #a37200; }
.cne-cmp-bar { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cne-cmp-bar-lbl { font: 700 9.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(7,24,48,.5); text-align: center; }
.cne-cmp-track { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(7,24,48,.08); }
.cne-cmp-fill { display: block; height: 100%; transition: width .5s cubic-bezier(.4,0,.2,1); }
.cne-cmp-fill--a { background: linear-gradient(90deg, var(--rx-blue), #4a7fd4); }
.cne-cmp-fill--b { background: linear-gradient(90deg, #e8b73d, #cf9200); }
.cne-cmp-note { max-width: 1100px; margin: 30px auto 0; font-size: 12.5px; color: rgba(7,24,48,.55); }

@media (max-width: 860px) {
    .cne-cmp-stage { grid-template-columns: 1fr; gap: 26px; }
    .cne-cmp-radar { max-width: 330px; margin: 0 auto; }
    .cne-journey-chart { top: 88px; }
    .cne-journey-rail { gap: 20vh; }
}
@media (prefers-reduced-motion: reduce) {
    .cne-journey-step { opacity: 1; transform: none; }
    .cne-journey-line { transition: none; }
}

/* -------------------------------------------------------------------------
 * Scroll-scrub film-hero
 * ---------------------------------------------------------------------- */
.rx-scrub {
    position: relative;
    /* Sektionens højde bestemmer hvor langt man scroller gennem filmen. */
    height: 320vh;
    background: var(--rx-ink);
}
.rx-scrub-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.rx-scrub-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Undgå at browseren viser kontroller eller blitzer under seek. */
    pointer-events: none;
}
.rx-scrub-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,24,48,.88) 0%, rgba(7,24,48,.55) 45%, rgba(7,24,48,.15) 100%),
        linear-gradient(0deg, rgba(7,24,48,.9) 0%, rgba(7,24,48,0) 55%);
    pointer-events: none;
}
.rx-scrub-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 5.5vw;
    color: #fff;
}
.rx-scrub-copy h1 {
    margin: 10px 0 16px;
    font: 400 clamp(44px, 8vw, 118px)/.86 var(--font-display);
    text-transform: uppercase;
    letter-spacing: -.02em;
    color: #fff;
}
.rx-scrub-copy h1 em { font-style: normal; color: var(--rx-yellow); }
.rx-scrub-sub {
    margin: 0;
    max-width: 520px;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.55;
    color: rgba(255,255,255,.8);
}

/* Scroll-hint */
.rx-scrub-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    font: 700 11px var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    transition: opacity .4s;
}
.rx-scrub-hint.is-hidden { opacity: 0; }
.rx-scrub-hint i {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, var(--rx-yellow), transparent);
    animation: rx-scrub-drop 1.8s ease-in-out infinite;
}
@keyframes rx-scrub-drop {
    0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
    50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Mens metadata hentes: vis plakaten roligt */
.rx-scrub:not(.is-ready) .rx-scrub-video { opacity: .85; }

@media (max-width: 700px) {
    .rx-scrub { height: 260vh; }
}
@media (prefers-reduced-motion: reduce) {
    .rx-scrub { height: 100vh; }
    .rx-scrub-hint i { animation: none; }
}

/* -------------------------------------------------------------------------
 * Vandret karusel: alle kampoptakter
 * ---------------------------------------------------------------------- */
.rx-oc { margin: 56px 0 8px; }
.rx-oc-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 18px; flex-wrap: wrap;
}
.rx-oc-title {
    margin: 4px 0 0;
    font: 400 clamp(26px, 3vw, 40px)/.95 var(--font-display);
    text-transform: uppercase; letter-spacing: -.01em; color: var(--rx-ink);
}
.rx-oc-nav { display: flex; gap: 8px; }
.rx-oc-btn {
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(7,24,48,.2); background: var(--rx-white);
    color: var(--rx-ink); font-size: 16px; line-height: 1;
    transition: background .2s, border-color .2s, transform .2s, opacity .2s;
}
.rx-oc-btn:hover:not(:disabled) {
    background: var(--rx-yellow); border-color: var(--rx-yellow); transform: translateY(-2px);
}
.rx-oc-btn:disabled { opacity: .3; cursor: default; }

.rx-oc-track {
    display: flex; gap: 16px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 18px;
    /* Skjul rullepanel pænt */
    scrollbar-width: thin;
    scrollbar-color: rgba(7,24,48,.25) transparent;
}
.rx-oc-track::-webkit-scrollbar { height: 6px; }
.rx-oc-track::-webkit-scrollbar-track { background: rgba(7,24,48,.06); border-radius: 3px; }
.rx-oc-track::-webkit-scrollbar-thumb { background: rgba(7,24,48,.25); border-radius: 3px; }
.rx-oc-track:focus-visible { outline: 2px solid var(--rx-blue); outline-offset: 4px; }
.rx-oc-track.is-dragging { scroll-behavior: auto; cursor: grabbing; scroll-snap-type: none; }
.rx-oc-track.is-dragging .rx-oc-card { pointer-events: none; }

.rx-oc-card {
    flex: 0 0 clamp(220px, 24vw, 290px);
    scroll-snap-align: start;
}
.rx-oc-link {
    display: flex; flex-direction: column; height: 100%;
    background: var(--rx-white); border: 1px solid rgba(7,24,48,.1);
    border-radius: 14px; overflow: hidden; text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rx-oc-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px -26px rgba(7,24,48,.6);
    border-color: rgba(7,24,48,.2);
}
.rx-oc-media {
    position: relative; display: block; aspect-ratio: 16 / 10;
    background: var(--rx-ink); overflow: hidden;
}
.rx-oc-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s;
}
.rx-oc-link:hover .rx-oc-media img { transform: scale(1.06); }
.rx-oc-media-fallback {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 34px; opacity: .5;
}
.rx-oc-pod {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font-size: 14px;
    background: rgba(7,24,48,.82); backdrop-filter: blur(4px);
}
.rx-oc-body { display: block; padding: 13px 15px 16px; }
.rx-oc-date {
    display: block; font: 700 10px var(--font-mono);
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--rx-blue); margin-bottom: 6px;
}
.rx-oc-name {
    display: block; font-size: 14.5px; line-height: 1.35; font-weight: 700;
    color: var(--rx-ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Karusellen på mørk baggrund (Kampcenterets hovedspalte) */
.split-main .rx-oc-title { color: #fff; }
.split-main .rx-oc-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.split-main .rx-oc-btn:hover:not(:disabled) { background: var(--rx-yellow); border-color: var(--rx-yellow); color: var(--rx-ink); }

@media (max-width: 600px) {
    .rx-oc-card { flex-basis: 72vw; }
    .rx-oc-nav { display: none; }
}
