


/* ==========================================================
   ≤ 1200px
   ========================================================== */

@media (max-width: 1200px) {

    :root {
        --container-padding: 1.5rem;
    }

    .header {
        column-gap: 1.5rem;
    }

    .header__nav {
        gap: 1.3rem;
    }

    .header__nav a {
        font-size: .82rem;
    }

    .header__cta {
        padding-inline: 1rem;
    }

}


/* ==========================================================
   ≤ 992px
   ========================================================== */

@media (max-width: 992px) {

/* ---------------- Header ---------------- */

.header {
    position: relative;

    min-height: 76px;

    grid-template-columns: auto 1fr auto auto;
}

.header__logo img {
    height: 48px;
}

.header__nav{
    display:none;

    position:fixed;

    top:76px;
    left:0;
    right:0;

    width:100vw;
    max-width:none;

    justify-self:stretch;

    padding:28px 24px 34px;

    background: #fffdf3;

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid var(--color-border);

    flex-direction:column;
    align-items:flex-start;

    gap:0;

    z-index:999;
}
.header__nav a{
    width:100%;

    padding:16px 0;

    font-size:1rem;
    font-weight:600;

    border-bottom:1px solid rgba(0,0,0,.07);
}

.header__nav a:last-child{
    border-bottom:none;
}

.header__nav.is-open {
    display: flex;
}

.mobile-menu-toggle {
    display: flex;
    justify-self: end;
}

.header__actions {
    justify-self: end;
}

.header__cta {
    display: none;
}


    /* ---------------- Homepage Hero ---------------- */

    .hero {
        padding: 28px 0 45px;
    }

    .hero-feature img {
        height: 480px;
    }

    .hero-overlay {
        position: relative;
        left: auto;
        bottom: auto;

        width: auto;

        margin: -70px 24px 0;

        padding: 38px;
    }

    .hero-overlay h1 {
        font-size: 2.6rem;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
    }


    /* ---------------- Story grids ---------------- */

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


    /* ---------------- Spotlight ---------------- */

    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spotlight-image img {
        height: 560px;
    }

    .spotlight-content {
        max-width: 100%;
    }

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


    /* ---------------- Sports ---------------- */

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


    /* ---------------- Sport universe ---------------- */

    .sport-feature {
        grid-template-columns: 1fr;
    }

    .sport-feature > img {
        min-height: 440px;
        height: 440px;
    }

    .sport-feature__content {
        padding: 48px;
    }

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

}


/* ==========================================================
   ≤ 768px
   ========================================================== */

