:root {
            /* Tennis-inspired color palette */
            --court-green: #2E7D32;
            --court-green-light: #4CAF50;
            --court-green-dark: #1B5E20;
            --clay-terracotta: #D84315;
            --ball-yellow: #FFD600;
            --ball-yellow-soft: #FFF176;
            
            /* Neutral tones (fixed for dark mode) */
            --white: #FFFFFF;
            --off-white: #FAFAFA;
            --charcoal: #212121;
            
            /* Semantic colors (Dark Theme Defaults) */
            --primary: var(--court-green-light); /* Brighter green for dark bg */
            --primary-light: #66BB6A;
            --primary-dark: var(--court-green);
            
            --accent: var(--ball-yellow);
            --accent-soft: #FBC02D;
            
            /* Text colors (Light text for dark bg) */
            --text-primary: #E8E8E8;
            --text-secondary: #A0A0A0;
            --text-inverse: var(--charcoal);
            
            /* Background colors (Always Dark) */
            --bg-primary: #121212;  /* Main black/gray */
            --bg-secondary: #1E1E1E; /* Slightly lighter for cards/footer */
            --bg-tertiary: #2D2D2D;
            
            /* Gray scale overrides for dark mode */
            --gray-50: #1a1a1a;
            --gray-100: #2D2D2D;
            --gray-200: #404040;
            --gray-600: #9e9e9e;
            --gray-800: #eeeeee;

            /* Spacing scale */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            --space-4xl: 6rem;
            
            /* Typography */
            --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --font-serif: Georgia, 'Times New Roman', serif;
            
            --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
            --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
            --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
            --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
            --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
            --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
            --text-3xl: clamp(1.875rem, 1.4rem + 2.25vw, 2.5rem);
            --text-4xl: clamp(2.25rem, 1.5rem + 3.5vw, 3.5rem);
            
            --leading-tight: 1.25;
            --leading-normal: 1.6;
            --leading-relaxed: 1.75;
            
            /* Shadows (Optimized for dark backgrounds) */
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
            --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6), 0 10px 10px rgba(0, 0, 0, 0.4);
            
            /* Borders */
            --radius-sm: 0.25rem;
            --radius-md: 0.5rem;
            --radius-lg: 1rem;
            --radius-full: 9999px;
            
            /* Transitions */
            --transition-fast: 150ms ease;
            --transition-normal: 250ms ease;
            --transition-slow: 350ms ease;
            
            /* Layout */
            --content-width: 75ch;
            --wide-width: 90rem;
        }

        


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

        /* Base styles */
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

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

        /* Focus styles for accessibility */
        :focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 2px;
        }

        ::selection {
            background-color: var(--accent);
            color: var(--charcoal);
        }

        /* Header */
        header {
            min-height: var(--space-lg);
        }

        /* Main content area */
        main {
            flex: 1;
            width: 100%;
            max-width: var(--wide-width);
            margin: 0 auto;
            padding: var(--space-xl) var(--space-md);
        }

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

        /* Article content styles */
        main h1 {
            font-family: var(--font-serif);
            font-size: var(--text-4xl);
            font-weight: 700;
            line-height: var(--leading-tight);
            color: var(--text-primary);
            margin-bottom: var(--space-xl);
            max-width: var(--content-width);
            position: relative;
            padding-bottom: var(--space-lg);
        }

       

        main h2 {
            font-family: var(--font-serif);
            font-size: var(--text-2xl);
            font-weight: 600;
            line-height: var(--leading-tight);
            color: var(--primary-dark);
            margin-top: var(--space-3xl);
            margin-bottom: var(--space-lg);
            max-width: var(--content-width);
            padding-left: var(--space-md);
            border-left: 4px solid var(--primary);
        }

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

        main h3 {
            font-family: var(--font-sans);
            font-size: var(--text-xl);
            font-weight: 600;
            line-height: var(--leading-tight);
            color: var(--text-primary);
            margin-top: var(--space-2xl);
            margin-bottom: var(--space-md);
            max-width: var(--content-width);
            display: flex;
            align-items: center;
            gap: var(--space-sm);
        }

        main h3::before {
            content: '';
            width: 8px;
            height: 8px;
            background-color: var(--accent);
            border-radius: var(--radius-full);
            flex-shrink: 0;
        }

        main p {
            max-width: var(--content-width);
            margin-bottom: var(--space-lg);
            color: var(--text-primary);
            line-height: var(--leading-relaxed);
        }

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

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

        /* Lists */
        main ul, main ol {
            max-width: var(--content-width);
            margin-bottom: var(--space-lg);
            padding-left: var(--space-xl);
        }

        main ul {
            list-style: none;
        }

        main ul li {
            position: relative;
            padding-left: var(--space-lg);
            margin-bottom: var(--space-sm);
            line-height: var(--leading-relaxed);
        }

        main ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.7em;
            width: 6px;
            height: 6px;
            background-color: var(--primary);
            border-radius: var(--radius-full);
        }

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

        main ol li {
            position: relative;
            padding-left: var(--space-2xl);
            margin-bottom: var(--space-sm);
            line-height: var(--leading-relaxed);
            counter-increment: ordered-list;
        }

        main ol li::before {
            content: counter(ordered-list);
            position: absolute;
            left: 0;
            top: 0;
            width: 1.75em;
            height: 1.75em;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--text-inverse);
            font-size: var(--text-sm);
            font-weight: 600;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Blockquote */
        main blockquote {
            max-width: var(--content-width);
            margin: var(--space-2xl) 0;
            padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
            border-left: 4px solid var(--accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--text-secondary);
            position: relative;
        }

        main blockquote::before {
            content: '"';
            position: absolute;
            top: var(--space-md);
            left: var(--space-md);
            font-size: var(--text-4xl);
            font-family: var(--font-serif);
            color: var(--accent);
            opacity: 0.5;
            line-height: 1;
        }

        main blockquote p {
            margin-bottom: 0;
        }

        /* Images */
        main figure {
            max-width: var(--content-width);
            margin: var(--space-2xl) 0;
        }

        main figure img,
        main .hero-image,
        main .article-image {
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            transition: transform var(--transition-normal), box-shadow var(--transition-normal);
        }

        main figure img:hover,
        main .article-image:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        main .hero-image {
            max-width: 100%;
            margin: 0 0 var(--space-2xl) 0;
            border-radius: var(--radius-lg);
            aspect-ratio: 21 / 9;
            object-fit: cover;
        }

        main .article-image {
            display: block;
            max-width: var(--content-width);
            margin: var(--space-2xl) 0;
        }

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

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

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

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

        /* Table of Contents styling (if present in content) */
        main ul:first-of-type {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            border: 1px solid var(--gray-200);
            margin-bottom: var(--space-2xl);
        }

        main ul:first-of-type li::before {
            background: linear-gradient(135deg, var(--primary), var(--accent));
        }

        /* FAQ section styling */
        main p > strong:first-child {
            display: block;
            font-size: var(--text-lg);
            color: var(--primary-dark);
            margin-bottom: var(--space-sm);
        }

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

        /* Decorative elements */
        main > *:first-child {
            margin-top: 0;
        }

        /* Responsive adjustments */
        @media (min-width: 768px) {
            main h1 {
                margin-bottom: var(--space-2xl);
            }

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

            main blockquote {
                margin-left: calc(-1 * var(--space-lg));
            }
        }

        @media (min-width: 1024px) {
            main {
                display: grid;
                grid-template-columns: 1fr min(var(--content-width), 100%) 1fr;
            }

            main > * {
                grid-column: 2;
            }

            main .hero-image,
            main figure.wide {
                grid-column: 1 / -1;
                max-width: 100%;
                margin-left: var(--space-xl);
                margin-right: var(--space-xl);
            }
        }

        /* Footer */
        footer {
            min-height: var(--space-lg);
            background-color: var(--bg-secondary);
        }

        /* Print styles */
        @media print {
            body {
                font-size: 12pt;
                line-height: 1.5;
                color: #000;
                background: #fff;
            }

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

            main h1, main h2, main h3 {
                page-break-after: avoid;
                color: #000;
            }

            main h2 {
                border-left-color: #000;
            }

            main a {
                color: #000;
                text-decoration: underline;
            }

            main blockquote {
                border-left-color: #666;
                background: #f5f5f5;
            }

            main figure img,
            main .hero-image,
            main .article-image {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }

        /* 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;
            }
        }

        /* Estilos adicionales para imágenes del artículo */
img.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

img.article-image {
    display: block;
    width: 100%;
    max-width: 75ch;
    height: auto;
    margin: 2rem 0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

img.article-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    img.hero-image,
    img.article-image {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    img.article-image:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 1024px) {
    img.hero-image {
        grid-column: 1 / -1;
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media print {
    img.hero-image,
    img.article-image {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Estilos del footer con disclaimer */
.footer-disclaimer {
    max-width: 75ch;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #757575;
}

.footer-disclaimer p {
    margin: 0;
    line-height: 1.6;
}

.footer-disclaimer strong {
    color: #424242;
}

@media (prefers-color-scheme: dark) {
    .footer-disclaimer {
        color: #A0A0A0;
    }
    
    .footer-disclaimer strong {
        color: #E8E8E8;
    }
}

/* Additional styles for article images */
img.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    
    /* Changed from 21 / 9 to 16 / 9 for a more standard, taller look */
    aspect-ratio: 16 / 9; 
    
    object-fit: cover;
    
    /* Focuses on the top center of the image to avoid cutting off heads */
    object-position: center top; 
}
/* Desktop adjustments: align hero image with text content */
@media (min-width: 1024px) {
    main .hero-image {
        /* Move image to the center column (same as text) instead of full width */
        grid-column: 2;
        
        /* Reset margins used for full-width layout */
        margin-left: 0;
        margin-right: 0;
        
        /* Standard 16:9 ratio, no cropping needed since width is constrained */
        aspect-ratio: 16 / 9;
        
        /* Ensure the image focuses on the top part if scaling occurs */
        object-position: center top;
    }
}

/* =========================================
   DESKTOP MENU STYLES (TENNIS THEME)
   ========================================= */

@media (min-width: 1024px) {

    /* Header Layout */
    .site-header {
        background-color: var(--court-green-dark); /* Dark green background like a grass court */
        padding: 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        position: relative;
        z-index: 100;
    }

    .top-navigation-bar {
        display: flex;
        justify-content: center; /* Center the menu */
        align-items: center;
        max-width: var(--wide-width);
        margin: 0 auto;
        padding: 0 2rem;
        height: 80px; /* Fixed height for consistency */
    }

    /* Reset list styles for the menu */
    .menu-desktop {
        display: flex;
        gap: 3rem; /* Space between items */
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* Menu Link Styles */
    .menu-desktop li a {
        position: relative;
        font-family: var(--font-sans);
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.85); /* Slightly transparent white */
        padding: 10px 0;
        letter-spacing: 0.05em;
        transition: color 0.3s ease;
    }

    /* Hover State: Tennis Ball Color */
    .menu-desktop li a:hover {
        color: var(--ball-yellow); /* Neon yellow text on hover */
    }

    /* The "Court Line" Animation */
    .menu-desktop li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--ball-yellow);
        
        /* Start scale at 0 (hidden) */
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Trigger animation on hover */
    .menu-desktop li a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    /* Active page highlight (optional, if WordPress adds current-menu-item class) */
    .menu-desktop li.current-menu-item a {
        color: var(--white);
    }
    .menu-desktop li.current-menu-item a::after {
        transform: scaleX(1);
        background-color: var(--white); /* White line for active page */
    }
    
    /* Hide the burger button on desktop explicitly */
    .mobile-controls {
        display: none;
    }
}

/* =========================================
   MOBILE MENU STYLES (Full Screen Overlay)
   ========================================= */

/* Burger Button (The Trigger) */
.burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 50;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white); /* White lines against the green header */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Ensure the header is styled correctly on mobile to show the burger */
@media (max-width: 1023px) {
    .site-header {
        background-color: var(--court-green-dark);
        padding: 1rem;
        display: flex;
        justify-content: flex-end; /* Puts burger on the right */
        align-items: center;
    }
    
    .mobile-controls {
        display: block; /* Make sure burger container is visible */
    }
}

/* The Mobile Menu Container - Full Screen Overlay */
#mobile-menu.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--court-green-dark); /* Dark Green Background */
    z-index: 1000; /* Stays on top of everything */
    
    /* Center the content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Hidden state by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* Smooth fade transition */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Open State (toggled by JS) */
#mobile-menu.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close Button Style */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--ball-yellow); /* Neon Yellow */
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    padding: 10px;
}

/* Menu List Styling */
#mobile-menu .menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between links */
}

/* Menu Links Styling */
#mobile-menu .menu-mobile li a {
    font-family: var(--font-sans);
    font-size: 2rem; /* Big text for easy tapping */
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

/* Active/Hover State for Mobile Links */
#mobile-menu .menu-mobile li a:hover,
#mobile-menu .menu-mobile li a:active {
    color: var(--ball-yellow); /* Highlight in yellow */
}

