

/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/main-about-slider/style.css?17908481351383*/
.stats__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.stats__slider {
    position: relative;
}

.stats__slider .stats__track-wrap,
.stats__slider .glide__track,
.stats__slider .glide__slides,
.stats__slider .stats__track {
    overflow: visible;
}

.stats__slider .stats__track {
    scroll-snap-type: none;
    scrollbar-width: auto;
    padding-bottom: 0;
}

.stats__slider .glide__slide {
    height: auto;
}

.stats__slider .glide__slides {
    align-items: stretch;
}

.stats__slider .stats-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0px;
    min-width: 0;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

.stats__slider .stats-card__top {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.stats__slider .stats-card__body {
    flex: 1 1 auto;
}

.stats__slider .stats-card__desc {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    margin: 6px 0 0 8px;
    line-height: 1.4;
}

@media (min-width: 621px) {
    .stats__slider .stats-card__desc {
        font-size: 18px;
    }
}

@media (max-width: 925px) {
    .stats__header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .stats__slider .stats__title {
        line-height: 1.15;
        white-space: normal;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/glide.core.min.css?1776556678843*/
.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows{-webkit-touch-callout:none;user-select:none}.glide__bullets{-webkit-touch-callout:none;user-select:none}.glide--rtl{direction:rtl}/*# sourceMappingURL=glide.core.min.css.map */

/* End */


/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/main-fundraisers/style.css?17908481365829*/
/* =========================================================
   Блок «Им нужна помощь»
   ========================================================= */

.fundraisers {
    padding-block: 48px 40px;
    background-color: #e20000;
    background-image: var(--fundraisers-bg);
    background-repeat: repeat;
    background-size: auto;
    overflow: hidden;
}

.fundraisers__title {
    font-size: 37px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 28px;
}

/* =========================================================
   Карточка сбора
   ========================================================= */

.fund-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(149.09deg, #fff 31.69%, #e8f3ff 100%);
    border-radius: 12px;
    overflow: hidden;
}

.fund-card__photo-link {
    display: block;
    flex-shrink: 0;
}

.fund-card__photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.fund-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    flex: 1;
}

.fund-card__name {
    font-size: 17px;
    font-weight: 800;
    color: #004283;
    text-decoration: underline;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fund-card__name:hover {
    color: #0055a9;
}

.fund-card__desc {
    line-height: 1.35;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fund-card__goal-total {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 2px;
}

/* Прогресс-бар */
.fund-card__progress {
    position: relative;
    height: 14px;
    border-radius: 8px;
    overflow: visible;
    margin-block: 2px 0;
}

.fund-card__progress-track {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

.fund-card__progress-badge {
    position: absolute;
    top: -3px;
    padding: 3px 6px;
    background: #e9e9e9;
    border-radius: 8px;
    box-shadow: 0 1.4px 0 #818181, 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    font-weight: 800;
    color: #585858;
    white-space: nowrap;
    line-height: 1;
}

/* Суммы */
.fund-card__amounts {
    font-size: 0;
    line-height: 0;
    color: #1a1a1a;
}

.fund-card__raised {
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
}

.fund-card__sep {
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
}

.fund-card__goal {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* Кнопка «Хочу помочь» */
.fund-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 18px 10px 26px;
    background: #e20000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    transition: background-color 0.2s ease;
    width: 100%;
}

.fund-card__btn:hover {
    background-color: #c00000;
}

/* =========================================================
   Футер блока: «Все сборы» + стрелки
   ========================================================= */

.fundraisers__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}

.fundraisers__all-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 22px;
    border: 2px solid #ffb1b1;
    border-radius: 6px;
    color: #ffb1b1;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fundraisers__all-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.fundraisers__nav {
    display: flex;
    gap: 16px;
}

.fundraisers__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #ffb1b1;
    border-radius: 6px;
    color: #ffb1b1;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fundraisers__nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

/* GlideJS: выравнивание слайдов по высоте */
.fundraisers .glide__slide {
    height: auto;
}

.fundraisers .glide__slides {
    align-items: stretch;
}

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 925px) {
    .fundraisers {
        padding-block: 40px;
        padding-bottom: 39px;
    }
    .fundraisers__title {
        font-size: 40px;
        line-height: 37px;
        margin-bottom: 35px;
    }
    /* Высота карточки — контентная: имя/описание дают переменную высоту,
       кнопка прижимается к низу через margin-top:auto. Раньше жёсткие
       408px обрезали кнопку на карточках с длинным текстом (overflow +26). */
    .fundraisers__footer {
        margin-top: 30px;
    }
}

@media (max-width: 620px) {
    .fundraisers {
        padding-bottom: 38px;
    }
    .fundraisers__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
    }
    .fund-card__btn {
        font-size: 16px;
    }
    .fundraisers__footer {
        margin-top: 20px;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/units/style.css?17908481404685*/
/* =========================================================
   Отделения
   ========================================================= */

.units {
    background: #fff;
    padding-block: 40px;
}

.units__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 30px;
}

.units__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Карточка */
.unit {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: linear-gradient(172.6deg, #fff 40.7%, #f0f8ff 100%);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    min-height: 145px;
}

.unit__top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Синий квадрат с иконкой */
.unit__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unit__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.unit__address {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 20px;
}

/* Контакты */
.unit__contacts {
    display: flex;
    flex-direction: column;
    padding-left: 2px;
}

.unit__contact {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.unit__contact-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.3;
}

.unit__contact-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: underline;
    line-height: 14px;
    transition: color var(--transition);
}

.unit__contact-link:hover {
    color: var(--color-primary);
}

/* Адаптив */
@media (max-width: 1240px) {
    .units__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 621px) and (max-width: 925px) {
    .units {
        padding-block: 0;
    }
    .units__title {
        font-size: 40px;
        line-height: 37px;
        margin-bottom: 35px;
    }
    .units__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 295px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .units__grid::-webkit-scrollbar {
        display: none;
    }
    .unit {
        /* Высота контентная: адрес инфоблока даёт 2-3 строки, жёсткие 145px
           обрезали контакты на длинных адресах (overflow +13). min-height
           держит компактность коротких карточек. */
        min-height: 145px;
        scroll-snap-align: start;
    }
}

@media (max-width: 925px) {
    .unit {
        gap: 13px;
    }
    .unit__address {
        font-size: 18px;
        line-height: 18px;
        text-wrap: balance;
    }
    .unit__contact {
        gap: 0;
    }
    .unit__contact-label,
    .unit__contact-link {
        line-height: 1;
    }
}

@media (max-width: 620px) {
    /* По макету Figma (mobile, node «Карточки отделений»):
       stackMode=HORIZONTAL, stackSpacing=20, карточки по 295px в ряд →
       горизонтальная прокрутка с peek следующей карточки. */
    .units__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 295px;
        column-gap: 20px;
        overflow-x: auto;
        /* Нативный горизонтальный свайп без блокировки прокрутки страницы. */
        overflow-y: hidden;
        touch-action: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0 64px 0 0;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
    }
    .units__grid::-webkit-scrollbar {
        display: none;
    }
    .unit {
        /* По макету Figma: 145px. min-height (не фикс.) — реальные адреса
           инфоблока длиннее макетных, жёсткая высота обрезала бы контакты. */
        min-height: 145px;
        scroll-snap-align: start;
    }
    .units__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/main-news/style.css?17908481374050*/
/* =========================================================
   Последние новости
   ========================================================= */

.news {
    padding-block: 40px;
    background-color: #fff;
    background-image: url("/local/templates/goodness-pantry-v2/components/bitrix/news.list/main-news/../../../../images/violet-zigzag-tile.svg");
    background-repeat: repeat;
    background-size: auto;
}

.news__title {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news__slides {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-card {
    background: linear-gradient(167deg, #fff 40.7%, #f0f8ff 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
}

.news .glide__slide {
    display: flex;
    height: auto;
}

.news .glide__slides {
    align-items: stretch;
    padding-bottom: 12px;
}

.news-card__img-link {
    display: block;
    height: 200px;
    flex-shrink: 0;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.news-card__body {
    padding: 12px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.news-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.news-card__title {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 800;
    text-decoration: underline;
    line-height: 1.2;
    flex: 1;
}

.news-card__title:hover {
    color: var(--color-primary-dark);
}

.news-card__tag {
    color: #707070;
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

.news-card__excerpt {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.35;
}

.news-card__date {
    font-size: 14px;
    font-weight: 400;
    color: #707070;
    display: block;
    margin-top: auto;
    padding-top: 4px;
}

.news__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.news__all-btn {
    border: 2px solid var(--color-muted-btn);
    border-radius: 6px;
    padding: 6px 22px;
    color: var(--color-muted-btn);
    font-size: 18px;
    font-weight: 700;
    transition: border-color var(--transition), color var(--transition);
}

.news__all-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.news__nav {
    display: flex;
    gap: 16px;
}

.news__nav-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--color-muted-btn);
    border-radius: 6px;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted-btn);
    transition: border-color var(--transition), color var(--transition);
}

.news__nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 925px) {
    .news {
        padding-block: 40px;
        padding-bottom: 38px;
    }
    .news__title {
        font-size: 40px;
        line-height: 37px;
        margin-bottom: 35px;
    }
    /* Высота карточки — контентная: excerpt (TruncateText 130) даёт 2-4 строки,
       дата прижимается к низу через margin-top:auto. Раньше жёсткие 338px
       обрезали дату на карточках с длинным текстом (overflow до +28). */
    .news__footer {
        margin-top: 26px;
    }
}

@media (max-width: 620px) {
    .news {
        padding-top: 50px;
        padding-bottom: 38px;
    }
    .news__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
    }
    .news__footer {
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .news__title {
        line-height: 27px;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/main-partners/style.css?17878629883643*/
/* =========================================================
   Партнёры
   ========================================================= */

.partners {
    padding-block: 50px 130px;
    
}

.partners__title {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 10px;
    color: inherit;
}

a.partner-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

a.partner-card:hover .partner-card__name {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.partners .glide__slide {
    padding: 8px 10px 12px;
}

.partner-card__logo-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.partner-card__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.partner-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.partners__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.partners__all-btn {
    border: 2px solid var(--color-muted-btn);
    border-radius: 6px;
    padding: 6px 22px;
    color: #707070;
    font-size: 18px;
    font-weight: 700;
    transition: border-color var(--transition), color var(--transition);
}

.partners__all-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.partners__nav {
    display: flex;
    gap: 16px;
}

.partners__nav-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--color-muted-btn);
    border-radius: 6px;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted-btn);
    transition: border-color var(--transition), color var(--transition);
}

.partners__nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 1240px) {
    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 925px) {
    .partners {
        margin-top: 50px;
        margin-bottom: 32px;
        padding-block: 0;
    }
    .partners__title {
        font-size: 40px;
        line-height: 37px;
        margin-bottom: 35px;
    }
    .partners .glide__slide {
        padding: 0;
    }
    /* Высота карточки — контентная: лого 150 + имя (1-4 строки). В макете
       Figma высота варьируется (185-223), жёсткие 223 обрезали 3-строчные
       названия партнёров (overflow до +5). */
    .partner-card {
        min-height: 185px;
    }
    .partners__footer {
        margin-top: 26px;
    }
}

@media (max-width: 620px) {
    .partners {
        margin-top: 0;
        margin-bottom: 0;
    }
    .partners__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
    }
    .partners__footer {
        margin-top: 20px;
    }
}

/* End */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/main-about-slider/style.css?17908481351383 */
/* /local/templates/goodness-pantry-v2/css/glide.core.min.css?1776556678843 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/main-fundraisers/style.css?17908481365829 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/units/style.css?17908481404685 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/main-news/style.css?17908481374050 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/main-partners/style.css?17878629883643 */