@media (max-width: 768px) {

    :root {
        --container-padding: 1.1rem;
    }


    /* ---------------- Header ---------------- */

    .header {
        min-height: 70px;
    }

    .header__logo img {
        height: 44px;
    }

    .header__actions {
        gap: .35rem;
    }

    .header__icon {
        width: 38px;
        height: 38px;
    }


    /* ---------------- Typography ---------------- */

    .section-header h2,
    .spotlight-page-hero h1,
    .sports-page-hero h1,
    .sport-universe-hero h1 {
        font-size: 3rem;
    }


/* ---------------- Homepage Hero ---------------- */

.hero {
    padding: 20px 0 38px;
}

.hero-feature {
    border-radius: 18px;
}

.hero-feature img {
    height: 340px;
}

.hero-overlay {
    margin: -38px 18px 0;
    padding: 24px 24px 26px;

    border-radius: 18px;

    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.hero-overlay h1 {
    font-size: 2rem;
    line-height: 1.08;

    margin: 12px 0 16px;
}

.hero-overlay p {
    font-size: .95rem;
    line-height: 1.6;

    margin-bottom: 22px;
}

.hero-overlay .eyebrow {
    margin-bottom: 8px;
}

.hero-overlay .btn {
    min-height: 44px;
    padding-inline: 1.35rem;
}
/* ---------------- Hero teaser cards ---------------- */

.hero-bottom {
    grid-template-columns: 1fr;

    gap: 14px;

    margin-top: 14px;
}

.story-card {
    padding: 22px;

    border-radius: 16px;
}

.story-card h3 {
    margin: 10px 0;

    font-size: 1.35rem;
    line-height: 1.2;
}

.story-card p {
    font-size: .92rem;
    line-height: 1.55;
}

.story-card .eyebrow {
    margin-bottom: 6px;
}

    /* ---------------- Latest ---------------- */

    .latest {
        padding: 55px 0 75px;
    }

    .section-header {
        align-items: flex-start;
        gap: 1rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }


    /* ---------------- Spotlight homepage ---------------- */

    .spotlight {
        padding: 70px 0;
    }

    .spotlight-image img {
        height: 460px;
    }

    .spotlight-content h2 {
        font-size: 2.5rem;
    }

    .spotlight-content blockquote {
        font-size: 1.45rem;
        margin: 35px 0;
    }


    /* ---------------- Spotlight page ---------------- */

    .spotlight-page-hero {
        padding: 55px 0 30px;
    }

    .spotlight-page-feature {
        padding: 10px 0 70px;
    }

    .spotlight-archive {
        padding: 60px 0 80px;
    }

    .spotlight-portraits {
        grid-template-columns: 1fr;
    }

  /* ---------------- Sports page ---------------- */

.sports-page-hero {
    padding: 42px 0 26px;
}

.sports-page-hero h1 {
    font-size: 2.35rem;
    line-height: 1.08;
}

.sports-page-hero p {
    font-size: .95rem;
    line-height: 1.6;
}

.sports-page-universes {
    padding: 8px 0 70px;
}

.sports-page-universes .sports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sports-page-universes .sport-card {
    min-height: 230px;
    border-radius: 18px;
}

.sports-page-universes .sport-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.sports-page-universes .sport-overlay {
    padding: 16px;

    background: linear-gradient(
        transparent 38%,
        rgba(0,0,0,.90)
    );
}

.sports-page-universes .sport-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.sports-page-universes .sport-overlay span {
    font-size: .75rem;
}


  /* ---------------- Sport universe ---------------- */

.sport-universe-hero {
    padding: 42px 0 12px;
}

.sport-universe-hero h1 {
    font-size: 2.7rem;
    line-height: 1.05;
}

.sport-universe-hero p {
    font-size: .95rem;
    line-height: 1.6;
}

.sport-universe-feature {
    padding: 6px 0 46px;
}

.sport-feature {
    border-radius: 20px;
}

.sport-feature > img {
    height: 300px;
    min-height: 300px;
}

.sport-feature__content {
    padding: 28px 24px 30px;
}

.sport-feature__content h2 {
    font-size: 1.9rem;
    line-height: 1.08;
}

.sport-feature__content p {
    font-size: .95rem;
    line-height: 1.6;
}

.sport-universe-latest {
    padding: 48px 0 60px;
}

.sport-universe-latest .section-header h2 {
    font-size: 2.35rem;
    line-height: 1.08;
}

.sport-universe-latest .stories-grid {
    gap: 18px;
}

.sport-universe-latest .story img {
    height: 220px;
}

.sport-universe-latest .story-content {
    padding: 22px;
}

.sport-universe-latest .story h3 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.sport-universe-explore {
    padding: 55px 0 70px;
}

.sport-universe-explore .section-header {
    margin-bottom: 28px;
}

.sport-universe-explore .section-header h2 {
    font-size: 2.35rem;
    line-height: 1.08;
}

.sport-explore-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.sport-explore-card {
    min-height: 190px;
    padding: 24px;
}

.sport-explore-card__kicker {
    margin-bottom: 16px;
}

.sport-explore-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sport-explore-card p {
    font-size: .9rem;
    margin-bottom: 20px;
}

/* ---------------- About CTA ---------------- */

.about-cta {
    padding: 75px 0 85px;
}

.about-cta h2 {
    font-size: 2.8rem;
    line-height: 1.05;

    margin: 14px 0 22px;
}

.about-cta p {
    font-size: 1rem;
    line-height: 1.65;

    margin-bottom: 30px;
}

.about-cta__actions {
    flex-direction: column;
    align-items: stretch;

    gap: 12px;
}

.about-cta__actions .btn {
    width: 100%;

    justify-content: center;
}


/* ==========================================================
   ≤ 576px
   ========================================================== */

}

@media (max-width: 576px) {

    :root {
        --container-padding: 1rem;
    }

    .section-header {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 12px;
    }

    .section-header h2,
    .spotlight-page-hero h1,
    .sports-page-hero h1,
    .sport-universe-hero h1 {
        font-size: 2.45rem;
        line-height: 1.08;
    }

    .hero-feature img {
        height: 320px;
    }

    .hero-overlay {
        margin: -30px 10px 0;
        padding: 24px;
    }

    .hero-overlay h1 {
        font-size: 1.9rem;
    }

    .story img {
        height: 210px;
    }

    .spotlight-image img {
        height: 380px;
    }

    .spotlight-portrait img {
        height: 360px;
    }

    .sport-card img {
        height: 330px;
    }

    .sport-feature > img {
        height: 310px;
        min-height: 310px;
    }

}

/* Rettelser til den fælles header og eksisterende Om-layout. */
@media (max-width: 992px) {
    .hero-feature { display: block; min-height: 0; padding: 0; }
    .hero-feature > img { position: static; }
}
@media (max-width: 1100px) {
    .header { position: static; min-height: 76px; flex-wrap: wrap; gap: .75rem; }
    .header__logo img { height: 48px; }
    .header__cta { display: none; }
    .header__nav { display: flex; position: static; width: 100%; order: 3; flex-direction: column; align-items: stretch; padding: 0 0 1rem; gap: 0; }
    .mobile-menu-toggle { display: none; }
    .header__nav a { padding: .85rem 0; font-size: .95rem; border-bottom: 1px solid var(--color-border); }
    .js .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; margin: 0; padding: 1rem var(--container-padding); background: var(--color-background); max-height: calc(100dvh - 76px); overflow-y: auto; }
    .js .header__nav.is-open { display: flex; }
    .js .mobile-menu-toggle { display: flex; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .header { min-height: 70px; }
    .header__logo img { height: 44px; }
    .js .header__nav { max-height: calc(100dvh - 70px); }
    .about-hero { padding: 48px 0; }
    .about-hero h1 { font-size: clamp(2rem, 8vw, 3rem); overflow-wrap: anywhere; }
    .about-intro, .about-mission, .about-cover { padding: 56px 0; }
    .about-intro h2, .about-mission-card h2, .about-cta h2 { font-size: clamp(2rem, 7vw, 2.8rem); overflow-wrap: anywhere; }
    .about-mission-card { padding: 28px 24px; }
    .about-values { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-lead { font-size: 1.05rem; }
    .footer-inner { flex-direction: column; gap: 1rem; }
    .footer-inner nav { flex-direction: column; gap: 0; }
    .sports-grid { gap: 14px; }
    .sport-overlay { padding: 16px; }
    .sport-overlay h3 { font-size: 1.25rem; overflow-wrap: anywhere; }
    .hero-overlay { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Forsidens tomtilstand og Sports: hele ord i de smalle hero-overskrifter. */
@media (max-width: 768px) {
    .hero > .container > h1,
    .sports-index-hero h1 {
        font-size: clamp(1.65rem, 7.5vw, 2.5rem);
        line-height: 1.15;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}
