.lg{
    display: block;
}

.sm{
    display: none;
}

.homelink{
    position: absolute;
    z-index: 100;
    width: 100%;
    text-align: center;
}

.custom-header-wrapper-mo{
    position: relative;
    display: flex;
}

img#inside-banner-mo{
    position: relative;
    z-index: 50;
}

.nav_link_mo{
    position: absolute;
    z-index: 150 !important;
    top: 20px;
    right: 20px;
    z-index: 200;
}

.custom-header-wrapper{
    margin-top: 0;
}

/************************************** Trainers tabs ****************************************/
.tennis-tabs-container{
    margin: 0 0 80px;
    font-family: sans-serif;
}
.tennis-tabs-container {
    padding: 0 0 20px 0!important;
}

/* Навигация */
.tennis-tabs-nav{
    list-style: none;
    padding: 0;
    display: flex;
    gap: 3px;
    #border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    padding-left: 0 !important;
}

.tab-link{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #000;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    padding: 7px 15px;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.tab-link.active {
    color: #000;
    border-bottom: 3px solid #000;
}

.tab-link span{
    font-size: 20px;
}

/* Контент */
.tab-content{
    display: none;
}

.tab-content.active{
    display: block;
    animation: fadeIn 0.5s;
}

/* Сетка тренеров */
.trainers-grid{
    display: grid;
    /* Устанавливаем ровно 3 колонки одинаковой ширины */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Очень рекомендую добавить адаптивность,
   чтобы на планшетах и мобилках колонки не были слишком узкими
*/
/* Контейнер для фото и плашки */
.trainer-photo-wrapper{
    position: relative;
    overflow: hidden;
    line-height: 0; /* Убирает отступы под картинкой */
}

/* Сама картинка (заглушка) */
.trainer-photo-wrapper img{
    display: block;
    width: 100%;
    #height: 350px; /* Или твоя высота */
    object-fit: cover;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ЧЕРНОЙ ПЛАШКИ */
.trainer-position-badge{
    position: absolute;
    bottom: 0; /* Прижимаем к низу */
    left: 0; /* Прижимаем к левому краю */

    /* --- ВОТ РЕШЕНИЕ: Убираем width: 100% --- */
    width: auto; /* По умолчанию absolute так и работает, если не задана ширина */
    /* ------------------------------------------- */

    background-color: #000000; /* Чистый черный */
    color: #ffffff; /* Белый текст */

    /* Добавляем отступы вокруг текста, как на макете */
    padding: 8px 12px;

    /* Шрифты и стилистика */
    font-size: 11px; /* Сделай по вкусу */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px; /* Разрядка букв */
    z-index: 2; /* Поверх картинки */

    /* Добавляем легкое скругление углов (опционально), как на Скрине 2 */
    /* border-top-right-radius: 4px; */
}

@media (max-width: 1024px){
    .trainers-grid{
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px){
    .trainers-grid{
        grid-template-columns: 1fr; /* 1 колонка на мобильных телефонах */
    }
}

.trainer-card{
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.trainer-card:hover{
    transform: translateY(-5px);
}

.trainer-photo img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.trainer-info{
    padding: 20px;
    text-align: center;
}

.trainer-info h3{
    margin: 0 0 5px;
    font-size: 20px;
}

.trainer-info .position{
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.trainer-info .description{
    font-size: 15px;
    line-height: 1.4;
    color: #444;
}

.trainer-bio p{
    margin: 0; /* Убираем лишние отступы абзаца внутри карточки */
}

.trainer-bio p + p{
    margin-top: 10px; /* А если там два абзаца — делаем между ними зазор */
}

.tabs-entry-title{
    font-family: 'Oswald';
    font-size: 36px;
    color: #202020;
    margin: 30px 0;
}

.trainers-intro-section{
    margin-bottom: 50px;
}

@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

/* Контейнер для фото делаем относительным */
.trainer-photo-wrapper{
    position: relative;
    overflow: hidden;
    line-height: 0; /* Убирает лишние отступы под картинкой */
}

.trainer-photo-wrapper img{
    width: 100%;
    #height: 350px; /* Отрегулируй высоту под свой макет */
    object-fit: cover;
    display: block;
}

/* Стили черного прямоугольника */
.trainer-position-badge{
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8); /* Глубокий черный с легкой прозрачностью */
    color: #ffffff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

Если нужно, чтобы плашка была не на всю ширину, а аккуратным боксом слева:
.trainer-position-badge{
    width: auto;
    max-width: 90%;
}


.trainer-card-info{
    padding: 20px 15px;
    #background: #fff;
    text-align: left; /* Обычно в таком дизайне текст выравнивают по левому краю */
}

.trainer-card-info h3{
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #000;
}

.trainer-bio{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}



/*******************************   SPONSOREN *****************************************************/


/* Десктопная сетка */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center; /* Центрируем логотипы по вертикали, если они разные */
}

.sponsor-item {
    display: block;
    line-height: 0;
    box-shadow: 1px 1px 4px #f0f0f0;
}

.sponsor-item img {
    width: 100%;
    height: auto;
    display: block;
    /* Убираем все фильтры и эффекты */
    filter: none !important;
    opacity: 1 !important;
}
span.d-end {
    min-height: 20px;
}
.sponsors-wrapper{
    margin-bottom:50px;
}
.sponsor-button a div {
    color: #fff!important;
}
.wp-block-uagb-buttons .uagb-block-fec248bd .uagb-buttons-repeater .uagb-button__link {
    color: #ffffff!important;
}

.wp-block-uagb-buttons .uagb-block-fec248bd .uagb-buttons-repeater .uagb-button__link {
    color: #ffffff!important;
}
#stiky-menu{
    display:none;
    margin-top: -1px;
    z-index: 300;
}
div#stiky-menu .custom-nav {
    position: fixed;
    z-index: 300;
    padding: 5px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background: url(assets/images/inside_banner.png);
    background-size: 50%;
    min-height: 75px;
    #transition:  all 0.3s ease;

}
#ast-scroll-top {
    #border-radius: 50%;
    font-size: 18px;
}
div#stiky-menu .custom-nav .mologomiddle {
    display:none;
}
div#stiky-menu .custom-nav .nav_link_mo {
    display:none;
}
div#stiky-menu .internal-nav-flex {
    margin-bottom: 0;
}
textarea#user_message {
    height: 110px;
    margin-bottom: 20px;
}
select#user_subject {
    padding: 10px;
    min-height: 50px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
}
select#user_subject:focus {
    background: #fff;
    border: 1px solid #999;
    color: #000;
}


