

/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news/programs/bitrix/news.detail/program-detail/style.css?17908481456876*/
/* =========================================================
   Детальная страница благотворительной программы
   ========================================================= */

.program-detail__title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 40px;
    max-width: 88%;
}

/* =========================================================
   Герой-блок: лид-текст слева + фото справа с градиентом
   ========================================================= */

.program-detail__hero {
    display: grid;
    grid-template-columns: 1fr 55%;
    min-height: 450px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.program-detail__hero-text {
    padding-right: 32px;
    z-index: 2;
}

.program-detail__lead {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    line-height: 30px;
}

.program-detail__hero-media {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.program-detail__hero--media-only {
    grid-template-columns: minmax(0, 1fr);
}

.program-detail__hero--media-only .program-detail__hero-media {
    width: min(100%, 720px);
    justify-self: center;
}

.program-detail__hero:not(.program-detail__hero--media-only) .program-detail__hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.12) 22%,
        rgba(255, 255, 255, 0) 45%
    );
}

.program-detail__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   Основной текст
   ========================================================= */

.program-detail__content {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: #222;
}

.program-detail__content p {
    font: inherit;
    color: inherit;
    margin-bottom: 24px;
}

.program-detail__content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   Фотогалерея 2×
   ========================================================= */

.program-detail__gallery {
    margin-bottom: 40px;
    align-items: stretch;
}

.program-detail__gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    display: block;
}

/* =========================================================
   Благодарственная цитата
   ========================================================= */

.program-detail__gratitude {
    font-size: 28px;
    font-weight: 800;
    color: #004283;
    line-height: 32px;
    margin-bottom: 28px;
}

/* =========================================================
   Кнопки
   ========================================================= */

.program-detail__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 372px));
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1164px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
}

.program-detail__news .news {
    padding-top: 0;
    background: none;
}

.program-detail__news .news > .container {
    max-width: none;
    padding-inline: 0;
}

.program-detail__pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 26px;
    background: #004283;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 1px 0 #003060, 0 2px 4px #0055a9;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition);
}

.program-detail__pdf-btn:hover {
    background: #003060;
}

.program-detail__support-btn,
.program-detail__back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    gap: 8px;
    padding: 10px 18px 10px 26px;
    background: #e20000;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition);
}

.program-detail__support-btn:hover,
.program-detail__back-btn:hover {
    background: var(--color-accent-dark);
}

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

@media (max-width: 1100px) {
    .program-detail__hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .program-detail__hero-text {
        padding: 0 0 20px;
        order: 1;
    }

    .program-detail__hero-media {
        height: 320px;
        order: 2;
    }

    .program-detail__hero:not(.program-detail__hero--media-only) .program-detail__hero-media::before {
        display: none;
    }
}

@media (max-width: 925px) {
    .program-detail__title   { font-size: 36px; }
    .program-detail__lead    { font-size: 20px; line-height: 28px; }
    .program-detail__gratitude { font-size: 22px; }
    .program-detail__content { font-size: 18px; line-height: 26px; }
    .program-detail__actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .program-detail__pdf-btn,
    .program-detail__support-btn,
    .program-detail__back-btn {
        width: 100%;
        height: 44px;
        justify-content: center;
        padding: 0 18px;
        line-height: 22px;
    }
}

@media (max-width: 620px) {
    .program-detail__title {
        max-width: 100%;
        margin-bottom: 40px;
        font-size: 26px;
        line-height: 32px;
    }
    .program-detail__hero {
        margin-bottom: 20px;
    }
    .program-detail__lead {
        font-size: 18px;
        line-height: 25px;
    }
    .program-detail__hero-media {
        order: 2;
        height: 250px;
    }
    .program-detail__content {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 24px;
    }
    .program-detail__content p {
        margin-bottom: 20px;
    }
    .program-detail__gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
    .program-detail__gallery-img {
        height: 320px;
    }
    .program-detail__gratitude {
        margin-bottom: 30px;
        font-size: 20px;
        line-height: 24px;
    }
}

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