/* Section styles */
.section {
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    position: relative;
}

.section-header-h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 10px !important;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.section-header i {
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.section-header:hover i {
    transform: scale(1.1);
}

.section-header h2 {
    font-size: var(--text-2xl);
    font-weight: bold;
}

/* Standings table */
.standings-table, .top5-table, .player-stat {
    overflow-x: auto;
    transition: transform var(--transition-normal);
}

.standings-table:hover, .top5-table:hover, .player-stat:hover {
    transform: translateY(-4px);
}
.top5-table, .player-stat{
    width: 100%;
    border-spacing: 0px 35px;
    margin-top: -30px;
}
table {
    width: 100%;
    border-spacing: 0px 4px;
    position: relative;
    z-index: 1;
}

th, td {
    padding: var(--spacing-md);
    text-align: left;
    background-color: var(--bg-primary-two);
    font-size: var(--text-base);
}

/* th:first-child,  */
td:first-child {
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}

/* th:last-child,  */
td:last-child {
    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

th {
    background-color: var(--bg-secondary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
}

td {
    border-bottom: 1px solid var(--bg-secondary);
    transition: background-color var(--transition-fast);
    font-weight: 600;
}

tr:hover td {
    background-color: var(--bg-secondary);
}
@media(max-width:560px){
    /* .top5-table .player-logo-top5{
        display: none; 
    }
     .player-info{
        padding-left: 0 !important;
    } */
}
@media (max-width: 470px) {
    .standings-table th:nth-child(6),
    .standings-table td:nth-child(6) {
        display: none;
    }
    .standings-table th:nth-child(5),
    .standings-table td:nth-child(5) {
        /* border-top-right-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg); */
    }
    .team-cell .team-logo{
        display: none;
    }
    .team-cell{
        display: table-cell !important;
    }
}
@media (max-width: 375px) {
    .standings-table th:nth-child(5),
    .standings-table td:nth-child(5) {
        display: none;
    }
    .standings-table th:nth-child(4),
    .standings-table td:nth-child(4) {
        /* border-top-right-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg); */
    }
}
.points {
    font-weight: bold;
    color: var(--color-primary);
}

.position-pont {
    text-align: center;
}

.team-cell {
    /* width: 100%; */
    display: table-cell;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    vertical-align: middle;
    position: relative;
}
.team-two{
    text-align: right !important;
}

.team-two a{
    justify-content: flex-end !important;
}

.team-cell a{
    display: flex;
    align-items: center;
    gap: 12px;
}
.player-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 120px;
}
.team-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.team-subtitle {
    font-size: 0.875rem;
    color: var(--text-primary-region-table);
    margin-top: 2px;
}

.team-info-playoff {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.team-logo {
    object-fit: cover;
    width: 29px;
    height: 40px;
    flex-shrink: 0;
}
.player-logo-top5 {
    object-fit: cover;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    position: absolute;
    border: 4px solid var(--color-primary);
    border-radius: var(--radius-full);
    /* top: -10px; */
    top: 50%;
    transform: translateY(-50%);
}
.playoffs-section {
    --gap: 14px;
    --item-gap: 16px;
    --border-radius: 8px;
}
.playoff-table{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.bracket-container {
    display: grid;
    /* grid-template-columns: minmax(200px, 1fr) minmax(150px, 1fr) minmax(100px, 1fr) minmax(150px, 1fr) minmax(100px, 1fr) minmax(150px, 1fr) minmax(200px, 1fr); */
    grid-template-columns: 13% 13% 14% 15% 14% 13% 13%;
    /* grid-template-columns: 4fr 2fr 1fr 2fr 1fr 2fr 4fr; */
    gap: var(--gap);
    position: relative;
    justify-items: center;
    align-items: center;
    max-width: 100%;
}
@media(max-width:1590px){
    .bracket-container {
        grid-template-columns: 13% 13% 14% 14% 14% 13% 13%;
    }
}
@media(max-width:1370px){
    .bracket-container {
        grid-template-columns: 13% 13% 13% 13% 13% 13% 13%;
    }
}
.bracket-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-primary-two);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    width: 100%;
    display: inline-block;transition: transform 0.2s ease;
}

.bracket-column a{text-decoration: none;color: inherit;}

.bracket-column:hover {
    transform: scale(1.01);
}

.column-match{
    max-width: 250px;
    gap: var(--gap);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--playoff-border);
    border-right: 1px solid var(--playoff-border);
    width: 100%;
}

.colum-1-2{justify-content: space-around !important;}

.final{
    border-left: 1px dashed var(--playoff-border-final);
    border-right: 1px dashed var(--playoff-border-final);
    background-color: rgba(229, 45, 45, .1);
}
.match-list {
    display: flex;
    flex-direction: column;
    gap: var(--item-gap);
    width: 100%;
}

.match-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 16px 0px 0px;
    position: relative;
    gap: var(--gap);
}
.team-vs-team{
    border-bottom: 1px solid var(--playoff-border);
}
.team-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
    align-items: flex-start;
}