/***************************** news ------------------------------*/

.events-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.events-more-btn {
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.events-more-btn:hover {
    background-color: #333;
}

/* Класс для скрытых карточек */
.hidden-event {
    /*display: none; -- уже обрабатывается в PHP стиле для надежности */
}
/* Контейнер для прокрутки */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #eee; /* Опционально: рамка вокруг таблицы */
}

/* Сама таблица внутри */
.table-responsive-wrapper table {
    margin: 0 !important;
    min-width: 600px; /* Минимальная ширина, чтобы колонки не слипались */
    width: 100%;
    border-collapse: collapse;
}

/* Стили для ячеек, чтобы текст не обрезался некрасиво */
.table-responsive-wrapper th,
.table-responsive-wrapper td {
    white-space: nowrap; /* Запрещаем перенос строк, если нужно сохранить структуру */
    padding: 12px;
}

/* Визуальный индикатор прокрутки (тени) */
.table-responsive-wrapper {
    background:
            linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
            linear-gradient(to right, rgba(255, 255, 255, 0), white 70%) 100% 0,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 100% 0;
    background-repeat: no-repeat;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
}
h1.title-404 {
    font-size: 180px;
    font-weight: 600;
    color: #000;
    font-family: 'Oswald';
}
h2.title-2-404 {
    font-size: 35px;
    font-weight: 300;
    color: #000;
    font-family: 'Oswald';
    text-transform: uppercase;
}
.p-404{
    padding-top:40px;
}
.tohome-404 {
    display: flex;
    align-content: space-around;
    align-items: center;
    justify-content: space-around;
    background: #000;
    flex-wrap: nowrap;
    flex-direction: row;
    max-width: 250px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 15px;
    font-family: 'Oswald';
    margin-top: 40px;
}
.gallery-items-grid {
    margin-top: 38px;
}
.gallery-content-area:has(.back-link) {
    flex-grow: 1;
    width: 100%;
    margin-top: 33px;
}
.jugend_maun_content p{
    margin-bottom:0;
    padding-left: 10px;
}

