:root {
            --color-primary: #1a5f2a;
            --color-primary-dark: #0d3d18;
            --color-primary-light: #2d8a42;
            --color-accent: #d4a634;
            --color-accent-hover: #e6b94a;
            --color-bg: #fafaf8;
            --color-bg-alt: #f0efe8;
            --color-surface: #ffffff;
            --color-text: #1a1a1a;
            --color-text-muted: #5a5a5a;
            --color-border: #e0ddd4;
            --color-shadow: rgba(26, 95, 42, 0.08);
            --color-shadow-strong: rgba(26, 95, 42, 0.15);
            --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --font-body: 'Georgia', 'Times New Roman', serif;
            --font-mono: 'Consolas', 'Monaco', monospace;
            --space-xs: 0.5rem;
            --space-sm: 1rem;
            --space-md: 1.5rem;
            --space-lg: 2.5rem;
            --space-xl: 4rem;
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 400ms ease;
            --max-width: 75ch;
            --header-height: 4rem;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --color-primary: #3da558;
                --color-primary-dark: #2d8a42;
                --color-primary-light: #4fc46d;
                --color-accent: #e6b94a;
                --color-accent-hover: #f5c85a;
                --color-bg: #0f1210;
                --color-bg-alt: #1a1f1b;
                --color-surface: #242b26;
                --color-text: #e8e8e6;
                --color-text-muted: #a0a09c;
                --color-border: #3a4038;
                --color-shadow: rgba(0, 0, 0, 0.3);
                --color-shadow-strong: rgba(0, 0, 0, 0.5);
            }
        }

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

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-body);
            font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
            line-height: 1.7;
            color: var(--color-text);
            background: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        ::selection {
            background: var(--color-primary);
            color: white;
        }

        :focus-visible {
            outline: 3px solid var(--color-accent);
            outline-offset: 3px;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--header-height);
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            box-shadow: 0 2px 20px var(--color-shadow-strong);
        }

        .site-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover), var(--color-accent));
        }

        main {
            flex: 1;
            width: 100%;
            max-width: calc(var(--max-width) + var(--space-lg) * 2);
            margin: 0 auto;
            padding: var(--space-lg) var(--space-md);
        }

        @media (min-width: 768px) {
            main {
                padding: var(--space-xl) var(--space-lg);
            }
        }

        main h1 {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
            font-weight: 800;
            line-height: 1.15;
            color: var(--color-primary-dark);
            margin-bottom: var(--space-md);
            letter-spacing: -0.02em;
        }

        @media (prefers-color-scheme: dark) {
            main h1 {
                color: var(--color-primary-light);
            }
        }

        main h2 {
            font-family: var(--font-heading);
            font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
            font-weight: 700;
            line-height: 1.25;
            color: var(--color-primary);
            margin-top: var(--space-xl);
            margin-bottom: var(--space-md);
            padding-bottom: var(--space-xs);
            border-bottom: 3px solid var(--color-accent);
            position: relative;
        }

        main h2::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 60px;
            height: 3px;
            background: var(--color-primary);
        }

        main h3 {
            font-family: var(--font-heading);
            font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
            font-weight: 600;
            line-height: 1.35;
            color: var(--color-text);
            margin-top: var(--space-lg);
            margin-bottom: var(--space-sm);
        }

        main p {
            margin-bottom: var(--space-md);
            text-align: left;
            hyphens: auto;
        }

        main p:last-child {
            margin-bottom: 0;
        }

        main strong {
            font-weight: 700;
            color: var(--color-primary-dark);
        }

        @media (prefers-color-scheme: dark) {
            main strong {
                color: var(--color-primary-light);
            }
        }

        main em {
            font-style: italic;
            color: var(--color-text-muted);
        }

        main a {
            color: var(--color-primary);
            text-decoration: underline;
            text-decoration-color: var(--color-accent);
            text-underline-offset: 3px;
            transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
        }

        main a:hover {
            color: var(--color-primary-dark);
            text-decoration-color: var(--color-primary);
        }

        @media (prefers-color-scheme: dark) {
            main a:hover {
                color: var(--color-primary-light);
            }
        }

        main ul, main ol {
            margin-bottom: var(--space-md);
            padding-left: var(--space-md);
        }

        main ul {
            list-style: none;
        }

        main ul li {
            position: relative;
            padding-left: var(--space-md);
            margin-bottom: var(--space-xs);
        }

        main ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.65em;
            width: 8px;
            height: 8px;
            background: var(--color-accent);
            border-radius: 50%;
            transition: transform var(--transition-fast);
        }

        main ul li:hover::before {
            transform: scale(1.3);
        }

        main ol {
            list-style: none;
            counter-reset: item;
        }

        main ol li {
            counter-increment: item;
            position: relative;
            padding-left: calc(var(--space-md) + 0.5rem);
            margin-bottom: var(--space-sm);
        }

        main ol li::before {
            content: counter(item) ".";
            position: absolute;
            left: 0;
            font-family: var(--font-heading);
            font-weight: 700;
            color: var(--color-primary);
        }

        main blockquote {
            margin: var(--space-lg) 0;
            padding: var(--space-md) var(--space-lg);
            background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-surface) 100%);
            border-left: 4px solid var(--color-accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--color-text-muted);
            box-shadow: 0 4px 20px var(--color-shadow);
            position: relative;
        }

        main blockquote::before {
            content: '\201C';
            position: absolute;
            top: -10px;
            left: 15px;
            font-size: 4rem;
            font-family: var(--font-heading);
            color: var(--color-accent);
            opacity: 0.4;
            line-height: 1;
        }

        main blockquote p {
            margin-bottom: 0;
        }

        main figure {
            margin: var(--space-lg) 0;
        }

        main figure img,
        main .hero-image,
        main .article-image {
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            box-shadow: 0 8px 30px var(--color-shadow-strong);
            transition: transform var(--transition-slow), box-shadow var(--transition-slow);
        }

        main figure img:hover,
        main .article-image:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px var(--color-shadow-strong);
        }

        main .hero-image {
            margin-bottom: var(--space-lg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            position: relative;
        }

        main .hero-image::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(transparent, var(--color-bg));
            pointer-events: none;
        }

        main figcaption {
            margin-top: var(--space-sm);
            font-size: 0.875rem;
            color: var(--color-text-muted);
            text-align: center;
            font-style: italic;
        }

        main table {
            width: 100%;
            margin: var(--space-lg) 0;
            border-collapse: collapse;
            font-size: 0.95rem;
            box-shadow: 0 4px 20px var(--color-shadow);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        main th, main td {
            padding: var(--space-sm) var(--space-md);
            text-align: left;
            border-bottom: 1px solid var(--color-border);
        }

        main th {
            font-family: var(--font-heading);
            font-weight: 600;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
            color: white;
        }

        main tr {
            background: var(--color-surface);
            transition: background var(--transition-fast);
        }

        main tbody tr:hover {
            background: var(--color-bg-alt);
        }

        main code {
            font-family: var(--font-mono);
            font-size: 0.9em;
            padding: 0.2em 0.4em;
            background: var(--color-bg-alt);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-sm);
        }

        main pre {
            margin: var(--space-lg) 0;
            padding: var(--space-md);
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            overflow-x: auto;
            box-shadow: inset 0 2px 10px var(--color-shadow);
        }

        main pre code {
            padding: 0;
            background: none;
            border: none;
        }

        main hr {
            margin: var(--space-xl) 0;
            border: none;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
        }

        nav[aria-label="Inhoudsopgave"] {
            margin: var(--space-lg) 0;
            padding: var(--space-md);
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            box-shadow: 0 4px 20px var(--color-shadow);
        }

        nav[aria-label="Inhoudsopgave"] ol {
            margin-bottom: 0;
        }

        nav[aria-label="Inhoudsopgave"] a {
            text-decoration: none;
            display: inline-block;
            padding: var(--space-xs) 0;
        }

        nav[aria-label="Inhoudsopgave"] a:hover {
            text-decoration: underline;
        }

        footer {
            background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
            color: white;
            padding: var(--space-lg) var(--space-md);
            margin-top: auto;
        }

        .footer-content {
            max-width: 75ch;
            margin: 0 auto;
            text-align: center;
        }

        .footer-content p {
            font-size: 0.9rem;
            line-height: 1.6;
            opacity: 0.95;
        }

        footer::before {
            content: '';
            display: block;
            height: 3px;
            background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover), var(--color-accent));
            margin-bottom: var(--space-lg);
        }

        @media (max-width: 480px) {
            main {
                padding: var(--space-md) var(--space-sm);
            }

            main h2 {
                margin-top: var(--space-lg);
            }

            main blockquote {
                padding: var(--space-sm) var(--space-md);
                margin: var(--space-md) 0;
            }

            main blockquote::before {
                font-size: 2.5rem;
                top: -5px;
                left: 10px;
            }
        }

        @media print {
            header, footer {
                display: none;
            }

            main {
                max-width: 100%;
                padding: 0;
            }

            main a {
                text-decoration: none;
                color: var(--color-text);
            }

            main a[href]::after {
                content: " (" attr(href) ")";
                font-size: 0.8em;
                color: var(--color-text-muted);
            }
        }

        /* Afbeeldingen Stijlen - Voetbal Wedden Gids */

