.sc-page {
    background: #EDF6EE;
}

.sc-hero {
    padding: 0;
}

.sc-hero__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-height: 640px;
    background: #333;
}

/* Hero image may be wrapped in <picture> (WebP + fallback). display:contents
   removes the wrapper from layout so .sc-hero__img still sizes against
   .sc-hero__visual (its aspect-ratio box), exactly as before. */
.sc-hero__visual picture {
    display: contents;
}

.sc-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.sc-hero__overlay {
    position: absolute;
    inset: 0;
    padding: 2rem 2rem 12rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    pointer-events: none;
}

.sc-hero__overlay .pa-page-hero__breadcrumb {
    pointer-events: auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    margin-top: 0;
}

.sc-hero__title {
    font-family: 'Keep Calm', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    max-width: 98.4rem;
    margin: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.sc-hero__video-wrap {
    width: 100%;
    height: 100%;
}

/* Play button overlay (same pattern as single-programmes.php) */
.sc-hero__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background 0.3s;
}

.sc-hero__play-overlay:hover {
    background: rgba(0, 0, 0, 0.25);
}

.sc-hero__play-btn {
    position: relative;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 1230px) {
    .sc-hero__play-btn {
        width: 8rem;
        height: 8rem;
    }
}

.sc-hero__play-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sc-hero__play-icon-wrap {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    margin-left: 8px;
}

@media (min-width: 1230px) {
    .sc-hero__play-icon-wrap {
        width: 48px;
        height: 48px;
    }
}

.sc-hero__play-icon {
    width: 100%;
    height: 100%;
}

/* Ended badge overlay */
.sc-hero__ended-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* ── Stats Card (overlaps bottom of hero) ── */
.sc-stats {
    position: relative;
    z-index: 2;
    margin-top: -6rem;
    padding: 0 0 24px;
}

.sc-stats__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 48px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.sc-stats__card--expired {
    background: #fafafa;
}

/* Amounts row */
.sc-stats__amounts {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sc-stats__amount {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-stats__amount--right {
    text-align: right;
}

.sc-stats__amount-label {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.sc-stats__amount-value {
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    color: #101828;
    letter-spacing: -0.01em;
}

.sc-stats__amount-value--green {
    color: var(--pa-primary);
}

.sc-stats__card--expired .sc-stats__amount-value--green {
    color: #6b7280;
}

/* Progress bar */
.sc-stats__progress-track {
    width: 100%;
    height: 12px;
    background: #e6e9ee;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.sc-stats__progress-fill {
    height: 100%;
    background: linear-gradient(270deg, #14A24A 0%, #18D660 100%);
    border-radius: 3px;
    /* no min-width: a campaign at € 0 showed a 2% sliver (user 2026-12-02); the cards draw the exact width too */
    transition: width 0.6s ease;
}

.sc-stats__card--expired .sc-stats__progress-fill {
    background: #9ca3af;
}

/* Meta row */
.sc-stats__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 18px;
    color: #333;
    margin-top: 4px;
}

.sc-stats__meta-item strong {
    color: #333;
    font-weight: 600;
}

.sc-stats__meta-item--right {
    text-align: right;
    margin-left: auto;
}

.sc-stats__expired-tag {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
}

/* Divider between progress meta and CTA row */
.sc-stats__divider {
    height: 1px;
    background: #e6e9ee;
    width: 100%;
    margin: 8px 0;
}

/* Bottom row: encouragement text on the left, donate button on the right */
.sc-stats__cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: nowrap;
}

.sc-stats__encouragement {
    flex: 1;
    font-size: 18px;
    line-height: 1.55;
    color: #000000;
    margin: 0;
    max-width: 612px;
}

.sc-stats__cta {
    flex-shrink: 0;
}

.sc-stats__cta .pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background-color: var(--pa-primary) !important;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--pa-primary);
}

.sc-stats__cta .pa-btn:hover {
    background-color: white !important;
    color: var(--pa-primary);
    border: 1px solid var(--pa-primary);
}

.sc-stats__btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sc-stats__share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.sc-stats__share-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-right: 4px;
}

.sc-stats__share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #333;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sc-stats__share-icon:hover {
    background: var(--pa-primary-light);
    border-color: var(--pa-primary);
    box-shadow: 0 3px 10px rgba(4, 149, 81, 0.15);
}

.sc-stats__share-icon svg {
    display: block;
}

@media (max-width: 1230px) {
    .sc-content {
        padding: 32px 0 24px;
    }
}

.sc-content__card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    max-width: 1100px;
}

@media (max-width: 1230px) {
    .sc-content__card {
        background: none;
        border: 0;
        border-radius: 0;
        padding: 0 20px;
        max-width: none;
    }
}

.sc-content__card .sc-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 4px;
    margin: 0 0 32px;
    border: 0;
    border-radius: 999px;
    background: #f2f4f7;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 1230px) {

    /* 5759:6350 — 28 down to the Heading, group chrome gone, sideways scroll at 320 */
    .sc-content__card .sc-tabs {
        display: flex;
        /* pedulianak.min.css @(max-width:1199px) .tab-campaigns-category { gap:20px !important } */
        gap: 8px !important;
        padding: 0;
        margin: 0 0 28px;
        border-radius: 0;
        background: none;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .sc-content__card .sc-tabs::-webkit-scrollbar {
        display: none;
    }
}

.sc-content__card .sc-tabs .sc-tabs__item {
    position: relative;
    float: none;
    margin: 0;
}

@media (max-width: 1230px) {

    /* campaign.min.css @(max-width:1230px) .nav-tabs > li { margin:0; width:50%; float:left !important }
       made every pill half the row and stacked them — the pills hug their label instead */
    .sc-content__card .sc-tabs .sc-tabs__item {
        flex-shrink: 0;
        width: auto;
        float: none !important;
    }
}

/* 5735:2834 — 44 tall, pad 0 20, r999, 600 16/24; inactive sits on the group's own #f2f4f7 */
.sc-content__card .sc-tabs .sc-tabs__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: auto;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 20px !important;
    /* beats the deleted-but-parent-mirrored padding:24px !important */
    border: 0;
    border-radius: 999px;
    background: #f2f4f7;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 16px !important;
    /* beats ul.tab-campaigns-category li>a font-size */
    line-height: 24px;
    color: #344054;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (max-width: 1230px) {

    /* 5759:6351 — white pill, 1px #eaecf0, 500 14/20, pad 0 16 */
    .sc-content__card .sc-tabs .sc-tabs__link {
        padding: 0 16px !important;
        border: 1px solid #eaecf0;
        background: #fff;
        font-weight: 500;
        font-size: 14px !important;
        line-height: 20px;
    }
}

/* 5735:2834 / 5759:6351 — the selected pill is solid green with NO ring on either layout
   (that is why it measures 2px narrower than the bordered phone pills).
   `ul.tab-campaigns-category li.active > a` carries `border:none !important` AND
   `border-bottom:4px solid var(--revamp-primary-color) !important` plus
   `color:#177D3F !important`, so both have to be answered with an !important here. */
.sc-content__card .sc-tabs .sc-tabs__link:hover,
.sc-content__card .sc-tabs .sc-tabs__item.active .sc-tabs__link {
    background: var(--pa-primary);
    border: 0 !important;
    color: #fff !important;
}

.sc-content__card .sc-tabs .sc-tabs__link:focus:not(:hover) {
    color: #344054 !important;
}

.sc-content__card .sc-tabs .sc-tabs__item.active .sc-tabs__link:focus:not(:hover) {
    color: #fff !important;
}

/* 5812:2856 / 5813:6325 — "Donors (N)" is a real Bootstrap tab since the #donors panel was
   built (§13); it shares .sc-tabs__link's look and sits as the third pill inside the group,
   NOT pushed to the right edge. The legacy modifier is kept only so an older cached markup
   still lines up. */
.sc-content__card .sc-tabs .sc-tabs__item--link {
    margin-left: 0;
}

/* 5813:6325 drops the donor count on phones; the Updates count stays on both layouts */
@media (max-width: 1230px) {
    .sc-content__card .sc-tabs .sc-tabs__link--donors .sc-tabs__count {
        display: none;
    }
}

/* Heading (5735:2846 / 5761:6928) */
.sc-story__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 32px;
}

.sc-story__head-title {
    margin: 0;
    font: 600 24px/32px var(--pa-font-default);
    color: #101828;
}