.entry-content.clear {
    padding-left: 10px;
}
.ubersicht_button a:hover{
    color:#fff!important
}
.ubersicht_button a:active{
    color:#fff!important
}
.ubersicht_button .uagb-button__wrapper a{
    position: relative;
    padding-right: 35px;
}
.ubersicht_button .uagb-button__wrapper:hover a{
    background-color:#000!important;
    opacity:1!important;

    color:#fff!important;
    position: relative;
}
.ubersicht_button .uagb-button__wrapper:hover .uagb-button__link{
    color:#fff!important;
}
.ubersicht_button .uagb-button__wrapper:active .uagb-button__link{
    color:#fff!important;
}
.ubersicht_button .uagb-button__wrapper  .uagb-button__link:after{
    content: "";
}
a.uagb-buttons-repeater.wp-block-button__link {
    border-radius: 5px;
}
.ubersicht_button .uagb-button__wrapper .uagb-button__link:after{
    #content: url('images/icons/mobile-menu-arrow-black.svg');
    position: absolute;
    right: 5px;
    top: 7px;
}
.ubersicht_button .uagb-button__wrapper:hover .uagb-button__link:after{
    #content: url('images/icons/mobile-menu-arrow.svg');
    position: absolute;
    right: 5px;
    top: 7px;
}
a.uagb-buttons-repeater.wp-block-button__link {
    padding-right: 16px;
}
.inst-calendar img{
    vertical-align:text-top;
}
.footer-column a.contact-link{
    color:#fff!important;
}
.footer-column a.contact-link.email{
    color:#fff!important;
}
.footer-column a.contact-link.email:before{
    margin-right: 5px;
}
.stripe-links .reveal-item{ color:#fff;}
.stripe-links .contact-link.email{font-size:17px;}
.stripe-links .contact-link.email:before{
    margin-right: 5px;
}
.reveal-item{
    cursor: pointer;
}
.reveal-item:before{
    content: url('images/icons/footer_mail.svg');
    margin-right: 5px;
}
.reveal-item.white:before{
    content: url('images/icons/mail-black.svg');
    margin-right: 5px;
}
.aioseo-breadcrumbs {
    padding: 20px 10px 10px 10px;
    color: #999;
    font-weight: 400;
    font-family: 'Rubik';
    font-size: 16px;
}
span.aioseo-breadcrumb a {
    color: #888;
    padding: 0;
}
span.aioseo-breadcrumb-separator {
    padding: 0 5px;
}
.tennis-tabs-container {
    padding-left: 5px !important;
}

/* По умолчанию на мобильных кнопка видна, на десктопе скрыта */
.sponsors-mobile-controls {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.sponsors-controls {
    text-align: center;
    margin-bottom: 20px;
}

/***************************** сабменю **********************************   */
ul#menu-left-menu-main-1 li,ul#menu-left-menu-main li {
    position: relative;
}
/* 1. Делаем контейнер подменю вертикальным блоком */
#menu-left-menu-main-1 .sub-menu, #menu-left-menu-main .sub-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 160px;
    background-color: #ffffff;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* 2. Каждый пункт внутри — на новую строку */
#menu-left-menu-main-1 .sub-menu li {
    display: block !important; /* Форсируем перенос строки */
    width: 100% !important;
    float: none !important; /* Отменяем обтекание, если оно есть */
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Каждый пункт внутри — на новую строку */
#menu-left-menu-main .sub-menu li {
    display: block !important; /* Форсируем перенос строки */
    width: 100% !important;
    float: none !important; /* Отменяем обтекание, если оно есть */
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Оформляем ссылки внутри */
#menu-left-menu-main-1 .sub-menu li a {
    display: block !important;
    padding: 10px 20px 10px 0px!important;
    line-height: 1.2 !important;
    text-align: left !important;
    color: #000000 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}
/* 3. Оформляем ссылки внутри */
#menu-left-menu-main .sub-menu li a {
    display: block !important;
    padding: 10px 20px 10px 15px!important;
    line-height: 1.2 !important;
    text-align: left !important;
    color: #000000 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}
#menu-left-menu-main-1 .sub-menu li a,#menu-left-menu-main .sub-menu li a {
    display: block !important;
    padding: 10px 20px 10px 15px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    color: #000000 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 400 !important;
    font-family: 'Rubik';
}