/* Remove the blue background overlay if present in other CSS */
.mobile-menu-overlay {
    background-color: rgba(0,0,0,0.5); /* Dim the site behind menu */
    backdrop-filter: blur(2px);
}

/* Typography adjustments for Mobile Menu */

/* Make the list items closer together */
#mobile-menu .menu-mobile {
    gap: 1.25rem; /* Reduced from 2rem for a tighter look */
}

/* Make the text smaller and lighter */
#mobile-menu .menu-mobile li a {
    font-size: 1.35rem; /* Much smaller than before (was 2rem) */
    font-weight: 600; /* Slightly thinner text */
    letter-spacing: 0.03em; /* Elegant spacing */
}

/* Resize the close button to match */
.mobile-menu__close {
    font-size: 2.5rem; /* Smaller close icon */
    top: 15px;
    right: 15px;
}

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

.site-footer {
    background-color: #1a1a1a; /* Dark background similar to reference */
    padding: 4rem 2rem 2rem;
    color: #cccccc;
    font-size: 0.95rem;
    margin-top: auto; /* Pushes footer to bottom if page is short */
    border-top: 1px solid #333;
}

/* Container for the 4 columns */
.footer-inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobile: 1 column */
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333; /* Divider line above copyright */
}

/* Responsive Grid for Desktop */
@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
        gap: 2rem;
    }
}

