:root {
            --color-bg: #0c0a09;
            --color-bg-alt: #1c1917;
            --color-surface: #1c1917;

            --color-text: #fafaf9;
            --color-text-muted: #a8a29e;

            --color-primary: #22c55e;
            --color-primary-hover: #4ade80;

            --color-accent: #facc15;
            --color-accent-light: #422006;

            --color-border: #292524;

            --color-shadow: rgba(0, 0, 0, 0.3);
            --color-shadow-strong: rgba(0, 0, 0, 0.5);

            --color-link: #22c55e;
            --color-link-hover: #facc15;

            --color-blockquote-bg: #14532d;
            --color-blockquote-border: #22c55e;

            --color-code-bg: #292524;
            --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --font-serif: Georgia, Cambria, 'Times New Roman', Times, serif;
            --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
            --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
            --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
            --fs-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
            --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
            --fs-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
            --fs-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
            --fs-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
            --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
            --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);
            --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
            --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
            --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
            --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
            --max-width: 75ch;
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 350ms ease;
            --line-height-tight: 1.25;
            --line-height-base: 1.7;
            --line-height-relaxed: 1.85;
        }

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

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

        body {
            font-family: var(--font-sans);
            font-size: var(--fs-base);
            line-height: var(--line-height-base);
            color: var(--color-text);
            background: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            box-shadow: 0 1px 3px var(--color-shadow);
        }

        main {
            flex: 1;
            width: 100%;
            max-width: var(--max-width);
            margin-inline: auto;
            padding: var(--space-lg) var(--space-md);
        }

        footer {
            background: var(--color-bg-alt);
            border-top: 1px solid var(--color-border);
            padding: var(--space-lg) var(--space-md);
            margin-top: auto;
        }

        .footer-content {
            max-width: var(--max-width);
            margin: 0 auto;
            text-align: center;
        }

        .footer-content p {
            margin-bottom: var(--space-sm);
            font-size: var(--fs-sm);
            color: var(--color-text-muted);
        }

        .footer-content a {
            color: var(--color-link);
            text-decoration: underline;
        }

        .footer-content a:hover {
            color: var(--color-link-hover);
        }

        /* Article Content Styles */
        main h1 {
            font-family: var(--font-serif);
            font-size: var(--fs-4xl);
            font-weight: 700;
            line-height: var(--line-height-tight);
            color: var(--color-text);
            margin-bottom: var(--space-md);
            letter-spacing: -0.02em;
        }

        main h2 {
            font-family: var(--font-serif);
            font-size: var(--fs-2xl);
            font-weight: 600;
            line-height: var(--line-height-tight);
            color: var(--color-text);
            margin-top: var(--space-xl);
            margin-bottom: var(--space-md);
            padding-bottom: var(--space-xs);
            border-bottom: 2px solid var(--color-primary);
        }

        main h3 {
            font-family: var(--font-sans);
            font-size: var(--fs-xl);
            font-weight: 600;
            line-height: var(--line-height-tight);
            color: var(--color-text);
            margin-top: var(--space-lg);
            margin-bottom: var(--space-sm);
        }

        main p {
            margin-bottom: var(--space-md);
            line-height: var(--line-height-relaxed);
        }

        main a {
            color: var(--color-link);
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
            transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
        }

        main a:hover {
            color: var(--color-link-hover);
            text-decoration-thickness: 2px;
        }

        main a:focus {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
            border-radius: var(--radius-sm);
        }

        main strong {
            font-weight: 600;
            color: var(--color-text);
        }

        main em {
            font-style: italic;
        }

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

        main li {
            margin-bottom: var(--space-xs);
            line-height: var(--line-height-base);
        }

        main li::marker {
            color: var(--color-primary);
        }

        main ol li::marker {
            font-weight: 600;
        }

        main blockquote {
            background: var(--color-blockquote-bg);
            border-left: 4px solid var(--color-blockquote-border);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            padding: var(--space-md) var(--space-lg);
            margin: var(--space-lg) 0;
            font-style: italic;
        }

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

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

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

        main .hero-image {
            width: 100%;
            max-height: 50vh;
            object-fit: cover;
            border-radius: var(--radius-lg);
            box-shadow: 0 4px 20px var(--color-shadow-strong);
            margin-bottom: var(--space-lg);
        }

        main .article-image {
            width: 100%;
            height: auto;
            border-radius: var(--radius-md);
            box-shadow: 0 2px 10px var(--color-shadow);
            transition: transform var(--transition-base), box-shadow var(--transition-base);
        }

        main .article-image:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--color-shadow-strong);
        }

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

        main table {
            width: 100%;
            border-collapse: collapse;
            margin: var(--space-lg) 0;
            font-size: var(--fs-sm);
        }

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

        main th {
            background: var(--color-bg-alt);
            font-weight: 600;
            color: var(--color-text);
        }

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

        main code {
            font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
            font-size: 0.9em;
            background: var(--color-code-bg);
            padding: 0.15em 0.4em;
            border-radius: var(--radius-sm);
        }

        main pre {
            background: var(--color-code-bg);
            border-radius: var(--radius-md);
            padding: var(--space-md);
            overflow-x: auto;
            margin: var(--space-lg) 0;
        }

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

        /* Focus Styles */
        :focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
        }

        /* Selection */
        ::selection {
            background: var(--color-accent);
            color: var(--color-bg);
        }

        /* Responsive adjustments */
        @media (max-width: 640px) {
            main {
                padding: var(--space-md) var(--space-sm);
            }

            main h1 {
                hyphens: auto;
            }

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

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

        /* Print Styles */
        @media print {
            body {
                background: white;
                color: black;
            }

            header, footer {
                display: none;
            }

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

            main a {
                color: black;
                text-decoration: underline;
            }

            main .hero-image, main .article-image {
                box-shadow: none;
                break-inside: avoid;
            }
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }

            html {
                scroll-behavior: auto;
            }
        }

        /* Images Styles for Voetbal Wedden Gids */

