

/* 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/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 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/main-fundraisers/style.css?17908481365829 */
/* /local/templates/goodness-pantry-v2/css/glide.core.min.css?1776556678843 */
