
html, body {
    background-color: #a0c3e3; 
    color: #f8f9fa; 
    margin: 0;
    font-family: 'Inter', sans-serif; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    color: #007bff;
    text-align: center;
}

h1 {
    text-decoration: underline;
}

/*шапка сайта*/
.site-title {
    font-size: clamp(36px, 3vw, 48px);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #f8f9fa;
    margin: 0;
    text-transform: uppercase;
    text-decoration: none;
    text-align: initial;
    line-height: 1;
    letter-spacing: 1px;
}

.site-subtitle {
    font-size: clamp(20px, 1.25vw, 32px);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #A0C3E3;
    margin-top: 5px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}

.site-header {
    background-color: #6a7685;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo {
    height: auto;
    max-height: 300px;
    width: auto;
}

.header-text {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-flag {
    height: auto;
    max-height: 150px;
    width: auto;
}

@media (max-width: 1124px) {
    .site-header {
        padding: 20px 30px;
    }

    .site-title {
        font-size: clamp(32px, 5vw, 44px);
    }

    .site-subtitle {
        font-size: clamp(18px, 3vw, 28px);
    }

    .logo {
        max-height: 250px;
    }

    .header-flag {
        max-height: 150px;
    }

    .header-text {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        text-align: center; /* Центрирование текста по горизонтали */
    }

    .header-left {
        flex-direction: column;
        align-items: center;
        width: 100%;
        display: flex;
        justify-content: center; /* Центрирование по вертикали */
        flex-wrap: wrap;
    }

    .header-text {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        display: flex;
        justify-content: center; /* Центрирование текста по вертикали */
        align-items: center;
        flex-grow: 1;
    }

    .header-right {
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }

    .site-title {
        font-size: clamp(28px, 7vw, 36px);
    }

    .site-subtitle {
        font-size: clamp(16px, 4vw, 22px);
    }

    .logo {
        max-height: 200px;
    }

    .header-flag {
        max-height: 100px;
    }
}

/*навигация кнопки*/
.navbar-navigation {
    background-color: #f8f9fa; 
    padding: 0;
    display: flex;
    justify-content: center; 
    box-sizing: border-box; 
}

    .navbar-navigation .nav {
        display: flex;
        justify-content: space-between; 
        flex-wrap: nowrap;
        width: 80%; 
        list-style: none;
        padding: 0;
        margin: 5px 10px;
        align-items: center;
    }

    .navbar-navigation .nav-item {
        flex: 1;
        text-align: center;
        position: relative; 
    }

    .navbar-navigation .nav-link {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 26px; 

        color: #6a7685; 
        text-decoration: none;
        display: block;
        transition: color 0.3s ease;
        line-height: 1.2; 
    }

        .navbar-navigation .nav-link:hover {
            color: #007bff;
        }

    .navbar-navigation .dropdown-menu {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        background-color: #6a7685; 
        list-style: none;
        padding: 0;
        font-size: 21px;

        left: 10%;
        min-width: 260px; 

        white-space: normal; 

        width: 80%; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
        line-height: 2;
        border-radius: 8px;
    }

        .navbar-navigation .dropdown-menu .dropdown-item {
            color: #f8f9fa; 
            padding: 10px 15px; 
            text-decoration: none;
            display: block;
            font-weight: bold;
            text-align: center; 
            transition: background-color 0.3s ease, color 0.3s ease; 
            white-space: normal; 
            overflow-wrap: break-word;
            word-break: break-word; 
        }

            .navbar-navigation .dropdown-menu .dropdown-item:hover {
                background-color: #a0c3e3;
                color: #007bff;
                border-radius: 8px;
            }

.nav-item.dropdown.open .dropdown-menu {
    display: block; 
}

@media (max-width: 768px) {
    .navbar-navigation .nav {
        flex-direction: column; 
        align-items: stretch;
        margin: 0 !important;
        width: 100%;
    }

    .navbar-navigation .nav-item {
        flex: none; 
        text-align: center; 
    }

    .navbar-navigation .nav-link {
        font-size: 21px; /*                                                 */
        line-height: normal; /*                              */
        height: auto;
        border-radius: 0;
        text-align: center; /*                  */
    }

    .navbar-navigation .dropdown-menu {
        position: static; /*                             */
        width: 100%; /*                                  */
        box-shadow: none; /*              */
        border-radius: 0;
        font-size: 16px; /*                                                    */
    }


        .navbar-navigation .dropdown-menu .dropdown-item {
            text-align: center; /*                  */
            border-radius: 0 !important;
        }
}

/* ===               === */
.matches-section {
    background-color: #6a7685;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 !important;
    overflow: hidden; /*                    ,                             */
}

/*                  */
.matches-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/*                           */
.matches-wrapper {
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

/*               */
.matches-track {
    display: flex;
    justify-content: start; /*                        */
    gap: 16px; /*                             */
    transition: transform 0.3s ease;
    padding: 1rem 1rem;
}

/*                 */
.match-card {
    flex-shrink: 0;
    width: 350px;
    height: auto;
    background-color: #A0C3E3;
    text-align: center;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-decoration: none;
}

    .match-card:hover {
        transform: scale(1.05); /*                                   */
    }

/* ===      === */
.match-date {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-decoration: none;
}

/* ===                === */
.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px; /*                      */
    text-align: center;
    text-decoration: none;
}

.team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.team-name {
    color: #333333;
    font-weight: bold;
    text-align: center;
    line-height: 0.9;
    max-width: 120px; /*                           */
    height: calc(1.5em * 2); /*                              */
    white-space: normal; /*                         */
    overflow: hidden; /*               ,                                  */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ===      === */
.score {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
}

/* ===                     === */
.match-time-day {
    font-size: 1rem;
    font-weight: bold;
    color: #f8f9fa;
    background-color: #6a7685;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    text-decoration: none;
}

/*                  */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 123, 255, 0.6); /*                */
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0.8; /*                        */
}

    .scroll-button:hover {
        background: linear-gradient(135deg, rgba(0, 123, 255, 1), rgba(0, 85, 204, 1)); /*                              */
        opacity: 1; /*                  */
    }