.sc-story__head-meta {
    margin: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

@media (max-width: 1230px) {
    .sc-story__head {
        margin-bottom: 28px;
    }

    .sc-story__head-title {
        font-size: 22px;
        line-height: 30px;
    }

    /* 5761:6928 drops the "Funds go to …" clause */
    .sc-story__head-meta-funds {
        display: none;
    }
}

/* Excerpt (5812:2858 / 5813:6335) */
.sc-story__excerpt {
    margin: 0 0 32px;
    font: 400 18px/30px var(--pa-font-default);
    color: #344054;
}

@media (max-width: 1230px) {
    .sc-story__excerpt {
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 26px;
    }
}

/* Tab content */
.sc-tab-content {
    min-height: 200px;
}

.tab-content {
    border-top: none !important;
    border-bottom: none !important;
    padding: 0 !important;
}

.donation-history {
    margin: 0 !important;
    padding: 0 !important;
}

.donation-history h3 {
    text-align: left !important;
    font-size: 24px !important;
}

@media (max-width: 1230px) {
    .donation-history h3 {
        font-size: 18px !important;
    }
}

/* Story content — style the WP block editor output */
.sc-story {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 !important;
}

.sc-story--collapsed {
    max-height: 22rem;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.sc-story--expanded {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.sc-story__toggle {
    display: inline-block;
    margin-top: 16px;
    padding: 0;
    background: none;
    border: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    font-family: inherit;
}

.sc-story__toggle:hover {
    color: var(--pa-primary);
}

.sc-story p {
    margin-top: 12px;
}

.sc-story h2,
.sc-story h3 {
    font-family: sans-serif;
    color: #333;
}

/* WP Media & Text blocks — override old 2-col layout inside story */
.sc-story .wp-block-media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.sc-story .wp-block-media-text.has-media-on-the-right {
    direction: rtl;
}

.sc-story .wp-block-media-text.has-media-on-the-right>* {
    direction: ltr;
}

.sc-story .wp-block-media-text__media {
    height: 100%;
    min-height: 260px;
}

.sc-story .wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-story .wp-block-media-text__content {
    padding: 32px;
}

/* WP columns inside story */
.sc-story .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.sc-story .wp-block-column {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.sc-story .wp-block-column img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

/* Standard images in content */
.sc-story img {
    border-radius: 24px;
    max-width: 100%;
    height: 248px;
    object-position: center 10%;
}

@media (max-width: 1230px) {
    .sc-story img {
        height: 165px;
        border-radius: 12px;
    }
}

.sc-story ul,
.sc-story ol {
    padding-left: 0;
    margin-bottom: 24px;
}

.sc-story li {
    margin-bottom: 8px;
}

/* Inline CTA inside the static story (above the disclaimer) */
.sc-story__cta {
    margin: 28px 0 8px;
}

.sc-story__cta .pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

/* top margin removed: .sc-story__excerpt (2026-09-23) now owns the 32/28px gap before the gallery */
.sc-story__gallery {
    margin: 0 0 40px;
}

.sc-story__gallery-title {
    font-family: 'Keep Calm', sans-serif !important;
    color: #333;
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.sc-story__gallery-swiper {
    width: 100%;
    overflow: hidden;
}

.sc-story__gallery-swiper .swiper-slide.sc-story__gallery-slide {
    width: 372px;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 1230px) {
    .sc-story__gallery-swiper .swiper-slide.sc-story__gallery-slide {
        width: 248px;
    }
}

.sc-story__gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.sc-story__gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.sc-story__gallery-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sc-story__gallery-nav:hover {
    border-color: var(--pa-primary);
    color: var(--pa-primary);
}

.sc-story__gallery-nav svg {
    width: 18px;
    height: 18px;
}

.sc-story__gallery-pagination.swiper-pagination,
.sc-story__gallery-pagination {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    transform: none !important;
}

.sc-story__gallery-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: width 0.2s, background 0.2s;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
}

.sc-story__gallery-pagination .swiper-pagination-bullet-active {
    background: var(--pa-primary);
}

/* Story sections */
/* 5735:2864 / 5761:6945 — the Story panel wraps its section+quote loop in .sc-story__sections
   (gap 24/20); the Updates panel's own loop is not wrapped and keeps its 36px margin-bottom. */
.sc-story__sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 1230px) {
    .sc-story__sections {
        gap: 20px;
    }
}

.sc-story__sections>.sc-story__section {
    margin-bottom: 0;
}

.sc-story__section {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1230px) {
    .sc-story__section {
        gap: 6px;
    }
}

/* 5735:2866 / 5759:6374 — 600 18/28 (phone 18/26) Inter, #101828.
   Scoped on .donation-history because BOTH tab panels carry it (.sc-story and .sc-news):
   `.sc-story h2, .sc-story h3` (0,1,1) and the parent theme's
   `@media(min-width:768px) .donation-history h3 { font-weight:700; font-size:40px;
   line-height:44px; text-align:center }` both beat a single class, and this file's own
   `.donation-history h3 { font-size:24px !important }` (kept for WP-block headings in the
   story body) needs an !important back. */
.donation-history .sc-story__section-title {
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 18px !important;
    line-height: 28px;
    color: #101828;
    margin: 0;
    text-align: left;
}

@media (max-width: 1230px) {
    .donation-history .sc-story__section-title {
        line-height: 26px;
    }
}

.sc-story__section-body p {
    margin: 0 0 18px;
    color: #344054;
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 1230px) {
    .sc-story__section-body p {
        font-size: 16px;
        line-height: 26px;
    }
}

.sc-story__section-body p:last-child {
    margin-bottom: 0;
}

/* Quote card (5735:2868 / 5761:6949): a 4px accent bar, not an icon */
.sc-story__quote {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 20px 24px 20px 20px;
    background: var(--pa-surface-tint);
    border-radius: 16px;
}

@media (max-width: 1230px) {
    .sc-story__quote {
        gap: 14px;
        padding: 18px 18px 18px 16px;
        border-radius: 16px;
    }
}

.sc-story__quote-accent {
    align-self: stretch;
    flex-shrink: 0;
    width: 4px;
    border-radius: 2px;
    background: var(--pa-primary);
}

.custom-campaign-content ol li {
    color: #333;
}

.sc-story__quote-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-story__quote-text {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    line-height: 28px;
    color: #101828;
}

@media (max-width: 1230px) {
    .sc-story__quote-text {
        font-size: 16px;
        line-height: 26px;
    }
}

.sc-story__quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

@media (max-width: 1230px) {
    .sc-story__quote-author {
        gap: 12px;
    }
}

/* 5815:2844 / 5815:5553 — 56 (phone 48) square, 2px green ring, r12 (phone r10).
   Scoped through .sc-story__quote because `.sc-story img { border-radius:24px; height:248px }`
   (0,1,1) beats a single class — that legacy rule is why the height already carried !important. */
.sc-story__quote .sc-story__quote-avatar {
    width: 56px;
    height: 56px !important;
    border: 2px solid var(--pa-primary);
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 1230px) {
    .sc-story__quote .sc-story__quote-avatar {
        width: 48px;
        height: 48px !important;
        border-radius: 10px;
    }
}

.sc-story__quote .sc-story__quote-avatar--placeholder {
    background: #d6ecd9;
    border: 2px solid var(--pa-primary);
    border-radius: 12px;
}

@media (max-width: 1230px) {
    .sc-story__quote .sc-story__quote-avatar--placeholder {
        border-radius: 10px;
    }
}

.sc-story__quote-name {
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

/* Help box */
.sc-help-box {
    margin: 8px 0 36px;
    padding: 32px;
    background: #F5F6F8;
    border-radius: 32px;
}

@media (max-width: 1230px) {
    .sc-help-box {
        border-radius: 24px;
        padding: 20px;
    }
}

.sc-help-box__title,
.donation-history .sc-help-box__title {
    font-family: 'Keep Calm', sans-serif;
    color: #333;
    font-size: 22px;
    line-height: 1.3;
    text-align: center !important;
    margin: 0 0 24px;
}

.sc-help-box__intro {
    text-align: center;
    color: #333;
    margin: 0 auto 24px;
    font-size: 18px;
}

.sc-help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sc-help-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
}

.sc-help-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.sc-help-card__icon-svg {
    width: 48px;
    height: 48px;
    color: #049551;
}

.sc-help-card__icon-svg g {
    opacity: 1;
}

.sc-help-card__icon-svg path,
.sc-help-card__icon-svg circle,
.sc-help-card__icon-svg rect {
    stroke: #049551;
}

.sc-help-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.sc-help-card__desc {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Closing encouragement text above the bottom donate button */
.sc-story__cta-text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.sc-story__cta-text p {
    margin: 0;
}

/* Closing encouragement paragraph (sits above the steps box) */
.sc-story__closing p {
    margin: 24px 0 20px;
    font-size: 16px;
    line-height: 26px;
    color: #344054;
}

.sc-story__closing p {
    margin: 0;
}

.sc-story__closing ul li {
    color: #333;
}

/* Rich-text lists entered via campaign content (Cerita & Kabar Terbaru) */
.sc-story__section-body ul,
.sc-story__section-body ol,
.sc-story__closing ul,
.sc-story__closing ol,
.sc-news__intro ul,
.sc-news__intro ol,
.sc-news__closing ul,
.sc-news__closing ol,
.sc-help-box__intro ul,
.sc-help-box__intro ol {
    margin: 0 0 18px;
    padding-left: 24px;
    color: #333;
    font-size: 18px;
    line-height: 1.75;
}

.sc-story__section-body ul,
.sc-story__closing ul,
.sc-news__intro ul,
.sc-news__closing ul,
.sc-help-box__intro ul {
    list-style: disc outside;
}

.sc-story__section-body ol,
.sc-story__closing ol,
.sc-news__intro ol,
.sc-news__closing ol,
.sc-help-box__intro ol {
    list-style: decimal outside;
}

.sc-story__section-body li,
.sc-story__closing li,
.sc-news__intro li,
.sc-news__closing li,
.sc-help-box__intro li {
    margin: 0 0 8px;
    padding-left: 4px;
}

.sc-story__section-body li:last-child,
.sc-story__closing li:last-child,
.sc-news__intro li:last-child,
.sc-news__closing li:last-child,
.sc-help-box__intro li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1230px) {

    .sc-story__section-body ul,
    .sc-story__section-body ol,
    .sc-story__closing ul,
    .sc-story__closing ol,
    .sc-news__intro ul,
    .sc-news__intro ol,
    .sc-news__closing ul,
    .sc-news__closing ol,
    .sc-help-box__intro ul,
    .sc-help-box__intro ol {
        font-size: 16px;
    }
}

.sc-steps {
    background: #EDF6EE;
    border-radius: 24px;
    padding: 24px 28px;
    margin: 12px 0 4px;
}

@media (max-width: 1230px) {
    .sc-steps {
        padding: 24px;
    }
}

.sc-steps__cta-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
}

.sc-steps__cta-wrap .pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1;
    background: var(--pa-primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    width: 40rem;
    height: 6.2rem;
    border: 1px solid var(--pa-primary);
}

.sc-steps__cta-wrap .pa-btn:hover {
    background-color: white !important;
    color: var(--pa-primary);
    border: 1px solid var(--pa-primary);
}

/* (the old Keep Calm heading that sat OUTSIDE the steps card; 5736:2872 puts the title inside
   the card with margin 0, so only the !important margin has to be answered below) */
.sc-steps__title {
    margin: 0 !important;
}

.sc-steps__list {
    list-style: none;
    counter-reset: sc-step;
    padding: 0 !important;
    margin: 0;
}

.sc-steps__item {
    counter-increment: sc-step;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.sc-steps__item::before {
    content: counter(sc-step);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.sc-steps__text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.sc-steps__text strong {
    font-weight: 700;
}

@media (max-width: 1230px) {
    .sc-story__gallery-title {
        font-size: 22px;
    }

    .sc-story__gallery-controls {
        justify-content: space-between;
        gap: 8px;
        padding: 0 8px;
    }

    .sc-steps__text {
        font-size: 16px;
    }

    .sc-help-box {
        padding: 20px;
    }

    /* Mobile: title + intro left-aligned (desktop is centered) */
    .sc-help-box__title,
    .donation-history .sc-help-box__title {
        text-align: left !important;
        font-size: 18px;
        margin: 0 0 12px;
    }

    .sc-help-box__intro {
        text-align: left;
        font-size: 15px;
        margin: 0 0 18px;
    }

    .sc-help-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Mobile help card: pill-shape, icon + title centered on one row */
    .sc-help-card {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px;
        background: #fff;
        border: 1px solid #eef0f3;
        border-radius: 24px;
    }

    .sc-help-card__icon {
        width: auto;
        height: auto;
        background: transparent;
        border-radius: 0;
        flex-shrink: 0;
    }

    .sc-help-card__icon-svg {
        width: 24px;
        height: 24px;
    }

    .sc-help-card__body {
        flex: 0 0 auto;
        text-align: left;
    }

    .sc-help-card__title {
        font-size: 16px;
        margin: 0;
    }

    .sc-help-card__desc {
        display: none;
    }

    /* (the old grid-based phone quote card — text/author/icon areas — was removed with the
       5759:6376 revamp; the quote is one flex row with an accent bar on every width now) */
}

/* News tab */
.sc-news {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.sc-news p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* News tab — structured content blocks */
.sc-news__title {
    font-family: 'Keep Calm', sans-serif !important;
    color: #333;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 500;
    margin: 0 0 24px;
}

@media (max-width: 1230px) {
    .sc-news__title {
        font-family: 'Keep Calm', sans-serif;
    }
}

.sc-news__featured {
    margin: 0 0 24px;
    border-radius: 16px;
    overflow: hidden;
}

.sc-news__featured-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (min-width: 1230px) {
    .sc-news__featured-img {
        height: 492px;
    }
}

.sc-news__intro {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
    margin: 0 0 32px;
}

.sc-news__closing {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
    margin: 24px 0 16px;
}

.sc-news__signature {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* News gallery — reuses all `.sc-story__gallery-*` slide/dot styling */
.sc-news__gallery {
    margin: 24px 0;
}

.sc-news__gallery-swiper {
    width: 100%;
    overflow: hidden;
}

.sc-news__gallery-swiper .swiper-slide.sc-story__gallery-slide {
    width: 248px;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

@media (min-width: 1230px) {
    .sc-news__gallery-swiper .swiper-slide.sc-story__gallery-slide {
        width: 372px;
    }
}

@media (max-width: 1230px) {
    .sc-news__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sc-news__intro,
    .sc-news__closing,
    .sc-news__signature {
        font-size: 16px;
    }

    .sc-news__featured-img {
        aspect-ratio: 4 / 3;
    }
}

/* ── Bottom CTA ── */
.sc-cta-section {
    padding: 0 0 48px;
}

.sc-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sc-cta-note {
    font-size: 15px;
    color: #333;
    margin: 0;
}

/* ── Recent donations 5736:2921 (desktop) / 5759:6466 (phone) ──────────────────
   No card of its own any more: a head row (title + donor count), a 2-column grid
   of bordered donation cards (1 column on phones) and a centred secondary button.
   The markup comes from the load_more_donations AJAX handler, so the .donation-card*
   class names are a JS/PHP contract and are styled, never renamed. */
.sc-donations {
    padding: 0 0 32px;
}

.sc-donations__card {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-donations__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sc-donations__title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 20px !important;
    line-height: 28px;
    color: #101828;
    text-align: left;
}

.sc-donations__count {
    margin: 0;
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
    white-space: nowrap;
}

/* the grid: two cards per row, 16 apart, cards in a row share their height */
.sc-donations__card .sc-donations__list,
.sc-donations__card .donation-card__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: stretch;
    justify-content: stretch;
}

/* `campaign.min.css` styles the same card for the old layout and loads after this file:
   `.donation-card { margin:10px; padding:20px; max-width:370px; min-height:172px; flex-wrap:wrap;
   justify-content:space-between }` (0,1,0) and `.single-campaign .donation-card { border-radius:10px }`
   (0,2,0) — hence three classes here and the explicit resets. */
.sc-donations .sc-donations__card .donation-card {
    /* 5736:2926 — the two cards in a row share their height */
    align-self: stretch;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 16px;
    margin: 0;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

/* 5736:2927 — 44 square tile. The frame draws donor photos; this site stores none,
   so every card uses the frame's own initial/heart tile (5963:2872) instead. */
.sc-donations .sc-donations__card .donation-card .donation-card__avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    /* campaign.min.css pins min-width/min-height to 48 */
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #b7e1c6;
    border-radius: 10px;
    background: var(--pa-surface-tint);
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark);
    overflow: hidden;
}

.sc-donations .sc-donations__card .donation-card--anonymous .donation-card__avatar {
    background: var(--pa-surface-tint);
    border-color: #b7e1c6;
}

.sc-donations .sc-donations__card .donation-card--anonymous .donation-card__avatar-icon {
    width: 18px;
    height: 18px;
}

.sc-donations .sc-donations__card .donation-card--anonymous .donation-card__avatar-icon path {
    fill: var(--pa-primary-dark);
}

.sc-donations .sc-donations__card .donation-card .donation-card__info {
    position: static;
    width: auto;
    height: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.sc-donations .sc-donations__card .donation-card .donation-card__title {
    margin: 0;
    width: auto;
    max-width: none;
    flex-basis: auto;
    /* campaign.min.css truncates the donor name to one ellipsed line */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 14px !important;
    line-height: 20px;
    color: #101828;
    text-align: left;
}

.sc-donations .sc-donations__card .donation-card .donation-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-donations .sc-donations__card .donation-card .donation-card__counter {
    width: auto;
    flex-grow: 0;
    flex-basis: auto;
    margin: 0;
    font-weight: 600;
    color: var(--pa-primary-dark);
}

.sc-donations .sc-donations__card .donation-card .donation-card__sep,
.sc-donations .sc-donations__card .donation-card .donation-card__timer {
    margin: 0;
    font-weight: 400;
    color: #475467;
    position: static;
    right: auto;
    text-align: left;
    font-size: 14px;
}

.sc-donations .sc-donations__card .donation-card .donation-card__description {
    display: block;
    width: auto;
    -webkit-line-clamp: none;
    -webkit-box-orient: horizontal;
    margin: 0;
    min-height: 0;
    flex-grow: 0;
    font: 400 14px/22px var(--pa-font-default);
    color: #344054;
}

/* 5736:2990 — secondary button, centred under the grid */
.sc-load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 0;
}

.sc-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    border: 1.5px solid var(--pa-primary-dark);
    border-radius: 12px;
    background: #fff;
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sc-load-more-btn svg {
    width: 18px;
    height: 18px;
}

.sc-load-more-btn:hover {
    background: var(--pa-primary-dark);
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

@media (max-width: 1230px) {

    /* 5759:6466 — one column, 12 apart, round avatar, full-width button */
    .sc-donations__card .sc-donations__list,
    .sc-donations__card .donation-card__wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .sc-donations__title {
        font-size: 18px !important;
        line-height: 26px;
    }

    .sc-donations .sc-donations__card .donation-card {
        padding: 14px;
    }

    .sc-donations .sc-donations__card .donation-card .donation-card__avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border: 0;
        border-radius: 999px;
    }

    .sc-load-more-wrap {
        justify-content: stretch;
    }

    .sc-load-more-btn {
        width: 100%;
        height: 48px;
    }
}

.sc-share {
    padding: 12px 0 36px;
    text-align: center;
}

.sc-share__label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px;
}

.sc-share__icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.sc-share__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 36px;
    color: var(--pa-primary);
    transition: transform 0.2s, opacity 0.2s;
}

.sc-share__icon:hover {
    opacity: 0.85;
    color: var(--pa-primary);
}

.sc-share__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Other campaigns to support (single-campaign reuse of home-campaigns-card) ── */
.sc-others {
    padding: 64px 40px 64px;
    background: #fff;
}

@media (max-width:1231px) {
    .sc-others {
        background: #EDF6EE;
    }
}

/* Keep the heading slightly tighter than the homepage version's 32px */
.sc-others .home-campaigns__others-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 500;
    width: 800px;
}

@media (max-width: 1230px) {
    .sc-others {
        padding: 32px 16px 40px;
    }

    .sc-others .home-campaigns__others-title {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
        margin: 0 auto;
    }
}

/* ── Why Support Through Us ── */
.sc-why {
    padding: 64px 40px 64px;
    background: #fff;
}

.sc-why__title {
    font-size: 40px;
    font-weight: 500;
    color: #101828;
    margin: 0 0 32px;
    font-family: var(--pa-font-headline) !important;
}

.sc-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sc-why__item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sc-why__icon {
    flex-shrink: 0;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pa-primary);
}

.sc-why__icon svg {
    width: 64px;
    height: 64px;
    display: block;
}

.sc-why__body {
    flex: 1;
    min-width: 0;
}

.sc-why__heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--pa-primary);
    margin: 0 0 6px;
    line-height: 1.3;
}

.sc-why__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* ── Disclaimer — standalone card section (below Recent Donation) ── */
.sc-disclaimer {
    padding: 0 0 64px;
}

.sc-disclaimer__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 24px;
    margin: 0 auto;
    max-width: 1100px;
}