/* 4. Наведение на пункт подменю */
#menu-left-menu-main-1 .sub-menu li a:hover {
    background-color: #f8f8f8 !important;
    #color: #d00000 !important; /* Красный акцент */
}
/* 4. Наведение на пункт подменю */
#menu-left-menu-main .sub-menu li a:hover {
    background-color: #f8f8f8 !important;
    #color: #d00000 !important; /* Красный акцент */
}

/* 5. Показ при наведении на родителя */
#menu-left-menu-main-1 .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
}
/* 5. Показ при наведении на родителя */
#menu-left-menu-main .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 6. "Мостик" (чтобы меню не закрывалось при переносе мышки) */
#menu-left-menu-main-1 .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    display: block;
}
/* 6. "Мостик" (чтобы меню не закрывалось при переносе мышки) */
#menu-left-menu-main .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    display: block;
}









@media (max-width: 767px) {
    .sponsors-mobile-controls {
        display: block;
    }

    /* Когда активирована сетка через JS */
    .sponsors-grid.is-grid-active {
        display: grid !important;
        grid-template-columns: 1fr 1fr; /* Две колонки */
        gap: 15px;
        padding: 0 10px;
    }

    .sponsors-grid.is-grid-active .sponsor-item {
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
    }
}


/***************************** end news ------------------------------*/
@media (width: 1024px){
    .nav-left ul li {
        margin: 0 15px;
    }
    .custom-header-wrapper ul li a {
        font-size: 14px;
    }
}
@media (max-width: 1023px){
    div#stiky-menu .internal-nav-flex{
        display: none!important;
    }
    div#stiky-menu .custom-nav {
        padding: 30px 0;
    }
    .custom-header-wrapper ul li a{
        font-size: 14px;
    }
    .nav-left ul li {
        margin: 0 15px;
    }
}
@media (max-width: 1123px){
    max-width: 100%;
}
@media (max-width: 996px){
    div#stiky-menu .custom-nav .mologomiddle {
        display:block;
        height: 50px;
    }
    div#stiky-menu .custom-nav .nav_link_mo{
        display:block;
    }
    div#stiky-menu .custom-nav {
        background-size: 100%;
        min-height: 75px;
        /* background-repeat: no-repeat; */
    }
    img#inside-banner-mo {
        aspect-ratio: 30 / 5;
    }
}
/* Мобильный слайдер со стрелками вверху */
@media (max-width: 767px) {
    div#stiky-menu .custom-nav .mologomiddle {
        display:block;
        height: 50px;
    }
    div#stiky-menu .custom-nav .nav_link_mo{
        display:block;
    }
    div#stiky-menu .custom-nav {
        background-size: 100%;
        min-height: 75px;
        /* background-repeat: no-repeat; */
    }
    .tab-btn{
        padding: 10px;

    }
    h2.wp-block-heading.custom_h2 {
        padding: 0 20px!important;
    }
    .buttom_insta_wrapper {
        padding: 0 20px!important;
    }
    .sponsoren_wrapper {
        padding: 0 12px !important;
    }
    .wp-block-columns:has(.home-map) {
        padding: 0 5px 0 5px;
    }
    .sponsors-grid.slick-slider {
        display: block;
        padding-top: 80px; /* Место для стрелок */
        position: relative;
        margin-bottom:50px;
    }

    .sponsors-grid .slick-prev,
    .sponsors-grid .slick-next {
        position: absolute;
        top: 20px;
        width: 44px;
        height: 44px;
        background: #000;
        border: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 100;
        padding: 0;
    }

    .sponsors-grid .slick-prev { left: calc(50% - 48px); }
    .sponsors-grid .slick-next { left: calc(50% + 4px); }

    .sponsors-grid .slick-prev svg,
    .sponsors-grid .slick-next svg {
        stroke: #fff;
        width: 24px;
        height: 24px;
    }

    .sponsors-grid .sponsor-item {
        padding: 0 10px; /* Отступы между слайдами */
        outline: none;
    }
    .tab-content table{
        overflow-x: scroll!important;
    }

}
@media (max-width: 640px) {
    .footer-column {
        text-align: center;
    }
}


