

/* Start:/local/templates/main/components/bitrix/news.list/main-page-banners/style.css?17854993607838*/
.main-page-banner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 190px;
    background-color: #f0f0f0;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}

.main-page-banner__heading {
    flex: 0 1 auto;
    min-width: 0;
    padding: 16px 24px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.mpb-heading {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.mpb-subheading {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: .95;
}

.mpb-year {
    display: flex;
    align-items: end;
    gap: 14px;
    color: #fff;
    line-height: 1;
}

.mpb-year__num {
    font-size: 4.4rem;
    font-weight: 800;
    line-height: .85;
}

.mpb-year__note {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.mpb-year__l1 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.05;
    white-space: nowrap;
}

.mpb-year__l2 {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.1;
    opacity: .95;
    white-space: nowrap;
}

.main-page-banner__buttons {
    gap: 12px 14px;
    padding: 16px 24px;
    box-sizing: border-box;
}

.main-page-banner__buttons--fill {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--mpb-cols, 4), minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.main-page-banner__buttons--floor {
    flex: 0 1 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    width: fit-content;
    min-width: 40%;
    max-width: 82%;
    margin-left: auto;
}

.mpb--btns-left .main-page-banner__buttons--floor {
    margin-left: 0;
    margin-right: auto;
}

.mpb--btns-center .main-page-banner__buttons--floor {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .mpb--head-right .main-page-banner__heading {
        order: 3;
        text-align: right;
    }

    .mpb--head-center .main-page-banner__heading {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .main-page-banner.mpb--stacked {
        flex-direction: column;
        justify-content: center;
    }

    .mpb--stacked .main-page-banner__heading {
        order: 1;
        margin: 0;
    }

    .mpb--stacked .main-page-banner__buttons {
        order: 2;
    }

    .mpb--stacked .main-page-banner__buttons--fill {
        width: 100%;
        flex: 0 0 auto;
    }

    .mpb--stacked.mpb--btns-left .main-page-banner__heading {
        align-self: flex-start;
        text-align: left;
    }

    .mpb--stacked.mpb--btns-center .main-page-banner__heading {
        align-self: center;
        text-align: center;
    }

    .mpb--stacked.mpb--btns-right .main-page-banner__heading {
        align-self: flex-end;
        text-align: right;
    }
}

@media (min-width: 576px) {
    .main-page-banner__buttons--floor:has(.mpb-btn:only-child) {
        width: 100%;
    }
}

@media (min-width: 687px) {
    .main-page-banner__buttons--floor:has(.mpb-btn:only-child) {
        width: 72%;
    }
}

@media (min-width: 992px) {
    .main-page-banner__buttons--floor:has(.mpb-btn:only-child) {
        width: 58%;
    }
}

@media (min-width: 1200px) {
    .main-page-banner__buttons--floor:has(.mpb-btn:only-child) {
        width: 50%;
    }
}

.mpb-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 72px;
    padding: 16.8px 24px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.32px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85),
    0 2px 12px rgba(255, 255, 255, .28),
    inset 0 1px 1px rgba(255, 255, 255, .35);
    transition: box-shadow .15s ease, transform .15s ease;
}

.main-page-banner__buttons--fill .mpb-btn {
    width: 100%;
}

.main-page-banner__buttons--fill .mpb-btn {
    font-size: 16px;
}

.main-page-banner__buttons--floor .mpb-btn {
    font-size: 19px;
    font-weight: 600;
}

.main-page-banner__buttons--floor .mpb-btn:only-child {
    font-size: 19px;
    font-weight: 500;
}

.main-page-banner__buttons--dense .mpb-btn {
    font-size: 12px;
    font-weight: 400;
    padding: 8.53px 15.09px;
    min-height: 47.23px;
    letter-spacing: 0;
}

.mpb-btn:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1.5px #fff,
    0 4px 18px rgba(255, 255, 255, .45),
    inset 0 1px 2px rgba(255, 255, 255, .5);
    color: #fff;
    text-decoration: none;
}

.mpb-btn--img {
    overflow: visible;
    background: none;
    box-shadow: none;
    padding-left: 34px;
    padding-right: 34px;
}

.mpb-btn--img:hover {
    box-shadow: none;
    filter: brightness(1.15);
}

.main-page-banner__buttons--dense .mpb-btn--img {
    padding-left: 22px;
    padding-right: 22px;
}

.mpb-btn--icon-right {
    padding-right: 78px;
}

.mpb-btn--icon-left {
    padding-left: 78px;
}


.mpb-btn__icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    height: calc(100% - 12px);
    aspect-ratio: 1;
    width: auto;
    object-fit: contain;
}

.mpb-btn--icon-right .mpb-btn__icon {
    right: 6px;
}

.mpb-btn--icon-left .mpb-btn__icon {
    left: 6px;
}

.mpb-btn__text {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 1199.98px) {
    .main-page-banner__buttons--fill {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .main-page-banner__buttons--floor {
        max-width: 88%;
    }

    .mpb-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .main-page-banner {
        min-height: 0;
        flex-wrap: wrap;
    }

    .main-page-banner__heading {
        width: 100%;
        flex-basis: 100%;
    }

    .main-page-banner__buttons {
        gap: 12px;
        padding: 14px 16px;
    }

    .main-page-banner__buttons--fill {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-page-banner__buttons--floor {
        max-width: 100%;
    }

    .mpb--head-center .main-page-banner__heading {
        text-align: center;
    }

    .mpb--head-right .main-page-banner__heading {
        text-align: right;
    }
}

.mpb-measure {
    position: absolute !important;
    visibility: hidden !important;
    left: -9999px !important;
    top: 0 !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
}

@media (max-width: 687.98px) {
    .main-page-banner {
        justify-content: center;
    }

    .main-page-banner .main-page-banner__heading {
        text-align: center;
        padding: 12px 16px 4px;
    }

    .mpb-heading {
        font-size: 1.9rem;
    }

    .mpb-year__num {
        font-size: 3.2rem;
    }

    .main-page-banner__buttons {
        justify-content: center;
        gap: 10px;
        padding: 12px;
    }

    .main-page-banner__buttons--fill {
        grid-template-columns: 1fr;
    }

    .main-page-banner__buttons--floor {
        grid-auto-flow: row;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .main-page-banner__buttons--floor .mpb-btn {
        font-size: 16px;
    }

    .main-page-banner__buttons--floor .mpb-btn:only-child {
        font-size: 17px;
    }

    .mpb-btn {
        width: 100%;
    }
}

/* End */
/* /local/templates/main/components/bitrix/news.list/main-page-banners/style.css?17854993607838 */