.sc-disclaimer__title {
    font-family: 'Keep Calm', sans-serif;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.sc-disclaimer__text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.sc-disclaimer__text p {
    margin: 0 0 12px;
}

.sc-disclaimer__text p:last-child {
    margin-bottom: 0;
}

/* ── Legacy disclaimer (inside content card) — kept for backward-compat ── */
.sc-content__disclaimer {
    background: #f6fef9;
    border-left: 4px solid var(--pa-primary);
    border-radius: 8px;
    padding: 18px 22px;
    margin-top: 32px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.sc-content__disclaimer strong {
    color: #333;
    font-weight: 700;
}

@media (max-width: 1230px) {

    .sc-hero__visual {
        max-height: 320px;
        aspect-ratio: 4 / 3;
    }

    .sc-hero__overlay {
        padding: 4rem 2rem 4rem;
        gap: 0.75rem;
    }

    .sc-hero__badge {
        font-size: 12px;
        padding: 0.4rem 1rem;
    }

    .sc-hero__title {
        font-size: 24px;
        line-height: 1.3;
        max-width: 100%;
    }

    .sc-hero__ended-badge {
        font-size: 11px;
        padding: 6px 12px;
        top: 0.625rem;
        right: 0.625rem;
    }

    .sc-stats {
        margin-top: -3rem;
    }

    .sc-stats__card {
        padding: 32px 20px;
        border-radius: 32px;
        gap: 12px;
    }

    /* Keep amounts side-by-side on mobile; each side shrinks and ellipsizes for very long numbers */
    .sc-stats__amounts {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .sc-stats__amount {
        flex: 1 1 0;
        min-width: 0;
    }

    .sc-stats__amount-value {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sc-stats__amount-label {
        font-size: 14px;
    }

    .sc-stats__meta {
        font-size: 14px;
        gap: 8px;
    }

    .sc-stats__divider {
        display: none;
    }

    .sc-stats__cta-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 6px;
    }

    .sc-stats__encouragement {
        font-size: 15px;
        line-height: 1.55;
        text-align: center;
        max-width: 320px;
    }

    .sc-stats__cta {
        width: 100%;
    }

    .sc-stats__cta .pa-btn {
        width: 100% !important;
        padding: 18px 20px !important;
        font-size: 17px !important;
    }

    .sc-stats__share-label {
        font-size: 12px;
    }

    .sc-stats__share-icon {
        width: 32px;
        height: 32px;
    }

    .sc-stats__share-icon svg {
        width: 15px;
        height: 15px;
    }

    .sc-story {
        font-size: 15px;
    }

    .sc-story--collapsed {
        max-height: 18rem;
    }

    .sc-story .wp-block-media-text {
        grid-template-columns: 1fr;
    }

    .sc-story .wp-block-media-text__media {
        min-height: 200px;
    }

    .sc-story .wp-block-media-text__content {
        padding: 20px;
    }

    .sc-story .wp-block-columns {
        grid-template-columns: 1fr;
    }

    .sc-donations__card {
        padding: 32px 20px;
        border-radius: 32px;
    }

    .sc-donations__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sc-donations__card .sc-donations__list,
    .sc-donations__card .donation-card__wrapper {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .sc-share {
        padding: 8px 0 32px;
    }

    .sc-share__icons {
        gap: 14px;
    }

    .sc-share__icon {
        width: 36px;
        height: 36px;
    }

    .sc-why {
        padding: 40px 0;
    }

    /* Mobile: center the section title (desktop is left-aligned by default) */
    .sc-why__title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .sc-why__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Mobile: each item becomes a light-gray card with internal padding */
    .sc-why__item {
        gap: 18px;
        padding: 20px 22px;
        background: #F5F6F8;
        border-radius: 24px;
    }

    .sc-why__icon {
        width: 64px;
        height: 64px;
    }

    .sc-why__icon svg {
        width: 34px;
        height: 34px;
    }

    .sc-why__heading {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .sc-why__text {
        font-size: 16px;
        line-height: 1.55;
    }

    .sc-content__disclaimer {
        padding: 14px 16px;
        font-size: 13px;
        margin-top: 24px;
    }

    .sc-others .home-campaigns__others-title {
        width: auto;
    }

    .sc-disclaimer {
        padding: 0 0 32px;
    }

    .sc-disclaimer__card {
        padding: 20px;
        border-radius: 24px;
    }

    .sc-disclaimer__title {
        font-size: 18px;
    }

    .sc-disclaimer__text {
        font-size: 16px;
    }

    .sc-load-more-btn {
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* ==========================================================================
   CAMPAIGN DONATE MODAL — triggered by .campaign-donate-button.
   Centered modal with two tabs: Campaign + Sponsor Anak.
   See template-parts/single-campaign/donate-modal.php for markup.
   ========================================================================== */

.sc-donate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    z-index: 9998;
}

.sc-donate-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
}

.sc-donate-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 720px;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    z-index: 9999;
}

.sc-donate-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sc-donate-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 2;
}

.sc-donate-modal__close:hover {
    background: #e5e7eb;
}

.sc-donate-modal__close svg {
    width: 18px;
    height: 18px;
}

.sc-donate-modal__header {
    padding: 32px 32px 15px;
    text-align: center;
    border-bottom: 1px solid #04955133;
}

.sc-donate-modal__badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFFFFF 0%, #E4FFEE 100%);
    color: var(--pa-primary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.sc-donate-modal__title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px;
    line-height: 1.3;
}

.sc-donate-modal__tabs {
    display: flex;
    background: #04955114;
    padding: 0;
    margin: 0 auto 0;
    max-width: 430px;
    justify-content: center;
    border-radius: 999px;
}

.sc-donate-modal__tab {
    all: unset;
    box-sizing: border-box;
    flex: 1;
    padding: 14px 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
    text-align: center;
}

.sc-donate-modal__tab:hover:not(.sc-donate-modal__tab--active) {
    background: rgba(4, 149, 81, 0.06);
    color: var(--pa-primary);
}

.sc-donate-modal__tab--active {
    background: var(--pa-primary);
    color: #fff;
}

.sc-donate-modal__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sc-donate-modal__tab-icon svg {
    width: 100%;
    height: 100%;
}

.sc-donate-modal__tab--active .sc-donate-modal__tab-icon svg path {
    fill: currentColor;
    stroke: currentColor;
}

.sc-donate-modal__pane {
    display: none;
    padding: 0;
    background: linear-gradient(180deg, #fff 0%, #f0fbf3 100%);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.sc-donate-modal__pane--active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* Body scrolls within the bounded modal; footer stays pinned at the bottom */
.sc-donate-modal__pane-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 24px 16px;
}

.sc-donate-modal__pane-footer {
    flex-shrink: 0;
    padding: 16px 24px 20px;
    background: linear-gradient(180deg, rgba(240, 251, 243, 0) 0%, #f0fbf3 30%);
    box-shadow: 0 -8px 16px -12px rgba(15, 23, 42, 0.12);
}

/* Header is also fixed at the top — never scrolls */
.sc-donate-modal__header {
    flex-shrink: 0;
}

.sc-donate-modal__card {
    background: #fff;
    border: 1px solid rgba(4, 149, 81, 0.08);
    border-radius: 24px;
    padding: 24px !important;
    margin-bottom: 16px;
}

.sc-donate-modal__field-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.sc-donate-modal__field-label+.sc-donate-modal__field-label {
    margin-top: 8px;
}

.sc-donate-modal__presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.sc-donate-modal__preset {
    all: unset;
    box-sizing: border-box;
    position: relative;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    transition: all 0.15s;
}

.sc-donate-modal__preset:hover {
    border-color: rgba(4, 149, 81, 0.4);
    color: var(--pa-primary);
}

.sc-donate-modal__preset--active {
    border-color: var(--pa-primary);
    color: var(--pa-primary);
    background: #e4ffee;
    font-weight: 700;
}

.sc-donate-modal__preset-badge {
    position: absolute;
    top: -10px;
    padding: 3px 10px;
    background: var(--pa-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

.sc-donate-modal__custom {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 20px;
    transition: border-color 0.15s;
}

.sc-donate-modal__custom:focus-within {
    border-color: var(--pa-primary);
}

.sc-donate-modal__custom-prefix {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-right: 12px;
}

.sc-donate-modal__custom-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: right;
    padding: 12px 0;
    font-family: inherit;
    min-width: 0;
}

.sc-donate-modal__custom-input::placeholder {
    color: #9ca3af;
    font-weight: 700;
}

.sc-donate-modal__summary {
    background: #fff;
    border: 1px solid rgba(4, 149, 81, 0.08);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

@media (max-width: 1230px) {
    .sc-donate-modal__summary {
        padding: 16px;
    }
}

.sc-donate-modal__summary-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-donate-modal__summary-label {
    font-size: 16px;
    color: #333;
}

.sc-donate-modal__summary-amount {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 1230px) {
    .sc-donate-modal__summary-amount {
        font-size: 20px;
    }
}

/* Frequency toggle slider — same colors as hero modal `.hv2-donate-flat__freq-wrap` */
.sc-donate-modal__freq {
    display: inline-flex;
    background: #F3F4F6;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    flex-shrink: 0;
}

.sc-donate-modal__freq-btn {
    all: unset;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

@media (max-width: 1230px) {
    .sc-donate-modal__freq-btn {
        font-size: 16px;
        padding: 8px;
    }
}

.sc-donate-modal__freq-btn--active {
    background: var(--pa-primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(4, 149, 81, 0.3);
}

.sc-donate-modal__cta {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 18px 24px;
    background: var(--pa-primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 12px 24px -8px rgba(4, 149, 81, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.sc-donate-modal__cta:hover {
    background: var(--pa-primary-hover);
    box-shadow: 0 16px 28px -8px rgba(4, 149, 81, 0.45);
}

.sc-donate-modal__cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sc-donate-modal__cta svg {
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
}

.sc-donate-modal__cta svg path {
    stroke: currentColor;
}

.sc-donate-modal__disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
}

.sc-donate-modal__disclaimer svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sponsor pane */
.sc-donate-modal__sponsor-intro {
    text-align: center;
    padding: 16px 0 0;
}

.sc-donate-modal__sponsor-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.sc-donate-modal__sponsor-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 0 20px;
}

@media (max-width: 639px) {
    .sc-donate-modal {
        top: 0;
        left: 0;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .sc-donate-modal.is-open {
        transform: none;
    }
}

@media (max-width: 1230px) {
    .sc-donate-modal__header {
        flex-shrink: 0;
        padding: 15px;
        border-bottom: 1px solid #04955133;
    }

    .sc-donate-modal__title {
        font-size: 20px;
    }

    .sc-donate-modal__tabs {
        max-width: none;
        display: none;
    }

    .sc-donate-modal__tab {
        font-size: 14px;
        padding: 10px 12px;
    }

    .sc-donate-modal__pane {
        padding: 0;
    }

    .sc-donate-modal__pane--active {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    .sc-donate-modal__pane-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px 16px 12px;
    }

    .sc-donate-modal__pane-footer {
        flex-shrink: 0;
        padding: 12px 16px 16px;
        background: linear-gradient(180deg, rgba(240, 251, 243, 0) 0%, #f0fbf3 30%);
        box-shadow: 0 -8px 16px -12px rgba(15, 23, 42, 0.12);
    }

    .sc-donate-modal__freq-btn {
        text-align: center;
    }
}

/* Body scroll-lock when modal is open */
body.sc-donate-open {
    overflow: hidden;
}

#hv2-donate-modal .hv2-sp-acc--upsell,
#hv2-donate-modal .hv2-sp-inline-sponsor {
    display: none !important;
}

.sc-donate-modal__card--acc {
    padding: 0;
}

.sc-donate-modal__card--acc>.sc-donate-modal__card-header {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 5px 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}

@media (max-width: 1230px) {
    .sc-donate-modal__card--acc>.sc-donate-modal__card-header {
        font-size: 18px;
    }
}

.sc-donate-modal__card-title {
    flex: 1;
    text-align: left;
}

.sc-donate-modal__card-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sc-donate-modal__card-chevron svg {
    width: 18px;
    height: 18px;
}

.sc-donate-modal__card--open>.sc-donate-modal__card-header>.sc-donate-modal__card-chevron {
    transform: rotate(180deg);
}

.sc-donate-modal__card-body {
    display: none;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #04955133;
}

.sc-donate-modal__card--open>.sc-donate-modal__card-body {
    display: block;
}

/* Link-style card (e.g. "Sponsor Anak") — clicking it switches the modal pane,
   not a real inline accordion. Same look as accordion header for consistency. */
.sc-donate-modal__card--link {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(4, 149, 81, 0.08);
    border-radius: 18px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #101828;
    transition: background 0.15s, border-color 0.15s;
}

.sc-donate-modal__card--link:hover {
    background: #f9fafb;
    border-color: rgba(4, 149, 81, 0.18);
}

/* Summary row: "Donasi Anda + amount" left, frequency toggle right */
.sc-donate-modal__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Impact copy — sits below the summary row inside the same card */
.sc-donate-modal__impact {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(4, 149, 81, 0.08);
}

.sc-donate-modal__impact-title {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 6px;
}

.sc-donate-modal__impact-body {
    font-size: 13px;
    line-height: 1.55;
    color: #333;
    margin: 0;
}

.sc-donate-modal__impact-body strong {
    color: var(--pa-primary);
    font-weight: 700;
}

/* Mobile "Sponsor Anak" accordion — prompt text inside the body */
.sc-donate-modal__sponsor-prompt {
    font-size: 16px;
    line-height: 1.55;
    color: #333;
    margin: 0 0 14px;
}

/* ── Inline sponsor selection + Rangkuman Donasi ──
   Both hidden by default; revealed when modal has `.sc-donate-modal--upsell-yes`. */
.sc-donate-modal__inline-sponsor,
.sc-donate-modal__rangkuman {
    display: none;
}

.sc-donate-modal--upsell-yes .sc-donate-modal__inline-sponsor,
.sc-donate-modal--upsell-yes .sc-donate-modal__rangkuman {
    display: block;
}

/* When upsell-yes, hide ALL upsell button groups (No/Yes) — user already chose */
.sc-donate-modal--upsell-yes .hv2-sp-upsell {
    display: none !important;
}

.sc-donate-modal--upsell-yes .sc-donate-modal__card--mobile-sponsor .sc-donate-modal__card-body {
    display: none !important;
}

@media (max-width: 1230px) {
    .sc-donate-modal__pane-body {
        display: flex;
        flex-direction: column;
    }

    .sc-donate-modal__card--mobile-sponsor {
        order: 1;
    }

    .sc-donate-modal__inline-sponsor {
        order: 2;
    }

    .sc-donate-modal__summary {
        order: 3;
    }

    .sc-donate-modal__rangkuman {
        order: 4;
    }

    /* When user clicks Yes on mobile, visually merge the Sponsor Anak accordion
       with the inline-sponsor block below — they form ONE continuous card so the
       step accordions appear nested inside Sponsor Anak's body. */
    .sc-donate-modal--upsell-yes .sc-donate-modal__card--mobile-sponsor {
        margin-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: 0;
    }

    .sc-donate-modal--upsell-yes .sc-donate-modal__inline-sponsor {
        background: linear-gradient(180deg, #fff 0%, #f0fbf3 100%);
        border: 1px solid rgba(4, 149, 81, 0.12);
        border-top: 1px solid rgba(4, 149, 81, 0.08);
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
        margin-top: 0;
        margin-bottom: 16px;
        padding: 14px 18px 18px;
    }

    .sc-donate-modal__inline-sponsor .hv2-sp-inline-period-row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .sc-donate-modal__inline-sponsor .hv2-sp-inline-value {
        align-items: center;
        text-align: center;
    }
}

/* Inline sponsor wrapper — stack the 3 step accordions */
.sc-donate-modal__inline-sponsor {
    margin: 16px 0;
    display: none;
}

.sc-donate-modal--upsell-yes .sc-donate-modal__inline-sponsor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Rangkuman Donasi card */
.sc-donate-modal__rangkuman {
    background: #fff;
    border: 1px solid rgba(4, 149, 81, 0.12);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.sc-donate-modal__rangkuman-title {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 14px;
}

.sc-donate-modal__rangkuman-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    color: #333;
    padding: 6px 0;
}

.sc-donate-modal__rangkuman-row strong {
    color: #333;
    font-weight: 700;
}

.sc-donate-modal__rangkuman-row>span:last-child {
    text-align: right;
    color: #333;
    font-size: 16px;
}

.sc-donate-modal__rangkuman-divider {
    height: 1px;
    background: rgba(4, 149, 81, 0.12);
    margin: 8px 0;
}

.sc-donate-modal__rangkuman-row--total {
    font-size: 16px;
    color: #101828;
}

.sc-donate-modal__rangkuman-row--total strong {
    color: #333;
    font-size: 30px;
    font-weight: 700;
}

.sc-donate-modal__rangkuman-row--recurring {
    flex-wrap: nowrap;
    gap: 16px;
}

.sc-donate-modal__rangkuman-row--recurring>span:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sc-donate-modal__rangkuman-row--recurring>span:last-child {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

.sc-donate-modal__rangkuman-row--recurring strong {
    color: #333;
    font-weight: 700;
    font-size: 18px;
}

@media (max-width: 1230px) {
    .sc-donate-modal__rangkuman-row--total strong {
        font-size: 20px;
    }

    .sc-donate-modal__rangkuman-row--recurring strong {
        color: #333;
        font-size: 20px;
    }

    .sc-donate-modal__rangkuman-row.sc-donate-modal__rangkuman-row--recurring {
        display: none;
    }
}

@media (min-width: 1230px) {

    .sc-donate-modal__card--link,
    .sc-donate-modal__card--mobile-sponsor,
    .sc-donate-modal__impact {
        display: none !important;
    }

    .sc-donate-modal__sponsor-prompt {
        display: none;
    }

    .sc-donate-modal .hv2-sp-acc--upsell {
        display: block;
        background: linear-gradient(180deg, #fff 0%, #f0fbf3 100%);
        border: 1px solid rgba(4, 149, 81, 0.12);
        border-radius: 24px;
        padding: 24px;
        margin: 16px 0;
    }

    .sc-donate-modal .hv2-sp-acc--upsell .hv2-sp-acc__chevron {
        display: inline-flex;
    }

    .sc-donate-modal .hv2-sp-acc--upsell.hv2-sp-acc--open .hv2-sp-acc__chevron {
        transform: rotate(180deg);
    }

    .sc-donate-modal .hv2-sp-acc--upsell .hv2-sp-acc__header {
        cursor: pointer;
        gap: 12px;
    }

    .sc-donate-modal .hv2-sp-acc--upsell .hv2-sp-acc__title {
        font-size: 20px;
        font-weight: 700;
        color: #101828;
        line-height: 1.4;
        text-align: left;
    }

    /* Body collapsed by default; revealed when .hv2-sp-acc--open is added */
    .sc-donate-modal .hv2-sp-acc--upsell .hv2-sp-acc__body {
        display: none;
        padding-top: 14px;
        margin-top: 12px;
        border-top: 1px solid rgba(4, 149, 81, 0.08);
    }

    .sc-donate-modal .hv2-sp-acc--upsell.hv2-sp-acc--open .hv2-sp-acc__body {
        display: block;
    }

    /* When user clicks Yes, visually merge the upsell accordion with the
       inline-sponsor block below — they form ONE continuous card so the step
       accordions look nested inside the upsell's body. */
    .sc-donate-modal--upsell-yes .hv2-sp-acc--upsell {
        margin-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: 0;
    }

    .sc-donate-modal--upsell-yes .sc-donate-modal__inline-sponsor {
        background: linear-gradient(180deg, #fff 0%, #f0fbf3 100%);
        border: 1px solid rgba(4, 149, 81, 0.12);
        border-top: 1px solid rgba(4, 149, 81, 0.08);
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
        margin-top: 0;
        margin-bottom: 16px;
        padding: 14px 18px 18px;
    }
}

/* Mobile (≤1230px): the upsell accordion is the desktop-only variant —
   mobile uses the dedicated "Sponsor Anak" link-card instead. */
@media (max-width: 1230px) {
    .sc-donate-modal .hv2-sp-acc--upsell {
        display: none !important;
    }
}

.sc-donate-modal .hv2-sp-inline-list {
    overflow-y: auto;
    padding-right: 4px;
}

.sc-donate-modal .hv2-sp-inline-list .hv2-sponsor-picker__card {
    padding: 10px 12px;
}

.sc-donate-modal .hv2-sp-inline-list .hv2-sponsor-picker__card-avatar {
    width: 72px;
    height: 72px;
}

.sc-donate-modal .hv2-sp-inline-list .hv2-sponsor-picker__card-name {
    font-size: 16px;
}

.sc-donate-modal .hv2-sp-inline-list .hv2-sponsor-picker__card-sub {
    font-size: 16px;
}

.sc-donate-modal .hv2-sp-inline-list .hv2-sponsor-picker__card-price {
    font-size: 16px;
}

@media (max-width: 1230px) {
    .sc-donate-modal .hv2-sp-inline-list {
        overflow-y: auto;
        padding-right: 4px;
        -webkit-overflow-scrolling: touch;
    }
}

.sc-donate-modal__pane .hv2-sp-acc--step .hv2-sp-acc__header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    padding: 14px 0px;
    align-items: flex-start;
}

.sc-donate-modal__pane .hv2-sp-acc__info {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    gap: 2px;
}

.sc-donate-modal__pane .hv2-sp-acc__title {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    line-height: 1.35;
}

@media (max-width: 1230px) {
    .sc-donate-modal__pane .hv2-sp-acc__title {
        font-size: 18px;
    }
}

.sc-donate-modal__pane .hv2-sp-acc__sub {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* Show chevron + rotate on open (default `display: none` in home-v2.css) */
.sc-donate-modal__pane .hv2-sp-acc--step .hv2-sp-acc__chevron {
    display: inline-flex;
}

.sc-donate-modal__pane .hv2-sp-acc--step.hv2-sp-acc--open .hv2-sp-acc__chevron {
    transform: rotate(180deg);
}

/* Body collapsed by default; revealed when --open is added */
.sc-donate-modal__pane .hv2-sp-acc--step .hv2-sp-acc__body {
    display: none;
}

.sc-donate-modal__pane .hv2-sp-acc--step.hv2-sp-acc--open .hv2-sp-acc__body {
    display: block;
    padding: 14px 0px 14px;
}

.sc-donate-modal__field-label--block {
    margin-bottom: 12px;
}

.sc-donate-modal__sponsor-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.sc-donate-modal__sponsor-list::-webkit-scrollbar {
    width: 6px;
}

.sc-donate-modal__sponsor-list::-webkit-scrollbar-thumb {
    background: rgba(4, 149, 81, 0.25);
    border-radius: 999px;
}

.sc-donate-modal__sponsor-empty {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    padding: 24px 0;
}

/* Sponsor cards reuse .hv2-sponsor-picker__card* from home-v2.css for visual
   parity with the homepage sponsor flow — no dedicated card styles needed
   here. The list container (.sc-donate-modal__sponsor-list) above provides
   the scrollable wrapper. */

@media (max-width: 480px) {
    .sc-donate-modal__sponsor-list {
        max-height: 260px;
    }
}


/* ==========================================================================
   FIGMA CAMPAIGN DETAIL — §1 HERO + DONATION CARD (2026-09-23)
   Desktop: "Campaign Detail / Story tab" 5734:2832 → hero 5734:2834 (1440×680),
   Main 5734:2871 (content 760 + side 400, gap 40), Donation Card 5734:2873 (400×546,
   sticky per the developer note 5745:3472). Mobile: 5761:7382 hero (440) + Progress
   Block 5761:7415 (398) and the Sticky Donate bar 5769:5525. Desktop values first,
   the block's own @media (max-width: 1230px) at the end.
   ========================================================================== */

/* ── Phone nav 5761:7385 + menu tab 6053:5631 (same as the campaigns archive): transparent bar over
      the photo, logo 32 at 16, green 64×44 tab hanging from the top edge and centred, white Donate
      pill ending 16 from the right. The theme centres the burger with a margin-right on the logo and
      a margin-left: -200px on the menu area — both must be zeroed or the pill leaves the screen. ── */
body:has(.sc-hero) .hv2-header--overlay {
    position: absolute;
    background: none;
    pointer-events: auto;
}

@media (max-width: 1230px) {
    body:has(.sc-hero) .hv2-header__inner--minimal {
        height: auto;
        padding: 16px;
        gap: 12px;
        justify-content: space-between;
    }

    body:has(.sc-hero) .hv2-header__logo-img {
        height: 32px;
    }

    body:has(.sc-hero) .hv2-header__logo-link {
        margin-right: 0;
    }

    body:has(.sc-hero) .hv2-header__menu-area {
        display: flex;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        margin: 0;
        gap: 0;
    }

    body:has(.sc-hero) .hv2-header__menu-pill {
        width: 64px;
        height: 44px;
        padding: 0;
        border-radius: 0 0 16px 16px;
        background: var(--pa-primary);
        color: #fff;
    }

    body:has(.sc-hero) .hv2-header__menu-pill svg {
        width: 28px;
        height: 28px;
    }

    body:has(.sc-hero) .hv2-header__donate-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        order: 2;
        width: auto;
        height: 48px;
        padding: 0 22px;
        border-radius: 12px;
        background: #fff;
        color: var(--pa-primary-dark);
        font: 600 16px/24px var(--pa-font-default);
        box-shadow: none;
        margin-left: 0;
    }

    /* the heart is the pill's inline heart-solid icon (header.php); this frame draws it 18 */
    body:has(.sc-hero) .hv2-header__donate-icon {
        width: 18px;
        height: 18px;
    }
}

/* ≤360 (no frame): the pill and the logo must clear the centred menu tab at 320 */
@media (max-width: 360px) {
    body:has(.sc-hero) .hv2-header__logo-img {
        height: 28px;
    }

    body:has(.sc-hero) .hv2-header__donate-pill {
        padding: 0 12px;
        gap: 4px;
    }
}

/* ── Hero 5734:2834: 680 tall, photo top-anchored, 330 shade at the bottom ── */
.sc-page .sc-hero__visual {
    aspect-ratio: auto;
    height: 680px;
    max-height: none;
    background: var(--pa-surface-tint);
}

.sc-page .sc-hero__img {
    object-position: var(--sc-hero-pos, 50% 0%); /* Edit Campaign › Hero › Hero image position */
}

.sc-page .sc-hero__overlay {
    display: block;
    padding: 0;
    /* top: Figma 5734:2836's first stops (.5 → .18 at 24%) so the logo, breadcrumb, menu and Donate read on a
       light photo (Chaim, 2026-12-04); fades out by 40%, the bottom shade for the title is unchanged */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 24%, rgba(5, 26, 15, 0) 40%, rgba(5, 26, 15, 0) 51.5%, rgba(5, 26, 15, 0.5) 73%, rgba(5, 26, 15, 0.82) 100%);
}

/* breadcrumb 5734:2867 — 120 from the left, 112 from the top */
/* the frame puts it at x=120 = the 1200 content box's left edge, so it must travel with that box on
   wider screens, not stay 120px from the viewport (same lesson as the child page's "All children" pill) */
.sc-hero__crumbs {
    position: absolute;
    left: 50%;
    top: 112px;
    width: 1200px;
    max-width: calc(100% - 40px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 14px/20px var(--pa-font-default);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    pointer-events: auto; /* the overlay it sits in ignores clicks; without this "Campaigns" was not clickable (user 2026-11-27) */
}

.sc-hero__crumb {
    color: inherit;
    text-decoration: none;
}

/* hover/focus stays white, only the underline shows; the global link hover turned it green (user 2026-12-03) */
.sc-hero__crumb:hover,
.sc-hero__crumb:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.sc-hero__crumb-sep {
    opacity: 0.7;
}

/* copy 5734:2851 — 984 wide, centred, column gap 14. The frame puts it at top 396 with a 2-line title,
   which ends 90 above the hero's bottom (40 above the cards riding 50 up into it). Anchored to that
   bottom instead, like the phone layout, so a 3-line title grows up into the photo, not under the cards. */
.sc-hero__copy {
    position: absolute;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    width: 984px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

/* .home-v2-page h1 is Keep Calm !important in global.css — this frame is Inter */
.sc-page .sc-hero__title {
    margin: 0;
    width: 100%;
    font-family: var(--pa-font-default) !important;
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0;
}

.sc-hero__sub {
    margin: 0;
    width: 100%;
    font: 400 18px/28px var(--pa-font-default);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* trust line 5812:2844 — icon 16, 500 15/22, gap 12 */
.sc-hero__trust {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font: 500 15px/22px var(--pa-font-default);
    color: #fff;
}

.sc-hero__verified,
.sc-hero__loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-hero__trust svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 5812:2846 — the verified badge is a #049551 disc with a white check; inheriting the line's white
   would paint the disc white and swallow the check */
.sc-hero__verified svg {
    color: var(--pa-primary);
}

.sc-hero__dot {
    opacity: 0.7;
}

/* ── Main 5734:2871: content 760 + side 400, gap 40, in a 1200 box ── */
.sc-main {
    background: var(--pa-surface-tint);
    padding: 0 20px 80px;
}

/* 5734:2871 — Main starts at y 630 of the 680 hero: both columns ride 50px up into the photo */
.sc-main__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: -50px auto 0;
    display: grid;
    grid-template-columns: 760px 400px;
    gap: 40px;
    align-items: start;
}

/* a grid item defaults to `min-width: auto`, i.e. it never shrinks below its widest child's
   min-content — one un-wrappable block inside the column (the "How to donate" steps) blew the
   whole content column out to 832px on a 390px phone and every section in it rendered off-screen.
   `.sc-main__side` already carried this; the content column needs it too. */
.sc-main__content {
    min-width: 0;
}

/* the sections moved into the column keep their markup; their own container must not re-constrain them */
.sc-main__content>section {
    padding-left: 0;
    padding-right: 0;
}

.sc-main__content .pa-container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* the column stretches to the row height so the card can stick inside it (developer note 5745:3472) */
.sc-main__side {
    align-self: stretch;
    min-width: 0;
}

/* ── Donation card 5734:2873 — 400 wide, pad 32 (frame 33 incl. the 1px border), gap 20 ── */
.sc-give {
    box-sizing: border-box;
    position: sticky;
    top: 24px;
    z-index: 2;
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.16);
}

/* a window shorter than the card + its offset must not trap the page (developer note) */
@media (max-height: 590px) {
    .sc-give {
        position: static;
    }
}

.sc-give__funding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-give__amounts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.sc-give__amounts-label {
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-give__raised {
    font: 600 28px/36px var(--pa-font-default);
    color: var(--pa-primary-dark);
}

.sc-give__goal {
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-give__goal-m {
    display: none;
}

/* progress row: track 20 r999 + "71%" 12px after it */
.sc-give__progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-give__track {
    position: relative;
    /* holds the year divider (9918:312) */
    flex: 1 1 0;
    height: 20px;
    border-radius: 999px;
    background: #cde8d8;
    overflow: hidden;
}

.sc-give__fill {
    height: 100%;
    border-radius: 999px;
    background: var(--pa-primary);
}

/* two-year bar of a fully sponsored Ongoing year (developer reference 9918:312, 2026-10-19): white 2px year divider
   down the middle, the track's height (12 on phones) */
.sc-give__track-divider {
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 100%;
    background: #fff;
}

.sc-give__pct {
    flex-shrink: 0;
    font: 600 14px/20px var(--pa-font-default);
    color: #101828;
}

.sc-give__meta {
    display: flex;
    flex-wrap: wrap; /* long labels (nl "Begint opnieuw op 1 januari") drop to a second line inside the card */
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-give__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sc-give__meta-item strong,
.sc-give__meta-item .sc-stats__days-count,
.sc-give__meta-item .sc-stats__donor-count {
    font-weight: 500;
    color: inherit;
}

/* the live updater rebuilds this span's content; it must keep the row's layout */
.sc-give__meta-item .sc-stats__days {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.sc-give__meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sc-give__meta-item--days {
    color: #b54708;
}

.sc-give__divider {
    height: 1px;
    background: #eaecf0;
}

/* Give 5734:2896 — column gap 12 */
.sc-give__box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-give__label {
    margin: 0;
    font: 600 14px/20px var(--pa-font-default);
    color: #101828;
}

.sc-give__chips {
    display: flex;
    gap: 8px;
}

.sc-give__chip {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font: 500 14px/20px var(--pa-font-default);
    color: #344054;
    cursor: pointer;
    white-space: nowrap;
}

.sc-give__chip.is-selected {
    background: var(--pa-surface-tint);
    border: 2px solid var(--pa-primary);
    color: var(--pa-primary-dark);
}

.sc-give__other {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-give__other[hidden] {
    display: none;
}

.sc-give__input {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
}

.sc-give__input-prefix {
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-give__input-field {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    font: 500 14px/20px var(--pa-font-default);
    color: #101828;
}

.sc-give__input-clear {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: none;
    color: #98a2b3;
    cursor: pointer;
}

.sc-give__input-clear svg {
    width: 16px;
    height: 16px;
}

.sc-give__hint {
    margin: 0;
    font: 500 12px/18px var(--pa-font-default);
    color: #475467;
}

/* impact row 5734:2907 */
.sc-give__impact {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--pa-surface-tint);
    border-radius: 10px;
    font: 500 14px/20px var(--pa-font-default);
    color: var(--pa-primary-dark);
}

.sc-give__impact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* the parent theme's `.single-campaign .campaign-donate-button` (campaign.min.css) sets radius 10,
   a 235px width and `background-color/border-color: #12a24a !important` — hence the extra class here
   and the two !important declarations, which carry the frame's #037a42 */
.sc-page .sc-give .sc-give__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    width: 100%;
    padding: 0;
    border: 1.5px solid var(--pa-primary-dark);
    border-color: var(--pa-primary-dark) !important;
    border-radius: 12px;
    background-color: var(--pa-primary-dark) !important;
    font: 600 16px/24px var(--pa-font-default);
    color: #fff;
    cursor: pointer;
}

.sc-page .sc-give .sc-give__cta[disabled] {
    opacity: 0.55;
    cursor: default;
}

.sc-page .sc-give .sc-give__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sc-give__share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    border-radius: 12px;
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
    text-decoration: none;
}

.sc-give__share svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* trust line 5748:2838 — plain text on desktop, not a link (developer note) */
.sc-give__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid #eaecf0;
    font: 500 13px/18px var(--pa-font-default);
    color: #475467;
    text-decoration: none;
    pointer-events: none;
}

.sc-give__trust svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--pa-primary-dark);
}

/* the sticky Donate bar is the phone layout's counterpart of the sticky card */
.sc-donatebar {
    display: none;
}

/* ══ Mobile (<1230): hero 440, card 398 under it, sticky Donate bar ═════════════════════════════ */
@media (max-width: 1230px) {
    .sc-page .sc-hero__visual {
        height: 440px;
    }

    .sc-hero__crumbs {
        display: none;
    }

    /* 5761:7397 — copy 390 wide, gap 12. The frame places it at y 228 with a 3-line title, which
       leaves exactly 24px between the trust line and the card below; real titles wrap to 2–3 lines
       per language and width, so the copy is anchored to that 24px instead and grows upwards into
       the photo, where there is room. (The desktop frame keeps its own top offset.) */
    .sc-hero__copy {
        top: auto;
        bottom: 24px;
        width: 390px;
        max-width: calc(100% - 40px);
        gap: 12px;
    }

    .sc-page .sc-hero__title {
        font-size: 28px;
        line-height: 34px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .sc-hero__sub {
        font-size: 15px;
        line-height: 22px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .sc-hero__trust {
        flex-wrap: wrap;
        gap: 2px 8px;
        font-size: 13px;
        line-height: 18px;
    }

    .sc-hero__verified svg {
        width: 14px;
        height: 14px;
    }

    .sc-hero__loc svg {
        width: 12px;
        height: 12px;
    }

    .sc-hero__verified {
        gap: 5px;
    }

    .sc-hero__loc {
        gap: 4px;
    }

    .sc-hero__dot {
        display: none;
    }

    /* one column: the card sits right under the hero (5761:7414), the content follows.
       No bottom padding: the phone frame puts the Why-give band straight after the Content
       band (Content 5759:6349 ends at y 4725, Why-give 5759:6523 starts at 4725), so the
       seam is the Content card's own 40 plus .sc-why's 40 = 80. The 48 that used to sit
       here made it 128. */
    .sc-main {
        padding: 0;
        background: white;
    }

    .sc-main__inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        /* the desktop rule's `align-items: start` would survive here and, in a COLUMN flex
           container, make both children shrink-to-fit on the cross axis — the content column
           then sized itself to its widest child (832px) and ran off a 390px phone */
        align-items: stretch;
    }

    .sc-main__inner {
        margin-top: 0;
    }

    /* 5761:7414 — the card sits flush against the hero's bottom edge, 24 above the content */
    .sc-main__side {
        order: -1;
        padding: 0 16px;
    }

    .sc-main__content {
        padding-top: 24px;
    }

    /* 5761:7415 — 398 in the 430 frame: 16px side margins, pad 24, gap 16 */
    .sc-give {
        position: static;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    }

    .sc-give__amounts {
        gap: 0;
    }

    .sc-give__raised {
        font-size: 26px;
        line-height: 32px;
    }

    .sc-give__goal {
        font: 500 12px/18px var(--pa-font-default);
    }

    /* the phone frame replaces "of … goal" with "Goal … · N% funded" */
    .sc-give__goal-d {
        display: none;
    }

    .sc-give__goal-m {
        display: inline;
    }

    .sc-give__goal {
        font-size: 12px;
        line-height: 18px;
    }

    .sc-give__track {
        height: 12px;
    }

    /* the percentage lives in the goal line on phones */
    .sc-give__pct {
        display: none;
    }

    .sc-give__meta-item strong,
    .sc-give__meta-item .sc-stats__days-count,
    .sc-give__meta-item .sc-stats__donor-count {
        font-weight: 600;
        color: #101828;
    }

    .sc-give__meta-item--days .sc-stats__days-count {
        color: inherit;
    }

    .sc-give__box {
        gap: 8px;
    }

    .sc-give__chips {
        gap: 6px;
    }

    .sc-give__impact {
        font-size: 13px;
        line-height: 18px;
    }

    .sc-give__share {
        height: 44px;
    }

    .sc-give__trust {
        padding-top: 14px;
        pointer-events: auto;
    }

    /* ── Sticky Donate bar 5769:5525 ── */
    .sc-donatebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        display: block;
        background: #fff;
        box-shadow: 0 -6px 10px rgba(15, 23, 41, 0.14);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transform: translateY(100%);
        transition: transform 0.22s ease;
    }

    .sc-donatebar.is-visible {
        transform: translateY(0);
    }

    /* hidden bar out of the Tab order and the accessibility tree (Lighthouse aria-hidden-focus, 2026-11-28):
       visibility switches after the slide-down ends and back at once on .is-visible, so the look stays the same */
    .sc-donatebar:not(.is-visible) {
        visibility: hidden;
        transition: transform 0.22s ease, visibility 0s linear 0.22s;
    }

    .sc-donatebar__progress {
        height: 4px;
        background: #cde8d8;
        overflow: hidden;
    }

    .sc-donatebar__fill {
        display: block;
        height: 100%;
        background: var(--pa-primary);
    }

    .sc-donatebar__row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .sc-donatebar__info {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .sc-donatebar__raised {
        font: 600 15px/22px var(--pa-font-default);
        color: #101828;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sc-donatebar__sub {
        font: 500 13px/18px var(--pa-font-default);
        color: #475467;
        white-space: nowrap;
    }

    .sc-donatebar__cta {
        flex-shrink: 0;
        width: 196px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 0;
        border-radius: 12px;
        background: var(--pa-primary-dark);
        font: 600 16px/24px var(--pa-font-default);
        color: #fff;
        cursor: pointer;
    }

    .sc-donatebar__cta svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* ══ The 320 frame (5761:6831) is its own layout, not the 430 one squeezed: the hero is 470 tall with
      the copy at 254 (so the trust line keeps the frame's 24px above the card), the title steps down to
      24/30 and the sub to 14/20, and the Donate bar's button narrows to 156 (5769:5551). ══ */
@media (max-width: 360px) {
    .sc-page .sc-hero__visual {
        height: 470px;
    }

    .sc-page .sc-hero__title {
        font-size: 24px;
        line-height: 30px;
    }

    .sc-hero__sub {
        font-size: 14px;
        line-height: 20px;
    }

    .sc-donatebar__cta {
        width: 156px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §3 STORY GALLERY + PHOTO LIGHTBOX
   Gallery 5735:2849 (desktop) / 5759:6358 (phone), lightbox 5750:5582.
   One large photo with the arrows, counter and zoom button drawn ON it; a
   thumbnail strip on desktop, swipe dots on phones. The frame has no heading.
   Several selectors carry .sc-gal twice on purpose: the panel-wide legacy rule
   `.sc-story img { height:248px; border-radius:24px; object-position:center 10% }`
   (0,1,1) beats a single class and would square off and crop every photo here.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-gal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 32px;
}

.sc-gal__stage {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f4f7;
}

.sc-gal .sc-gal__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.sc-gal .sc-gal__photo.is-active {
    opacity: 1;
    visibility: visible;
}

/* 5735:2853 / 5735:2856 — 40px discs on the photo, vertically centred */
.sc-gal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #101828;
    cursor: pointer;
}

.sc-gal__nav svg {
    width: 20px;
    height: 20px;
}

.sc-gal__nav--prev {
    left: 16px;
}

.sc-gal__nav--next {
    right: 14px;
}

/* 5749:2852 — opens the lightbox */
.sc-gal__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 41, 0.7);
    color: #fff;
    cursor: pointer;
}

.sc-gal__zoom svg {
    width: 16px;
    height: 16px;
}

/* 5735:2851 — "1 / 6" */
.sc-gal__counter {
    position: absolute;
    right: 12px;
    bottom: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 41, 0.7);
    font: 500 12px/18px var(--pa-font-default);
    color: #fff;
    white-space: nowrap;
}

/* 5735:2859 — the strip divides the row evenly, selected one gets a 3px ring */
.sc-gal__thumbs {
    display: flex;
    gap: 12px;
}

.sc-gal__thumb {
    flex: 1 1 0;
    min-width: 0;
    height: 104px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: none;
    opacity: 0.85;
    cursor: pointer;
    box-sizing: border-box;
    transition: opacity 0.15s ease;
}

.sc-gal__thumb.is-active {
    opacity: 1;
    border: 3px solid var(--pa-primary);
}

.sc-gal .sc-gal__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.sc-gal__dots {
    display: none;
}

@media (max-width: 1230px) {

    /* 5759:6358 — 236 tall, no arrows, no thumbnails: swipe + dots */
    .sc-gal {
        gap: 10px;
        margin-bottom: 28px;
    }

    .sc-gal__stage {
        height: 236px;
    }

    .sc-gal__nav {
        display: none;
    }

    .sc-gal__zoom {
        top: 10px;
        right: 10px;
    }

    .sc-gal__counter {
        bottom: 12px;
    }

    .sc-gal__thumbs {
        display: none;
    }

    /* 5759:6365 — active is a 20x8 pill, the rest 8px discs */
    .sc-gal__dots {
        display: flex;
        gap: 6px;
        align-items: center;
        justify-content: center;
    }

    .sc-gal__dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        background: #d0d5dd;
        cursor: pointer;
        transition: width 0.2s ease, background 0.2s ease;
    }

    .sc-gal__dot.is-active {
        width: 20px;
        background: var(--pa-primary);
    }
}

/* ── Photo lightbox 5750:5582 ─────────────────────────────────────────────── */

body.sc-lightbox-open {
    overflow: hidden;
}

.sc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050a08;
}

.sc-lightbox[hidden] {
    display: none;
}

.sc-lightbox__counter {
    position: absolute;
    left: 20px;
    top: 62px;
    margin: 0;
    font: 500 15px/22px var(--pa-font-default);
    color: #fff;
}

.sc-lightbox__close {
    position: absolute;
    right: 20px;
    top: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
}

.sc-lightbox__close svg {
    width: 22px;
    height: 22px;
}

.sc-lightbox__photo {
    display: block;
    width: 100%;
    max-width: 1100px;
    max-height: 72vh;
    object-fit: contain;
}

/* 30 below the photo (photo ends 530, caption 560) */
.sc-lightbox__caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 132px;
    width: 350px;
    max-width: calc(100% - 40px);
    margin: 0;
    text-align: center;
    font: 500 16px/24px var(--pa-font-default);
    color: #fff;
}

.sc-lightbox__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 76px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.sc-lightbox__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #fff;
    opacity: 0.35;
    cursor: pointer;
    transition: width 0.2s ease, opacity 0.2s ease;
}

.sc-lightbox__dot.is-active {
    width: 20px;
    opacity: 1;
}

.sc-lightbox__hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    width: 350px;
    max-width: calc(100% - 40px);
    margin: 0;
    text-align: center;
    font: 400 12px/18px var(--pa-font-default);
    color: #fff;
    opacity: 0.6;
}

@media (max-width: 1230px) {
    .sc-lightbox__photo {
        max-width: 100%;
        max-height: 40vh;
    }
}

/* desktop arrows (2026-11-11): a mouse cannot swipe. 56 round, white on the dark overlay, 32 from the edges */
.sc-lightbox__nav {
    position: absolute;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sc-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.26);
}

.sc-lightbox__nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.sc-lightbox__nav[hidden] {
    display: none;
}

.sc-lightbox__nav--prev {
    left: 32px;
}

.sc-lightbox__nav--next {
    right: 32px;
}

.sc-lightbox__hint-m {
    display: none;
}

@media (max-width: 1230px) {
    .sc-lightbox__nav,
    .sc-lightbox__hint-d {
        display: none;
    }

    .sc-lightbox__hint-m {
        display: inline;
    }
}

/* 5759:6469 drops the "so far" half on phones */
@media (max-width: 1230px) {
    .sc-donations__count-more {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §5 SHARE + §6 DISCLAIMER
   Share 5736:2894 (desktop) / 5759:6449 (phone) · Disclaimer 5812:2863.
   Both now live INSIDE .sc-content__card, like every other block of this column
   in the frame, so they lose their own card chrome and page padding.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-content__card .sc-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    margin: 32px 0 0;
    border-top: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
    background: none;
}

.sc-content__card .sc-share__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sc-content__card .sc-share__label {
    margin: 0;
    font: 600 16px/24px var(--pa-font-default);
    color: #101828;
    text-align: left;
}

.sc-content__card .sc-share__sub {
    margin: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
    text-align: left;
}

.sc-content__card .sc-share__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 5736:2899 — the only labelled button on desktop */
.sc-content__card .sc-share__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    font: 600 14px/20px var(--pa-font-default);
    color: #344054;
    cursor: pointer;
    white-space: nowrap;
}

.sc-content__card .sc-share__copy svg {
    width: 18px;
    height: 18px;
}

.sc-content__card .sc-share__copy.is-copied [data-sc-copy-label] {
    display: none;
}

.sc-content__card .sc-share__copy.is-copied .sc-share__copy-done {
    display: inline;
}

/* 5736:2904 … 5736:2917 — 44 square tiles, 22px glyph, no fill */
.sc-content__card .sc-share__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    color: var(--pa-primary-dark);
    overflow: hidden;
}

.sc-content__card .sc-share__icon svg {
    width: 22px;
    height: 22px;
}

.sc-content__card .sc-share__icon-label,
.sc-content__card .sc-share__more {
    display: none;
}

/* the phone frame swaps Instagram for WhatsApp + a native-share button */
.sc-content__card .sc-share__icon--whatsapp {
    display: none;
}

.sc-content__card .sc-share__icon:hover {
    border-color: var(--pa-primary);
    color: var(--pa-primary);
}

@media (max-width: 1230px) {

    /* 5759:6449 — title above, then Copy link + WhatsApp (both filling the row) + More */
    .sc-content__card .sc-share {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 20px 0;
        margin-top: 28px;
    }

    .sc-content__card .sc-share__label {
        font-size: 18px;
        line-height: 26px;
    }

    .sc-content__card .sc-share__sub {
        display: none;
    }

    .sc-content__card .sc-share__buttons {
        gap: 8px;
    }

    .sc-content__card .sc-share__copy,
    .sc-content__card .sc-share__icon--whatsapp {
        display: inline-flex;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: 48px;
        padding: 0 8px;
        gap: 8px;
        border: 1px solid #d0d5dd;
        border-radius: 12px;
        background: #fff;
        font: 600 14px/20px var(--pa-font-default);
        color: #344054;
    }

    .sc-content__card .sc-share__icon--whatsapp svg {
        width: 18px;
        height: 18px;
    }

    .sc-content__card .sc-share__icon-label {
        display: inline;
    }

    .sc-content__card .sc-share__icon--instagram,
    .sc-content__card .sc-share__icon--facebook,
    .sc-content__card .sc-share__icon--x,
    .sc-content__card .sc-share__icon--linkedin {
        display: none;
    }

    /* 5759:6461 — 48 square, native share sheet */
    .sc-content__card .sc-share__more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid #d0d5dd;
        border-radius: 12px;
        background: #fff;
        color: #344054;
        cursor: pointer;
    }

    .sc-content__card .sc-share__more svg {
        width: 20px;
        height: 20px;
    }
}

/* ── Disclaimer 5812:2863 ─────────────────────────────────────────────────── */

.sc-content__card .sc-disclaimer {
    padding: 0;
    margin: 32px 0 0;
    background: none;
}

.sc-content__card .sc-disclaimer__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: none;
    margin: 0;
    padding: 16px 20px;
    border: 0;
    border-radius: 12px;
    background: #f9fafb;
    box-shadow: none;
}

.sc-content__card .sc-disclaimer__title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 14px !important;
    line-height: 20px;
    color: #101828;
    text-align: left;
}

/* 5812:2865 — the plain-language summary sits above the legal paragraph */
.sc-content__card .sc-disclaimer__plain {
    margin: 0;
    font: 500 14px/22px var(--pa-font-default);
    color: #344054;
}

.sc-content__card .sc-disclaimer__text,
.sc-content__card .sc-disclaimer__text p {
    margin: 0;
    font: 400 13px/20px var(--pa-font-default);
    color: #475467;
}

@media (max-width: 1230px) {
    .sc-content__card .sc-disclaimer {
        margin-top: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §7 WHAT YOUR GIFT DOES · §8 HOW TO DONATE · §9 ORGANISER
   5736:2833 + 5784:5611 · 5736:2871 / 5759:6427 · 5737:2835 / 5759:6516
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── What your gift does (desktop tiles) ─────────────────────────────────── */
.sc-content__card .sc-gift {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
    padding: 28px;
    border: 0;
    border-radius: 16px;
    background: var(--pa-surface-tint);
}

.sc-content__card .sc-gift__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-content__card .sc-gift__title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 20px !important;
    line-height: 28px;
    color: #101828;
    text-align: left;
}

.sc-content__card .sc-gift__intro,
.sc-content__card .sc-gift__intro p {
    margin: 0;
    font: 400 16px/24px var(--pa-font-default);
    color: #344054;
    text-align: left;
}

.sc-content__card .sc-gift__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sc-content__card .sc-gift__tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
}

.sc-content__card .sc-gift__tile-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pa-surface-tint);
    color: var(--pa-primary);
}

/* 5736:2840 — 20 glyph in the 40 tile (2026-10-19; was 22) */
.sc-content__card .sc-gift__tile-icon svg {
    width: 20px;
    height: 20px;
}

.sc-content__card .sc-gift__tile-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-content__card .sc-gift__tile-title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    color: #101828;
    text-align: left;
}

.sc-content__card .sc-gift__tile-desc {
    margin: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

/* the phone frame shows the accordion instead */
.sc-content__card .sc-impact {
    display: none;
}

@media (max-width: 1230px) {

    .sc-content__card .sc-gift {
        display: none;
    }

    /* ── 5784:5611 — "What your donation does" accordion ─────────────────── */
    .sc-content__card .sc-impact {
        display: block;
        margin: 28px 0;
        border: 1px solid #eaecf0;
        border-radius: 16px;
        background: #f5f9f6;
        overflow: hidden;
    }

    .sc-content__card .sc-impact__head {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 64px;
        padding: 14px 12px 14px 16px;
        border: 0;
        background: none;
        text-align: left;
        cursor: pointer;
    }

    .sc-content__card .sc-impact__head-text {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .sc-content__card .sc-impact__head-title {
        font: 600 17px/24px var(--pa-font-default);
        color: #101828;
    }

    .sc-content__card .sc-impact__head-sub {
        font: 400 13px/18px var(--pa-font-default);
        color: #475467;
    }

    .sc-content__card .sc-impact__chev {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #eaecf0;
        border-radius: 999px;
        background: var(--pa-surface-tint);
        color: var(--pa-primary-dark);
        transition: transform 0.2s ease;
    }

    .sc-content__card .sc-impact__chev svg {
        width: 20px;
        height: 20px;
    }

    .sc-content__card .sc-impact__head[aria-expanded="true"] .sc-impact__chev {
        transform: rotate(180deg);
    }

    .sc-content__card .sc-impact__body {
        padding: 4px 16px;
        border-top: 1px solid #eaecf0;
    }

    .sc-content__card .sc-impact__row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #eaecf0;
    }

    .sc-content__card .sc-impact__row:last-child {
        border-bottom: 0;
    }

    .sc-content__card .sc-impact__row-icon {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: #fff;
        color: var(--pa-primary-dark);
    }

    .sc-content__card .sc-impact__row-icon svg {
        width: 18px;
        height: 18px;
    }

    .sc-content__card .sc-impact__row-text {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .sc-content__card .sc-impact__row-amount {
        font: 600 16px/22px var(--pa-font-default);
        color: var(--pa-primary-dark);
    }

    .sc-content__card .sc-impact__row-desc {
        font: 500 15px/22px var(--pa-font-default);
        color: #344054;
    }
}

/* ── How to donate 5736:2871 / 5759:6427 ─────────────────────────────────── */
.sc-content__card .sc-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 32px 0 0;
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    background: #fff;
}

.sc-content__card .sc-steps__title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 18px !important;
    line-height: 28px;
    color: #101828;
    text-align: left;
}

.sc-content__card .sc-steps__list {
    counter-reset: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.sc-content__card .sc-steps__item {
    counter-increment: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

/* the old design drew the number with a ::before counter */
.sc-content__card .sc-steps__item::before {
    content: none;
}

.sc-content__card .sc-steps__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--pa-surface-tint);
    font: 600 14px/20px var(--pa-font-default);
    color: var(--pa-primary-dark);
}

.sc-content__card .sc-steps__text {
    flex: 1 1 0;
    min-width: 0;
    font: 400 16px/24px var(--pa-font-default);
    color: #344054;
}

.sc-content__card .sc-steps__text strong,
.sc-content__card .sc-steps__text b {
    font-weight: 600;
    color: #101828;
}

/* 5736:2890 — 220x48, square-ish radius, not the theme's pill */
.sc-content__card .sc-steps__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 220px;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--pa-primary-dark) !important;
    border-radius: 12px !important;
    background-color: var(--pa-primary-dark) !important;
    font: 600 16px/24px var(--pa-font-default);
    color: #fff !important;
    text-decoration: none;
}