/************************************************************************************/

@media  (max-width: 769px){

    .lg{
        display: none;
    }

    .sm{
        display: block;
    }
}
@media  (max-width: 768px){
    .aioseo-breadcrumbs {
        padding: 20px 10px 10px ;
    }
    .gallery-main-wrapper {
        flex-direction: column;
        gap: 20px;
        max-width: 95%;
    }
    .forshow {
        text-align: center;
        margin-bottom: 20px;
    }
    .forshow img {
        height: 40px;
    }
    #page {
        overflow-x: hidden;
    }
    figure.footer-logo {
        text-align: center;
    }
    .footer-logo img {
        max-width: 160px !important;
        margin: 0 auto;
    }
    #main{
        width: 100%;
        max-width: 100%;
    }

    .wp-block-image img{
        width: 100% !important;
    }


    .wp-block-columns{
        padding: 0 20px 0 5px;
    }

    img#inside_logo{
        width: 125px;
        margin-top: 20px;
        z-index: 60;
    }

    img#inside-banner-mo{
        aspect-ratio: 30 / 5;
    }

    .nav_link_mo{
        position: absolute;
        z-index: 70;
        top: 38%;
        right: 20px;
    }

    /* Базовые стили панели */
    .side-panel{
        position: fixed;
        top: 0;
        left: -100%; /* Спрятана слева */
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        display: none; /* Скрыта для десктопов */
    }

    /* Активное состояние (когда меню открыто) */
    .side-panel.is-active{
        left: 0;
        z-index: 100;
    }

    /* Затемнение фона */
    .menu-overlay{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.is-active{
        opacity: 1;
        visibility: visible;
    }

    /* Включаем только для мобильных */
    .side-panel{
        display: block;
    }

    /* Стили самого списка внутри */
    .combined-mobile-menu{
        list-style: none;
        padding: 20px;
        margin: 30px 0 0 0;
    }

    .combined-mobile-menu li{
        margin-bottom: 10px;
    }
    .combined-mobile-menu li:nth-child(1) a::before{
        content: url('assets/icons/icon_home.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(2) a::before{
        content: url('assets/icons/icon_uberuns.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(3)  a::before{
        content: url('assets/icons/icon_mannschaften.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(4) a::before{
        content: url('assets/icons/icon_jugend.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(5) a::before{
        content: url('assets/icons/icon_trainer.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(6) a::before{
        content: url('assets/icons/icon_kontakt.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(7) a::before{
        content: url('assets/icons/icon_platzbuchung.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(8) a::before{
        content: url('assets/icons/icon_downloads.svg');
        margin-right: 10px;
        vertical-align: top;
    }
    .combined-mobile-menu li:nth-child(6) {
        margin-bottom: 40px;
    }
    .combined-mobile-menu li a{
        display: block;
        padding: 12px 0 8px;
        text-decoration: none;
        color: #000;
        border: 1px solid #f0f0f0;
        padding-left: 20px;
        border-radius: 5px;
        line-height: 1.5;
    }
    .combined-mobile-menu li a:after{
        content: url('images/icons/mobile-menu-arrow.svg');
        vertical-align: middle;
        position: absolute;
        right: 30px;
        transition: transform 0.3s ease;
    }
    div#mobile-side-panel {
        background: #000;
        z-index: 9999;
    }

    .side-panel-header{
        text-align: right;
        background-color: #F6F5FB;
    }

    button.close-menu{
        background: #fff;
        color: #000;
        font-size: 30px;
    }

    #mobile-side-panel .side-panel-header {
        display: flex;
        align-items: center;    /* Выравниваем всех по вертикали (центр) */
        width: 100%;
        padding: 10px 0;        /* Немного отступов сверху и снизу */
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    #mobile-side-panel .menu-text {
        flex: 0 0 20%;          /* Ширина 20% (чтобы в сумме было 100) */
        text-align: left;
        font-weight: bold;
        padding-left: 20px;
    }

    #mobile-side-panel .menu-logo {
        flex: 0 0 60%;          /* Твои заветные 60% для логотипа */
        text-align: center;
    }

    #mobile-side-panel .menu-logo img {
        max-width: 100%;        /* Чтобы лого не вылезало за границы */
        height: auto;
    }

    #mobile-side-panel .close-menu {
        flex: 0 0 20%;          /* Ширина 20% */
        text-align: right;
        background: none;
        border: none;
        font-size: 35px;
        cursor: pointer;
    }
    #mobile-side-panel button {
        box-shadow: none;
    }
    ul.combined-mobile-menu {
        background: #000;
        overflow-y: scroll;
    }
    ul.combined-mobile-menu li a {
        color: #fff!important;
    }

    .current-menu-item{
        #font-weight: bold;
        background-color: #333;
    }
    ul.combined-mobile-menu .current-menu-item a{
        #text-decoration: underline;
    }
    .custom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        background: url(assets/images/inside_banner.png);
        background-size: cover;
        min-height: 75px;
    }
    .nav_link_mo {
        position: absolute;
        z-index: 70;
        top: 20px;
        right: 20px;
    }
    .mologomiddle{
        height: 50px;
    }
    div#stiky-menu .custom-nav {
        padding: 0 0 0 18px;
    }
    .tennis-info-grid{
        gap:10px;
    }
    .tennis-tabs-container {
        margin-top: 0;
    }
    .ast-single-post .entry-title, .ast-single-post .entry-title a {
        line-height: 1.2;
        margin-top: 40px;
    }
    .custom-header-wrapper .custom-nav {
        background:transparent;
    }
    .nav_link_mo {
        width: 30px;
    }
    .sub-menu li a{
        border: none!important;
    }
    .sub-menu li{
        margin-bottom:0;
    }
    .sub-menu li a::before{
        content:" "!important;
    }
    /********************* mobile menu ********************/
    /* Скрываем подменю по умолчанию в мобильной панели */
    .combined-mobile-menu .sub-menu {
        display: none;
        list-style: none;
        padding-left: 20px; /* Отступ для вложенности */
        margin: 0;
    }

    /* Класс, который будет добавляться при клике */
    .combined-mobile-menu .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }

    /* Поворот стрелочки при открытии (опционально) */
    .combined-mobile-menu .menu-item-has-children.is-open .ast-header-navigation-arrow {
        transform: rotate(180deg);
    }

    .combined-mobile-menu .ast-header-navigation-arrow {
        transition: transform 0.3s ease;
        display: inline-block;
        margin-left: 10px;
    }
}
@media (min-width: 640px) and (max-width: 767px){
    .sponsor-item .slick-track a {
        aspect-ratio: 18 / 6!important;
    }
}
@media (min-width: 481px){

    div#mobile-side-panel {
        overflow-y: scroll!important;
    }
}
@media (max-width: 480px) {
    img#inside-banner-mo {
        aspect-ratio: 18 / 5;
    }

}