/* Headings (Yellow like tennis ball/reference image) */
.footer-heading {
    color: var(--ball-yellow);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    position: relative;
    padding-left: 0; /* Override default padding */
}

/* Remove default bullets styling if applied elsewhere */
.footer-list li::before {
    display: none; 
}

/* Links Styling */
.footer-list a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Specific styling for Warning Column (Red accents) */
.warning-col li {
    position: relative;
    padding-left: 1rem;
    color: #e0e0e0;
}

/* Red bullet points for warnings */
.warning-col li::before {
    display: block !important;
    content: '•';
    color: #ff4d4d; /* Red warning color */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.4;
}

.warning-item {
    color: #ff9999; /* Light red text */
}

.highlight-red {
    color: #ff4d4d;
    font-weight: 600;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-heading {
        margin-bottom: 1rem;
    }
}

/* =========================================
   404 ERROR PAGE STYLES
   ========================================= */

.error-404-wrapper {
    /* Center everything vertically and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Takes up most of the screen */
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.error-404-content {
    max-width: 600px;
}

/* The giant 404 number */
.error-code {
    font-size: clamp(6rem, 15vw, 12rem); /* Responsive giant text */
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary); /* Uses your dark theme text color */
    margin: 0;
    font-family: var(--font-sans);
    letter-spacing: -0.05em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* The "0" designed as a tennis ball */
.tennis-ball {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    background-color: var(--ball-yellow);
    border-radius: 50%;
    color: transparent;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.4); /* Neon glow */
}