.sc-content__card .sc-steps__cta svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1230px) {

    .sc-content__card .sc-steps {
        gap: 14px;
        margin-top: 28px;
        padding: 20px 16px;
    }

    .sc-content__card .sc-steps__title {
        line-height: 26px;
    }

    .sc-content__card .sc-steps__list {
        gap: 14px;
    }

    .sc-content__card .sc-steps__item {
        gap: 10px;
    }

    .sc-content__card .sc-steps__num {
        width: 26px;
        height: 26px;
        font-size: 13px;
        line-height: 18px;
    }

    .sc-content__card .sc-steps__text {
        font-size: 15px;
        line-height: 22px;
    }

    .sc-content__card .sc-steps__cta {
        width: 100%;
    }
}

/* ── Organiser card 5737:2835 / 5759:6516 ────────────────────────────────── */
.sc-org {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 0;
    padding: 28px 32px;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    background: #fff;
    box-sizing: border-box;
}

.sc-org__title {
    margin: 0;
    font-family: var(--pa-font-default);
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    color: #101828;
    text-align: left;
}

.sc-org__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sc-org__logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

/* user 2026-11-13: the square foundation logo (was the "PA" initials circle) */
.sc-org__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sc-org__id-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-org__name {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 600 16px/24px var(--pa-font-default);
    color: #101828;
}