.hero-image {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--color-shadow-strong);
    margin-bottom: var(--space-lg);
    display: block;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px var(--color-shadow);
    margin: var(--space-md) 0 var(--space-lg) 0;
    display: block;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.article-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-shadow-strong);
}

@media (max-width: 640px) {
    .hero-image {
        max-height: 40vh;
        border-radius: var(--radius-md);
    }
    
    .article-image {
        border-radius: var(--radius-sm);
    }
}

@media print {
    .hero-image,
    .article-image {
        box-shadow: none;
        break-inside: avoid;
    }
}


/* =========================================
   HEADER STYLES (Dark & Modern)
   ========================================= */

:root {
    --header-bg: rgba(15, 23, 42, 0.95); /* Deep dark blue/black */
    --header-text: #ffffff;
    --header-accent: #22c55e; /* Football Green */
    --header-height: 80px;
}

/* 1. Header Structure */
.site-header {
    background-color: var(--header-bg);
    position: sticky; /* Sticks to top on scroll */
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 2. Logo Styles */
.site-logo a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.site-title-text {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #fff;
}

/* 3. Desktop Menu Styles */
.menu-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.menu-desktop li {
    position: relative;
}

.menu-desktop a {
    color: var(--header-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

/* Hover Effect: Green Underline */
.menu-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--header-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu-desktop a:hover {
    color: var(--header-accent);
}

.menu-desktop a:hover::after {
    width: 100%;
}

/* 4. Hide/Show logic based on screen size */
.mobile-controls {
    display: none; /* Hidden on desktop */
}

.site-nav--desktop {
    display: block; /* Visible on desktop */
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 992px) {
    .site-nav--desktop {
        display: none; /* Hide desktop menu on tablets/mobile */
    }

    .mobile-controls {
        display: block; /* Show burger on tablets/mobile */
    }

    /* Burger Button Styling */
    .burger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .burger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: 0.3s;
    }
}

/* =========================================
   MOBILE MENU STYLES (Fixing the "Mess")
   ========================================= */

/* 1. The Menu Container (Hidden by default) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hide off-screen to the right */
    width: 320px; /* Fixed width for the drawer */
    max-width: 85%; /* Prevent overflow on small screens */
    height: 100vh;
    background-color: #0f172a; /* Solid dark color matching header */
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth slide effect */
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

/* 2. State: Open */
.mobile-menu.is-open {
    right: 0; /* Slide in */
}

/* 3. Header inside Mobile Menu (Title + Close Button) */
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.02);
}

.mobile-menu-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.mobile-menu__close:hover {
    color: #22c55e; /* Green accent on hover */
}

/* 4. The Links List */
.mobile-menu__inner {
    flex: 1;
    overflow-y: auto; /* Scroll if menu is too long */
    padding: 20px 0;
}

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

.menu-mobile li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* 5. Link Styling (The main fix) */
.menu-mobile a {
    display: block;
    padding: 15px 25px;
    color: #e2e8f0; /* Off-white for readability */
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Active/Hover States */
.menu-mobile a:hover,
.menu-mobile .current-menu-item > a {
    background-color: rgba(34, 197, 94, 0.1); /* Slight green background */
    color: #22c55e; /* Green text */
    padding-left: 35px; /* Nice slide effect */
}

/* 6. Overlay (Dark background behind menu) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9998; /* Behind the menu */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

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

/* =========================================
   FOOTER STYLES (4-Column Layout)
   ========================================= */

.site-footer {
    background-color: #0f172a; /* Dark background */
    color: #cbd5e1; /* Light grey text */
    padding: 60px 20px 30px;
    font-size: 0.95rem;
    border-top: 3px solid #22c55e; /* Green accent line at top */
}

/* Container for columns */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 40px;
}

/* Headings (Yellow/Gold style) */
.footer-heading {
    color: #fbbf24; /* Gold color like in reference */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

/* Links styling */
.footer-list a, .footer-menu-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover, .footer-menu-list a:hover {
    color: #22c55e; /* Green hover */
    text-decoration: underline;
}

/* Warning Icon (18+) */
.warning-icon {
    display: inline-block;
    background: #ef4444; /* Red background */
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Bottom Copyright Section */
.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
        text-align: center;
    }
}

#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);
}