.connector {
    position: absolute;
    background: var(--color-border);
}

.connector.vertical {
    width: 2px;
    height: calc(100% + 40px);
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.connector.horizontal {
    height: 2px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.champion-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.trophy-icon {
    width: 64px;
    height: 64px;
}
.team-info-playoff .team-logo{
    object-fit: cover;
    width: 40px;
    height: 55px;
    flex-shrink: 0;
}
.score {
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    color: white;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    width: 48px;
    font-weight: 700;
    font-size: var(--text-lg);
}

.win-match-playoff{
    background-color: var(--color-primary);
    color:#FFFFFF;
}

.win-team-final{
    background-color: #e52d2dc2;
}

.win-team-final .team-name, .win-team-final .score, .win-team-final .round-title {
    color:#ffffff;
}
.win-team-final .team-vs-team, .win-team-final .round-title{
    border-bottom: 1px solid rgb(255, 255, 255);
}

.round-title{
    width: 100%;
    border-bottom: 2px solid var(--playoff-border);
    text-transform: uppercase;
    font-size: var(--text-base);
    color: rgb(197 197 197);
}
/* Адаптивность */
@media (max-width: 1124px) {
    .bracket-container {
        grid-template-columns: 1fr;
    }
    .final { order: 1; }
    .semi-final.right,.semi-final.left { order: 2; }
    .semi-final.right-1-2, .semi-final.left-1-2 { order: 3; }
    .semi-final.right-1-4, .semi-final.left-1-4 { order: 4; }
    .semi-final.right-1-8, .semi-final.left-1-8 { order: 5; }
    .column-match {
        max-width: 100%;
        border-left: unset;
        border-right: unset;
    }
    .final{
        border-left: unset;
        border-right: unset;
        background-color: unset;
    }
    .team-name {
        font-size: var(--text-base) !important;
    }
}

/* news */
/* Обертка новостей */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}
.all-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}
.section a{text-decoration: none;color: inherit;}

/* Карточка новости */
.news-item {
    background: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; 
    padding-bottom: 10px; 
}

/* Псевдоэлемент для нижнего подчеркивания */
.news-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--color-primary); 
    transition: all 0.3s ease;
    border-radius: 2px; 
    transform: translateX(-50%);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
}

/* При наведении */
.news-item:hover::before {
    width: 100%; /* Расширение линии */
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-item::before {
        height: 3px; 
    }
}
/* border-bottom: 4px solid var(--color-primary); */
.swiper-slide .news-item{
    height: 419px !important;
}
@media (max-width: 767px) {
    .swiper-slide .news-item .news-title {
        display: -webkit-box; /* Включаем режим многострочного текста */
        -webkit-box-orient: vertical; /* Вертикальная ориентация текста */
        -webkit-line-clamp: 2; /* Ограничение в две строки */
        overflow: hidden; /* Скрываем лишний текст */
        text-overflow: ellipsis; /* Добавляем многоточие в конце */
    }
}
/* Контейнер контента */
.news-item .news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    justify-content: space-between;
    padding: 0px 20px 10px;
    align-items: flex-start; 
}

/* Заголовок */
.news-item .news-title {
    font-size: var(--text-base);
}

/* Нижний блок */
.news-item .news-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/* Изображение */
.news-image-wrapper {
    position: relative;
    height: 320px; 
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

/* Выравнивание высоты карточек */
.news-grid {
    display: grid;
    grid-auto-rows: 1fr; 
}
.all-news-grid {
    display: grid;
    grid-auto-rows: 1fr; 
}
.news-item {
    display: flex;
    flex-direction: column;
}

.news-content {
    flex: 1;
}

/* Стили для изображения */
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.1); 
    transition: transform 0.3s;
}

/* Эффект при ховере */
.news-item:hover .news-image {
    transform: scale(1.15);
}