.sc-org__name svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #049551;
}

.sc-org__role {
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-org__about {
    margin: 0;
    font: 400 14px/22px var(--pa-font-default);
    color: #344054;
}

.sc-org__fact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sc-org__fact-label {
    width: 124px;
    flex-shrink: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-org__fact-value {
    flex: 1 1 0;
    min-width: 0;
    font: 500 14px/20px var(--pa-font-default);
    color: #101828;
}

/* 5747:2838 — the audit highlight */
.sc-org__audit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
    background: var(--pa-surface-tint);
}

.sc-org__audit-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 5747:2840 — 40 white tile r12 (2026-10-19; was 36 / r10), glyph 20; the title starts at 50 */
.sc-org__audit-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--pa-primary-dark);
}

.sc-org__audit-icon svg {
    width: 20px;
    height: 20px;
}

.sc-org__audit-title {
    flex: 1 1 0;
    min-width: 0;
    font: 600 15px/22px var(--pa-font-default);
    color: #101828;
}

.sc-org__audit-text {
    margin: 0;
    font: 400 14px/22px var(--pa-font-default);
    color: #344054;
}

.sc-org__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 600 14px/20px var(--pa-font-default);
    color: var(--pa-primary-dark);
    text-decoration: none;
}

.sc-org__link svg {
    width: 16px;
    height: 16px;
}

