.custom-tab__links__wrap{
    margin-bottom: 30px;
}
.custom-tab__links{
    display: flex;
    align-items: center;
    gap:20px;
}

.custom-tab__links__item{
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
    border-radius: 999px;
    padding: 12px 24px;
    background: var(--bg);
    white-space: nowrap;
}
.custom-tab__links__item:not(.is-active){
    cursor: pointer;
}
.custom-tab__links__item.is-active,
.custom-tab__links__item:hover{
    color: var(--white);
    background: var(--blue);
}
.custom-tab__item__content__title{
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    color: var(--black);
    margin-bottom: 14px;
}

.custom-tab__item__content__text{
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--text);
}
.custom-tab__links__item__tooltip{
    display: none;
}
.custom-tab__item__inner{
    display: flex;
    flex-direction: column;
    gap: 50px
}
.custom-tab__item__inner:has(.custom-tab__item__video){

}
.custom-tab__item__video__iframe{
    width: 100%;
    aspect-ratio: 1168/530;
    border-radius: 32px;
}

@media (max-width: 991px) {
    .custom-tab__links{
        max-width: 100%;
        overflow-x: auto;
    }
    .custom-tab__links__wrap{
        position: relative;
        z-index: 10;
        margin-bottom: 48px;
    }
    .custom-tab__links__wrap:after {
        display: block;
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #fff0 0% 90%, #fff);
        pointer-events: none;
    }
}
@media (min-width: 992px) {
    .custom-tab__item__inner:has(.custom-tab__item__video){
        flex-direction: row-reverse;
        align-items: center;
    }
    .custom-tab__item__inner:has(.custom-tab__item__video) > *{
        width: 50%;
    }
    .custom-tab__links{
        padding-top: 85px;
        margin-top: -85px;
    }
    .custom-tab__links__item:hover .custom-tab__links__item__tooltip{
        display: block;
        font-weight: 400;
        font-size: 14px;
        line-height: 129%;
        color: #2d2c38;
        text-align: center;
        position: absolute;
        top: -100%;
        left: 50%;
        width: 256px;
        box-sizing: border-box;
        margin-left: -128px;
        background-color: var(--white);
        border-radius: 32px;
        padding: 10px 20px;
        box-shadow: 0 0 30px 0 rgba(42, 48, 71, 0.1);
    }
    .custom-tab__links__item:hover .custom-tab__links__item__tooltip:before {
        position: absolute;
        bottom: -10px;
        left: 50%;
        margin-left: -5px;
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 10px 0px 10px;
        border-color: #ffffff transparent transparent transparent;
        transform: rotate(0deg);
    }
    .custom-tab__item__content__title{
        font-size: 32px;
    }
}
@media (min-width: 992px) and (max-width: 1600px){
    /*.custom-tab__links__wrap{
        position: relative;
        z-index: 10;
        margin-bottom: 48px;
    }
    .custom-tab__links__wrap:after {
        display: block;
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #fff0 0% 90%, #fff);
        pointer-events: none;
    }
    .custom-tab__links{
        max-width: 100%;
        overflow-x: auto;
    }*/
}
@media (min-width: 1100px) {
    .custom-tab__links__item{
        position: relative;
        text-align: center;
        width: 20%;
    }
}
@media (min-width: 1380px) {
    .custom-tab__item__inner .custom-tab__item__video{
        width: 70%;
    }
    .custom-tab__item__inner:has(.custom-tab__item__video) .custom-tab__item__content{
        width: 30%;
    }
}
@media (min-width: 1400px) {
    .custom-tab__links__item{
        position: relative;
        text-align: center;
    }
}