/*                     */
.scroll-prev {
    left: 10px;
}

.scroll-next {
    right: 10px;
}

/* ===                                   === */
@media (max-width: 768px) {
    .matches-wrapper {
        gap: 0;
    }

    .match-card {
        width: 100%;
        margin: 10px auto;
    }

    .team-logo {
        width: 50px;
        height: 50px;
    }

    .team-name {
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
        max-height: 3rem;
        overflow: hidden;
    }

    .scroll-prev {
        left: 5px;
    }

    .scroll-next {
        right: 5px;
    }

    .match-date,
    .match-time-day {
        font-size: 0.9rem;
    }

    .score {
        font-size: 1.8rem;
    }
}


/*                    */
.site-footer {
    background-color: #a0c3e3;
    padding: 3rem 0;
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
    font-size: 1.25rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/*                    */
.footer-left {
    flex: 1 1 20%;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    font-weight: 500;
    word-wrap: break-word;
}

/*      :                   */
.footer-center {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

    .footer-center a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.2s ease;
    }

    .footer-center img {
        width: 100px;
        height: auto;
        display: block;
    }

    .footer-center a i {
        font-size: 1.8rem;
        color: #007bff !important;
    }

    .footer-center a:hover {
        transform: scale(1.2);
    }

/*                     */
.footer-right {
    flex: 1 1 10%;
    text-align: right;
    font-size: 0.9rem;
}

/*              */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex: 1 1 100%;
        text-align: center;
        font-weight: 400;
    }

    .footer-center {
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
/*                 */
/*                  */
.content-and-table {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

/*                  */
.main-content {
    flex-grow: 1; /*                                            */
    padding: 1rem 0;
    box-sizing: border-box; /*                            */
}

/*  таблица       */
.table-section {
    flex-basis: 33.33%; 
    min-width: 33.33%;
    max-width: 35%;
    padding: 1rem 0;
    box-sizing: border-box; 
}

    .table-section h3 {
        text-align: center; 
        font-size: 1.5rem;
        font-weight: bold; 
        color: #333333;
        margin-bottom: 1rem;
    }

    /*                     */
    .table-section .btn-primary {
        display: inline-block;
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: #f8f9fa; 
        background-color: #007bff; 
        border: none;
        border-radius: 8px;
        transition: background-color 0.3s ease, transform 0.2s ease;
        margin-top: 10px; 
    }

        .table-section .btn-primary:hover {
            background-color: #0056b3; /*                                 */
        }




/*         (           ) */
.tournament-table {
    width: 100%; /*                                      */
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    text-align: center;
    background-color: #f8f9fa;
    color: #333333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    font-weight: 500;
}

    /*               #007bff */
    .tournament-table th {
        background-color: #007bff; /*            */
        color: #333333; /*             */
        padding: 0.75rem;
        text-transform: uppercase;
    }

    /*                */
    .tournament-table td {
        padding: 0.5rem;

    }

/*              */
@media (max-width: 768px) {
    .table-section {
        flex-basis: 100%; /* 100%                                 */
        max-width: 100%;
        padding: 0.5rem; /*                     */
    }

    .tournament-table {
        font-size: 0.8rem; /*               */
    }

    .content-and-table {
        /* padding: 0 1rem;*/
        padding: 0;
    }
}


@media (max-width: 1125px) {
    .table-section {
        flex-basis: 100%; /* 100%                                 */
        max-width: 100%;
        padding: 0.5rem;
    }
}

/* === Секция спонсоров === */
.sponsors-section {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* Заголовки */
.sponsors-club-title,
.sponsors-league-title {
    color: #f8f9fa;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .sponsors-club-title,
    .sponsors-league-title {
        text-align: center;
    }
}

/* Общие стили для секций */
.sponsors-section .sponsors-club,
.sponsors-section .sponsors-league {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    color: #f8f9fa;
}

/* Цвета фонов */
.sponsors-section .sponsors-club {
    background-color: #007bff; /* Синий */
}

.sponsors-section .sponsors-league {
    background-color: #6a7685; /* Серый */
}

/* Текст "Спонсоры ..." */
.sponsors-section .sponsors-text {
  
    font-size: 1.8rem;
    font-weight: bold;
    color: #f8f9fa;
}

/* Сетка логотипов */
.sponsors-section .sponsors-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

/* Логотипы */
.sponsors-grid img {
    max-width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}

    .sponsors-grid img:hover {
        transform: scale(1.05);
    }

/* Планшеты */
@media (min-width: 768px) and (max-width: 1024px) {
    .sponsors-section .sponsors-club,
    .sponsors-section .sponsors-league {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
    }

    

    .sponsors-section .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sponsors-grid img {
        max-height: 90px;
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .sponsors-section .sponsors-club,
    .sponsors-section .sponsors-league {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }

    .sponsors-section .sponsors-text {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .sponsors-section .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsors-grid img {
        padding: 1vh;
    }
}
/* ===        === */
.banner-section {
    width: 100%; /*                      */
    margin: 0 auto; /*           */
    display: flex;
    justify-content: center; /*                              */
    background-color: #a0c3e3;
}

.banner-img {
    width: 100%; /*                                  */
    max-width: 1400px; /*                                  */
    height: auto; /*                     */
    object-fit: contain; /*                                                */
}

@media (min-width: 769px) {
    .main-content {
        min-height: 600px; /*                                             */
    }
}

/* ===                 === */
/*.news-section {
    padding: 0.5rem 0;
    padding-bottom: 0 !important;
}*/

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 2rem;
}

/*                              */
.news-card {
    background-color: #f8f9fa;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 450px;
}

    .news-card:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

.news-card-img {
    width: 100%;
    height: 375px;
    object-fit: cover; /*                            ,                           */
    object-position: center top; /*                                    */
    margin-top: -50px; /*         25px        */
    position: relative; /*                                                  */
}

.news-card-body {
    padding: 1rem;
}

.news-card-title {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
}

.news-card-text {
    color: #007bff;
    margin-bottom: 1rem;
    margin-top: 1.2rem;
    text-transform: uppercase;
}

.news-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #6a7685;
    margin-bottom: 5px;
    text-align: right;
}

.news-card-link {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

    .news-card-link:hover {
        text-decoration: underline;
    }

@media (max-width: 768px) {
   

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .news-card-title {
        font-size: 1.25rem;
    }
}


.pagination {
    margin-top: 20px;
    border-radius: 8px !important;
}

    .pagination .page-link {
        color: #007bff !important;
        border-radius: 8px !important;
        margin: 0 5px !important;
        width: 40px !important;
        height: 40px !important; /*                                    */
        display: flex; /*            Flexbox */
        align-items: center; /*                                     */
        justify-content: center; /*                                       */
        text-align: center; /*                  */
        line-height: normal; /*                           line-height */
    }

    .pagination .page-item.active .page-link {
        background-color: #007bff !important;
        color: #f8f9fa !important;
        border-color: #007bff !important;
        min-width: 35px !important;
    }

    .pagination .page-link:hover {
        background-color: #6a7685 !important;
        border-color: #6a7685 !important;
        color: #f8f9fa !important;
    }


.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .scroll-to-top i {
        font-size: 1.5rem;
    }

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        background-color: #0056b3;
    }


/*                                         */
.interview-card-img-container {
    position: relative;
    width: 100%;
    padding-top: 48.3%; /*                    16:9 */
    overflow: hidden;
    border-radius: 8px 8px 0 0; /*                          */
}

    .interview-card-img-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /*                                                  */
        border-radius: 8px 8px 0 0; /*                          */
    }

.top-banner {
    background-color: #6a7685 !important;
}