.sc-org__link:hover {
    color: var(--pa-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1230px) {

    /* 5759:6516 — on phones the frame puts the organiser card back in the reading
       column, below Recent donations. `display: contents` lets the donation card and
       the organiser be ordered independently around the content column. */
    .sc-main__side {
        display: contents;
    }

    .sc-main__side>.sc-give {
        order: -1;
        margin: 0 16px;
        width: auto;
    }

    .sc-main__content {
        order: 0;
    }

    .sc-org {
        order: 1;
        margin: 28px 20px 0;
        padding: 20px;
        border-radius: 16px;
    }

    /* 5761:7647 — the phone audit box: padding 14, gap 8 (was 16 / 10) */
    .sc-org__audit {
        padding: 14px;
        gap: 8px;
    }
}

/* The donation card is sticky and the Organiser card sits under it in the same column, so the
   pinned card used to slide down OVER the Organiser. Giving the card its own wrapper that grows
   to fill the column MINUS the Organiser bounds the sticky travel: the card now stops just above
   it, which is what the sticky frame 5745:2837 shows. */
.sc-main__side {
    display: flex;
    flex-direction: column;
}

.sc-side__pin {
    /* Developer note 5745:3472 "How": the column stretches and the CARD itself is the sticky
       element, so this wrapper must stay out of the way entirely - it only exists to group the
       card for the phone ordering. display:contents keeps it out of the box tree. */
    display: contents;
}


/* Developer note 5745:3472: the organiser is NOT sticky and passes underneath the pinned
   donation card, which keeps z-index 2 plus its solid white background and shadow. */
.sc-org {
    position: relative;
    z-index: 1;
}

/* Developer note 5752:2846 — the phone trust line smooth-scrolls to the audit block */
#audit {
    scroll-margin-top: 16px;
}

/* Block rhythm inside the Content Card (5734:2872): every block is 32 below the previous one.
   Recent donations kept a 32px bottom padding from the old page-section layout, which stacked
   with the Disclaimer's own 32 margin and made that one gap 64. */
.sc-content__card .sc-donations {
    margin-top: 32px;
    padding-bottom: 0;
}

@media (max-width: 1230px) {
    .sc-content__card .sc-donations {
        margin-top: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §10 WHY GIVE THROUGH PEDULI ANAK
   5736:2998 (desktop) / 5759:6523 (phone). White band, 72/120 padding, one
   24/32 heading, then three mint cards with the icon BESIDE the text.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-why {
    padding: 72px 0;
    background: #fff;
}

.sc-why .pa-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sc-why__title {
    margin: 0;
    font-family: var(--pa-font-default) !important;
    font-weight: 600;
    font-size: 24px !important;
    line-height: 32px;
    color: #101828;
    text-align: left;
}

.sc-why__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.sc-why__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 24px;
    border-radius: 16px;
    background: var(--pa-surface-tint);
    list-style: none;
}

.sc-why__card::before,
.sc-why__card::marker {
    content: none;
}

/* 5736:3002 — 40 white tile r12, 20 glyph (2026-10-19; was 48 / r14 / 24), so the text starts at 80 */
.sc-why__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--pa-primary-dark);
}

.sc-why__icon svg {
    width: 20px;
    height: 20px;
}

.sc-why__body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-why__heading {
    margin: 0;
    font-family: var(--pa-font-default) !important;
    font-weight: 600;
    font-size: 18px !important;
    line-height: 28px;
    color: #101828;
    text-align: left;
}

.sc-why__text {
    margin: 0;
    font: 400 15px/22px var(--pa-font-default);
    color: #475467;
}

/* 5747:2880 — only the audited card carries it, so it gets the card's 6px rhythm */
.sc-why__card:last-child .sc-why__body {
    gap: 6px;
}

.sc-why__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 600 14px/20px var(--pa-font-default);
    color: var(--pa-primary-dark);
    text-decoration: none;
}

.sc-why__link svg {
    width: 16px;
    height: 16px;
}

.sc-why__link:hover {
    color: var(--pa-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1230px) {

    /* 5759:6523 — one column, the cards keep their shape */
    .sc-why {
        padding: 40px 0;
    }

    .sc-why .pa-container {
        gap: 20px;
    }

    .sc-why__title {
        font-size: 22px !important;
        line-height: 30px;
    }

    .sc-why__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    /* 5761:7666 — padding 18 / 16 (was 20), tile 40 r12, glyph 20 (was 44 / 22) */
    .sc-why__card {
        padding: 18px 16px;
        gap: 14px;
    }

    .sc-why__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .sc-why__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §11 MORE CAMPAIGNS
   5736:3024 (desktop) / 5759:6549 (phone). Mint band, head with a secondary
   "View all campaigns" button, then a 3-column grid of campaign cards.
   Own `sc-oc*` names on purpose: the partial used to render .home-campaigns-card*,
   which belongs to the homepage in home-v2.css and must keep its own look.
   ═══════════════════════════════════════════════════════════════════════════ */

.pa-other-campaigns {
    padding: 72px 0;
    background: #edf6ee;
}

.pa-other-campaigns .pa-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sc-oc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sc-oc__head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sc-oc__title {
    margin: 0;
    font-family: var(--pa-font-default) !important;
    font-weight: 600;
    font-size: 24px !important;
    line-height: 32px;
    color: #101828;
    text-align: left;
}

.sc-oc__sub {
    margin: 0;
    font: 500 16px/24px var(--pa-font-default);
    color: #475467;
}

/* 5736:3037 — secondary button */
.sc-oc__viewall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    height: 44px;
    padding: 0 20px;
    border: 1.5px solid var(--pa-primary-dark);
    border-radius: 12px;
    background: #fff;
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark);
    text-decoration: none;
}

.sc-oc__viewall svg {
    width: 18px;
    height: 18px;
}

.sc-oc__viewall:hover {
    background: var(--pa-primary-dark);
    color: #fff;
}

.sc-oc__viewall--mobile {
    display: none;
}

.sc-oc__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* ── the card 5736:3043 ──────────────────────────────────────────────────── */
.sc-oc-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.sc-oc-card__org {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 500 12px/18px var(--pa-font-default);
    color: #475467;
}

.sc-oc-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 6px;
    border-radius: 999px;
    background: var(--pa-surface-tint);
    color: var(--pa-primary-dark);
    font-weight: 500;
}

.sc-oc-card__verified svg {
    width: 14px;
    height: 14px;
}

.sc-oc-card__loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sc-oc-card__loc svg {
    width: 12px;
    height: 12px;
}

/* 5736:3057 — 220 photo with the title written over a bottom gradient */
.sc-oc-card__photo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 220px;
    padding: 16px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #f2f4f7;
}

.sc-oc-card .sc-oc-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.sc-oc-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 31, 18, 0) 45%, rgba(5, 31, 18, 0.5) 72%, rgba(5, 31, 18, 0.8) 100%);
}

.sc-oc-card__title {
    position: relative;
    margin: 0;
    font-family: var(--pa-font-default) !important;
    font-weight: 600;
    font-size: 18px !important;
    line-height: 28px;
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.sc-oc-card__chip,
.sc-oc-card__badge {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font: 500 12px/18px var(--pa-font-default);
    white-space: nowrap;
}

.sc-oc-card__chip {
    right: 12px;
    background: #fff;
    color: #344054;
}

.sc-oc-card__badge {
    left: 12px;
    gap: 4px;
    background: #fffaeb;
    color: #b54708;
}

/* "★ Featured" (developer reference 9918:258 / 9918:262): amber pill, no icon; as .cp-card__badge--featured */
.sc-oc-card__badge--featured {
    background: #fff7e6;
    color: #8a5a00;
}

.sc-oc-card__chip svg {
    width: 14px;
    height: 14px;
}

.sc-oc-card__badge svg {
    width: 12px;
    height: 12px;
}

/* badge + chips row, the /campaign/ card's (developer reference 9918:258 / 9918:264 / 9918:317, campaign.css
   .cp-card__flags): 12 from the photo's top, left and right; the badge on the left, the chips group on the right
   (gap 6: the programme chip, then "+N"); when both do not fit, the programme name ends in "…" */
.sc-oc-card__flags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-oc-card__flags .sc-oc-card__badge,
.sc-oc-card__flags .sc-oc-card__chip {
    position: static;
}

.sc-oc-card__flags .sc-oc-card__badge {
    flex: none;
}

.sc-oc-card__chips {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-inline-start: auto;
}

.sc-oc-card__chips .sc-oc-card__chip {
    min-width: 0;
}

.sc-oc-card__chip-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-oc-card__chip--more {
    flex: none;
}

/* "+N" (9918:317): pad 10 + an empty 14 slot (Figma's blank icon) + gap 6 + text + pad 10 */
.sc-oc-card__chip-gap {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: none;
}

.sc-oc-card__desc {
    margin: 0;
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-oc-card__funding {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.sc-oc-card__progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-oc-card__track {
    position: relative;
    /* holds the year divider (9918:312) */
    flex: 1 1 0;
    min-width: 0;
    height: 20px;
    border-radius: 999px;
    background: #cde8d8;
    overflow: hidden;
}

.sc-oc-card__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--pa-primary);
}

/* two-year bar of a fully sponsored Ongoing year (developer reference 9918:312): white 2px year divider down the
   middle, the track's height (8 on phones); as .cp-card__progress-divider */
.sc-oc-card__divider {
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 100%;
    background: #fff;
}

.sc-oc-card__pct {
    font: 600 14px/20px var(--pa-font-default);
    color: #101828;
    white-space: nowrap;
}

.sc-oc-card__amounts {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 0;
    flex-wrap: wrap;
}

.sc-oc-card__raised {
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark);
}

.sc-oc-card__of {
    font: 500 12px/18px var(--pa-font-default);
    color: #475467;
}

.sc-oc-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-oc-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 500 12px/18px var(--pa-font-default);
    color: #475467;
}

.sc-oc-card__meta-item svg {
    width: 14px;
    height: 14px;
}

.sc-oc-card__meta-item--days {
    color: #b54708;
}

/* an ended Normal campaign's "Goal reached" / "Ended" (as .cp-card__meta-item--done on /campaign/) */
.sc-oc-card__meta-item--done {
    color: var(--pa-primary-dark);
}

.sc-oc-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-oc-card__btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--pa-primary-dark);
    border-radius: 12px;
    font: 600 16px/24px var(--pa-font-default);
    text-decoration: none;
}

.sc-oc-card__btn--primary,
.sc-oc-card__btn--primary:hover,
.sc-oc-card__btn--primary:focus {
    /* :hover/:focus: the parent theme's `a:focus, a:hover { color: green }` turned the label and heart the
       button's own green on hover (user 2026-11-13) */
    background: var(--pa-primary-dark);
    color: #fff;
}

.sc-oc-card__btn--primary svg {
    width: 16px;
    height: 16px;
}

.sc-oc-card__btn--story {
    gap: 6px;
    background: #fff;
    color: var(--pa-primary-dark);
}

.sc-oc-card__btn--story svg {
    width: 18px;
    height: 18px;
}

.sc-oc-card__btn:hover {
    opacity: 0.92;
}