/* Стили для даты */
.news-date {
    color: var(--text-secondary);
    font-size: var(--text-base);
}

/* Стили для категории */
.news-art {
    color: #fff;
    font-size: var(--text-sm);
    padding: 4px 12px;
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .all-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-image-wrapper {
        height: 250px;
    }
}
@media (max-width: 768px) {
    .news-grid {
        display: none !important;
    }
    .all-news-grid {
        grid-template-columns: 1fr;
    }
    #news .news-swiper {
        display: block;
    }

    #news .swiper-slide {
        width: 90%;
    }

    #news .swiper-pagination {
        bottom: -20px;
    }
}
@media (max-width: 410px) {
    .news-image-wrapper {
        height: 197px;
    }
    .swiper-slide .news-item {
        height: 328px !important;
    }
}




.news-content {
    display: flex;
    flex-direction: row; /* По умолчанию строка */
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    padding: 0px;
}

.image-column {
    flex: 1 1 45%;
    max-width: 50%;
    display: flex;
}

.news-image-detail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height: 600px;
    cursor: pointer;
}

.text-column {
    flex: 1 1 45%;
}

.news-text {
    font-size: var(--text-lg);
}

/* Стиль для случая, когда текст длинный */
.news-content.reversed {
    flex-direction: column;
}

.news-content.reversed .image-column {
    order: -1; /* Перемещаем изображение вверх */
}
@media (max-width: 768px) {
.news-content {
    flex-direction: column;
}

.image-column {
    order: -1; /* Изображение всегда сверху */
    max-width: 100%;
}
}
/* Секция амбассадоров */
.ambassadors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Карточка амбассадора */
/* Общие стили */
.ambassadors-swiper {
    overflow: hidden; 
    position: relative;
}

/* Изображение */
.card-image {
    position: relative;
    height: 352px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: var(--color-primary);
    flex-shrink: 0;
}

/* Фоновое изображение */
.card-image .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

/* Основное изображение */
.card-image .foreground-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2; 
    transition: transform 0.3s ease;
}

.ambassador-card:hover .card-image .foreground-image {
    transform: scale(1.1); 
}

.ambassador-card {
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 260px !important;
}

.ambassador-card:hover {
    transform: translateY(-4px);
}


.card-content {
    padding: 16px;
    text-align: center;
    flex-grow: 1
}

.card-content h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.card-content .role {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.card-content p {
    font-size: var(--text-sm);
    opacity: 0.9;
    line-height: 1.4;
}

/* Сетка спонсоров */
.sponsors-grid {
    display: grid;
    gap: var(--spacing-lg);
    height: auto;              
    align-items: center;
    padding-bottom: 10px;
}
@media(max-width:530px){
    .partners-block .sponsors-grid {
        height: auto;         
    }
}
.organizers-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media(max-width:800px){
    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sponsors-grid {
        height: auto; 
    }
}
@media(max-width:402px){
    .organizers-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
}
.partners-block h3, .organizers-block h3{
    font-size: var(--text-3xl);
    margin: 20px 0px;
}
/* Карточка спонсора */
.sponsor-card {
    position: relative;
    display: block;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    /*box-shadow: var(--shadow-md);*/
    overflow: hidden;
    transition: all var(--transition-normal);
    text-decoration: none; 
    color: inherit; 
}
.sponsor-card-org {
    position: relative;
    display: block;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    /*box-shadow: var(--shadow-md);*/
    overflow: hidden;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}
.sponsor-card:hover, .sponsor-card-org:hover {
    transform: translateY(0px);
    box-shadow: var(--shadow-lg);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; 
    z-index: 1;
    border-radius: var(--radius-lg);
}

.sponsor-card img, .sponsor-card-org img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform var(--transition-normal);
    z-index: 2; 
}

.sponsor-card:hover img, .sponsor-card-org:hover img {
    transform: scale(1.1);
}

.sponsor-card h3, .sponsor-card-org h3 {
    font-size: var(--text-lg);
    margin-top: var(--spacing-sm);
    z-index: 2;
}

/* sort but */
.block-sort{
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.filter-btn {
    background: var(--bg-primary) !important;
    border: 2px solid var(--color-primary) !important;
    color: var(--text-primary) !important;
}

.filter-btn.active {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--color-primary) !important;
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--color-accent);
}

