

/* Start:/local/templates/red-gray/components/bitrix/news.list/page_charity/style.css?17734179863477*/
.charity {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    margin-top: -20px;
}

.charity__promo {
    position: relative;
    overflow: hidden;
}

.charity__promo h1 {

}

.charity__promo_back {
    opacity: 50%;
    pointer-events: none;
    transform: translateX(10%) scale(0.77);
}

.charity__promo_front {
    max-width: 75%;
    width: 100%;
    display: block;
    position: absolute;
    bottom: calc(0px + (116 - 0) * ((100vw - 320px) / (1920 - 320)));
    left: 10%;
}



.charity__container {
}

.charity__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 0;
}

.charity__head h2.charity__title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 20px;
}

.charity__head h3.charity__subtitle {
    font-size: 32px;
    font-weight: 400;
}

.charity__list {
    display: flex;
    flex-direction: column;
}

.charity__item {
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: 80px;
}

.charity__image {
    overflow: hidden;
    aspect-ratio: auto 640 / 469;
    max-height: 460px;
    object-fit: contain;
    width: 100%;
    border-radius: 5rem;
    corner-shape: squircle;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 10px;
}

.charity__body {
    min-height: 240px;
    max-height: 240px;
    background-color: #fff;
    max-width: 544px;
    width: 100%;
    padding: calc(24px + (32 - 24) * ((100vw - 320px) / (1920 - 320)));
    box-shadow: 0px 16px 40px rgba(12, 29, 88, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    border-radius: 5rem;
    corner-shape: squircle;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 10px;
}


.charity__body h2.charity__title {
    font-size: calc(22px + (30 - 22) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 500;
    margin-bottom: 20px;
}

.charity__url {

}

.charity__text {

}

.charity__buttons a {
    white-space: nowrap;
}

@media (min-width: 320px) {
    .charity__buttons {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
}

@media (min-width: 769px) {
    .charity__item._reverse-grid {
        flex-direction: row-reverse;
    }

    .charity__body {
        transform: translateX(65px);
    }

    .charity__item._reverse-grid .charity__body {
        transform: translateX(-65px);
    }

    .charity__buttons {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .charity__promo h1 {
        top: calc(10px + (60 - 10) * ((100vw - 320px) / (768 - 320)));
    }

    .charity__item {
        flex-direction: column-reverse;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .charity__image {
        border-radius: 16px 16px 0 0;
    }

    .charity__body {
        border-radius: 0 0 16px 16px;
        min-height: unset;
    }

    .charity__item {
        margin-bottom: 40px;
    }

    .charity__head {
        padding-top: 0;
        padding-bottom: calc(40px + (80 - 40) * ((100vw - 320px) / (768 - 320)));
    }

    .charity__head h2.charity__title {
        margin-bottom: 0;
        text-align: center;
        font-size: calc(36px + (48 - 36) * ((100vw - 320px) / (768 - 320)));
    }
}


/* End */
/* /local/templates/red-gray/components/bitrix/news.list/page_charity/style.css?17734179863477 */