@media (max-width: 1230px) {

    /* 5759:6549 — one column, the button moves under the grid and fills the row */
    .pa-other-campaigns {
        padding: 40px 0;
    }

    .pa-other-campaigns .pa-container {
        gap: 20px;
    }

    .sc-oc__head {
        align-items: flex-start;
    }

    .sc-oc__head .sc-oc__viewall {
        display: none;
    }

    .sc-oc__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .sc-oc__viewall--mobile {
        display: inline-flex;
        width: 100%;
    }

    .sc-oc-card {
        padding: 20px;
        gap: 16px;
    }

    .sc-oc-card__photo {
        height: 200px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §12 UPDATES FEED
   5739:3471 (desktop) / 5742:5932 (phone). The newest update is a card opened
   in place (5739:3477); older ones are collapsed rows (5739:3513) with a
   thumbnail that expand on click. An optional "funds released" strip
   (5739:3506) hangs under the update it belongs to.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-upd__feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sc-upd {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── the collapsed row ───────────────────────────────────────────────────── */
.sc-upd__brief {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 20px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.sc-upd.is-open>.sc-upd__brief {
    display: none;
}

.sc-upd__thumb {
    flex-shrink: 0;
    display: block;
    width: 150px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
}

.sc-upd .sc-upd__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 12px;
}

.sc-upd__brief-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-upd__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sc-upd__chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    font: 500 12px/18px var(--pa-font-default);
    color: #344054;
    white-space: nowrap;
}

.sc-upd__chip--n {
    background: var(--pa-surface-tint);
    color: var(--pa-primary-dark);
}

.sc-upd__brief-title {
    font: 600 18px/26px var(--pa-font-default);
    color: #101828;
}

.sc-upd__brief-sum {
    font: 400 14px/22px var(--pa-font-default);
    color: #475467;
}

.sc-upd__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 600 14px/20px var(--pa-font-default);
    color: var(--pa-primary-dark);
}

.sc-upd__more svg {
    width: 16px;
    height: 16px;
}

/* ── the expanded card 5739:3477 ─────────────────────────────────────────── */
.sc-upd__full {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    background: #fff;
}

.sc-upd__full[hidden] {
    display: none;
}

.sc-upd__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* .donation-history h3 (this file, !important) and the parent theme's
   @media(min-width:768px) .donation-history h3 { font-weight:700; font-size:40px;
   line-height:44px } both beat a single class here, same as the story section title */
.donation-history .sc-upd__title {
    margin: 0;
    font-family: var(--pa-font-default) !important;
    font-weight: 600;
    font-size: 22px !important;
    line-height: 30px;
    color: #101828;
    text-align: left;
}

.sc-upd .sc-upd__photo {
    display: block;
    width: 100%;
    height: 360px;
    max-width: none;
    object-fit: cover;
    border-radius: 12px;
}

/* legacy .custom-campaign-content paragraph styling sets 16/1.7 #333 */
.donation-history .sc-upd__intro,
.donation-history .sc-upd__intro p {
    margin: 0;
    font: 400 16px/26px var(--pa-font-default);
    color: #344054;
}

/* the update body reuses the story section + quote components; only the rhythm differs */
.sc-upd__full .sc-story__section {
    margin-bottom: 0;
}

/* 5739:3493 — up to three photos, the third carrying a "+N" overlay */
.sc-upd__photos {
    display: flex;
    gap: 12px;
}

.sc-upd__photo-cell {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 140px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: none;
    cursor: pointer;
}

/* 5749:2841 — the same Zoom hint the gallery photo carries (5749:2852); the tile that shows
   the "+N" overlay gets that instead, exactly as the frame draws it */
.sc-upd__photo-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(15, 23, 41, 0.7);
    color: #fff;
    pointer-events: none;
}

.sc-upd__photo-zoom svg {
    width: 16px;
    height: 16px;
}

.sc-upd .sc-upd__photo-cell img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 12px;
}

.sc-upd__photo-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 26, 18, 0.6);
    font: 600 24px/32px var(--pa-font-default);
    color: #fff;
    pointer-events: none;
}

/* ── 5739:3506 — funds released ──────────────────────────────────────────── */
.sc-upd__funds {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--pa-surface-tint);
}

.sc-upd__funds-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--pa-primary-dark);
}

.sc-upd__funds-icon svg {
    width: 22px;
    height: 22px;
}

.sc-upd__funds-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-upd__funds-title {
    font: 600 16px/24px var(--pa-font-default);
    color: #101828;
}

