/* Give pages: /donate, /donate-custom-amount, /donate-monthly */
.nowrap { white-space: nowrap; }
/* a long headline: sized so its last line, "Transforming Families.", always fits on one line (no lone last word) */
.give-title { font-size: min(76px, calc((100vw - 2 * var(--gutter)) / 11.9)); line-height: 1.1; }

/* why it matters: the four promises in a tinted card */
.why-card { padding: 30px 28px; }
.why-card .plus { margin-top: 0; gap: 18px; }
.why-card li { font: 500 17.5px/1.45 "Poppins", sans-serif; color: var(--sage-dark); }

/* family stories */
.give-more { margin-top: 30px; position: relative; z-index: 2; }

/* the photo with its caption */
.give-photo { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.give-photo figcaption { margin-top: 14px; text-align: center; font-style: italic; font-size: 15.5px; }
.give-ways { margin-top: 84px; }

/* ways to give: two across on wide screens; a short card centers its words next to a taller neighbor */
.give-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.give-card { display: flex; flex-direction: column; justify-content: center; padding: 30px 28px; }
.give-card > * + * { margin-top: 12px; }
.give-card h3 { font-size: 22px; }
.give-card .btns { padding-top: 14px; }
.give-card--first { box-shadow: 0 0 0 2px var(--gold), 0 22px 44px -32px rgba(51, 51, 51, .4); }
.give-label { font: 600 15px/1.4 "Poppins", sans-serif; color: var(--charcoal); }
.give-impact { margin-top: 14px; gap: 12px; }
.give-impact strong { color: var(--sage-dark); font-family: "Poppins", sans-serif; font-weight: 600; }

/* the nonprofit lines */
.give-legal { position: relative; z-index: 2; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(101, 122, 102, .18); font-size: 15px; }
.give-legal p + p { margin-top: 6px; }
.give-legal strong { color: var(--sage-dark); }

/* the thank-you at the end */
.give-sign { font: 500 19px/1.55 "Raleway", sans-serif; }
.give-thanks .give-every { margin-top: 0; max-width: 34em; font: 500 clamp(19px, 2.3vw, 23px)/1.55 "Raleway", sans-serif; }
.give-thanks .give-every + .h2 { margin-top: 26px; }

/* the real payment form: it draws its own card, so no second card around it */
.give-form { max-width: 820px; }
.give-form .embed { margin-top: 0; background: none; box-shadow: none; border-radius: 0; }

@media (max-width: 380px) { /* smallest phones, or bigger Safari text: card titles keep their shape */
    .give-card { padding: 26px 20px; }
    .give-card h3 { font-size: 18px; }
}
@media (min-width: 760px) {
    .give-ways { margin-top: 110px; }
    .why-card { padding: 38px 36px; }
}
