      :root {
    --bg-dark: #1e1e1c;
    --bg-sidebar: #191816;
    --bg-card: #2a2926;
    --tiger-orange: #ff9f1c;
    --tiger-orange-hover: #ffbf69;
    --text-main: #ffffff;
    --text-muted: #bababa;
    --sidebar-width: 260px;
}

body, html {
    margin: 0; padding: 0; min-height: 100%; width: 100%;
    background: var(--bg-dark); color: var(--text-main);
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex; overflow-x: hidden;
}

/* =========================
   NAVIGATION (PC)
========================= */
nav {
    width: var(--sidebar-width); height: 100vh; background: var(--bg-sidebar);
    position: fixed; left: 0; top: 0; display: flex; flex-direction: column;
    border-right: 1px solid #333; z-index: 9999;
}

.logo-area { 
    /* Endret fra 45px til f.eks. 20px topp og 5px bunn */
    padding: 20px 20px 5px 20px; 
    font-size: 1.8rem; 
    font-weight: 900; 
    text-align: center; 
    color: var(--tiger-orange); 
    text-transform: uppercase; 
}
nav ul { list-style: none; margin: 0; padding: 0; }

nav li { position: relative; } /* Viktig for at dropdown skal poppe ut ved siden av knappen */

nav a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.1rem; 
    
    /* ENDRE DENNE LINJEN: */
    padding: 10px 20px; /* Redusert fra 18px 30px */
    
    display: flex; 
    transition: 0.2s; 
    border-left: 5px solid transparent; 
}


