.heroes-shell {
    width: min(1360px, calc(100% - 2 * clamp(20px, 3vw, 56px)));
    min-width: 0;
    margin-inline: auto;
}
.heroes-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.heroes-page .heroes-heading h1 { font-size: 58px; line-height: 1.18; color: var(--color-ink); }
.heroes-intro { max-width: 700px; margin-top: 24px; font-size: 28px; line-height: 1.3; color: var(--color-muted); }
.heroes-controls { flex-shrink: 0; padding-top: 12px; }
.heroes-controls button { width: 44px; height: 44px; }
.heroes-previous { rotate: 180deg; }
.heroes-track {
    display: flex;
    align-items: start;
    gap: 24px;
    margin: 16px -28px 0;
    padding: 28px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 28px;
    scrollbar-width: thin;
    scrollbar-color: #dddfe6 transparent;
}
.hero-donation {
    display: grid;
    align-content: start;
    flex: 0 0 376px;
    min-width: 0;
    gap: 16px;
    padding: 24px 20px;
    border-radius: 36px;
    background: #fff;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}
.hero-donation-heading { display: grid; grid-template-columns: 80px minmax(0, 1fr) 88px; align-items: center; gap: 16px; }
.hero-badge { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; color: #e4050f; background: #fbe3e7; }
.hero-badge-symbol {
    display: block;
    width: 36px;
    height: 36px;
    background: currentColor;
    -webkit-mask: url('icons/payment-heart.svg') center / contain no-repeat;
    mask: url('icons/payment-heart.svg') center / contain no-repeat;
}
.hero-badge-star { color: #5a10eb; background: #e6e3ff; }
.hero-badge-star .hero-badge-symbol { -webkit-mask-image: url('icons/hero-star.svg'); mask-image: url('icons/hero-star.svg'); }
.hero-badge-person { color: #e89a00; background: #fcf1e3; }
.hero-badge-person .hero-badge-symbol { -webkit-mask-image: url('icons/field-person.svg'); mask-image: url('icons/field-person.svg'); }
.hero-badge-green { color: #64de00; background: #e9fbdf; }
.hero-donor { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-donor strong { color: #111; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.hero-donor > span { color: #939393; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.hero-donation time { color: #939393; font-size: 17px; line-height: 1.35; text-align: right; overflow-wrap: anywhere; }
.hero-campaign { display: grid; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 10px; align-items: center; min-width: 0; padding: 10px; border-radius: 24px; background: #f0f0f4; transition: background-color .25s ease; }
.hero-campaign:hover, .hero-campaign:focus-visible { background: #e7e7ee; }
.hero-campaign-photo { width: 84px; height: 84px; border-radius: 15px; }
.hero-campaign-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.hero-campaign-copy > span { color: #999; font-size: 14px; line-height: 1.25; }
.hero-campaign-copy strong { font-size: 17px; line-height: 1.25; font-weight: 700; color: #555; }
.hero-campaign > .arrow-icon { width: 20px; height: 17px; color: #111; }
.hero-donation-message { padding: 18px 20px; border-radius: 22px; background: #f0f0f4; font-size: 18px; line-height: 1.35; color: var(--color-muted); white-space: pre-line; overflow-wrap: anywhere; }
.heroes-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; }
.heroes-statistics { display: flex; gap: 32px; min-width: 0; }
.heroes-statistics > div { min-width: 0; }
.heroes-statistics > div + div { padding-left: 32px; border-left: 1px solid #d7d7dc; }
.heroes-statistics dt { color: #111; font-size: 32px; font-weight: 700; line-height: 1.2; }
.heroes-statistics dd { max-width: 180px; margin-top: 10px; color: #8a8d96; font-size: 18px; line-height: 1.35; }
.heroes-support { display: inline-flex; align-items: center; flex-shrink: 0; gap: 18px; margin-left: auto; padding-block: 12px; color: #111; font-size: 18px; line-height: 1.25; transition: color .25s ease; }
.heroes-support:hover { color: var(--color-brand); }
.heroes-support > img { flex: 0 0 36px; width: 36px; height: 32px; }
.heroes-support > .arrow-icon { width: 20px; height: 17px; margin-left: 20px; }
.heroes-more { display: flex; justify-content: center; margin-top: 12px; }
.heroes-more .button { min-width: 190px; padding-inline: 24px; }
.heroes-loading { margin-block: 48px; color: var(--color-muted); }
.heroes-empty { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 44px; padding: 36px; border-radius: 36px; box-shadow: var(--shadow-card); background: #fff; }
.heroes-page .heroes-empty h2 { font-size: 28px; line-height: 1.3; }
.heroes-empty p { max-width: 620px; margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--color-muted); }
.heroes-empty .button { padding-inline: 24px; }

@media (width < 1100px) {
    .heroes-page .heroes-heading h1 { font-size: clamp(36px, 5vw, 54px); }
    .heroes-intro { font-size: 24px; }
    .heroes-bottom { flex-wrap: wrap; }
    .heroes-statistics { flex-wrap: wrap; gap: 24px; }
    .heroes-statistics > div + div { padding-left: 24px; }
    .heroes-empty { grid-template-columns: 80px minmax(0, 1fr); padding: 28px; }
    .heroes-empty .button { grid-column: 2; justify-self: start; }
}
@media (width < 600px) {
    .heroes-shell { width: calc(100% - 32px); }
    .heroes-heading { flex-wrap: wrap; gap: 16px; }
    .heroes-page .heroes-heading h1 { font-size: clamp(30px, 8vw, 42px); }
    .heroes-intro { margin-top: 16px; font-size: 18px; line-height: 1.45; }
    .heroes-intro-break { display: none; }
    .heroes-controls { margin-left: auto; padding: 0; }
    .heroes-controls button { width: 40px; height: 40px; }
    .heroes-track { gap: 16px; margin: 0 -16px; padding: 24px 16px; scroll-padding-inline: 16px; }
    .hero-donation { flex-basis: min(336px, calc(100vw - 48px)); gap: 14px; padding: 20px 16px; border-radius: 28px; }
    .hero-donation-heading { grid-template-columns: 56px minmax(0, 1fr) 70px; gap: 10px; }
    .hero-badge { width: 56px; height: 56px; }
    .hero-badge-symbol { width: 28px; height: 28px; }
    .hero-donor strong { font-size: 20px; }
    .hero-donor > span, .hero-donation time { font-size: 14px; }
    .hero-campaign { grid-template-columns: 64px minmax(0, 1fr) 18px; gap: 10px; border-radius: 20px; }
    .hero-campaign-photo { width: 64px; height: 70px; border-radius: 12px; }
    .hero-campaign-copy > span { font-size: 12px; }
    .hero-campaign-copy strong { font-size: 15px; }
    .hero-campaign > .arrow-icon { width: 18px; height: 15px; }
    .hero-donation-message { padding: 16px; font-size: 16px; border-radius: 18px; }
    .heroes-bottom { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 16px; }
    .heroes-statistics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .heroes-statistics > div + div { padding: 20px 0 0; border-left: 0; border-top: 1px solid #e6e7ed; }
    .heroes-statistics dt { font-size: 28px; }
    .heroes-statistics dd { max-width: none; margin-top: 6px; font-size: 16px; }
    .heroes-support { width: 100%; margin: 0; font-size: 17px; }
    .heroes-support > .arrow-icon { margin-left: auto; }
    .heroes-empty { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 20px; margin-top: 28px; border-radius: 28px; }
    .heroes-page .heroes-empty h2 { font-size: 23px; }
    .heroes-empty p { font-size: 16px; }
    .heroes-empty .button { grid-column: 1 / -1; width: 100%; }
    .heroes-more .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-campaign, .heroes-support { transition: none; }
}
