h1 {
    overflow-wrap: break-word;
}

[data-content="page"] {
    padding-top: 1.5rem;
}

[data-content="page"] h1 {
    margin: 0 0 1.5rem 0;
}

.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 {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumbs a:hover {
            opacity: var(--custom-current-opacity);
            text-decoration: underline;
        }

        .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;
            font-size: 1.1rem;
            color: #2c3e50;
            text-decoration: none;
            padding: 12px 20px;
            background: #f8f9fa;
            border-radius: 6px;
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
        }

        .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: 20px;
            margin: 20px 0;
        }

        .table-of-contents h3 {
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .toc-list {
            margin: 0;
            padding-left: 20px;
        }

        .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; /* Прячем внутренние футеры, оставляем один общий */
}