/* btn-down */
.btn{
    display: flex;
    align-items: center;
    background: var(--color-primary);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    user-select: none;
    white-space: nowrap;
    width: max-content;
    text-decoration: none;
}

.btn-sort-right, .btn-right {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}
.btn-sort-right-match{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.white{color: #FFFFFF !important;}
/* Контейнер кнопки */
.dropdown {
    position: relative;
    display: inline-block;
}

.header-left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
}
/* Кнопка */
.dropbtn.btn-down {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--color-primary);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    user-select: none;
    white-space: nowrap;
    min-width: 156px;
    justify-content: space-between;
}
.dropdown span, .btn{font-size: var(--text-lg)}
/* Стрелка */
.arrow {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s;
    transform: rotate(45deg);
}

/* Поворот стрелки при открытии */
.dropdown.active .arrow {
    transform: rotate(-135deg);
}

/* Выпадающее меню */
.dropdown-content, .dropdown-content-match, .dropdown-content-playoff, .dropdown-content-stat-player, .dropdown-content-topPlayer{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    transform-origin: top;
    transform: scaleY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.dropdown.active .dropdown-content, .dropdown.active .dropdown-content-match, .dropdown.active .dropdown-content-playoff, .dropdown.active .dropdown-content-stat-player, .dropdown.active .dropdown-content-topPlayer{
    display: block;
    transform: scaleY(1);
}

/* Пункты меню */
.dropdown-content a, .dropdown-content-match a, .dropdown-content-playoff a, .dropdown-content-stat-player a, .dropdown-content-topPlayer a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.dropdown-content a:hover, .dropdown-content-match a:hover, .dropdown-content-playoff a:hover, .dropdown-content-stat-player a:hover, .dropdown-content-topPlayer a:hover {
    background: var(--color-primary);
    color: var(--text-primary-btn) !important;
}
.dropdown-content a.active:hover, .dropdown-content-match a.active:hover, .dropdown-content-playoff a.active:hover, .dropdown-content-stat-player a.active:hover, .dropdown-content-topPlayer a.active:hover {
    color: var(--text-primary-btn-active) !important;
}
.dropdown-content a.active, .dropdown-content-match a.active, .dropdown-content-playoff a.active, .dropdown-content-stat-player a.active, .dropdown-content-topPlayer a.active {
    font-weight: 700;
    background: var(--color-primary-hover);
    color: var(--text-primary);
}
/* Обязательное правило для отображения всех опций */
.table-dropdown .dropdown-content a {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.table-container {
    display: none;
}

.table-container.active {
    display: block;
}

.sport-table {
    display: none;
}

.sport-table.active {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
}
.stat-player-table {
    display: none;
}

.stat-player-table.active {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
}
.static-player{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}
.stat-player{
    width: 50%;
}
@media(max-width:725px){
    .static-player{
        flex-direction: column;
    }
    .stat-player{
        width: 100%;
    }
}

tr[data-group] {
    display: table-row;
}

tr[data-group].hidden {
    display: none;
}
/* phtotgallery */

#photo-list a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.gallery-container {
    overflow: hidden;
    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}
.gallery-container-detail {
    overflow: hidden;
    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}
/* @media(max-width:830px){
    .heig-gallery{
        height: 328px !important;
    }
} */
.gallery-container .swiper-wrapper{
    margin: 10px 10px;
}
.ambassadors-swiper .swiper-wrapper{
    margin: 10px 10px;
}
.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.album-card:hover {
    transform: scale(1.05);
}

.card-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.card-slider-all {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.card-slider .card-images {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.card-slider .card-image {
    min-width: 100%;
    max-width: 100%;
    height: 316px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.9) 20%, 
        rgba(0,0,0,0.6) 50%, 
        transparent 100%
    );
    pointer-events: none;
}

.album-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.album-title {
    font-size: 1.2em;
    margin-right: 10px;
    color: #FFFFFF;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
    flex-grow: 1; 
    max-width: calc(100% - 40px); 
}
.all-photo{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.photo-block{
    width: 400px;
    flex: auto;
}
.arrow-icon {
    color: #fff;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.swiper {
    overflow: hidden !important;
}
.photo-count {
    display: flex;
    gap: 2px;
    height: 5px;
    margin-top: 15px;
    pointer-events: none;
}

.count-bar {
    flex: 1;
    height: 100%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.count-bar.active {
    background: #fff;
}
@media(max-width:580px){
    .card-slider .card-image {
        height:245px;
    }
}
@media(max-width:478px){
    .card-slider .card-image {
        height:180px;
    }
}
.gallery-container-detail {
    max-width: 800px;
    margin: 0 auto;
}

.main-swiper {
    width: 100%;
    max-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-swiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnails-swiper {
    width: 100%;
    padding: 10px 10px;
}

.thumbnails-swiper .swiper-slide {
    width: 100px;
    height: 75px;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s;
}

.thumbnails-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-photo.active {
    border: 2px solid var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(229,45,45,0.3);
}

/* Стили для навигационных стрелок */
.swiper-button-next,
.swiper-button-prev {
    color: #000;
    transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--color-primary);
}

/* playoff */


.matches-swiper .swiper-wrapper{
    margin: 10px 0px;
}
.matches-swiper  .swiper-slide {
    height: auto !important;
}
.match-card a{text-decoration: none;color: inherit;}
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.match-card {
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: var(--bg-primary-two);
    height: 100%;
    width: 100%;
}

.match-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.sport-type {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sport-type p{
    font-size: var(--text-base);
}

.articulles-tur-match{
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}
.articule{
    color: #ffffff;
    background-color: red;
    border-radius: 20px;
    padding: 2px 10px;
}

.match-date {
    font-size: var(--text-sm);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.teams {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 10px;
    width: auto;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50%;
}

.club-logo {
    /* width: 37px; */
    width: auto;
    height: 60px;
    object-fit: fill;
    margin-bottom: var(--spacing-xs);
}

.team-name {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.score-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.total-score {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.period-scores {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.vs {
    font-size: var(--text-xl);
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.time {
    font-size: var(--text-base);
    color: var(--color-success);
}

/* Стили для завершенных матчей */
.completed .total-score {
    color: var(--color-success);
}

.completed .period-scores {
    color: var(--text-secondary);
}

/* Стили для предстоящих матчей */
.upcoming .vs {
    color: var(--color-accent);
}

.upcoming .time {
    color: var(--color-warning);
}

/* Адаптивность */
@media (max-width: 768px) {
    .matches-grid {
        grid-template-columns: 1fr;
    }
}

.button-container input[type="radio"] {
    display: none;
}

.button-container {
    position: relative;
    display: flex;
    border-radius: var(--radius-full);
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-primary);
    height: 40px;
}
.but-playoff-gender{
    position: absolute !important;
    margin-top: -47px !important;
    left: 230px !important;
    height: 47px !important;
}
.padd-but-playoff{
    padding: 9px 20px;
}
@media(max-width:1285px){
    .but-playoff-gender{
        left: 212px !important;
    }
}
@media(max-width:1024px){
    .but-playoff-gender{
        left: 185px !important;
        margin-top: -41px !important;
        height: 41px !important;
    }
    .padd-but-playoff{
        padding: 6px 20px;
    }
}
@media(max-width:590px){
    .but-playoff-gender{
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: -36px !important;
        height: 41px !important;
    }
    .tab-playoff{
        margin-top: 50px;
    }
}
/* Кнопки */
.toggle-button {
    flex: 1;
    padding: 6px 20px;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s, font-weight 0.3s;
    z-index: 1;
    position: relative;
    outline: none;
    border-radius: var(--radius-full);
}

.toggle-button.active {
    color: white;
    font-weight: bold;
}

/* Слайдер */
.slider-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--color-primary);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}
.slider-toggle-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.33%;
    height: 100%;
    background: var(--color-primary);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}
.slider-toggle-4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: var(--color-primary);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}

/* Перемещение слайдера при активации первой кнопки */
.toggle-button:first-child.active ~ .slider-toggle {
    transform: translateX(0%);
}

/* Перемещение слайдера при активации второй кнопки */
.toggle-button:last-child.active ~ .slider-toggle {
    transform: translateX(100%);
}

/* Контейнер контента */
.content-container {
    margin-top: 20px;
}

/* Контент */
.content {
    display: none;
}

.content.active {
    display: block;
}

.school-profile {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.school-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
}

.school-logo {
    text-align: center;
    padding: 20px;
}

.logo-image-region {
    max-width: 175px;
    height: auto;
}

.school-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.school-title {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.school-details {
    display: grid;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.detail-item i {
    color: var(--color-accent);
    width: 24px;
    height: 24px;
}

.sports-teams {
    text-align: center;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.team-card {
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}

.team-info h3 {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: 8px;
}

.team-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .school-header {
        grid-template-columns: 1fr;
    }
    
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 16px;
    }
}
.full-width-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
    height: 100%;
    overflow: hidden;
}
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: rgb(0 0 0 / 38%);
    z-index: 2;
}

/*page-comand*/
.school__wrapper-1 {
    background: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.school__inner-1 {
    display: flex;
    flex-direction: column; /* Изменяем порядок на колонку */
    align-items: center; /* Центрируем содержимое */
    gap: 24px;
    max-width: 100%;
    justify-content: space-between;
}

/* Изображение */
.school__inner-img {
    text-align: center; /* Центрируем изображение */
}

.img-school-right {
    width: 150px; /* Увеличиваем размер для лучшего отображения */
    height: auto;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Текстовая часть */
.school__inner-text {
    text-align: center; /* Центрируем текст */
}

.school__inner-title {
    font-size: var(--text-4xl);
    color: var(--text-primary);
    margin: 0 0 8px;
}

.school__inner-subtitle {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin: 0 0 16px;
}

/* Список статистики */
.school__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрируем элементы списка */
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.school__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary-three);
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    color: var(--text-primary);
    flex: 1;
}

.school__item p {
    font-size: var(--text-lg);
}

.school__item div {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
}

/* Адаптивность */
@media (min-width: 769px) {
    .school__inner-1 {
        flex-direction: row; /* Возвращаем строку для десктопов */
        align-items: center;
    }

    .school__inner-img {
        order: 2; /* Перемещаем изображение вправо */
        margin-left: 24px;
    }

    .school__inner-text {
        order: 1; /* Перемещаем текст влево */
        text-align: left; /* Выравниваем текст по левому краю */
    }
}
.iframe-videos{
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    display: flex;
    gap: 20px;
    padding-top: 17px;
}
@media(max-width:1024px){
    .iframe-videos{
        flex-direction: column;
        height: 1000px;
    }
}
@media(max-width:699px){
    .iframe-videos{
        height: 500px;
    }
}

/* about liga */
.container-liga-desc {
    display: flex; 
    gap: 20px;
}

.left-block-liga {
    width: 50%; 
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.right-block-liga {
    width: 60%;
    display: flex;
    flex-direction: column; 
}

.top-block-liga {
    display: flex; 
    justify-content: space-around; 
    gap: 20px;
}

.red-box-liga {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
    width: 100%;
	margin-bottom: 10px;
}

.number {
    font-size: 25px; 
    font-weight: 600; 
    color: #ffffff;
    position: relative;
}

.text {
    font-size: 17px; 
    color: #ffffff;
    position: relative;
	font-weight: 500;
}
@media(max-width:485px){
    .top-block-liga-mob {
        display: flex    ;
        gap: 20px;
        flex-direction: column;
    }
    .right-top-block-mob {
        width: 100% !important;
    }
    .left-top-block-mob {
        width: 100% !important;
    }

	.number {
		font-size: 21px; 
		font-weight: 600;
		color: #ffffff;

		position: relative;
		width: 100px;
	}
	
	.text {
		font-size: 15px; 
		color: #ffffff;

		position: relative;
		font-weight: 500;
	}
}
.bottom-block-liga {
    margin-top: 10px; 
   
}

.block-liga-img {
    width: 500px;
    height: 100%;
    background: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 7%); 
    flex: 1;
    padding: 20px;
}
.text-block-liga{
    font-size: 18px;
    color: #112542;
	font-weight: 300;
}
/*мобильная лига*/
.container-liga-mob {
    display: flex; 
    flex-direction: column; 
}

.top-block-liga-mob {
    display: flex; 
    gap: 20px;
}

.left-top-block-mob {
    width: 50%; 
    margin-right: 30px;
}

.right-top-block-mob {
    width: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.container-liga-desc{
    display: flex;
}
.container-liga-mob{
    display: none;
}
@media(max-width:879px){
    .container-liga-desc{
        display: none;
    }
    .container-liga-mob{
        display: flex;
    }
	.left-top-block-mob {
        width: 35%;
        margin-right: 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
        flex: 1;
    }
	.red-box-liga {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px;
        background-color: var(--color-primary);
        border-radius: var(--radius-lg);
        width: 100%;
        margin-bottom: 0px; 
    }
	.right-top-block-mob {
		width: 65%; 
		display: flex;
		justify-content: center;
		align-items: center;
	}
    .bottom-block-liga-mob {
        margin-top: 20px !important;
    }
}

.bottom-block-liga-mob {
    margin-top: 10px; 
    display: flex;
    height: 100%;
    align-items: center;
    background-color: var(--bg-primary-two);
    padding: 10px 20px;
    border-radius: var(--radius-lg);
}

.block-liga-img-mob {
    width: 100%; 
    max-width: 500px;
    height: 100%; 
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07); 
    flex: 1;
}

.red-box-liga-mob {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 10px; 
    height: 60px; 
}

.number-mob {
    font-size: 25px; 
    font-weight: 600;
    color: #ffffff;
    top: 3px;
    position: relative;
}

.text-mob {
    font-size: 17px;
    color: #ffffff;
    top: 3px;
    position: relative;
}

.text-block-liga-mob {
    font-size: 18px;
    color: var(--text-primary);
	font-weight: 300;
}

/*search*/
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results.hidden {
    display: none;
}

.search-results-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-results-item:hover {
    background-color: #f0f8ff;
}

.search-form{
    position: relative;
}

.search-block input{
    background-color: var(--bg-primary-two);
    border: 1px solid var(--bg-primary-three);
    padding: 10px 50px 10px 10px;
    border-radius: var(--radius-lg);
    width: 100%;
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.search-button{
    position: absolute;
    right: 10px;
    background-color: unset;
    border: unset;
    color: var(--text-primary);
    top: 8px;
}

/* detail-match */

.match-block{
    background-color: transparent;
    display: block;
    flex: 1 0 auto;
    margin: 0;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.background-image {
    width: 100%;
    height: 150%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.match-block-preview {
    position: relative;
    z-index: 10;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    height: 600px;
    align-items: center;
}
#match-info {
    position: relative; 
    overflow: visible;
    padding-bottom: var(--spacing-2xl);
    margin-bottom: 0px;
    margin-top: -2rem;
}

.full-width-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1; 
    height: 100%;
    overflow: hidden;
}

.match-preview {
    border-radius: var(--radius-lg);
    max-width: fit-content;
}

.match-header {
    text-align: center;
    margin-bottom: 24px;
}

.match-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: white;
}

.tag-blue {
    background: var(--color-primary);
}

.match-title {
    font-size: var(--text-5xl);
    color: var(--text-color-white);
    margin: 0;
}

.match-details {
    margin-bottom: 24px;
}

.match-meta {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-date-preview {
    font-size: var(--text-3xl);
    color: var(--text-color-white);
    margin: 0;
}

.match-location {
    font-size: var(--text-lg);
    color: #ffffff;
    margin: 0;
}

.match-teams-dekstop {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}
.match-teams-mobile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}
.team-preview {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.team-logo-match {
    width: 77px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name-match {
    font-size: var(--text-2xl);
    color: var(--text-color-white) !important;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.team-name-match:hover {
    color: var(--text-color-white) !important;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.score-match {
    font-size: 39px;
    font-weight: 700;
    color: var(--text-color-white);
}

.win-score {
    color: var(--color-success);
}

.delimiter {
    margin: 0 8px;
}

.periods {
    display: flex;
    gap: 12px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.period {
    padding: 4px 8px;
    background: #2b2b2b;
    color: var(--text-color-white);
    border-radius: var(--radius-sm);
}

.match-officials {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.label {
    font-weight: 600;
    color: #a7a7a7;
}
.match-teams-dekstop{
    display: grid;
}
.match-teams-mobile{
    display: none;
}
/* Адаптивность */
@media (max-width: 768px) {
    .match-teams-dekstop{
        display: none;
    }

    .match-teams-mobile {
        display: grid;
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 16px;
        justify-items: start;
    }

    .team-preview {
        justify-content: center;
        align-items: center;
        gap: 12px;
        display: flex;
    }

    .team-info-match {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .match-score {
        order: -1; /* Перемещаем счет наверх */
        margin-top: 0;
        gap: 8px;
    }

    .score-match {
        font-size: 20px; /* Уменьшаем размер шрифта */
    }

    .periods {
        display: none; /* Скрываем периоды */
    }

    /* Стиль для строк с командами */
    .team-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .team-row .team-name-match {
        font-size: var(--text-sm); /* Уменьшаем размер шрифта */
    }

    .team-row .score {
        font-size: var(--text-lg);
        font-weight: 700;
    }
    .team-logo-match {
        width: 50px;
        flex-shrink: 0;
    }
    .team-name-match {
        font-size: var(--text-lg);
    }
    .match-title {
        font-size: var(--text-2xl);
    }
}

/* region */

#region {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.regions-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    align-content: center;
}

.region-card {
    background: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: auto;
}

.region-logo-big {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.region-name {
    font-size: var(--text-md);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.region-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Дополнительные стили */
.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: inherit;
}

.region-card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .regions-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .region-logo-big {
        width: 60px;
        height: 60px;
    }
    
    .region-name {
        font-size: var(--text-sm);
    }
    
    .region-subtitle {
        font-size: 12px;
    }
}



.header-topPlayer{
    flex-direction: column !important; 
    align-items: flex-start !important;
}
.block-top-tur{
    display: flex;
    gap: 20px;
}
.block-top{ 
    width: 40%;
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.block-tur{
    flex: 1;
    position: relative;
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
    padding: 20px;
}

#standings-group-block td{
    background-color: var(--bg-primary-three) !important;
}

#standings-group-block thead {
    position: sticky;  
    top: 0;            
    z-index: 1;  
    background-color: var(--bg-primary-two);      
}
#standings-group-block .tabs__body-10, #standings-group-block .sport-table{
    /* max-height: 603px;
    overflow-y: auto; */
}
@media(max-width:1285px){
    .header-topPlayer{
        flex-direction: row !important; 
        align-items: center !important;
    }
    #standings-group-block td{
        background-color: var(--bg-primary-two) !important;
    }
    #standings-group-block thead {
        position: relative;   
        background-color: unset;      
    }
    .block-top-tur {
        flex-direction: column;
    }
    .block-tur, 
    .block-top {
        background-color: transparent;
        padding: unset;
    }
    .block-tur{
        margin-bottom: var(--spacing-2xl);
    }
    .block-top{ 
        width: 100%;
        background-color: transparent;
        padding: unset;
        padding-top: var(--spacing-2xl);
    }
    .block-tur { order: 1; }
    .block-top { order: 2; }
}

/* detail player */

/* Базовые стили для блока */
.info-block {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 50px 20px;
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
}

/* Стили для изображения */
.info-block__image {
    object-fit: cover;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border: 4px solid var(--color-primary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.info-block__logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняем пропорции изображения */
}

/* Стили для текстового контента */
.info-block__content {
    flex-grow: 1;
}

.info-block__title {
    font-size: var(--text-4xl);
    color: var(--text-primary);
    margin: 0 0 8px;
    font-weight: 600;
}

.info-block__subtitle {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4; /* Улучшаем читаемость */
}

/* Адаптивность */
@media (max-width: 768px) {
    .info-block {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .info-block__image {
        width: 120px;
        height: 120px;
    }
}
/* detail player */
.pad120{
 padding-right: 120px;
 padding-left: 0px !important;
}

.header-protocol-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0px;
}
.protocol-sub{
    color: var(--text-color);
    margin: 0px !important;
}

.line100{
    width: 100%;
    border-bottom: 2px solid #c9c9c9;
    margin: 20px 0px;
}

.protocol-block{
    padding: 20px;
    background-color: var(--bg-primary-two);
    border-radius: var(--radius-lg);
}
.protocol-block h4{
    color: var(--text-color);
}
.row-form-protocol{
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.form-select-sm{
    border-radius: var(--radius-lg) !important;
}
.block-button-protocol{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 0px;
}
td span{
    cursor: pointer;
}
.col input{
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 0px 10px;
    border: 1px solid #b7b7b7;
}
.flex-center{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.filter-block{
    margin: 20px 0px;
}
.sort-protocol{
    display: flex    ;
    justify-content: space-between;
    gap: 10px;
}
.sort-protocol select{
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 10px;
    border: 1px solid #d9d9d9;
    background-color: var(--bg-primary-two);
    color: var(--text-primary);
}
.main-row-protocol{
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 20px;
    max-width: 100%;
}
.card-protocol{
    border-radius: var(--radius-lg);
    padding: 15px;
    background-color: var(--bg-primary-two);
    transition: transform 0.2s;
    min-height: 100px;
}
.card:hover {
    transform: translateY(-3px);
}

.fullwidth-banner {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 32px;
	margin-bottom: 32px;
	overflow: hidden;
}

.fullwidth-banner img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.fullwidth-banner {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}