/* /help/im-nuzhna-pomosch/ — чистый CSS без дублей */

@import url("../fonts/google-sans/font.css");
@import url("../fonts/life/fontslife3.css?v=4.005_lifefull");

:root {
    --help-need-white: #FFFFFF;
    --help-need-black: #343333;
    --help-need-gray: #5F5E5E;
    --help-need-bg: #FFFFFF;
    --help-need-green: #3EA74F;
    --help-need-green-soft: #97CA94;
    --help-need-orange: #EE7B2D;
    --help-need-orange-hover: #FF8F41;
    --help-need-font-main: "Google Sans", Arial, sans-serif;
    --help-need-font-life: "life", "Life", "Google Sans", Arial, sans-serif;
}

/* ========================================================================
   База страницы
   ======================================================================== */

body .wrapper > .breadcrumbs,
body .wrapper > .breadcrumbs__wrapper,
body .wrapper .breadcrumbs:not(.help-hero__breadcrumbs),
body .wrapper .breadcrumbs__wrapper,
.help-need-page.wrapper > .breadcrumbs,
.help-need-page.wrapper > .breadcrumbs__wrapper,
.help-need-page .wrapper > .breadcrumbs,
.help-need-page .wrapper > .breadcrumbs__wrapper,
.help-need-page .breadcrumbs:not(.help-hero__breadcrumbs),
.help-need-page .breadcrumbs__wrapper {
    display: none !important;
}

.help-need-page,
.help-need-page *,
.help-need-page input,
.help-need-page button,
.help-need-page textarea,
.help-need-page select {
    box-sizing: border-box;
    font-family: var(--help-need-font-main);
}

.help-need-page {
    overflow-x: hidden;
    background: var(--help-need-bg);
    color: var(--help-need-black);
}

.help-need-page .wrapper,
.help-need-page .help-needed,
.help-need-page .help-needed__content,
.help-need-page .section--second.section--second_margin {
    background: var(--help-need-bg) !important;
}

.help-need-page a,
.help-need-page button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.help-need-page button {
    cursor: pointer;
}

.help-need-page img,
.help-need-page svg {
    display: block;
    max-width: 100%;
}

/* ========================================================================
   Первый экран
   ======================================================================== */

.help-hero {
    position: relative;
    overflow: hidden;
    background: var(--help-need-green);
    color: var(--help-need-white);
}

