/* ============================================================
   THE OLYMPIC HERALD — Support / Donate page
   ============================================================ */

.donate-page {
    padding-bottom: 80px;
}

/* ---------- Hero ---------- */
.donate-hero {
    margin-top: 40px;
    padding-bottom: 30px;
    border-bottom: 4px solid var(--oh-red);
    text-align: center;
}

.donate-kicker {
    display: inline-block;
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 15px;
    color: var(--oh-red);
    margin-bottom: 10px;
}

.donate-title {
    font-family: var(--font2);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 100%;
    letter-spacing: 0.005em;
    text-wrap: balance;
    margin: 0;
}

.donate-lede {
    max-width: 720px;
    margin: 18px auto 0;
    font-family: var(--font1);
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.8;
}

/* ---------- Optional editor intro ---------- */
.donate-intro {
    max-width: 720px;
    margin: 40px auto 0;
}

/* ---------- Section headings ---------- */
.donate-section-heading {
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 20px;
    border-bottom: 3px solid var(--text-color);
    padding-bottom: 8px;
    margin: 54px 0 22px;
}

.donate-methods .donate-section-heading:first-of-type {
    margin-top: 44px;
}

/* ---------- Cards ---------- */
.donate-grid {
    display: grid;
    gap: 26px;
}

.donate-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.donate-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.donate-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--text-color);
    border-top: 4px solid var(--oh-red);
    padding: 26px 26px 28px;
}

.donate-card-wide {
    width: 100%;
}

.donate-card-title {
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    font-size: 22px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.donate-card-text {
    font-family: var(--font1);
    font-size: 15px;
    line-height: 1.55;
    opacity: 0.82;
    margin: 0 0 20px;
}

/* Push the button to the bottom so cards in a row align */
.donate-card .donate-btn {
    margin-top: auto;
}

/* ---------- Price row ---------- */
.donate-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 20px;
}

.donate-price {
    font-family: var(--font2);
    font-weight: 400;
    font-size: 30px;
    line-height: 1;
    color: var(--text-color);
}

.donate-price-unit {
    font-family: var(--font1);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.6;
    margin-left: 2px;
}

.donate-price-or {
    font-family: var(--font1);
    font-size: 14px;
    font-style: italic;
    opacity: 0.62;
}

/* ---------- Buttons ---------- */
.donate-btn {
    display: inline-block;
    text-align: center;
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 15px;
    padding: 12px 24px;
    transition: background-color 0.18s var(--ease-transition), color 0.18s var(--ease-transition);
}

.donate-btn-primary {
    background-color: var(--oh-red);
    color: #FFFFFF;
}

.donate-btn-primary:hover {
    background-color: var(--oh-red-dark);
    color: #FFFFFF;
}

.donate-btn-outline {
    background-color: transparent;
    color: var(--oh-red);
    border: 2px solid var(--oh-red);
    padding: 10px 22px;
}

.donate-btn-outline:hover {
    background-color: var(--oh-red);
    color: #FFFFFF;
}

/* ---------- Stripe amount buttons ---------- */
.donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.donate-amount {
    flex: 1 1 auto;
    min-width: 96px;
    text-align: center;
    font-family: var(--font2);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.01em;
    padding: 16px 10px;
    color: var(--oh-red);
    border: 2px solid var(--oh-red);
    transition: background-color 0.16s var(--ease-transition), color 0.16s var(--ease-transition);
}

.donate-amount:hover {
    background-color: var(--oh-red);
    color: #FFFFFF;
}

/* Featured amounts ($50 / $100) — filled to draw the eye */
.donate-amount-featured {
    position: relative;
    background-color: var(--oh-red);
    color: #FFFFFF;
    padding-top: 22px;
}

.donate-amount-featured:hover {
    background-color: var(--oh-red-dark);
    color: #FFFFFF;
}

.donate-amount-tag {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
    line-height: 1;
    color: #FFFFFF;
    opacity: 0.9;
}

/* ---------- Where your money goes ---------- */
.donate-impact-intro {
    font-family: var(--font1);
    font-size: 16px;
    line-height: 1.55;
    opacity: 0.82;
    max-width: 760px;
    margin: -8px 0 24px;
}

.donate-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.donate-impact-item {
    border-top: 4px solid var(--oh-red);
    padding-top: 16px;
}