.sc-upd__funds-sub {
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

@media (max-width: 1230px) {

    /* 5742:5932 — the card tightens, the collapsed row keeps its thumb but smaller */
    .sc-upd__feed,
    .sc-upd {
        gap: 16px;
    }

    .sc-upd__full {
        gap: 16px;
        padding: 16px;
    }

    .donation-history .sc-upd__title {
        font-size: 20px !important;
        line-height: 28px;
    }

    .sc-upd .sc-upd__photo {
        height: 212px;
    }

    .donation-history .sc-upd__intro,
    .donation-history .sc-upd__intro p {
        font-size: 15px;
        line-height: 24px;
    }

    .sc-upd__photos {
        gap: 8px;
    }

    .sc-upd__photo-cell {
        height: 110px;
    }

    .sc-upd__brief {
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .sc-upd__thumb {
        width: 96px;
        height: 72px;
    }

    .sc-upd__brief-title {
        font-size: 16px;
        line-height: 24px;
    }

    .sc-upd__brief-sum {
        font-size: 13px;
        line-height: 20px;
    }

    .sc-upd__funds {
        padding: 16px;
        gap: 12px;
    }
}

/* 5742:5610 drops the email clause on phones, the same way the Story heading drops "Funds go to" */
@media (max-width: 1230px) {
    .sc-upd__head-note {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §13 DONORS TAB
   Desktop 5813:2844 (Content Card 5813:2883) / phone 5814:5551.
   Heading 5813:2891 · Stats 5813:3509 · Invite 5813:3519 · Sort 5813:3527 ·
   Donor list 5813:3535 · More 5813:3605. The panel ends at "More": the frame
   does NOT repeat the Story tab's Recent donations block here, so that one is
   hidden while this tab is open.
   ═══════════════════════════════════════════════════════════════════════════ */

/* 5813:2883 draws no Recent donations block on this tab — the donor list is the list */
.sc-content__card.is-tab-donors .sc-donations {
    display: none;
}

/* Heading 5813:2891 reuses the Story tab's component; only the meta line differs,
   and 5814:5652 shortens it on phones the way the card shortens its goal line */
.sc-don__meta-m {
    display: none;
}

/* Stats 5813:3509 */
.sc-don__stats {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin: 0 0 32px;
}

.sc-don__stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    background: #f5f9f6;
    border: 1px solid #eaecf0;
    border-radius: 14px;
}

.sc-don__stat-value {
    font: 600 22px/30px var(--pa-font-default);
    color: var(--pa-primary-dark, #037a42);
}

.sc-don__stat-label {
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

/* Invite 5813:3519 */
.sc-don__invite {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 32px;
    padding: 18px 18px 18px 20px;
    background: var(--pa-surface-tint, #eef6f1);
    border-radius: 16px;
}

.sc-don__invite-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-don__invite-title {
    margin: 0;
    font: 600 17px/24px var(--pa-font-default);
    color: #101828;
}

.sc-don__invite-sub {
    margin: 0;
    font: 400 14px/20px var(--pa-font-default);
    color: #344054;
}

/* same override weight the How-to-donate CTA needs against .pa-btn / campaign.min.css */
.sc-content__card .sc-don__invite-cta {
    flex: 0 0 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 180px;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--pa-primary-dark) !important;
    border-radius: 12px !important;
    background-color: var(--pa-primary-dark) !important;
    font: 600 16px/24px var(--pa-font-default);
    color: #fff !important;
    text-decoration: none;
}

.sc-content__card .sc-don__invite-cta svg {
    width: 16px;
    height: 16px;
}

/* Sort 5813:3527 */
.sc-don__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 32px;
}

.sc-don__sort-label {
    flex: 0 0 auto;
    font: 500 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-content__card .sc-don__pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f2f4f7;
    font: 600 14px/20px var(--pa-font-default);
    color: #344054;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.sc-content__card .sc-don__pill.is-active {
    background: var(--pa-primary, #049551);
    color: #fff;
}

/* Donor list 5813:3535 — a bordered card, not a bare stack: 1px #eaecf0, radius 16,
   20px side padding (14 on phones, 5814:6094), the row rules clipped by the radius */
.sc-don__list {
    padding: 0 20px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    overflow: hidden;
}

.sc-don__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eaecf0;
}

.sc-don__row:last-child {
    border-bottom: 0;
}

/* Avatar 5813:3545 — donations carry no portrait, so every row uses the frame's own
   initial/heart fallback rather than its photo variant */
.sc-don__avatar {
    flex: 0 0 44px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #b7e1c6;
    border-radius: 10px;
    background: var(--pa-surface-tint, #eef6f1);
}

.sc-don__avatar-icon {
    width: 18px;
    height: 18px;
    color: var(--pa-primary-dark, #037a42);
}

/* Donor photo / person icon (user 2026-11-13, in place of the name's first letter): the photo fills the avatar
   box, the icon takes the anonymous icon's size and green. */
.sc-don__avatar,
.sc-donations .sc-donations__card .donation-card .donation-card__avatar {
    overflow: hidden;
}

.sc-don__avatar .pa-donor-photo,
.sc-donations .sc-donations__card .donation-card .donation-card__avatar .pa-donor-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-donations .sc-donations__card .donation-card .donation-card__avatar .pa-donor-icon {
    width: 18px;
    height: 18px;
}

.sc-don__avatar .pa-donor-icon path,
.sc-donations .sc-donations__card .donation-card .donation-card__avatar .pa-donor-icon path {
    fill: var(--pa-primary-dark, #037a42);
}

.sc-don__avatar-initial {
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark, #037a42);
}

.sc-don__t {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-don__l1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-don__name {
    font: 600 16px/24px var(--pa-font-default);
    color: #101828;
}

.sc-don__when {
    font: 400 14px/20px var(--pa-font-default);
    color: #475467;
}

.sc-don__msg {
    margin: 0;
    font: 400 15px/24px var(--pa-font-default);
    color: #344054;
}

.sc-don__amount {
    flex: 0 0 auto;
    white-space: nowrap;
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark, #037a42);
}

.sc-don__empty {
    margin: 0;
    padding: 24px 0;
    text-align: center;
    font: 400 15px/24px var(--pa-font-default);
    color: #475467;
}

/* More 5813:3605 */
.sc-don__more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 32px 0 0;
}

.sc-content__card .sc-don__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border: 1.5px solid var(--pa-primary-dark);
    border-radius: 12px;
    background: #fff;
    font: 600 16px/24px var(--pa-font-default);
    color: var(--pa-primary-dark, #037a42);
    cursor: pointer;
}

.sc-don__note {
    margin: 0;
    text-align: center;
    font: 400 13px/18px var(--pa-font-default);
    color: #475467;
}

@media (max-width: 1230px) {

    .sc-don__meta-d {
        display: none;
    }

    .sc-don__meta-m {
        display: inline;
    }

    /* 5814:6080 keeps only the two money figures — the phone heading already says the count */
    .sc-don__stats {
        gap: 10px;
        margin-bottom: 28px;
    }

    .sc-don__stat--count {
        display: none;
    }

    .sc-don__stat {
        padding: 12px 14px;
    }

    .sc-don__stat-value {
        font-size: 17px;
        line-height: 24px;
    }

    .sc-don__stat-label {
        font-size: 13px;
        line-height: 18px;
    }

    /* 5814:5551 has no Invite block between the stats and the sort row */
    .sc-don__invite {
        display: none;
    }

    /* 5814:6087 "Sort (scrolls sideways)" — no label, 44px pills, horizontal scroll */
    .sc-don__sort {
        margin-bottom: 28px;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .sc-don__sort::-webkit-scrollbar {
        display: none;
    }

    .sc-don__sort-label {
        display: none;
    }

    .sc-content__card .sc-don__pill {
        height: 44px;
    }

    /* 5814:6095 reflows the row: amount moves up beside the name, the time gets its own line */
    .sc-don__list {
        padding: 0 14px;
    }

    .sc-don__row {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 2px;
        align-items: start;
        padding: 14px 0;
    }

    .sc-don__t,
    .sc-don__l1 {
        display: contents;
    }

    .sc-don__avatar {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        flex: none;
        width: 40px;
        height: 40px;
    }

    .sc-don__name {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        line-height: 22px;
    }

    .sc-don__amount {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        font-size: 15px;
        line-height: 22px;
    }

    .sc-don__when {
        grid-column: 2 / span 2;
        grid-row: 2;
        font-size: 13px;
        line-height: 18px;
    }

    .sc-don__msg {
        grid-column: 2 / span 2;
        grid-row: 3;
        font-size: 14px;
        line-height: 22px;
    }

    .sc-don__empty {
        grid-column: 1 / -1;
    }

    /* 5814:6157 — full-width 48px button, note 28 below it */
    .sc-don__more {
        gap: 28px;
        margin-top: 28px;
    }

    .sc-content__card .sc-don__more-btn {
        width: 100%;
        height: 48px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §14 PHONE FIDELITY PASS
   Measured against the phone frames, not the desktop ones: Content 5814:5642
   (white FULL-BLEED band, padding 32/20/40, blocks 28 apart), Share 5759:6449,
   Recent donations 5759:6466, Organiser 5759:6516, Disclaimer 5814:5800,
   Updates photo strip 5742:5948.
   Everything here is the phone layer only; the desktop rules above are untouched.
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1230px) {

    /* The side column must not be a box of its own on phones: its two cards belong to the
       page's single column and need their own order. An unconditional `.sc-main__side
       { display:flex }` further up the file was silently beating the earlier
       `display:contents`, which is why the Organiser rendered directly under the donation
       card instead of below the content. */
    .sc-main__side {
        display: contents;
    }

    /* the pin wrapper is display:contents, so a child combinator never reaches the card */
    .sc-main__side .sc-give {
        order: -1;
        margin: 0 16px;
        width: auto;
    }

    .sc-main__content {
        order: 0;
    }

    /* 5759:6516 — lines up with every other block (20 side gutter), pad 20/16, gap 12, r16 */
    .sc-org {
        order: 1;
        margin: 28px 20px 0;
        padding: 20px 16px;
        gap: 12px;
        border-radius: 16px;
    }

    .sc-content {
        padding: 0;
    }

    .sc-content__card {
        background: #fff;
        padding: 32px 20px 40px;
    }

    .sc-content__card .sc-share {
        padding: 0;
        margin-top: 28px;
        border-top: 0;
        border-bottom: 0;
    }

    .sc-content__card .sc-donations__card {
        padding: 0;
        border-radius: 0;
        gap: 12px;
    }

    /* 5814:5800 — 14/16, not 16/20 (the block rule inside the content card sets 16/20) */
    .sc-content__card .sc-disclaimer__card {
        padding: 14px 16px;
    }

    /* 5742:5948 — the phone strip is TWO tiles, so the third is dropped and the "+N" badge
       moves to the second one (the hidden tiles stay in the DOM for the lightbox) */
    .sc-upd__photo-cell:nth-child(n+3) {
        display: none;
    }

    .sc-upd__photo-cell[data-sc-upd-more-m]::after {
        content: attr(data-sc-upd-more-m);
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(10, 26, 18, 0.6);
        font: 600 24px/32px var(--pa-font-default);
        color: #fff;
    }

    .sc-upd__photo-cell[data-sc-upd-more-m] .sc-upd__photo-zoom {
        display: none;
    }
}

/* campaign.min.js drives the Recent-donations loader through this button and rewrites its text,
   so it is kept out of sight and the frame's own button (5759:6511) forwards clicks to it. */
.sc-load-more-proxy {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 1230px) {

    /* 5759:6516 — on phones the Organiser is moved INTO the content band (see
       initOrganiserPlacement), between Recent donations and the Disclaimer, so it drops the
       side gutter it needs while it still lives in the page column. */
    .sc-content__card .sc-org {
        margin: 28px 0 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIGMA CAMPAIGN DETAIL — §15 MORE CAMPAIGNS, PHONE FIDELITY
   Band 5759:6549 / card 5759:6555 (390), cross-checked at 5761:7690 (430) and
   5761:7140 (320). §11 above had been built from the DESKTOP frame only, so the
   phone layer was missing entirely. The phone card is a different component:
   no Verified pill, the location flush to the card's right edge, the progress
   bar 8px alone on its own row with the "%" moved down into the amounts line,
   48px buttons and a 13/18 organiser row. Same solution already shipped on the
   campaigns archive (campaign.css .cp-card*, phone block) — ported here under
   the local sc-oc* names, because campaign.css is deliberately NOT enqueued on
   this page (user ruling 2026-09-23).
   DESKTOP IS ALREADY CORRECT AND IS NOT TOUCHED (user, 2026-09-24).
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1230px) {

    /* 5759:6549 — band padding 48/48, 20 side gutter (global .pa-container gives 24), 24 between blocks */
    .pa-other-campaigns {
        padding: 48px 0;
    }

    .pa-other-campaigns .pa-container {
        padding: 0 20px;
        gap: 24px;
    }

    /* 5759:6550 — the 24/32 title then 4 to the 16/24 subtitle (desktop is 2) */
    .sc-oc__head-text {
        gap: 4px;
    }

    /* 5759:6555 — the card's blocks are 20 apart on phones too */
    .sc-oc-card {
        gap: 20px;
    }

    /* 5759:6556 — Figma wraps the organiser row and the photo in a Header frame with gap 14,
       so the pair sits closer than the card's own 20. Same trick as .cp-card__org+.cp-card__photo. */
    .sc-oc-card__org+.sc-oc-card__photo {
        margin-top: -6px;
    }

    /* 5759:6557 — no pill, no "Verified" word, no "·": a bare 16px check, 5px, the organiser
       name, and the location pushed to the card's right edge. 13/18 here, not the desktop 12/18
       (5759:6563 / 5759:6568) — do not "correct" this back to 12. */
    .sc-oc-card__org {
        gap: 5px;
        justify-content: flex-start;
        font-size: 13px;
        /* 5761:7148 — at 320 the frame keeps this row ONE line (18 tall) and shortens the name
           to "Peduli Anak" rather than wrapping, with the location still flush right. Without
           nowrap the row became 36 tall on a 320 phone. */
        white-space: nowrap;
        overflow: hidden;
    }

    .sc-oc-card__org-name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sc-oc-card__verified {
        flex-shrink: 0;
        padding: 0;
        gap: 5px;
        background: none;
        color: #475467;
    }

    .sc-oc-card__verified svg {
        width: 16px;
        height: 16px;
    }

    .sc-oc-card__verified-label {
        display: none;
    }

    .sc-oc-card__dot {
        display: none;
    }

    .sc-oc-card__loc {
        flex-shrink: 0;
        margin-inline-start: auto;
    }

    /* 5759:6577 / 5759:6583 — the frame's card is overflow-clip on a 492 box and draws two
       lines each. The title hugs the photo's bottom edge so it only clamps; the description
       is pinned to 40 so the funding block starts at the same offset on every card. */
    .sc-oc-card__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .sc-oc-card__desc {
        height: 40px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 5759:6584 — the phone Funding block is laid out differently from the desktop one: the
       bar is 8px alone on row 1 and the "71%" sits at the right end of the amounts line.
       Same markup, re-laid as a 2-column grid; `display: contents` lifts the progress row's
       two children into it so the bar and the percentage can land on different rows. */
    .sc-oc-card__funding {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 10px;
        column-gap: 12px;
    }

    .sc-oc-card__progress-row {
        display: contents;
    }

    .sc-oc-card__track {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 8px;
    }

    .sc-oc-card__amounts {
        grid-column: 1;
        grid-row: 2;
    }

    .sc-oc-card__pct {
        grid-column: 2;
        grid-row: 2;
        align-self: flex-end;
    }

    .sc-oc-card__meta {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    /* 5759:6604 / 5759:6608 — 48 tall on phones, not the desktop 44 */
    .sc-oc-card__btn {
        height: 48px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §16 DONATION CARD — COMPACT STICKY STATE (5745:3088)

   Dev note 6359:2861, written on the scrolled frame itself: "the donation card has two
   states. In its original position it shows the full card (amounts, quick amounts, impact
   line, share, trust line). Once it becomes sticky on scroll it collapses to this compact
   state (raised amount, progress, donors and days left, one Donate button, about 310 px) so
   the Organiser card and the rest of the side column stay readable below it. Clicking
   Donate now in the compact state opens the amount selector."

   That note is newer than "Behaviour" (5745:3494, "no shrinking") on the same node and the
   frame agrees with it: 5745:2837 draws the pinned card 307 tall, with 5748:2853 "Original
   position of the donation card" still holding the full 546 in the flow below it. Hence the
   spacer: collapsing must not pull the Organiser card up under the donor's eyes.

   Every value the compact card declares (pad 32, gap 20, r20, divider, 48 button, 16 icon)
   is already the full card's, so this block only hides and re-labels. End of file, because
   of the ordering trap in row 270 of the ledger.
   ═══════════════════════════════════════════════════════════════════════════ */

/* the flow height the collapsed card gives up — JS sets it, so the Organiser does not jump */
.sc-give__spacer {
    height: 0;
}

/* 1px so IntersectionObserver has an area to measure; the negative margin cancels it */
.sc-give__sentinel {
    height: 1px;
    margin-bottom: -1px;
    pointer-events: none;
}

/* 5745:3112 / 5745:3113 / 5745:3122 / 5745:3130 / 5748:2848 are all hidden="true" in the
   compact frame. display:none, not visibility, so they leave the tab order (5745:3497). */
.sc-give--compact .sc-give__label:not(.sc-give__label--ended),
.sc-give--compact .sc-give__chips,
.sc-give--compact .sc-give__other,
.sc-give--compact .sc-give__impact,
.sc-give--compact .sc-give__share,
.sc-give--compact .sc-give__trust {
    display: none;
}

/* 5745:3129 — the compact button drops the chosen amount and reads "Donate now" */
.sc-give__cta-compact {
    display: none;
}

.sc-give--compact #sc-give-donate-text {
    display: none;
}

.sc-give--compact .sc-give__cta-compact {
    display: inline;
}

/* Campaign page phones — frame 10452:20606 (2026-10-29) */
/* Hero 10452:21338 (photo 460 + a white card from 420 with the campaign's lead and two CTAs; no breadcrumb, no trust
   line), Dayat's story card 10452:20935 (phones only), Why give 10452:20948, More campaigns 10452:20980 as a centred
   carousel (single-campaign.php › initOtherCarousel()). Later than every phone rule above, so it wins them; desktop
   is untouched — the new pieces are hidden ≥1231 below. */
@media (min-width: 1231px) {

    .sc-hero__ctas,
    .sc-dayat,
    .sc-oc__dots {
        display: none;
    }
}

@media (max-width: 1230px) {

    /* header 10452:21341: logo 112×32 at 20/30, Donate 48 at top 22 (pad 0/16, gap 6, 600 15/20, heart 16);
       light menu tab 10452:21359 (#e8f3ec, r 0/0/14/14, icon #037a42 stroke 1.7143), the same on hover / focus */
    body:has(.sc-hero) .hv2-header__inner--minimal {
        padding-top: 22px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body:has(.sc-hero) .hv2-header__menu-pill,
    body:has(.sc-hero) .hv2-header__menu-pill:hover,
    body:has(.sc-hero) .hv2-header__menu-pill:focus-visible {
        border-radius: 0 0 14px 14px;
        background: #e8f3ec;
        color: var(--pa-primary-dark);
    }

    body:has(.sc-hero) .hv2-header__menu-pill svg {
        stroke: var(--pa-primary-dark);
        stroke-width: 1.7143;
    }

    body:has(.sc-hero) .hv2-header__donate-pill {
        gap: 6px;
        padding: 0 16px;
        font: 600 15px/20px var(--pa-font-default);
    }

    body:has(.sc-hero) .hv2-header__donate-icon {
        width: 16px;
        height: 16px;
    }

    /* hero: the photo keeps 460, the copy leaves it for a white card that overlaps it by 40 and grows with the lead */
    .sc-page .sc-hero__visual {
        height: auto;
        overflow: visible;
    }

    .sc-page .sc-hero__img,
    .sc-hero__video-wrap {
        height: 460px;
    }

    .sc-hero__play-overlay {
        bottom: auto;
        height: 460px;
    }

    /* no photo: the photo's 460 stays as the plain panel, so the card does not ride up under the header */
    .sc-page .sc-hero__visual--empty {
        padding-top: 460px;
    }

    /* top shade only (logo + Donate); the dark text-on-photo shade goes */
    .sc-page .sc-hero__visual::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 460px;
        background: linear-gradient(180deg, rgba(5, 26, 15, 0.42) 0%, rgba(5, 26, 15, 0.12) 20%, rgba(5, 26, 15, 0) 34%, rgba(5, 26, 15, 0) 100%);
        pointer-events: none;
    }

    .sc-page .sc-hero__overlay {
        position: static;
        background: none;
    }

    /* card 10541:7111: r 28/28/0/0, shadow 0 −6 16 .08, pad 28/20/32, column gap 12, left aligned */
    .sc-hero__copy {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: auto;
        max-width: none;
        margin-top: -40px;
        padding: 28px 20px 32px;
        background: #fff;
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
        gap: 12px;
        align-items: stretch;
        text-align: start;
        pointer-events: auto;
    }

    /* title 600 28/1.18 −0.28 #12211a (Inter: the base rule keeps font-family var(--pa-font-default) !important
       against the Keep Calm heading rule of .home-v2-page) */
    .sc-page .sc-hero__title {
        font-size: 28px;
        line-height: 1.18;
        letter-spacing: -0.28px;
        color: #12211a;
        text-shadow: none;
    }

    .sc-hero__sub {
        font: 400 16px/24px var(--pa-font-default);
        color: #57615c;
        text-shadow: none;
    }

    .sc-hero__crumbs,
    .sc-hero__trust {
        display: none;
    }

    /* CTAs 10452:21351: stacked 10 apart, 48 r12 — "Donate now" #037a42 / "Copy link" outline 1.5 #037a42, 600 15 */
    .sc-hero__ctas {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .sc-hero__cta,
    .sc-hero__cta:hover,
    .sc-hero__cta:focus {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 48px;
        margin: 0;
        padding: 0 20px;
        border-radius: 12px;
        font: 600 15px/18px var(--pa-font-default);
        cursor: pointer;
        appearance: none;
    }

    .sc-hero__cta--donate,
    .sc-hero__cta--donate:hover,
    .sc-hero__cta--donate:focus {
        border: 0;
        background: var(--pa-primary-dark);
        color: #fff;
    }

    .sc-hero__cta--copy,
    .sc-hero__cta--copy:hover,
    .sc-hero__cta--copy:focus {
        border: 1.5px solid var(--pa-primary-dark);
        background: transparent;
        color: var(--pa-primary-dark);
    }

    /* Dayat 10452:20935 (814): pad 56/20 on the tint; the card (702) #0a4a2e r24 pb 24; photo area 300: circle 240
       at 55/80, the cutout 116.2 × 312 at 117/16 (both centred on the card, = the frame's offsets at 390), a 110 fade
       from y 190, the "Then" inset 112 at 16 from the left and the area's foot; copy 24/24/0, 16 apart; the button
       full width, 51 high (the 1.5 border draws 1 at DPR 1) */
    .sc-dayat {
        padding: 56px 20px;
        background: var(--pa-surface-tint);
    }

    .sc-dayat__card {
        position: relative;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: 0 0 24px;
        border-radius: 24px;
        background: #0a4a2e;
        overflow: hidden;
    }

    .sc-dayat__photo {
        position: relative;
        flex: none;
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .sc-dayat__circle {
        position: absolute;
        top: 80px;
        left: calc(50% - 120px);
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: #eef6f1;
    }

    .sc-dayat__img {
        position: absolute;
        top: 16px;
        left: calc(50% - 58px);
        display: block;
        width: 116.19px;
        max-width: none;
        height: 312px;
    }

    .sc-dayat__photo::after {
        content: "";
        position: absolute;
        top: 190px;
        left: 0;
        width: 100%;
        height: 110px;
        background: linear-gradient(180deg, rgba(10, 74, 46, 0) 0%, rgba(10, 74, 46, 0.75) 55%, #0a4a2e 100%);
        pointer-events: none;
    }

    .sc-dayat__then {
        position: absolute;
        left: 16px;
        bottom: 16px;
        z-index: 1;
        box-sizing: border-box;
        width: 112px;
        height: 112px;
        border: 3px solid #fff;
        border-radius: 16px;
        background: #edf5f0;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
        overflow: hidden;
    }

    .sc-dayat__then img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
    }

    .sc-dayat__then-label {
        position: absolute;
        top: 5px;
        left: 5px;
        padding: 3px 8px;
        border-radius: 999px;
        background: #fff;
        font: 600 12px/normal var(--pa-font-default);
        letter-spacing: 0.72px;
        color: var(--pa-primary-dark);
    }

    .sc-dayat__copy {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 24px 0;
    }

    /* the home-v2 heading rules force a font !important */
    .sc-dayat__title {
        margin: 0;
        font: 600 24px/1.2 var(--pa-font-default) !important;
        color: #fff;
        text-align: start;
    }

    .sc-dayat__quote {
        margin: 0;
        font: italic 400 17px/26px var(--pa-font-default);
        color: #bfe3cc;
    }

    .sc-dayat__text {
        margin: 0;
        font: 400 18px/29px var(--pa-font-default);
        color: #ebf5f0;
    }

    .sc-dayat__btn,
    .sc-dayat__btn:hover,
    .sc-dayat__btn:focus {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-sizing: border-box;
        width: 100%;
        height: 51px;
        padding: 12px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        border-radius: 12px;
        font: 600 15px/24px var(--pa-font-default);
        color: #fff;
        text-decoration: none;
    }

    .sc-dayat__btn-icon {
        flex: none;
        width: 18px;
        height: 18px;
    }

    /* Why give 10452:20948 (655): white, pad 48/20, gap 20; title 600 20/27; items 12 apart, #eef6f1 r16 pad 24/20,
       gap 16; icon box 40 white with a 1px #96ccac ring; "See the reports" with its arrow at the far right */
    .sc-why {
        padding: 48px 0;
    }

    .sc-why .pa-container {
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }

    .sc-why__title {
        font-size: 20px !important;
        line-height: 27px;
    }

    .sc-why__list {
        gap: 12px;
    }

    .sc-why__card {
        padding: 24px 20px;
        gap: 16px;
        background: var(--pa-surface-tint);
    }

    .sc-why__icon {
        box-sizing: border-box;
        border: 1px solid #96ccac;
    }

    .sc-why__link {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

}


/* Campaign page phones: the hero card copy is left-aligned (frame 10452:21347; older phone rules centred it) */
@media (max-width: 1230px) {
    .sc-hero .sc-hero__copy,
    .sc-hero .sc-hero__title,
    .sc-hero .sc-hero__sub {
        text-align: left;
    }
}

/* Campaign phones — Phase B fixes (2026-10-29) */
/* More campaigns card 10452:21038, give card 5742:5549, Updates tab 5742:5932, lightbox 5750:5582. Desktop untouched:
   every rule sits in the phone query. */
@media (max-width: 1230px) {

    /* an Ongoing card draws no meta row (10452:21074 hidden) */
    .sc-oc-card--ongoing .sc-oc-card__meta {
        display: none;
    }

    /* give card 5742:5578: quick amounts 2 × 2, 150 × 44, gap 8 */
    .sc-give__chips {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .sc-give__chip {
        height: 44px;
    }

    /* "Share this campaign" 24 under the Donate button (10595:7450: 36 frame, link at 16 after the box's 8) */
    .sc-give__share {
        box-sizing: border-box;
        height: 36px;
        padding-top: 16px;
    }

    /* Updates 5742:5933: the open update pad 20/16 inside the 1px border, chips → title 16 */
    .sc-upd__full {
        padding: 20px 16px;
    }

    .sc-upd__head {
        gap: 16px;
    }

    /* "Update N" chip 26 (5742:5935): #d3eadc, 1px #96ccac, pad 3/10, 500 12/18 #026538 */
    .sc-upd__chip--n {
        padding: 3px 10px;
        border: 1px solid #96ccac;
        background: #d3eadc;
        color: #026538;
        font: 500 12px/18px var(--pa-font-default);
    }

    /* the date chip keeps its 24 next to the 26 one (both at y 0) */
    .sc-upd__chips {
        align-items: flex-start;
    }

    .donation-history .sc-upd__intro,
    .donation-history .sc-upd__intro p {
        line-height: 26px;
    }

    /* (0,2,1): .sc-news p (16/1.7 #333, later in this file) beat .sc-story__section-body p */
    .sc-upd__full .sc-story__section-body p {
        line-height: 26px;
        color: #344054 /* 5742:5944 */;
    }

    /* collapsed update 5742:5964: pad 14 inside the 1px border, gap 12, thumb 88 × 88 centred, chips → title 6,
       title 22 high */
    .sc-upd__brief {
        align-items: center;
        gap: 12px;
        padding: 14px;
    }

    .sc-upd__thumb {
        width: 88px;
        height: 88px;
    }

    .sc-upd__brief .sc-upd__chips {
        margin-bottom: -2px;
    }

    .sc-upd__brief-title {
        line-height: 22px;
    }

    /* heading meta keeps "· Donors receive every update by email" (5742:5610, 2 lines) */
    .sc-upd__head-note {
        display: inline;
    }

    /* funds released 5742:5957: icon box top-aligned (16), title 22, sub 18 */
    .sc-upd__funds {
        align-items: flex-start;
    }

    .sc-upd__funds-title {
        line-height: 22px;
    }

    .sc-upd__funds-sub {
        line-height: 18px;
    }

    /* lightbox 5750:5582: the photo (full width, 3:2) from y 270, the caption 30 under it (y 560) */
    .sc-lightbox {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 270px;
    }

    .sc-lightbox__photo {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .sc-lightbox__caption {
        position: static;
        transform: none;
        margin-top: 30px;
    }
}

/* Keep making a difference on phones — the campaign page frame 5742:5798 (user 2026-10-29): stacked cards and the full-width
   "View all campaigns" under them (the 19-10 phone rules); the Oct example-page carousel is not used, so no dots */
.sc-oc__dots {
    display: none !important;
}

/* frame 5742:5798 draws two cards before "View all campaigns" */
@media (max-width: 1230px) {
    .sc-oc__grid > .sc-oc-card:nth-child(n+3) {
        display: none;
    }
}

/* Campaign Updates (CPT) shown in the Updates tab, 2026-11-20: an update without sections prints its editor
   text, which carries inline <img> with width/height attributes. Keep them inside the card at their ratio. */
.sc-upd .sc-story__section-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 12px;
}
