/* --- Donate feature: copy beside a donation card ------------------------- */
.donate-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
    width: 100%;
    max-width: 104rem;
    margin: 0 auto;
    text-align: left;
}

.donate-feature__kicker {
    margin: 0 0 1rem;
    font-family: var(--display-font);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.donate-feature__title {
    margin: 0 0 1.6rem;
    font-family: var(--display-font);
    font-weight: 500;
    font-size: clamp(2.6rem, 3.6vw, 3.6rem);
    line-height: 1.2;
    color: var(--color-black);
}

.donate-feature__lead {
    margin: 0;
    max-width: 44ch;
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--color-grey-dark-1);
}

.donate-feature__more {
    margin: 1.8rem 0 0;
    font-size: 1.6rem;
}

.donate-feature__more a {
    font-family: var(--display-font);
    font-weight: 500;
}

.donate-feature__smallprint {
    margin: 2.4rem 0 0;
    max-width: 44ch;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--color-grey-dark-2);
}

.donate-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.8rem;
    padding: clamp(2.4rem, 3vw, 3.4rem);
    border: 1px solid var(--color-grey-light-3);
    background: var(--color-white);
    box-shadow: 0 1.2rem 3rem rgba(20, 20, 20, 0.06);
}

.donate-card__label {
    margin: 0;
    font-family: var(--display-font);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--color-black);
}

.donate-card .donation-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: flex-start;
}

.donate-card .btn--donate {
    width: 100%;
    font-size: 1.7rem;
    padding: 1.4rem 2rem;
}

.donate-card__reassure {
    margin: 0;
    font-size: 1.35rem;
    color: var(--color-grey-dark-2);
}

@media (max-width: 60rem) {
    .donate-feature {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }
}

/* Homepage placement only (sections/donation.php sets this when $page ===
   'home'): register + fundraise are the two main asks, so this sits lower
   down the page and is toned down a notch — same donate flow, quieter
   presentation. The standalone /donate page is unaffected. */
.section--donate--quiet .donate-feature__kicker {
    font-size: 1.25rem;
}

.section--donate--quiet .donate-feature__title {
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
}

.section--donate--quiet .donate-feature__lead {
    font-size: 1.6rem;
}

.section--donate--quiet .donate-card {
    box-shadow: none;
    border-color: var(--color-grey-light-3);
    padding: clamp(1.8rem, 2.4vw, 2.6rem);
}

/* --- Amount picker (kept) --------------------------------------------- */
.donation-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

/* .donation-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: minmax(8rem, 1fr);
    gap: 1rem;
    width: 80%;
    margin: 1.5rem auto;
} */

.donation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 80%;
    max-width: 48rem;
    margin: 1.5rem auto;

}

.donation-grid>* {
    flex: 1 1 8rem;
    /* same width basis */
    max-width: 10rem;
    /* optional cap */
}

.donation-option {
    position: relative;
}

.donation-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    pointer-events: none;
}

.donation-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.8rem;
    border: 2px solid var(--color-black);
    background: #fff;
    color: var(--color-black);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background var(--duration-base) var(--ease-smooth), color var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth), transform var(--duration-base) var(--ease-smooth), border-color var(--duration-base) var(--ease-smooth);
}

.donation-option:hover span {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--color-trad-red);
}

.donation-option input:checked+span {
    background: var(--color-trad-red);
    color: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.donation-option input:focus-visible+span {
    outline: 3px solid rgba(237, 29, 39, 0.3);
    outline-offset: 2px;
}

.donation-other {
    display: none;
    width: 100%;
    gap: 0.5rem;
    color: #fff;
}

.donation-other.is-visible {
    display: grid;
}

.donation-other__control {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.donation-other__currency {
    font-weight: 700;
}

.donation-other input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    border: 1px solid var(--color-trad-red);
    /* font-size: 1rem; */
    background: #fff;
    color: var(--color-black);
}


.section--donate__list {
    list-style: none;
    margin-left: 2rem;
    margin-top: 1rem;
    padding: 0;
    columns: 2;
    column-gap: 2rem;
    column-fill: balance;
    text-align: center;
}

.section--donate__list>li {
    break-inside: avoid;
    margin-bottom: 0.2rem;
}