.donate-impact-label {
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    font-size: 17px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.donate-impact-text {
    font-family: var(--font1);
    font-size: 14.5px;
    line-height: 1.55;
    opacity: 0.82;
    margin: 0;
}

/* ---------- Venmo handle ---------- */
.donate-handle {
    font-family: var(--font3);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 14px;
    margin: 0 0 20px;
    align-self: flex-start;
    word-break: break-word;
}

/* ---------- "Other amount" note under Stripe ---------- */
.donate-amount-note {
    margin: 18px 0 0;
    font-family: var(--font1);
    font-size: 14px;
    opacity: 0.8;
}

.donate-amount-note a {
    color: var(--oh-red-link);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.donate-amount-note a:hover {
    color: var(--oh-red-link-hover);
}

/* ---------- Check-by-mail address ---------- */
.donate-address {
    font-family: var(--font1);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
    padding: 12px 16px;
    align-self: flex-start;
    margin-top: auto;
}

/* ---------- Footnote ---------- */
.donate-footnote {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    font-family: var(--font1);
    font-size: 13.5px;
    line-height: 1.55;
    opacity: 0.7;
}

.donate-footnote a {
    color: var(--oh-red-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.donate-footnote a:hover {
    color: var(--oh-red-link-hover);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .donate-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .donate-grid-2,
    .donate-grid-3 {
        grid-template-columns: 1fr;
    }

    .donate-impact-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .donate-amounts {
        gap: 10px;
    }

    .donate-amount {
        flex: 1 1 40%;
        min-width: 0;
        font-size: 20px;
        padding: 14px 8px;
    }
}

/* ============================================================
   Unified give module — Monthly / One-time toggle (CSS-only)
   ============================================================ */

.donate-give-module {
    position: relative;
    max-width: 760px;
    margin: 40px auto 10px;
    border: 1px solid var(--text-color);
    border-top: 4px solid var(--oh-red);
    padding: 28px 30px 30px;
}

.donate-freq-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.donate-freq-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--oh-red);
    margin-bottom: 26px;
}

.donate-freq-toggle label {
    text-align: center;
    cursor: pointer;
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 15px;
    padding: 11px 10px;
    color: var(--oh-red);
    transition: background-color 0.15s var(--ease-transition), color 0.15s var(--ease-transition);
}

#give-monthly:checked ~ .donate-freq-toggle label[for="give-monthly"],
#give-once:checked ~ .donate-freq-toggle label[for="give-once"] {
    background-color: var(--oh-red);
    color: #FFFFFF;
}

/* Keyboard focus indicator on the active toggle */
#give-monthly:focus-visible ~ .donate-freq-toggle label[for="give-monthly"],
#give-once:focus-visible ~ .donate-freq-toggle label[for="give-once"] {
    outline: 3px solid var(--text-color);
    outline-offset: 2px;
}

.donate-give-panel {
    display: none;
}

#give-monthly:checked ~ .donate-give-panel-monthly,
#give-once:checked ~ .donate-give-panel-once {
    display: block;
}

.donate-give-heading {
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    font-size: 23px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.donate-give-text {
    font-family: var(--font1);
    font-size: 15px;
    line-height: 1.55;
    opacity: 0.82;
    margin: 0 0 18px;
    max-width: 58ch;
}

.donate-give-btn {
    display: inline-block;
}

.donate-trust-line {
    font-family: var(--font1);
    font-size: 12.5px;
    letter-spacing: 0.01em;
    opacity: 0.6;
    margin: 14px 0 0;
}

.donate-give-alt {
    font-family: var(--font1);
    font-size: 13.5px;
    opacity: 0.8;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.donate-give-alt a {
    color: var(--oh-red-link);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.donate-give-alt a:hover {
    color: var(--oh-red-link-hover);
}

@media (max-width: 479px) {
    .donate-give-module {
        padding: 22px 18px 24px;
    }
}

/* ---------- End-of-post ask intro (post module only) ---------- */
.post-give-module .pgm-intro {
    margin-bottom: 24px;
}

.post-give-module .pgm-kicker {
    display: block;
    font-family: var(--font3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
    color: var(--oh-red);
    margin-bottom: 8px;
}

.post-give-module .pgm-heading {
    font-family: var(--font3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.12;
    margin: 0 0 10px;
    text-wrap: balance;
}

.post-give-module .pgm-text {
    font-family: var(--font1);
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0;
    max-width: 62ch;
    opacity: 0.85;
}