nav a:hover { color: #fff; background: rgba(255, 159, 28, 0.05); border-left: 5px solid var(--tiger-orange); }

/* DROPDOWN (PC) */
.has-dropdown:hover > .dropdown-menu { display: block; }

.dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;

    min-width: max-content;   /* expand to fit content */
    width: max-content;       /* ensure it grows as needed */
    white-space: nowrap;      /* prevent line breaks */

    background: var(--bg-sidebar);
    border: 1px solid #333;
    z-index: 99999;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

/* =========================
   CONTENT & HERO
========================= */
.wrapper { 
    margin-left: var(--sidebar-width); 
    flex-grow: 1; 
    min-width: 0; 
}

.hero {
    padding: 30px 40px;
    background: linear-gradient(to right, rgba(25, 24, 22, 0.9), rgba(42, 41, 38, 0.7));
    text-align: left;
    border-bottom: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 { 
    font-size: 2.2rem; 
    margin: 0; 
    color: var(--tiger-orange); 
    max-width: 800px; 
}

.hero p { 
    font-size: 1rem; 
    color: var(--text-muted); 
    max-width: 500px; 
    line-height: 1.4; 
    margin: 8px 0;
}

.cta-btn {
    display: inline-block; 
    padding: 10px 25px; 
    background: var(--tiger-orange);
    color: #000; 
    text-decoration: none; 
    font-weight: 800; 
    border-radius: 6px;
    margin-top: 10px; 
    transition: 0.3s; 
    text-transform: uppercase;
    font-size: 0.85rem;
}

.cta-btn:hover { background: var(--tiger-orange-hover); transform: translateY(-2px); }

/* =========================
   GRID SYSTEM
========================= */
.grid-container {
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    padding: 30px 40px; 
    
    /* 1. Behold maksbredden din */
    max-width: 1200px; 
    
    /* 2. Flytt den til venstre med en spesifikk margin */
    /* Hvis sidebaren din dytter innholdet fra før, bruk 0 her. */
    /* Hvis ikke, sett denne til samme bredde som sidebaren (f.eks. 250px) */
    margin-left: 0; 
    margin-right: auto; /* Dette dytter alt tomrommet til høyre */
}

.card {
    background: var(--bg-card); 
    border: 1px solid #333; 
    border-radius: 12px;
    padding: 20px; 
    text-decoration: none; 
    color: white; 
    transition: 0.3s;
    text-align: left;
}

.card:hover { transform: translateY(-5px); border-color: var(--tiger-orange); box-shadow: 0 8px 15px rgba(0,0,0,0.4); }

.card h3 { margin: 0 0 8px 0; color: var(--tiger-orange); font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; }

.card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* =========================
   MOBILE IMPROVEMENTS
========================= */
@media (max-width: 1024px) {
    body { flex-direction: column; }
    
    nav { 
        width: 100%; height: auto; position: sticky; top: 0; 
        border-right: none; border-bottom: 1px solid #333; 
        background: var(--bg-sidebar); flex-direction: column;
        overflow: visible;
    }

    /* THE ARROW: This creates a small pulsing arrow on the far right of the menu bar */
    nav::after {
        content: '→';
        position: absolute;
        right: 10px;
        bottom: 12px;/* Fjerner den lyseblå fargen fra ALLE lenker på hele siden */
a, a:visited {
    color: var(--text-main); /* Eller var(--text-muted) om du vil ha dem diskré */
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Gjør at lenker popper i Tiger-oransje kun når du holder musa over */
a:hover {
    color: var(--tiger-orange);
}

/* Spesifikk fiks for footeren så den ser proff ut */
footer a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
        color: var(--tiger-orange);
        font-weight: bold;
        font-size: 1.2rem;
        z-index: 10;
        pointer-events: none;
        animation: pulse-arrow 1.5s infinite;
        text-shadow: 0 0 5px rgba(255, 159, 28, 0.8);
    }

    @keyframes pulse-arrow {
        0% { transform: translateX(0); opacity: 0.5; }
        50% { transform: translateX(5px); opacity: 1; }
        100% { transform: translateX(0); opacity: 0.5; }
    }

    .logo-area { padding: 15px; font-size: 1.4rem; border-bottom: 1px solid #222; width: 100%; box-sizing: border-box; }

    nav ul.nav-list { 
        display: flex; flex-direction: row; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
        padding-right: 40px; /* Space so the arrow doesn't cover text */
    }
    
    nav ul.nav-list::-webkit-scrollbar { display: none; }
    nav li { position: static; }
    nav a { padding: 15px 20px; font-size: 0.9rem; border-left: none; }
    .dropdown-menu { position: absolute; left: 0; width: 100%; top: 100%; background: #252422; }
    .wrapper { margin-left: 0; width: 100%; }
    .grid-container { grid-template-columns: 1fr; padding: 20px; }
    .hero { padding: 30px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .show-mobile { display: block !important; }
}
footer {
    margin-top: 50px;
    padding: 30px 40px;
    border-top: 1px solid #333; /* The unlimited line */
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

footer span {
    color: var(--tiger-orange);
}

.contact-email {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.contact-email:hover {
    color: var(--tiger-orange);
}
/* All links start as light blue */
a, a:visited {
    color: #add8e6; /* Light Blue */
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Links turn Tiger Orange when hovered */
a:hover {
    color: var(--tiger-orange);
}

/* Footer links stay light blue but smaller */
footer a {
    color: #add8e6;
    font-size: 0.85rem;
}
/* =========================
   FEDERATION LIST STYLES
========================= */
.federation-list {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fed-row {
    background: var(--bg-sidebar);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 25px;
    display: flex; /* Changed from grid to flex */
    flex-direction: row;
    gap: 30px; /* This controls the exact distance between items */
    align-items: center;
    transition: 0.2s ease;
}
.fed-row:hover {
    border-color: var(--tiger-orange);
    background: rgba(255, 159, 28, 0.05);
}

.flag { width: 30px; }
.country { 
    width: 150px; 
    flex-shrink: 0; /* Hindrer at kolonnen blir smalere hvis teksten er lang */
    font-weight: 800; 
    color: var(--tiger-orange); 
}

.org-name { 
    width: 350px; /* Gir organisasjonsnavnet fast plass */
    flex-shrink: 0; 
    color: #fff; 
}

.fed-link {
    font-size: 0.9rem;
    color: #add8e6 !important;
    white-space: nowrap;
    /* Nå vil denne alltid starte nøyaktig 30px etter org-name */
}
.fed-link:hover {
    color: var(--tiger-orange) !important;
}

/* =========================
   MOBILE FIX FOR FEDERATIONS
========================= */

/* Mobile logic stays the same */
@media (max-width: 1024px) {
    .fed-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fed-row {
        grid-template-columns: 50px 1fr; /* Flagg og Navn øverst */
        gap: 10px;
        padding: 20px;
    }

    .org-name {
        grid-column: 1 / span 2; /* Tar hele bredden under */
        font-size: 1rem;
    }

    .fed-link {
        grid-column: 1 / span 2;
        text-align: left;
        margin-top: 5px;
    }
}
.club-container {
    padding: 20px 40px;
    max-width: 900px; /* Samme som føderasjonslisten for konsistens */
}

/* LAND-OVERSKRIFT */
.country-header {
    background: var(--bg-sidebar);
    color: var(--tiger-orange);
    padding: 12px 20px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    margin: 30px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* KLUBB-RAD (PC) */
.club-row {
    display: grid;
    /* By (150px) | Klubbnavn (1fr) | Link (auto) */
    grid-template-columns: 150px 1fr auto;
    padding: 12px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid #333;
    align-items: center;
    transition: 0.2s;
}

.club-row:hover {
    background: #32312e;
}

.club-city {
    color: var(--tiger-orange);
    font-weight: 700;
    font-size: 0.95rem;
}

.club-name {
    color: var(--text-main);
    font-size: 0.95rem;
}

.club-link {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    text-decoration: none;
    padding-left: 20px;
}

.club-link:hover {
    color: var(--tiger-orange) !important;
    text-decoration: underline;
}


/* Mobil-oppsett for klubber */
@media (max-width: 1024px) {
    .club-container { padding: 20px; }
    .club-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 15px;
    }
    .club-city, .club-name { width: 100%; }
    .club-city { color: var(--tiger-orange); }
}
/* =========================
   EVENTS SECTION (TABELL-STIL)
========================= */
.calendar-section {
    padding: 0 40px 40px 40px;
}

.month-divider {
    background: rgba(255, 159, 28, 0.1);
    color: var(--tiger-orange);
    padding: 10px 20px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 30px 0 10px 0;
    border-left: 4px solid var(--tiger-orange);
    display: flex;
    align-items: center;
}

.event-row {
    background: var(--bg-sidebar);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 25px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-bottom: 8px;
    transition: 0.2s ease;
}

.event-row:hover {
    border-color: var(--tiger-orange);
}

/* Faste bredder for tabell-look */
.e-date { 
    width: 110px; 
    flex-shrink: 0; 
    font-weight: 800; 
    color: var(--tiger-orange); 
}

.e-name { 
    width: 350px; 
    flex-shrink: 0; 
    color: #fff; 
}

.e-name span {
    font-size: 0.7rem;
    background: #333;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 5px;
}

.e-location { 
    width: 250px; 
    flex-shrink: 0; 
    color: var(--text-muted); 
}

.e-action .cta-btn {
    background: #add8e6 !important; /* Blå farge */
    color: #000 !important;
    padding: 5px 15px !important;
    font-size: 0.75rem;
    margin: 0 !important;
}
a.cta-btn {
    color: #000 !important; /* Sett til #000 (svart) eller #fff (hvit) */
    text-decoration: none;  /* Fjerner understreking */
}

/* Mobil-tilpasning */
@media (max-width: 1024px) {
    .event-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .e-date, .e-name, .e-location { width: 100%; }
}
/* =========================
   WIKIPEDIA TABLE STYLES
========================= */
.wiki-container {
    padding: 40px;
}

.wiki-title {
    font-size: 2rem;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.wiki-dark-container {
    background: #191816;
    border: 1px solid #333;
    padding: 20px;
    margin-top: 20px;
    max-width: 1000px; /* Økt litt for å gi plass til 3 lister i bredden */
}

.wiki-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.wiki-table {
    width: max-content;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 0.9rem;
    background: #1e1e1c;
    margin-left: 0;
    margin-right: auto;
}

/* Wikipedia-stil rammer og tekst */
.wiki-table th, 
.wiki-table td {
    padding: 12px 15px;
    border: 1px solid #444;
    vertical-align: top; /* Viktig for lister: starter øverst i cellen */
    text-align: left;
}

/* Overskrifter */
.wiki-table thead th {
    background-color: #2a2a2a;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

/* === KOLONNE-STYRING (Dette fikser dine feil) === */

/* Årstall og Webside skal være så smale som mulig */
.year-cell, 
.wiki-table td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    background: #252523;
}

/* Medalje-kolonnene skal dele på resten av plassen */
.gold-bg, .silver-bg, .bronze-bg {
    min-width: 200px; /* Sikrer at navnelisten har bredde nok */
}

/* Styling av spillerlistene inni tabellen */
.player-list-wiki {
    margin: 8px 0 0 0;
    padding-left: 18px;
    list-style-type: square;
    font-size: 0.85rem;
    color: #bababa;
}

.player-list-wiki li {
    margin-bottom: 3px;
}

/* Stripe-effekt */
.wiki-table tbody tr:nth-child(even) {
    background-color: #252523;
}

/* Medalje-farger (svak bakgrunn) */
.gold-bg { background: rgba(255, 215, 0, 0.05) !important; }
.silver-bg { background: rgba(192, 192, 192, 0.05) !important; }
.bronze-bg { background: rgba(205, 127, 50, 0.05) !important; }

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 1024px) {
    .wiki-container {
        padding: 20px;
    }
    
    .wiki-table {
        min-width: 850px; /* Tvinger den til å være bred på mobil så man kan scrolle */
        font-size: 0.85rem;
    }
    
    .wiki-table th, .wiki-table td {
        padding: 10px 8px;
    }
}
/* =========================
   GLOSSARY STYLES
========================= */
.glossary-container {
    padding: 0 40px 40px 40px;
}

#glossarySearch {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    background: var(--bg-sidebar);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: 0.3s;
}

#glossarySearch:focus {
    border-color: var(--tiger-orange);
    box-shadow: 0 0 10px rgba(255, 159, 28, 0.2);
}

.glossary-letter-group {
    margin-bottom: 40px;
}

.letter-header {
    font-size: 1.8rem;
    color: var(--tiger-orange);
    border-bottom: 2px solid var(--tiger-orange);
    margin-bottom: 20px;
    display: block;
    width: 100%;
    font-weight: 900;
}

.glossary-item {
    background: var(--bg-card);
    border-left: 4px solid #444;
    padding: 15px 25px;
    margin-bottom: 10px;
    transition: 0.2s ease;
}

.glossary-item:hover {
    border-left-color: var(--tiger-orange);
    background: rgba(255, 159, 28, 0.05);
}

.glossary-term {
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.glossary-definition {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* For links inside the definition */
.glossary-definition a {
    color: #add8e6 !important;
    text-decoration: underline;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 1024px) {
    .glossary-container {
        padding: 20px;
    }
    
    #glossarySearch {
        max-width: 100%;
    }
}
/* =========================
   GLOSSARY STYLES
========================= */
.alphabet-header {
    background: rgba(255, 159, 28, 0.1);
    color: var(--tiger-orange);
    padding: 10px 20px;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 35px 0 15px 0;
    border-left: 4px solid var(--tiger-orange);
    display: flex;
    align-items: center;
}

.glossary-row {
    background: var(--bg-sidebar);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 18px 25px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start; /* Sørger for at lang tekst starter øverst */
    margin-bottom: 10px;
    transition: 0.2s ease;
}

.glossary-row:hover {
    border-color: var(--tiger-orange);
    background: rgba(255, 159, 28, 0.05);
}

/* Kolonne-oppsett */
.term-name {
    width: 200px;
    flex-shrink: 0;
    font-weight: 800;
    color: var(--tiger-orange);
    font-size: 1.1rem;
}

.term-definition {
    flex-grow: 1;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stil for selve søkefeltet (hvis du ikke har det fra før) */
#glossarySearch {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #2a2926;
    color: white;
    font-size: 16px;
    outline: none;
}

#glossarySearch:focus {
    border-color: var(--tiger-orange);
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 1024px) {
    .glossary-row {
        flex-direction: column;
        gap: 8px;
        padding: 15px;
    }

    .term-name {
        width: 100%;
        font-size: 1.2rem;
    }

    .alphabet-header {
        margin-top: 25px;
        font-size: 1.2rem;
    }
}
.alphabet-nav {
    padding: 20px 40px 0 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alphabet-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 800;
    padding: 5px 10px;
    background: var(--bg-sidebar);
    border: 1px solid #333;
    border-radius: 4px;
    transition: 0.2s;
}

.alphabet-nav a:hover {
    color: var(--tiger-orange);
    border-color: var(--tiger-orange);
    background: rgba(255, 159, 28, 0.05);
}

/* Gjør at hoppingen ikke havner helt under menyen på mobil */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}
.article-card {
    background: var(--bg-card); 
    border: 1px solid #333; 
    border-radius: 12px;
    padding: 0; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Viktig for at hele kortet kan være en lenke */
    color: white; 
    transition: 0.3s;
    text-align: left;
    cursor: pointer;
}

/* Resten av koden forblir lik som før */
.article-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--tiger-orange); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.4); 
}

.article-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #333;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-category-tag {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--tiger-orange);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.article-card-content h3 { 
    margin: 0 0 10px 0; 
    color: white; 
    font-size: 1.1rem; /* Litt mindre font for å passe 4 i bredden */
}

.article-card-content p { 
    margin: 0 0 20px 0; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    line-height: 1.5; 
}

.article-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-read-more {
    color: var(--tiger-orange);
    font-weight: bold;
    text-decoration: none;
}

/* Responsiv fiks: Gå til 2 kolonner på mindre skjermer */
@media (max-width: 1200px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-container { grid-template-columns: 1fr; }
}
/* =========================
   NEWS ARTICLE STYLE (ISOLATED)
========================= */

.news-layout {
    max-width: 800px; /* Optimal lesebredde for tekst */
    margin: 40px auto;
    padding: 0 20px;
    color: var(--text-main, #eee);
}

.news-header {
    text-align: left;
    margin-bottom: 30px;
}

.news-category {
    color: var(--tiger-orange);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.news-header h1 {
    font-size: 2.8rem;
    margin: 10px 0;
    line-height: 1.1;
    color: #fff;
}

.news-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: center;
}

.news-main-image {
    display: flex;
    flex-direction: column; /* Legger bildet over teksten */
    align-items: center;    /* Midtstiller innholdet horisontalt */
    justify-content: center;
    margin: 30px auto;      /* "auto" på sidene midtstiller selve figure-boksen */
    width: 100%;
}

.news-main-image img {
    max-width: 100%;        /* Sikrer at bildet ikke blir bredere enn skjermen */
    height: auto;           /* Beholder proporsjonene */
    border-radius: 8px;     /* Matcher Tiger-stilen din */
}


.news-main-image figcaption {
    text-align: center;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 25px;
}

.news-content h2 {
    color: var(--tiger-orange);
    margin-top: 40px;
    font-size: 1.8rem;
}

.news-content p {
    margin-bottom: 20px;
}

/* Sitat-styling */
.news-content blockquote {
    border-left: 4px solid var(--tiger-orange);
    padding: 20px 30px;
    margin: 40px 0;
    background: rgba(255, 107, 0, 0.05);
    font-style: italic;
    font-size: 1.2rem;
}

.news-content blockquote cite {
    display: block;
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--text-muted);
    font-weight: normal;
}

.news-article-footer {
    margin-top: 60px;
    padding-bottom: 40px;
}

.news-article-footer .tags span {
    background: #2a2926;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 8px;
    color: var(--text-muted);
    border: 1px solid #333;
}

.news-article-footer hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 30px 0;
}
.video-container {
    display: flex;
    justify-content: center; /* Horisontal midtstilling */
    align-items: center;     /* Vertikal midtstilling (hvis beholderen har høyde) */
    padding: 20px 0;         /* Gir litt luft over og under videoen */
    width: 100%;
}
/* Responsiv fiks */
@media (max-width: 768px) {
    .news-header h1 { font-size: 2rem; }
    .news-layout { margin: 20px auto; }
}
.video-container iframe {
    max-width: 100%;
    border-radius: 8px; /* Valgfritt: matcher dine andre avrundede hjørner */
    border: 1px solid #333;
}
/* =========================
   BOOKS SECTION (VERTICAL)
========================= */

.books-container {
    max-width: 1200px;
    margin-left: 0;
    margin-right: auto;
    padding: 30px 40px;
}

/* Each expandable section behaves like a full-width card */
.book-section {
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s;
    overflow: hidden; /* ensures clean header edges */
}

/* Hover effect (same feel as cards) */
.book-section:hover {
    border-color: var(--tiger-orange);
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}

/* Highlight when open */
.book-section[open] {
    border-color: var(--tiger-orange);
}

/* Header */
.book-section summary {
    padding: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tiger-orange);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 100%;

    /* UX improvements */
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid #333;
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Hover = clear it's clickable */
.book-section summary:hover {
    background: rgba(255, 159, 28, 0.08);
}

/* Click feedback */
.book-section summary:active {
    transform: scale(0.995);
}

/* Remove default arrow */
.book-section summary::-webkit-details-marker {
    display: none;
}

/* Custom arrow (more visible) */
.book-section summary::after {
    content: "▾";
    font-size: 1rem;
    color: var(--tiger-orange);
    transition: transform 0.2s ease;
}

/* Rotate when open */
.book-section[open] summary::after {
    transform: rotate(180deg);
}

/* Content */
.book-content {
    padding: 15px 20px 20px 20px;
}

/* Book list */
.book-content ul {
    padding-left: 0;
    list-style: none;
}

.book-content li {
    margin-bottom: 14px;
}

/* Book links */
.book-content a {
    font-weight: 600;
    color: #add8e6;
}

.book-content a:hover {
    color: var(--tiger-orange);
}

/* Description */
.desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}
/* FORCE desktop nav links to stay same color */
nav a,
nav a:visited,
nav a:active {
    color: var(--text-muted);
}

/* Hover only */
nav a:hover,
nav a:focus {
    color: #fff;
}