.hero-image {
    width: 100%;
    margin: 0 0 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 95, 42, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 95, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 95, 42, 0.15);
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

@media (prefers-color-scheme: dark) {
    .hero-image {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
    
    .article-image {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .article-image:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 480px) {
    .hero-image {
        margin: 0 0 1.5rem;
        border-radius: 12px;
    }
    
    .article-image {
        margin: 1.5rem 0;
        border-radius: 8px;
    }
}


/* =========================================
   CENTERED DESKTOP MENU STYLING
   ========================================= */

/* 1. Header Background */
.site-header {
    background-color: #121212; /* Dark background */
    border-bottom: 1px solid #333; /* Separator line */
    padding: 15px 0;
    width: 100%;
}

/* 2. Centering the Container */
.top-navigation-bar {
    display: flex;
    align-items: center;
    justify-content: center; /* KEY CHANGE: Centers content horizontally */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 3. Hide Mobile Burger on Desktop */
/* Important: We hide this so it does not push the menu off-center */
@media (min-width: 992px) {
    .mobile-controls {
        display: none;
    }
}

/* 4. Menu List Layout */
.menu-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px; /* Increased space between items for cleaner look */
}

/* 5. Link Styling */
.menu-desktop li a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

/* 6. Hover Effects */
.menu-desktop li a:hover {
    color: #4CAF50; /* Green accent */
    border-bottom: 2px solid #4CAF50;
}

/* 7. Current Page Highlight */
.menu-desktop li.current-menu-item a {
    color: #4CAF50;
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */

/* Hide desktop menu on small screens */
@media (max-width: 991px) {
    .site-nav--desktop {
        display: none;
    }
    
    /* Revert centering for mobile layout if needed */
    .top-navigation-bar {
        justify-content: space-between;
    }
    
    .mobile-controls {
        display: block; /* Show burger on mobile */
    }
}

/* =========================================
   MOBILE MENU & BURGER STYLING
   ========================================= */

/* 1. Burger Button Styling */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200; /* Ensure it stays above other elements */
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff; /* White bars */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 2. Mobile Menu Container (Hidden by default) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px; /* Width of the drawer */
    max-width: 80%;
    height: 100vh;
    background-color: #1a1a1a; /* Dark background */
    z-index: 1000;
    padding: 60px 20px 20px; /* Top padding for close button space */
    box-shadow: 4px 0 15px rgba(0,0,0,0.5);
    
    /* Animation: Slide out to the left */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden; /* Hide completely when closed */
}

/* 3. Class added via JS to open menu */
.mobile-menu.is-open {
    transform: translateX(0); /* Slide in */
    visibility: visible;
}

/* 4. Overlay (Dark background when menu is open) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* 5. Close Button inside Menu */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

/* 6. Menu Links Styling */
.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-mobile li {
    border-bottom: 1px solid #333; /* Separator */
}

.menu-mobile li a {
    display: block;
    padding: 15px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.2s;
}

.menu-mobile li a:hover {
    color: #4CAF50; /* Green accent on hover */
    padding-left: 10px; /* Slide effect */
}

/* 7. Hide burger on desktop (Safety check) */
@media (min-width: 992px) {
    .burger {
        display: none;
    }
}

/* =========================================
   FIXED FOOTER STYLING (Dark Theme)
   ========================================= */

/* 1. Main Footer Container - Force Black Background */
.site-footer {
    background-color: #111111 !important; /* Overrides theme green color */
    color: #e0e0e0 !important; /* Light grey text for high contrast */
    padding: 60px 20px 20px;
    font-size: 14px;
    border-top: 1px solid #333;
    margin-top: auto; 
}

/* 2. Grid Layout */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

/* 3. Headings - Gold/Yellow (Like your reference) */
.footer-heading {
    color: #FFD700 !important; /* Gold color */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Lists Reset */
.footer-list, 
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li, 
.footer-menu-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* 5. Link Styling - White */
.site-footer a {
    color: #ffffff !important; /* Bright white links */
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #FFD700 !important; /* Gold on hover */
    text-decoration: underline;
}

/* 6. Special Warning Styles (Column 1) - Red/Salmon */
.warning-list li {
    color: #ffffff !important; /* Readable red */
    font-weight: 500;
}

.warning-list li a {
    color: #ffffff !important;
    text-decoration: underline;
}

.warning-icon {
    color: #ffffff;
    font-weight: bold;
    margin-right: 5px;
}

/* 7. Bottom Copyright Bar */
.site-info {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ffffff !important; /* Dimmed text for copyright */
    font-size: 12px;
}

/* =========================================
   RESPONSIVE FOOTER (Mobile)
   ========================================= */

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column {
        border-bottom: 1px solid #222;
        padding-bottom: 30px;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
}

/* =========================================
   404 PAGE STYLING
   ========================================= */

/* 1. Main Container - Centers everything */
.error-404-container {
    background-color: #121212; /* Dark background */
    min-height: 60vh; /* Takes up mostly full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

/* 2. The Big 404 Number */
.error-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: #121212; /* Dark text fill */
    -webkit-text-stroke: 2px #4CAF50; /* Green outline */
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3); /* Green glow */
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 3. The "Offside" Title */
.error-title {
    font-size: 36px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 4. Description Text */
.error-text {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 500px;
    margin: 0 auto 40px; /* Spacing below text */
    line-height: 1.6;
}

/* 5. "Back to Home" Button */
.btn-home {
    display: inline-block;
    background-color: #4CAF50; /* Green button */
    color: #ffffff;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #4CAF50;
}

/* 6. Button Hover Effect */
.btn-home:hover {
    background-color: transparent;
    color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

/* =========================================
   RESPONSIVE 404
   ========================================= */

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 28px;
    }
}

#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
}

#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

#crumbs a:hover {
    text-decoration: underline;
}

#crumbs .current {
    font-weight: bold;
    color: rgb(255, 255, 255);
}

/* Fix for black background on GEO-SPORT bookmaker titles */
.tc-info .tc-header button {
    background-color: transparent !important;
    color: #222222 !important; /* Force dark text color for readability */
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Add a nice color change on hover */
.tc-info .tc-header button:hover {
    background-color: transparent !important;
    color: #0073aa !important; 
}