.articles-sitemap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sitemap-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sitemap-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: unset !important;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.0) 100%);
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    padding: 1rem;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.article-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.article-link:hover {
    color: #64b5f6;
}

.article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0.9;
}

.article-children {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.children-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.child-item {
    margin: 0;
}

.child-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.child-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateX(5px);
}

.child-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.child-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.grandchildren-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 52px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.grandchild-item {
    margin: 0;
}

.grandchild-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    display: block;
}

.grandchild-item a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.article-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-date {
    font-style: italic;
}

.has-thumbnail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-thumbnail svg {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.has-thumbnail:hover svg {
    opacity: 1;
}

.sitemap-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.articles-count,
.last-updated {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64b5f6;
}

.no-articles {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.no-articles p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .articles-sitemap {
        padding: 30px 15px;
    }
    
    .sitemap-header h1 {
        font-size: 2.2rem;
    }
    
    .sitemap-header p {
        font-size: 1.1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        min-height: 350px;
    }
    
    .article-card-content {
        padding: 25px;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .sitemap-header h1 {
        font-size: 1.8rem;
    }
    
    .article-card {
        min-height: 320px;
    }
    
    .article-card-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .child-link {
        padding: 6px 10px;
    }
    
    .child-thumbnail {
        width: 35px;
        height: 35px;
    }
}

.article-card:not([style*="background-image"]) {
    background: linear-gradient(135deg, #ffffff 0%, #000000 100%);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(n+6) { animation-delay: 0.6s; }

.article-card {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .article-card {
        background-attachment: scroll;
    }
}

h1 {
    overflow-wrap: break-word;
}

[data-content="page"] {
    padding-top: 1.5rem;
}

[data-content="page"] h1 {
    margin: 0 0 1.5rem 0;
}

[data-content="toc"] {
    margin: 1.5rem auto;
}

.table-wrapper {
    overflow: auto;
}

/* Custom theme elements styles */
        :root {
            --custom-clr-text: #000000;
            --custom-current-opacity: 0.7;   
        }

        .breadcrumbs {
            font-size: 14px;
            padding: 10px 0;
            display: flex !important;
            flex-wrap: wrap;
            max-width: 75rem;
        }

        .breadcrumbs ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }

        .breadcrumbs li {
            display: flex;
            align-items: center;
        }

        .breadcrumbs a , .breadcrumbs span{
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumbs a:hover {
            opacity: var(--custom-current-opacity);
            text-decoration: underline;
            color: var(--accent-deep)!important;
        }

        .breadcrumbs .current {
            opacity: var(--custom-current-opacity);
            font-weight: 500;
            padding: 0 8px;
        }

        .breadcrumbs .breadcrumb-separator,
        .breadcrumbs .separator {
            margin: 0 8px;
            color: var(--custom-clr-text);
            opacity: var(--custom-current-opacity);
        }

        .breadcrumbs .home {
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .breadcrumbs {
                font-size: 12px;
                margin: 15px 0;
            }
            
            .breadcrumbs .separator {
                margin: 0 5px;
            }
        }

        .footer-navigation {
            margin: 20px 0;
        }

        .footer-menu {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;
        }

        .footer-menu li {
            margin: 0;
        }
        /*
        .footer-menu a {
            color: var(--custom-clr-text);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-menu a:hover {
            opacity: var(--custom-current-opacity);
            text-decoration: underline;
        }
        */
        @media (max-width: 768px) {
            .footer-menu {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .footer-menu a {
                font-size: 16px;
            }
        }

        .max-100 {
            max-width: 100%;
            height: auto;
            padding-bottom: 16px;
        }

        img {
            display: block;
            margin: 0 auto;
        }

        /* SITEMAP */

        .simple-sitemap {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .sitemap-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .sitemap-header h1 {
            font-size: 2.2rem;
            color: #333;
            margin-bottom: 10px;
        }

        .sitemap-header p {
            color: #666;
            font-size: 1rem;
            margin: 0;
        }

        .simple-links-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 40px;
        }

        .simple-page-link {
            display: block;
            padding: 12px 20px;
            background: #f8f9fa;
            border-radius: 6px;
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
        }
        .simple-page-link h2{
            font-size: 1.1rem;
            color: #2c3e50;
            text-decoration: none;
            margin: 0;
        }

        .simple-page-link:hover {
            background: #e3f2fd;
            color: #3498db;
            transform: translateX(5px);
        }

        .sitemap-stats {
            text-align: center;
            padding: 20px 0;
            color: #666;
            font-size: 0.95rem;
            border-top: 1px solid #e0e0e0;
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 30px;
        }

        .sitemap-footer {
            text-align: center;
            color: #888;
            font-size: 0.9rem;
        }

        .no-pages {
            text-align: center;
            padding: 40px;
            color: #666;
            font-size: 1.1rem;
            background: #f9f9f9;
            border-radius: 8px;
            margin: 40px 0;
        }

        @media (max-width: 768px) {
            .simple-sitemap {
                padding: 30px 15px;
            }
            
            .sitemap-header h1 {
                font-size: 1.8rem;
            }
            
            .simple-page-link {
                padding: 10px 15px;
                font-size: 1rem;
            }
        }

        .table-of-contents {
            background-color: rgba(0, 0, 0, 0);
            padding: 0;
            margin: 20px 0;
        }

        .table-of-contents h3 {
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .toc-list {
            padding: 0;
            margin: 0;
        }

        .toc-list li {
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .toc-list a {
            text-decoration: none;
        }

        .toc-list a:hover {
            text-decoration: underline;
        }

        footer ul { padding-left: 0px; }
        footer a { color: unset; }

        @media(max-width: 920px){
            .menu-item { padding-left: 0px; }
            .menu-item a { padding: 0px; }
        }

        /* CHAMPIONS */
        .logo-head {display: flex; justify-content: space-between; margin-left: 1rem; margin-right: 1rem;}
        /* Основной контейнер блока */
.sport-column-standalone {
    background: #fff;
    border: 1px solid #e1e4e8;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

/* Крупная первая запись */
.main-post {
    border-bottom: 1px solid #eee;
}
.main-post-link {
    text-decoration: none;
    color: inherit;
}
.main-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.main-post-info {
    padding: 15px;
}
.main-post-info h3 {
    margin: 0 0 10px 0 !important;
    font-size: 20px !important;
    line-height: 1.3;
    color: #1a2d44;
}
.main-post-info p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Список маленьких записей */
.other-posts {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.small-post {
    border-bottom: 1px solid #f0f0f0;
}
.small-post a {
    display: flex;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    gap: 12px;
    align-items: center;
}
.small-post a:hover {
    background: #f9f9f9;
}
.small-post-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.small-post-info h4 {
    margin: 0 0 4px 0 !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: #1a2d44;
}
.small-post-info p {
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* Заглушка для фото */
.placeholder {
    width: 100%;
    height: 200px;
    background: #eee;
}

/* Футер блока */
.column-footer {
    background: #1a2d44;
    color: #fff !important;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
}


/* Контейнер слайдера */
.sport-slider-wrapper {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e8;
}

/* Шапка с кнопками */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.slider-controls {
    display: flex;
    gap: 10px;
}

.slider-btn {
    background: #1a2d44;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: #004a99;
}

/* Трек слайдера */
.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Скрываем скроллбар в Firefox */
}

.slider-track::-webkit-scrollbar {
    display: none; /* Скрываем скроллбар в Chrome/Safari */
}

.slider-page {
    flex: 0 0 100%; /* Каждый слайд занимает 100% ширины */
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* Убираем лишние рамки внутри слайдера, так как они есть у внешнего контейнера */
.slider-page .sport-column-standalone {
    border: none;
    margin-bottom: 0;
}

.slider-page .column-footer {
    display: none; /* Прячем внутренние футеры, оставляем один общий */
}