/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */


        :root {
            /* Tennis-inspired color palette */
            --color-primary: #1a5f3c;
            --color-primary-dark: #0d3d24;
            --color-secondary: #c45c26;
            --color-accent: #c8d96f;
            --color-accent-bright: #d4e157;
            --color-court-blue: #1e4a6d;
            --color-clay: #d4734a;
            
            /* Neutrals */
            --color-bg: #fafaf8;
            --color-bg-alt: #f0efe9;
            --color-surface: #ffffff;
            --color-text: #1a1a1a;
            --color-text-muted: #5a5a5a;
            --color-text-light: #767676;
            --color-border: #e0e0dc;
            --color-line: #d0d0c8;
            
            /* Shadows */
            --shadow-sm: 0 1px 3px rgba(26, 95, 60, 0.08);
            --shadow-md: 0 4px 12px rgba(26, 95, 60, 0.1);
            --shadow-lg: 0 8px 30px rgba(26, 95, 60, 0.12);
            
            /* Typography */
            --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --font-heading: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
            
            /* Spacing */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            
            /* Layout */
            --content-width: 72ch;
            --content-wide: 120ch;
            --header-height: 4rem;
            
            /* Transitions */
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
            --transition-slow: 400ms ease;
            
            /* Border radius */
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --color-primary: #4aba7a;
                --color-primary-dark: #3a9a64;
                --color-secondary: #e07a4a;
                --color-accent: #d4e157;
                --color-accent-bright: #e8f060;
                --color-court-blue: #4a8ab8;
                --color-clay: #e08a6a;
                
                --color-bg: #0f1210;
                --color-bg-alt: #1a1f1c;
                --color-surface: #242a26;
                --color-text: #eaeae8;
                --color-text-muted: #a8a8a6;
                --color-text-light: #888886;
                --color-border: #3a403c;
                --color-line: #2a302c;
                
                --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
                --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
                --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
            }
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            font-size: 100%;
            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-color: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Focus styles for accessibility */
        :focus-visible {
            outline: 3px solid var(--color-accent);
            outline-offset: 3px;
        }

        ::selection {
            background-color: var(--color-accent);
            color: var(--color-primary-dark);
        }

        /* Skip link for accessibility */
        .skip-link {
            position: absolute;
            top: -100%;
            left: var(--space-md);
            padding: var(--space-sm) var(--space-md);
            background: var(--color-primary);
            color: var(--color-surface);
            border-radius: var(--radius-sm);
            z-index: 1000;
            transition: top var(--transition-fast);
        }

        .skip-link:focus {
            top: var(--space-md);
        }

        /* Header */
        header {
            min-height: var(--header-height);
            border-bottom: 1px solid var(--color-border);
            
        }
        .container{
          margin: 0 auto;
            width: 100%;
            max-width: var(--content-wide);
            
            padding: var(--space-md) var(--space-md) var(--space-3xl);

        }
        .container-casa{
            max-width: var(--content-wide);
            text-align: center;
            margin: 4rem auto 0;
        }
        .container-casa p{
            margin: 2rem auto;
        }
     

      

        /* Article content styles */
        h1 {
            font-family: var(--font-heading);
            font-size: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
            font-weight: 700;
            line-height: 1.15;
            color: var(--color-primary-dark);
            margin-bottom: var(--space-lg);
            letter-spacing: -0.02em;
            max-width: var(--content-width);
            text-align: center;
            margin: auto;
        }

        @media (prefers-color-scheme: dark) {
            h1 {
                color: var(--color-primary);
            }
        }

        h2 {
            font-family: var(--font-heading);
            font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
            font-weight: 600;
            line-height: 1.25;
            color: var(--color-text);
            margin-top: var(--space-3xl);
            margin-bottom: var(--space-lg);
            padding-bottom: var(--space-sm);
            border-bottom: 3px solid var(--color-accent);
            max-width: var(--content-width);
            position: relative;
            scroll-margin-top: 100px; 
        }

        h2::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 60px;
            height: 3px;
            background: var(--color-primary);
        }

        h3 {
            font-family: var(--font-heading);
            font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
            font-weight: 600;
            line-height: 1.3;
            color: var(--color-primary);
            margin-top: var(--space-2xl);
            margin-bottom: var(--space-md);
            max-width: var(--content-width);
        }

         p {
            margin-bottom: var(--space-lg);
         
            color: var(--color-text);
        }

         p:last-child {
            margin-bottom: 0;
        }

        /* Lists */
         ul, ol {
            margin-bottom: var(--space-lg);
            padding-left: var(--space-lg);
            max-width: var(--content-width);
        }

        ul {
            list-style: none;
            padding-left: 0;
        }

        ul li {
            position: relative;
            padding-left: var(--space-lg);
            margin-bottom: var(--space-sm);
        }

         ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.6em;
            width: 8px;
            height: 8px;
            background: var(--color-accent);
            border-radius: 50%;
            border: 2px solid var(--color-primary);
        }

       ol {
            counter-reset: list-counter;
            list-style: none;
            padding-left: 0;
        }

        ol li {
            counter-increment: list-counter;
            position: relative;
            padding-left: var(--space-xl);
            margin-bottom: var(--space-sm);
        }

        ol li::before {
            content: counter(list-counter);
            position: absolute;
            left: 0;
            top: 0;
            width: 1.5em;
            height: 1.5em;
            background: var(--color-primary);
            color: var(--color-surface);
            font-size: 0.875rem;
            font-weight: 600;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

       li {
            line-height: 1.6;
            list-style: none;
        }

        /* Inline elements */
        main strong {
            font-weight: 600;
            color: var(--color-text);
        }

        main em {
            font-style: italic;
            color: var(--color-text-muted);
        }

        /* Links */
        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-secondary);
            text-decoration-color: var(--color-secondary);
        }

        /* Blockquote */
        main blockquote {
            margin: var(--space-xl) 0;
            padding: var(--space-lg) var(--space-xl);
            background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-surface) 100%);
            border-left: 4px solid var(--color-primary);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic;
            color: var(--color-text-muted);
            max-width: var(--content-width);
            box-shadow: var(--shadow-sm);
            position: relative;
        }

        main blockquote::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: var(--space-md);
            font-size: 4rem;
            font-family: Georgia, serif;
            color: var(--color-accent);
            opacity: 0.5;
            line-height: 1;
        }

        main blockquote p {
            margin-bottom: 0;
        }

        /* Tables */
        main table {
            width: 100%;
            max-width: var(--content-width);
            margin: var(--space-xl) 0;
            border-collapse: collapse;
            background: var(--color-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        main thead {
            background: var(--color-primary);
            color: var(--color-surface);
        }

        main th {
            padding: var(--space-md) var(--space-lg);
            text-align: left;
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        main td {
            padding: var(--space-md) var(--space-lg);
            border-bottom: 1px solid var(--color-border);
        }

        main tbody tr {
            transition: background-color var(--transition-fast);
        }

        main tbody tr:hover {
            background-color: var(--color-bg-alt);
        }

        main tbody tr:last-child td {
            border-bottom: none;
        }

        /* Figures and images */
        main figure {
            margin: var(--space-2xl) 0;
            max-width: 100%;
        }

        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-slow), box-shadow var(--transition-slow);
        }

        main figure img:hover,
        main .article-image:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg), 0 20px 40px rgba(26, 95, 60, 0.15);
        }

        main .hero-image {
            width: 100%;
            max-height: 600px;
            object-fit: cover;
           
            border-radius: var(--radius-lg);
        }

        main figcaption {
            margin-top: var(--space-sm);
            font-size: 0.875rem;
            color: var(--color-text-light);
            text-align: center;
            font-style: italic;
        }

        /* Code blocks */
        main code {
            font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
            font-size: 0.875em;
            background: var(--color-bg-alt);
            padding: 0.2em 0.4em;
            border-radius: var(--radius-sm);
            color: var(--color-secondary);
        }

        main pre {
            margin: var(--space-xl) 0;
            padding: var(--space-lg);
            background: var(--color-primary-dark);
            border-radius: var(--radius-md);
            overflow-x: auto;
            max-width: var(--content-width);
        }

        main pre code {
            background: none;
            padding: 0;
            color: var(--color-bg);
            font-size: 0.875rem;
            line-height: 1.6;
        }

        /* Horizontal rule */
        main hr {
            border: none;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--color-border), var(--color-accent), var(--color-border), transparent);
            margin: var(--space-3xl) auto;
            max-width: 200px;
        }

        /* Table of Contents styling */
        main nav[aria-label="Tabla de contenidos"],
        main .toc {
            background: var(--color-surface);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            margin: var(--space-2xl) 0;
            max-width: var(--content-width);
            border: 1px solid var(--color-border);
        }

        main nav[aria-label="Tabla de contenidos"]::before,
        main .toc::before {
            content: 'Contenido';
            display: block;
            font-weight: 600;
            font-size: 1.125rem;
            color: var(--color-primary);
            margin-bottom: var(--space-md);
            padding-bottom: var(--space-sm);
            border-bottom: 2px solid var(--color-accent);
        }

        main nav ol,
        main .toc ol {
            counter-reset: toc-counter;
        }

        main nav ol li,
        main .toc ol li {
            padding-left: var(--space-xl);
            margin-bottom: var(--space-xs);
        }

        main nav ol li::before,
        main .toc ol li::before {
            background: var(--color-accent);
            color: var(--color-primary-dark);
        }

        main nav a,
        main .toc a {
            text-decoration: none;
            color: var(--color-text);
            transition: color var(--transition-fast), padding-left var(--transition-fast);
            display: inline-block;
        }

        main nav a:hover,
        main .toc a:hover {
            color: var(--color-primary);
            padding-left: var(--space-sm);
        }

        /* FAQ Section styling */
        main section[aria-labelledby*="faq"],
        main .faq {
            background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
            padding: var(--space-2xl);
            border-radius: var(--radius-lg);
            margin-top: var(--space-3xl);
        }

        /* Call-to-action boxes */
        main aside,
        main .callout {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
            color: var(--color-surface);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            margin: var(--space-2xl) 0;
            max-width: var(--content-width);
            position: relative;
            overflow: hidden;
        }

        main aside::before,
        main .callout::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
            opacity: 0.1;
        }

        main aside p,
        main .callout p {
            color: var(--color-surface);
            position: relative;
            z-index: 1;
        }

        /* Decorative elements */
        main .accent-bar {
            height: 4px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
            border-radius: 2px;
            margin: var(--space-xl) 0;
            max-width: 120px;
        }

        /* Article metadata */
        main .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-md);
            margin-bottom: var(--space-2xl);
            padding-bottom: var(--space-lg);
            border-bottom: 1px solid var(--color-border);
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }

        main .article-meta time,
        main .article-meta span {
            display: inline-flex;
            align-items: center;
            gap: var(--space-xs);
        }

        /* Footer */
        footer {
            background: var(--color-surface);
            border-top: 1px solid var(--color-border);
            padding: var(--space-xl) var(--space-md);
            margin-top: auto;
        }

        .footer-navigation{
            max-width: none;
        }
        .footer-navigation a{
           text-decoration: none;
                   color: var(--color-text-muted, #a8a8a6);
        }
        .footer-content p{
           margin: auto;
        }

        /* Responsive adjustments */
        @media (max-width: 767px) {
            main h2 {
                margin-top: var(--space-2xl);
            }
     

            main h3 {
                margin-top: var(--space-xl);
            }

            main blockquote {
                padding: var(--space-md);
                margin-left: 0;
                margin-right: 0;
            }

            main table {
                font-size: 0.875rem;
            }

            main th,
            main td {
                padding: var(--space-sm) var(--space-md);
            }

            main aside,
            main .callout {
                padding: var(--space-lg);
            }
        }

        /* 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 a[href]::after {
                content: ' (' attr(href) ')';
                font-size: 0.875em;
                color: #666;
            }

            h1, h2, h3 {
                page-break-after: avoid;
            }

            figure, blockquote {
                page-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;
            }
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            :root {
                --color-border: currentColor;
                --shadow-sm: none;
                --shadow-md: none;
                --shadow-lg: none;
            }

             h2::before {
                background: currentColor;
            }

             ul li::before {
                background: currentColor;
                border-color: currentColor;
            }
        }


/* Images Styles - Tennis Betting Article */

/* Hero Image - Full width after H1 */
.hero-image {
    width: 100%;
    margin: 0 0 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 95, 60, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Article Images - Content images with lazy loading */
.article-image {
    margin: 2rem 0 2.5rem 0;
    text-align: center;
  
}

.article-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 95, 60, 0.12);
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Footer styles for disclaimer */
.footer-content {
    max-width: 90ch;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.disclaimer {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted, #5a5a5a);
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--color-bg-alt, #f0efe9);
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary, #c45c26);
}

.disclaimer strong {
    color: var(--color-secondary, #c45c26);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-image {
        margin: 0 -1rem 2rem -1rem;
        border-radius: 0;
        width: calc(100% + 2rem);
    }
    
    .hero-image img {
        border-radius: 0;
    }
    
    .article-image {
        margin: 1.5rem 0 2rem 0;
    }
    
    .article-image img {
        border-radius: 8px;
    }
    
    .footer-content {
        padding: 1rem;
    }
    
    .disclaimer {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-image {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
    
    .article-image img {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .disclaimer {
        background: var(--color-surface, #242a26);
        color: var(--color-text-muted, #a8a8a6);
    }
}

/* Print styles */
@media print {
    .hero-image,
    .article-image {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .hero-image img,
    .article-image img {
        max-width: 100%;
        box-shadow: none;
    }
}



/* ====================== */


.back-to-top {
            position: fixed;
            bottom: 2rem;
            right:2rem;
            width: 44px;
            height: 44px;
           background: var(--color-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            opacity: 0;
            visibility: hidden;
            transition: opacity var(--transition), transform var(--transition);
            z-index: 100;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-3px);
            background: var(--c-primary);
        }

        .back-to-top svg {
            width: 20px;
            height: 20px;
        }

        .skip-link {
            position: absolute;
            top: -100%;
            left: var(--space-md);
            padding: var(--space-xs) var(--space-sm);
            background: var(--color-accent);
            color: white;
            border-radius: var(--radius);
            z-index: 200;
        }

        .skip-link:focus {
            top: var(--space-md);
        }

      /*  */
        
        img{
            width: 100%;
            object-fit: cover;
            max-height: 600px;
        }
       
        .wp-block-image img {
  
            margin-bottom: 2rem;
        }

   



 /* --- 1. menu --- */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    background: var(--color-surface);
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.burger-logo {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex ;
    align-items: center ;
    flex-wrap: nowrap ;
    gap: 10px;
    text-decoration: none;
}

.main-logo-img {
    max-height: 63px;
    width: 63px;
    flex-shrink: 0;
    border-radius: 50%;
}

.logo-text {
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}


.burger-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* z-index: 1002; */
}

.burger-btn span, 
.burger-btn span::before, 
.burger-btn span::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.burger-btn span::before { top: -8px; }
.burger-btn span::after { top: 8px; }


.js-burger.active span { background-color: transparent !important; }
.js-burger.active span::before { transform: translateY(8px) rotate(45deg); }
.js-burger.active span::after { transform: translateY(-8px) rotate(-45deg); }


.main-navigation {
    position: fixed ;

    top: -100% ; 
    left: 0 ;
    right: 0 ;
    width: 100% ; 
    height: auto ;
    max-height: 100vh; 
    background:  var(--color-surface);
    z-index: 1 ;
  
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    padding: 80px 20px 40px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    visibility: hidden;
    display: block ;
    overflow-y: auto; 
}

.main-navigation.active {
    top: 0 ; 
    visibility: visible ;
}


.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
   display: grid;
    gap: 20px;
    align-items: center;
}



.main-menu a {
    text-decoration: none;
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-menu a:hover { color:var(--color-accent); }




body.has-overlay {
    overflow: hidden;
}


.btn-close {
    position: absolute;
    top: 20px;
    right: 60px;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    color: var(--color-text);
}


.menu-item-has-children > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
    color: #3b9eff;
}


.sub-menu {
    list-style: none !important;
    padding-left: 20px;
    margin: 0 !important;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100vh;
}

.sub-menu li {
    padding: 10px 0;
}

.sub-menu a {
    font-size: 1rem !important;
   
    font-weight: 400 !important;
}

.main-logo{
    z-index: 3;
}


.menu-item-has-children > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}



    .menu-item-has-children:hover > .sub-menu {
        max-height: 1000px !important;
        visibility: visible;
        opacity: 1;
    }


.main-menu li.current-menu-item > a,
.main-menu li.current_page_item > a,
.main-menu li.current-post-ancestor > a,
.main-menu li.current-menu-ancestor > a,
.main-menu li.current-page-ancestor > a {
    color: #f1e253 t;
    font-weight: 700 ;
}


.main-menu li.menu-item-has-children.is-open > a {
    color: #f1e253 ;
}


.main-menu li.active > a {
    color: #f1e253 ;
    font-weight: 700 ;
    border-bottom: 1px solid var(--color-accent);;
}


.main-navigation.active .main-menu .current-menu-item > a {
    color: #f1e253 ;
}



/* end menu */

   .sitemap-content {
        margin: 30px 0;
    }

    .sitemap-section {
        margin-bottom: 40px;
        padding: 20px;
        border-radius: 8px;
    }

    .sitemap-section h2 {
        color: inherit;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .sitemap-section h3 {
        color: #555;
        margin: 15px 0 10px 0;
    }

    .sitemap-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .breadcrumbs{
            display: flex;
            justify-content: center;
            align-items: center;
             margin: 0.8rem 0;
            gap: 0.5rem;
        }
        .breadcrumbs-content{
            display: contents;
        }
    @media (max-width: 1024px) {
        .sitemap-list {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.25rem;
        }
    }
    @media (max-width: 768px) {
        .sitemap-list {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        .header-top {
            padding: 0 1rem;
            
        }

    }

    .sitemap-list li {
        margin-bottom: 8px;
        padding-left: 15px;
        position: relative;
    }

    /* .sitemap-list li:before {
        content: "›";
        position: absolute;
        left: 0;
        color: #007cba;
    } */

    .sitemap-list a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s;
    }

    .sitemap-list a:hover {
        color: #007cba;
    }

    .category-group {
        margin-bottom: 20px;
    }

    .tags-cloud {
        line-height: 2;
    }

    .tag {
        display: inline-block;
        background: #e9e9e9;
        padding: 5px 10px;
        margin: 3px;
        border-radius: 3px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        transition: all 0.3s;
    }

    .tag:hover {
        background: #007cba;
        color: white;
    }

      .toc {
            background: rgba(230, 57, 70, 0.1) !important;
            padding: var(--spacing-md) !important;
            border-radius: var(--radius-lg);
            margin-bottom: var(--spacing-sm);
            border: 1px solid var(--border-color);
        }

    @media (max-width: 768px) {
        .sitemap-section {
            padding: 15px;
        }
        
        .tag {
            font-size: 12px;
            padding: 3px 8px;
        }
    }

   

        


      @media (max-width: 1100px) {
      
        .wide-image-container {
          margin-left: calc(-2 * var(--space-xl));
          margin-right: calc(-2 * var(--space-xl));
          border-radius: var(--img-radius);
        }
         
       
        
       
        
        .site-branding nav{
          
            background: none;
            border-radius: var(--radius);
            
            margin-bottom: calc(var(--gap) * 1.5);
            box-shadow: none;
            border: none;
            }
        
    
       
      }

        
        header p {
    font-size: var(--font-md);
 
        }
            .toc-wrap {
                padding: 1rem;
               
            }

         

            .back-to-top {
                bottom: 1rem;
                right: 1rem;
                width: 45px;
                height: 45px;
            }
        



  /* articulos */
    .articulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    padding-top: 30px ;
    
    max-width: var(--max-width);
        margin: 0 auto;
}

.articulos-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 0;
}

.articulos-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


.articulos-card__image-link img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
    transform: scale(1.08);
}

/* Контент */


.articulos-card__content {
    padding: 0 17px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 

}
.articulos-card__title {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.6rem; 
}
.articulos-card__title a{
    text-decoration: none;
   
}

.articulos-card__excerpt {
    margin-top: auto; 
    
    margin-bottom: 0; 
    color: #6e6e73;
    font-size: 0.95rem;
    line-height: 1.5;
    
  
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.articulos-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.articulos-card__link svg {
    transition: transform 0.3s;
}

.articulos-card__link:hover {
    color: #0073aa;
    gap: 12px;
}


.articulos-card__image-link {
    display: block;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    height: 170px; 
}


.articulos-card__image-link img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block;
    transition: transform 0.6s ease;
}


.articulos-card:hover .articulos-card__image-link img {
    transform: scale(1.08);
}

/* Заглушка, если у поста нет картинки */
.articulos-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-more-wrapper {
    text-align: center;
    margin: 40px 0;
}

.btn-load-more {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-load-more:hover {
    background-color: #005177;
}


 @media (max-width: 559px) {
    .articulos-grid {
        gap: 17px;
        
    }
    .articulos-card__image-link {
    
        height: 17rem;
    }
 }

          @media (max-width: 768px) {
           .sitemap-list {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 5px;
                list-style: none;
                padding: 0;
            }
        }

#site-navigation a, 
.menu-item a {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; 
}


/* --- Footer Styles Tennis Theme --- */

.site-footer {

    color: #cbd5e1;
    font-size: 15px;
    padding-top: 60px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
 
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
    align-items: start; 
}

.footer-title {
    
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #d97706;
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 0;
}

.footer-column p {
    line-height: 1.7;
    font-size: 14px;
    margin-top: 0;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 15px;
}
.footer-logo img{
max-width: 127px;
height: auto;
}

.logo-icon {
    font-size: 30px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
  
    font-family: sans-serif;
    line-height: 1;
}

.logo-accent {
    color: #d97706;
}

.footer-menu, 
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li, 
.footer-links li {
    margin-bottom: 12px;
}

.footer-menu a, 
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover, 
.footer-links a:hover {
    color: #facc15;
}

.secure-badges {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.badge-18, .badge-secure {
    background: #1e293b;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid #475569;
}

.badge-18 {
    color: #ef4444;
    border-color: #ef4444;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.disclaimer {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #475569;
    display: flex;
    justify-content: center;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #d97706;
    color: #000;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: #facc15;
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
       
    }
    .footer-title {
        display: block;
        margin-bottom: 15px;
    }
  
}

.tc-brand-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
}