/* Основные стили для структуры */
.banner.banner--switch .banner__content {
    background-color: var(--gray_3);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1.84fr 1.69fr;
    padding: 90px 40px 50px 80px;
    min-height: 466px;
    box-sizing: border-box;
    gap: 32px;
    align-items: start;
    position: relative;
}
.banner.banner--switch .banner__title {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    margin: 0 0 60px;
}
.banner.banner--switch .line-division {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #DCE6F2;
}

/* Стили для переключателей */
.banner.banner--switch .banner__tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 258px;
}
.banner.banner--switch .banner__tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    color: var(--text_pr);
    padding: 0 42px 0 0;
    height: 100px;
    border-right: 4px transparent solid;
    cursor: pointer;
    transition: color 0.3s ease, border-right 0.3s ease;
}
.banner.banner--switch .banner__tab.active {
    color: var(--blue_3);
    border-right: 4px solid var(--blue_3);
}

/* Контейнер для контента */
.banner.banner--switch .banner__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.banner.banner--switch h3 {
    margin: 0 0 20px;
}
.banner.banner--switch .banner__extra-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.banner.banner--switch .banner__extra-content a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Элементы списка */
.banner.banner--switch .banner__right-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.banner.banner--switch .banner__right-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.banner.banner--switch .banner__right-item img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 5px;
}

/* Стили для картинки и кнопки */
.banner.banner--switch .banner__extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 16px;
    position: relative;
}
.banner.banner--switch .banner__extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Анимации */
.banner.banner--switch .banner__content-right,
.banner.banner--switch .banner__extra-content {
    display: none;
    opacity: 0;
}
.banner.banner--switch .banner__content-right.active,
.banner.banner--switch .banner__extra-content.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}
.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease;
}
.fade-in {
    opacity: 1 !important;
    transition: opacity 1s ease;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .banner.banner--switch .banner__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 27px 20px;
    }
    .banner.banner--switch .line-division {
        display: none;
    }
    .banner.banner--switch .banner__tabs {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        height: auto;
    }
    .banner.banner--switch .banner__tab.active {
        color: var(--blue_3);
        border-right: none;
        border-bottom: 4px solid var(--blue_3);
    }
    .banner.banner--switch .banner__tab {
        padding: 0 20px 20px;
        width: 100%;
        height: auto;
        align-items: center;
        border-right: none;
        border-bottom: 4px solid transparent;
        font-family: 'IBM Plex Sans';
        font-weight: 500;
        font-size: 17px;
        line-height: 24px;
        letter-spacing: 0px;
        text-align: right;
    }
    .banner.banner--switch .banner__extra {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 550px) {
    .banner.banner--switch .banner__tabs {
        margin: 0 -20px;
    }
    .banner.banner--switch .banner__content {
        border-radius: 0px;
        margin: 0 -20px;
    }
    .banner.banner--switch .banner__extra-content {
        flex-direction: column;
        gap: 20px;
    }
    .banner.banner--switch .banner__extra-image {
        display: none;
    }
    .banner.banner--switch .banner__extra {
        align-items: stretch;
    }
}