/* The white curved line on the tennis ball */
.tennis-ball::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 0.12em solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
}

/* Headline "OUT!" */
.error-title {
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    color: var(--ball-yellow); /* Neon yellow text */
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-family: var(--font-sans); 
    border-left: none !important;
    padding-left: 0 !important;
}

/* Description text */
.error-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* "Back to Home" Button */
.btn-return {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--court-green);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--court-green);
}

.btn-return:hover {
    background-color: transparent;
    color: var(--ball-yellow);
    border-color: var(--ball-yellow);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.2);
    transform: translateY(-2px);
}

/* Styling for CL Page Template */
.cl-main {
    padding-left: 20px;     /* Left padding */
    padding-right: 20px;    /* Right padding */
    max-width: 1200px;      /* Limit content width */
    margin-left: auto;      /* Center content */
    margin-right: auto;     /* Center content */
    box-sizing: border-box; /* Ensure padding doesn't break layout */
    padding: 0px 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cl-main {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Breadcrumbs container styling */
#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; /* <--- ВОТ ЭТА СТРОКА ВЫРАВНИВАЕТ ИХ ПО ЦЕНТРУ */
}

/* Link styling within breadcrumbs */
#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

/* Hover effect for links */
#crumbs a:hover {
    text-decoration: underline;
}

/* Current page styling */
#crumbs .current {
    font-weight: bold;
    color: rgb(255, 255, 255);
}
