.banner {
    border-radius: 20px;
    width: 100%;
    padding: 58px 58px 62px 40px;
    display: flex;
    position: relative;
    min-height: 750px;
}

.banner__info {
    flex: 0 1 45%;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 1.036rem + 1.07vw, 2rem);
}

.banner__info__down {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.banner__media {
    position: absolute;
    bottom: 0;
    right: clamp(1.25rem, -0.179rem + 2.98vw, 2.5rem);
    line-height: 0;
    width: 45%;
}


.main_page__banner__media {
    margin-top: 120px;
    background: var(--Brand-Sunset-gardient, linear-gradient(180deg, #3A18B5 0%, #3B47B7 50%, #8072FF 100%));
}

.main_page__banner__media .banner__info {
    color: var(--text-icon-primaryInverted, #F6F6F9);
}

.main_page__banner__media__video {
    min-width: 50%;
}

.study__banner {
    color: var(--Brand-Dark-blue, #1E1753);
    border-radius: 24px;
    background: var(--Brand-Dawn-gradient, linear-gradient(180deg, #DBCCFF 0%, #FAE4F1 49.52%, #FFEAE0 100%));
    min-height: 586px;
}

.banner__title {
    color: inherit;
    font-family: "Inter Variable";
    font-size: clamp(2.125rem, 1.542rem + 2.45vw, 3.75rem);
    font-weight: 500;
    line-height: clamp(2.25rem, 1.623rem + 2.64vw, 4rem);
    letter-spacing: -1.5px;
}

.banner__subtitle {
    color: inherit;
    font-family: "Inter Variable";
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
}

.events-banner {
    border-radius: 24px;
    background: var(--Brand-Pink, #E2B1FF);
    min-height: 586px;
}

.events-banner__title {
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: "ALS Hauss VF";
    font-size: 68px;
    font-style: normal;
    font-weight: 450;
    line-height: 64px;
    letter-spacing: -2.16px;
    margin-block-end: 32px;
}

.events-banner__descripttion {
    color: var(--Brand-Dark-blue, #1E1753);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Inter Variable";
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-action, 20px);
    max-inline-size: 555px;
}

.events-banner__img {
    position: absolute;
    bottom: 18px;
    right: 53px;
}

.program-banner {
    background: var(--Brand-Sunset-gardient, linear-gradient(180deg, #3A18B5 0%, #3B47B7 50%, #8072FF 100%));

}

.banner__tags {
    display: flex;
    flex-direction: row;
    gap: 4px;
    flex-wrap: wrap;
}

.banner__tag {
    display: flex;
    padding: 7px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.24);
}

.banner__tag__text {
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-body, 15px);
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-body, 20px);
    color: #FFF;
}

.program-banner__button {
    background: var(--Brand-Dark-blue, #1E1753);
    color: var(--text-icon-whitePrimaryConst, #FFF);
}


@media (max-width:1024px) {
    .banner__info__down {
        flex-direction: column;
    }
}

@media (max-width:1024px) and (min-width:769px) {

    .banner__info {
        flex: 1 1 100%;
        width: 100%;
    }

    .banner__info__down {
        width: 45%;
    }

    .banner__title,
    .banner__tags {
        width: 100%;
    }

    .banner__subtitle {
        width: 45%;
    }


}

@media (max-width:768px) {
    .main_page__banner__media {
        flex-direction: column;
    }

    .banner {
        flex-direction: column;
        height: unset;
        padding: 32px 20px;
        min-height: unset;
    }

    .banner__info__down {
        margin-top: 12px;
    }

    .banner__media {
        position: relative;
        width: calc(100% + 40px);
        right: unset;
        bottom: -32px;
        left: -20px;
    }

    .banner__subtitle {
        font-weight: 400;
    }

    .program-banner {
        padding-top: 24px;
    }

    .program-banner .banner__title {
        margin-top: 4px;
    }
}