.help-hero__inner {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Локальные крошки скрыты — остаются глобальные .mv-bc--hero из header */
.help-hero__breadcrumbs,
nav.help-hero__breadcrumbs.mv-bc-x {
    display: none !important;
}

.help-hero__breadcrumbs a,
.help-hero__breadcrumbs span {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    line-height: 110%;
    font-weight: 400;
    text-decoration: none;
}

.help-hero__breadcrumbs a:hover,
.help-hero__breadcrumbs a:focus-visible {
    color: var(--help-need-white);
    outline: none;
}

.help-hero__breadcrumbs span:last-child {
    color: var(--help-need-white);
    opacity: 1;
}

/* Был SVG-заголовок (help-hero-title.svg) как background-image.
 * Теперь рисуем обычным текстом шрифтом life4. */
.help-hero__title {
    position: absolute;
    left: 50%;
    z-index: 2;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform: translateX(-50%);

    --help-hero-title-font-size: 72px;
    --help-hero-title-padding-top: 16px;
    padding-top: var(--help-hero-title-padding-top);
}

.help-hero__title-img {
    display: none !important;
}

.help-hero__title-text {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    display: block !important;
    white-space: normal !important;
    border: 0 !important;
    text-align: center !important;

    font-family: "life4", "Life4", "life", "Life", "Google Sans", Arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    font-size: var(--help-hero-title-font-size) !important;
    text-transform: uppercase !important;
    color: var(--help-need-white) !important;
}

.help-hero__title-line {
    display: block !important;
    white-space: nowrap !important;
}

.help-hero__subtitle {
    position: absolute;
    left: 50%;
    z-index: 3;
    margin: 0;
    color: var(--help-need-white);
    font-weight: 400;
    text-align: center;
    transform: translateX(-50%);
}

.help-hero__decor {
    position: absolute;
    z-index: 1;
    display: block;
    height: auto;
    pointer-events: none;
}

/* ========================================================================
   Секции сборов
   ======================================================================== */

.help-need-page .section--second.section--second_margin {
    position: relative;
    z-index: 2;
    border-radius: 10px 10px 0 0;
}

.help-need-page .section--second .content {
    margin: 0 auto !important;
    padding: 0 !important;
}

.help-funds-head,
.help-programs,
.help-actions {
    background: transparent;
}

.help-funds-head__inner,
.help-programs__inner,
.help-actions__inner {
    margin: 0 auto;
}

.help-funds-head__title,
.help-programs__title,
.help-actions__title {
    color: var(--help-need-black);
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.help-funds-head__switch,
.help-programs__switch,
.help-actions__switch,
.help-need-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid var(--help-need-green-soft);
    border-radius: 100px;
    background: var(--help-need-white);
}

.help-funds-head__switch-link,
.help-programs__switch-link,
.help-actions__switch-link,
.help-need-tabs__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: var(--help-need-green);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.help-funds-head__switch-link.active,
.help-programs__switch-link.active,
.help-actions__switch-link.active,
.help-funds-head__switch-link:hover,
.help-programs__switch-link:hover,
.help-actions__switch-link:hover,
.help-need-tabs__button.is-active,
.help-need-tabs__button:hover,
.help-need-tabs__button:focus-visible {
    background: var(--help-need-green);
    color: var(--help-need-white);
    text-decoration: none;
    outline: none;
}

.help-need-panel {
    display: none;
}

.help-need-panel.is-active {
    display: block;
}

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

.help-fund-cards {
    width: 100%;
}

.help-fund-cards__grid {
    display: grid;
}

.help-programs .help-fund-cards__grid,
.help-actions .help-fund-cards__grid {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Карточки сборов — как на главной (wards_new), без scale фото */
.help-fund-card {
    position: relative;
    display: block;
    overflow: visible;
    border-radius: 16px;
    background: #e5e5e5;
    color: var(--help-need-white);
    text-decoration: none;
    box-shadow: none;
}

.help-fund-card:hover,
.help-fund-card:focus-visible {
    z-index: 5;
    color: var(--help-need-white);
    text-decoration: none;
    outline: none;
}

.help-fund-card__photo-wrap {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.help-fund-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-fund-card__info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 178px;
    min-height: 178px;
    padding: 19px 19px 15px;
    border-radius: 12px;
    background: #3EA74F;
    overflow: visible;
    transition:
        left .7s ease-in-out,
        right .7s ease-in-out,
        bottom .7s ease-in-out,
        height .7s ease-in-out,
        min-height .7s ease-in-out,
        padding .7s ease-in-out,
        border-radius .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__info {
    background: #FFE74F;
    color: #343333;
}

/* Программные сборы — голубой фон панели (не зелёный как у детских) */
.help-programs .help-fund-card:not(.help-fund-card--closed) .help-fund-card__info {
    background: #61CAFB;
}

.help-programs .help-fund-card:not(.help-fund-card--closed) .help-fund-card__progress-line {
    background: #8FD8FC;
}

.help-fund-card__status {
    position: absolute;
    top: -10px;
    right: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 29px;
    min-height: 29px;
    padding: 0 10px;
    border-radius: 15px;
    background: #fff;
    color: #535353;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 600;
    white-space: nowrap;
    transition:
        top .7s ease-in-out,
        right .7s ease-in-out,
        height .7s ease-in-out,
        min-height .7s ease-in-out,
        padding .7s ease-in-out,
        border-radius .7s ease-in-out,
        font-size .7s ease-in-out;
}

.help-fund-card__head {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.help-fund-card__name {
    display: block;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: font-size .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__name {
    color: #343333;
}

.help-fund-card__collect {
    display: block;
    overflow: hidden;
    margin: 10px 0 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: margin-top .7s ease-in-out, font-size .7s ease-in-out;
}

.help-fund-card:not(.help-fund-card--child) .help-fund-card__collect {
    margin-top: 0;
    font-size: 24px;
    line-height: 0.9;
    font-weight: 500;
    text-transform: uppercase;
}

.help-fund-card--closed .help-fund-card__collect {
    color: #343333;
}

.help-fund-card__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.help-fund-card__progress {
    display: block;
    margin: 0;
    transition: margin-top .7s ease-in-out;
}

.help-fund-card__progress-line {
    display: block;
    width: 100%;
    height: 11px;
    overflow: hidden;
    border-radius: 20px;
    background: #73C580;
    transition: height .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__progress-line {
    background: rgba(52, 51, 51, .2);
}

.help-fund-card__progress-line span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #FFE74F;
    transition: height .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__progress-line span {
    background: #3EA74F;
}

.help-fund-card__money {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 6px;
    margin: 11px 0 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 600;
    white-space: nowrap;
    transition: margin-top .7s ease-in-out, font-size .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__money {
    color: #343333;
}

.help-fund-card__collected {
    display: inline-flex;
    align-items: center;
    flex: auto;
}

.help-fund-card__goal {
    flex: 0 0 auto;
    opacity: 0.6;
}

.help-fund-card__sum::after {
    content: " \20BD";
}

.help-fund-card__ruble {
    display: none;
}

.help-fund-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
    height: 29px;
    margin-top: 0;
    padding: 0 16px;
    border: 2px solid #fff;
    border-radius: 40px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: none;
    white-space: nowrap;
    transition:
        min-width .7s ease-in-out,
        height .7s ease-in-out,
        margin-top .7s ease-in-out,
        padding .7s ease-in-out,
        border-width .7s ease-in-out,
        border-radius .7s ease-in-out,
        font-size .7s ease-in-out;
}

.help-fund-card--closed .help-fund-card__button {
    border-color: #3EA74F;
    background: #3EA74F;
    color: #fff;
}

.help-fund-card__button:hover,
.help-fund-card__button:focus-visible {
    color: #fff;
}

.help-fund-cards__pagination {
    text-align: center;
}

.help-fund-cards__mobile-nav {
    display: none;
}

.help-need-page .pagination,
.help-need-page .pager,
.help-need-page .nav-pages {
    margin: 0 auto;
    text-align: center;
}

/* ========================================================================
   Desktop 1440 / 1920
   ======================================================================== */

@media (min-width: 992px) {
    .help-hero {
        height: 560px;
        min-height: 560px;
        max-height: 560px;
        margin-bottom: 0;
    }

    .help-hero__inner {
        max-width: 1440px;
        height: 560px;
        min-height: 560px;
        padding: 0;
        container-type: inline-size;
    }

    .help-hero__title {
        top: 48px;
        width: calc(1400 / 1440 * 100%);
        max-width: calc(100% - 40px);
        height: auto;
        --help-hero-title-font-size: clamp(72px, calc(160 / 1440 * 100cqi), 160px);
        --help-hero-title-padding-top: 0;
    }

    .help-hero__title-text {
        transform: none;
        line-height: 1.05 !important;
        letter-spacing: -0.04em !important;
    }

    .help-hero__subtitle {
        top: 420px;
        width: 690px;
        max-width: calc(100% - 80px);
        min-height: 80px;
        font-size: 20px;
        line-height: 100%;
    }

    .help-hero__decor--house {
        left: calc(80 / 1440 * 100%);
        right: auto;
        top: auto;
        bottom: 24px;
        width: calc(220 / 1440 * 100%);
        height: auto;
    }

    .help-hero__decor--train {
        left: auto;
        right: calc(80 / 1440 * 100%);
        top: auto;
        bottom: 24px;
        width: calc(240 / 1440 * 100%);
        height: auto;
    }

    .help-hero ~ .section.section--second.section--second_margin,
    .help-need-page .section--second.section--second_margin {
        margin-top: 0 !important;
        padding: 40px 0 0 !important;
    }

    .help-need-page .section--second .content {
        width: calc(100% - 40px) !important;
        max-width: 1400px !important;
    }

    .help-funds-head__inner,
    .help-programs__inner,
    .help-actions__inner {
        max-width: 1437px;
    }

    .help-funds-head__title,
    .help-programs__title,
    .help-actions__title {
        margin: 0 0 34px;
        font-size: 54px;
        line-height: 102%;
    }

    .help-funds-head__switch,
    .help-programs__switch,
    .help-actions__switch,
    .help-need-tabs {
        min-height: 52px;
        margin: 0 auto 28px;
        padding: 7px;
        gap: 8px;
    }

    .help-funds-head__switch-link,
    .help-programs__switch-link,
    .help-actions__switch-link,
    .help-need-tabs__button {
        min-width: 120px;
        height: 40px;
        padding: 8px 20px;
        font-size: 14px;
        line-height: 110%;
    }

    .help-funds-head__switch-link.active,
    .help-programs__switch-link.active,
    .help-actions__switch-link.active,
    .help-need-tabs__button.is-active {
        font-weight: 800;
    }

    .help-fund-cards__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 24px 0 24px;
        overflow: visible;
        justify-content: stretch;
    }

    .help-programs,
    .help-actions {
        padding-top: 56px;
    }

    .help-actions {
        padding-bottom: 64px;
    }

    .help-programs .help-fund-cards__grid,
    .help-actions .help-fund-cards__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1400px;
        justify-content: stretch;
    }

    .help-fund-card {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 344 / 401;
        border-radius: 14px;
    }

    .help-fund-card__info {
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 44%;
        min-height: 0;
        padding: 16px 16px 12px;
        gap: 0;
        border-radius: 10px;
    }

    /* Hover: отъезд вниз + расширение по ширине (высоту не трогаем) */
    .help-fund-card:hover .help-fund-card__info,
    .help-fund-card:focus-visible .help-fund-card__info {
        left: 4px;
        right: 4px;
        bottom: -8px;
    }

    .help-fund-card:hover .help-fund-card__status,
    .help-fund-card:focus-visible .help-fund-card__status {
        top: -12px;
        right: 10px;
    }

    .help-fund-card__status {
        top: -8px;
        right: 6px;
        height: 26px;
        min-height: 26px;
        padding: 0 9px;
        font-size: 14px;
    }

    .help-fund-card__name,
    .help-fund-card--child .help-fund-card__name {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__collect {
        font-size: 15px;
        line-height: 1.1;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .help-fund-card:not(.help-fund-card--child) .help-fund-card__collect {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__progress-line {
        height: 9px;
    }

    .help-fund-card__money {
        font-size: 12px;
        line-height: 1.1;
    }

    .help-fund-card__button {
        display: inline-flex;
        width: auto;
        min-width: 100px;
        height: 26px;
        margin-top: 0;
        padding: 0 14px;
        font-size: 14px;
    }

    .help-fund-cards__pagination {
        margin: 24px 0 0;
    }

    .help-fund-cards__pagination:not(:has(*)) {
        display: none;
        margin: 0;
    }
}

/* ========================================================================
   Desktop 1024
   ======================================================================== */

/* DISABLED 1024–1199: laptop fluid — help-need-laptop-2026.css */
@media (min-width: 0px) and (max-width: 0px) {
    .help-hero {
        height: 480px;
        min-height: 480px;
        max-height: 480px;
    }

    .help-hero__inner {
        max-width: 1024px;
        height: 480px;
        min-height: 480px;
        padding: 22px 16px 0;
    }

    .help-hero__title {
        top: 110px;
        width: 564px;
        max-width: calc(100% - 40px);
        height: 188px;
        --help-hero-title-font-size: 125px;
        --help-hero-title-padding-top: 28px;
    }

    .help-hero__subtitle {
        top: 340px;
        width: 498px;
        max-width: calc(100% - 40px);
        min-height: 64px;
        font-size: 16px;
        line-height: 100%;
    }

    .help-hero__decor--house {
        left: 20px;
        bottom: 0;
        width: 180px;
    }

    .help-hero__decor--train {
        right: 20px;
        bottom: 0;
        width: 200px;
    }

    .help-need-page .section--second.section--second_margin {
        margin-top: 0 !important;
        padding: 96px 0 0 !important;
    }

    .help-need-page .section--second .content {
        width: calc(100% - 20px) !important;
        max-width: 1004px !important;
    }

    .help-funds-head__inner,
    .help-programs__inner,
    .help-actions__inner {
        max-width: 1004px;
    }

    .help-funds-head__title,
    .help-programs__title,
    .help-actions__title {
        margin: 0 0 28px;
        font-size: 42px;
        line-height: 102%;
    }

    .help-funds-head__switch,
    .help-programs__switch,
    .help-actions__switch,
    .help-need-tabs {
        min-height: 38px;
        margin: 0 auto 40px;
        padding: 4px;
        gap: 2px;
    }

    .help-funds-head__switch-link,
    .help-programs__switch-link,
    .help-actions__switch-link,
    .help-need-tabs__button {
        min-width: 110px;
        height: 30px;
        padding: 0 20px;
        font-size: 13px;
        line-height: 110%;
    }

    .help-fund-cards__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 325px));
        gap: 14px;
        max-width: 1004px;
        margin: 0 auto;
        justify-content: center;
    }

    .help-programs,
    .help-actions {
        padding-top: 96px;
    }

    .help-actions {
        padding-bottom: 96px;
    }

    .help-programs .help-fund-cards__grid,
    .help-actions .help-fund-cards__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 325px));
        max-width: 1004px;
        justify-content: center;
    }

    .help-fund-card {
        height: 360px;
        min-height: 360px;
        border-radius: 12px;
    }

    .help-fund-card:hover,
    .help-fund-card:focus-visible {
        transform: none;
    }

    .help-fund-card__info {
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 168px;
        min-height: 168px;
        padding: 16px 16px 12px;
        border-radius: 10px;
    }

    .help-fund-card__status {
        top: -8px;
        right: 6px;
        height: 24px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 13px;
    }

    .help-fund-card__name,
    .help-fund-card--child .help-fund-card__name {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__collect {
        font-size: 15px;
        line-height: 1.1;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .help-fund-card:not(.help-fund-card--child) .help-fund-card__collect {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__progress-line {
        height: 9px;
    }

    .help-fund-card__money {
        font-size: 13px;
        line-height: 1.1;
    }

    .help-fund-card__button {
        display: inline-flex;
        width: auto;
        min-width: 110px;
        height: 28px;
        margin-top: 10px;
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .help-hero {
        height: 460px;
        min-height: 460px;
        max-height: 460px;
    }

    .help-hero__inner {
        max-width: 768px;
        height: 460px;
        min-height: 460px;
        padding: 22px 16px 0;
    }

    .help-hero__title {
        top: 120px;
        width: 487px;
        max-width: calc(100% - 20px);
        height: 162px;
        --help-hero-title-font-size: 110px;
        --help-hero-title-padding-top: 24px;
    }

    .help-hero__subtitle {
        top: 316px;
        width: 412px;
        max-width: calc(100% - 40px);
        min-height: 64px;
        font-size: 16px;
        line-height: 100%;
    }

    .help-hero__decor--house {
        left: 10px;
        bottom: 0;
        width: 160px;
    }

    .help-hero__decor--train {
        right: 10px;
        bottom: 0;
        width: 180px;
    }

    .help-need-page .section--second.section--second_margin {
        margin-top: 0 !important;
        padding: 96px 0 0 !important;
    }

    .help-need-page .section--second .content {
        width: calc(100% - 20px) !important;
        max-width: 748px !important;
    }

    .help-funds-head__inner,
    .help-programs__inner,
    .help-actions__inner {
        max-width: 748px;
    }

    .help-funds-head__title,
    .help-programs__title,
    .help-actions__title {
        margin: 0 0 28px;
        font-size: 42px;
        line-height: 102%;
    }

    .help-funds-head__switch,
    .help-programs__switch,
    .help-actions__switch,
    .help-need-tabs {
        min-height: 38px;
        margin: 0 auto 40px;
        padding: 4px;
        gap: 2px;
    }

    .help-funds-head__switch-link,
    .help-programs__switch-link,
    .help-actions__switch-link,
    .help-need-tabs__button {
        min-width: 110px;
        height: 30px;
        padding: 0 20px;
        font-size: 13px;
        line-height: 110%;
    }

    .help-fund-cards__grid,
    .help-programs .help-fund-cards__grid,
    .help-actions .help-fund-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        max-width: 748px;
        margin: 0 auto;
        padding: 0;
        overflow: visible;
    }

    .help-programs,
    .help-actions {
        padding-top: 96px;
    }

    .help-actions {
        padding-bottom: 96px;
    }

    .help-fund-card {
        height: 360px;
        min-height: 360px;
        border-radius: 12px;
    }

    .help-fund-card:hover,
    .help-fund-card:focus-visible {
        transform: none;
    }

    .help-fund-card__info {
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 168px;
        min-height: 168px;
        padding: 16px 16px 12px;
        border-radius: 10px;
    }

    .help-fund-card__status {
        top: -8px;
        right: 6px;
        height: 24px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 13px;
    }

    .help-fund-card__name,
    .help-fund-card--child .help-fund-card__name {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__collect {
        font-size: 15px;
        line-height: 1.1;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .help-fund-card:not(.help-fund-card--child) .help-fund-card__collect {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__progress-line {
        height: 9px;
    }

    .help-fund-card__money {
        font-size: 13px;
        line-height: 1.1;
    }

    .help-fund-card__button {
        display: inline-flex;
        width: auto;
        min-width: 110px;
        height: 28px;
        margin-top: 10px;
        padding: 0 14px;
        font-size: 14px;
    }
}


/* ========================================================================
   ≤991: тот же светлый hero, что на десктопе (page-hero-2026)
   ======================================================================== */

@media (max-width: 991px) {
    .help-hero {
        position: relative;
        overflow: visible !important;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-bottom: 0 !important;
        background: transparent !important;
        color: #343333;
        isolation: isolate;
    }

    .help-hero::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -160px;
        z-index: 0;
        width: 100vw;
        height: calc(100% + 160px);
        transform: translateX(-50%);
        background: linear-gradient(180deg, #E2FFE7 0%, #FFFFFF 100%);
        pointer-events: none;
    }

    .help-hero > * {
        position: relative;
        z-index: 1;
    }

    .help-hero__inner {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        padding: 56px 24px 40px;
        box-sizing: border-box;
    }

    .help-hero__title,
    .help-hero__title-text {
        color: #3EA74F !important;
        text-transform: none !important;
        font-family: "life-full", "LifeFull", "life4", "Life4", "life", "Life", "Google Sans", Arial, sans-serif !important;
        font-weight: 400;
        letter-spacing: -0.04em;
    }

    .help-hero__title {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        justify-content: center;
        --help-hero-title-font-size: clamp(64px, 11vw, 96px);
        --help-hero-title-padding-top: 0;
    }

    .help-hero__title-text {
        text-align: center !important;
        line-height: 1.05 !important;
        transform: none;
    }

    .help-hero__subtitle {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 560px;
        min-height: 0;
        margin: 20px auto 0;
        color: #4D4D4D !important;
        font-size: 18px;
        line-height: 1.2;
        text-align: center;
    }

    .help-hero__decor {
        display: none !important;
    }

    .help-need-page .section--second.section--second_margin,
    .help-need-page .section--second_margin,
    .help-need-page .help-funds-head,
    body.page-help-need .section--second.section--second_margin,
    body.page-help-need .section--second_margin,
    body.page-help-need .help-funds-head {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-radius: 0;
    }

    .help-need-page .section--second .content,
    body.page-help-need .section--second .content {
        width: calc(100% - 48px) !important;
        max-width: 736px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .help-funds-head__inner,
    .help-programs__inner,
    .help-actions__inner {
        max-width: none;
        width: 100%;
    }

    .help-fund-cards__mobile-nav {
        display: none !important;
    }
}

/* ========================================================================
   Mobile — сетка как на десктопе, одна колонка
   ======================================================================== */

@media (max-width: 767px) {
    .help-hero__inner {
        padding: 52px 16px 28px;
    }

    .help-hero__title {
        --help-hero-title-font-size: clamp(48px, 14vw, 64px);
    }

    .help-hero__subtitle {
        max-width: 100%;
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.25;
    }

    .help-hero__subtitle br {
        display: none;
    }

    .help-need-page .section--second .content,
    body.page-help-need .section--second .content {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
    }

    .help-funds-head__title,
    .help-programs__title,
    .help-actions__title {
        width: auto;
        max-width: none;
        min-height: 0;
        margin: 0 0 20px;
        font-size: 32px;
        line-height: 1.05;
        letter-spacing: -0.02em;
        text-align: center;
    }

    .help-funds-cards {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .help-fund-cards__grid,
    .help-programs .help-fund-cards__grid,
    .help-actions .help-fund-cards__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
        touch-action: auto;
    }

    .help-fund-card {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 0;
        aspect-ratio: 344 / 401;
        border-radius: 14px;
        scroll-snap-align: none;
    }

    .help-fund-card:hover,
    .help-fund-card:focus-visible {
        transform: none;
    }

    .help-fund-card__info {
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 38%;
        min-height: 0;
        padding: 14px 14px 12px;
        border-radius: 10px;
    }

    .help-fund-card__status {
        top: -8px;
        right: 8px;
        height: 24px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 13px;
    }

    .help-fund-card__name,
    .help-fund-card--child .help-fund-card__name {
        margin: 0;
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__collect {
        font-size: 15px;
        line-height: 1.1;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .help-fund-card:not(.help-fund-card--child) .help-fund-card__collect {
        font-size: 20px;
        line-height: 0.9;
    }

    .help-fund-card__progress-line {
        height: 9px;
    }

    .help-fund-card__money {
        font-size: 13px;
        line-height: 1.1;
        gap: 6px;
    }

    .help-fund-card__button {
        display: inline-flex;
        width: auto;
        min-width: 100px;
        height: 26px;
        margin-top: 0;
        padding: 0 14px;
        font-size: 14px;
    }

    .help-fund-cards__pagination {
        display: block;
        margin: 24px 0 0;
        text-align: center;
    }

    .help-programs,
    .help-actions {
        padding-top: 48px;
        background: transparent;
    }

    .help-actions {
        padding-bottom: 64px;
        overflow: visible;
    }

    .help-actions__inner::after {
        content: none;
    }
}

/* Desktop: компактные отступы секций */
@media (min-width: 992px) {
    .help-hero ~ .section.section--second.section--second_margin {
        padding-top: 40px !important;
    }

    body.page-help-need .help-funds-head,
    body.page-help-need .help-need-page .help-funds-head {
        padding-top: 0 !important;
    }

    body.page-help-need .help-programs,
    body.page-help-need .help-actions {
        padding-top: 56px !important;
    }

    body.page-help-need .help-actions {
        padding-bottom: 64px !important;
    }

    body.page-help-need .help-fund-cards__grid {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body.page-help-need .help-funds-head__title,
    body.page-help-need .help-programs__title,
    body.page-help-need .help-actions__title {
        margin-bottom: 24px !important;
    }
}
