/* ── Giving page ─────────────────────────────────────────────────────────────
   Page-only styles for giving.html (rebuilt 13 Oct 2026, then condensed the
   same day to about half the scrolling, at Scott's request: things sit side by
   side rather than stacked). Everything else on the page is the shared
   vocabulary from styles.css and components.css. */

.giving-hero__ref {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.75em;
  font-style: italic;
  color: var(--color-gold-light);
}

/* Tighter than the site's standard section header -- the condensing pass. */
.giving-header {
  margin-bottom: var(--space-8);
}

.giving-intro {
  max-width: 44rem;
  margin: var(--space-4) auto 0;
  color: var(--color-text-muted);
}

/* ── The three ways ── */

.giving-ways {
  align-items: stretch;
}

.giving-way {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* The picture panel. A fixed height keeps the three tiles' text starting on
   one line even though a drawing, a badge and a stack of logos have nothing in
   common in shape. White, not cream: the love-offering drawing carries its own
   cream disc, which vanished against a cream panel. */
.giving-way__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: var(--space-4);
  background: #ffffff;
  border-bottom: 3px solid var(--color-gold);
}

.giving-way__art img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
}

/* PayPal, Venmo and Zelle stacked as on the slide. */
.giving-way__art--logos {
  flex-direction: column;
  gap: var(--space-3);
}

.giving-way__art--logos > img {
  height: 26px;
}

/* Zelle publishes only its "Z" glyph, so the name is set beside it -- the same
   treatment as the donate modal's Zelle tab. */
.giving-way__zelle {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6d1ed4;
  line-height: 1;
}

.giving-way__zelle img {
  height: 1em;
  width: auto;
}

.giving-way .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.giving-way__address {
  font-style: normal;
  line-height: 1.6;
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-gold);
  color: var(--color-text);
}

.giving-way__list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.giving-way__list li {
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.giving-way__list li:last-child {
  margin-bottom: 0;
}

.giving-way__note {
  margin: auto 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Bottom of the card, whatever the length of the text above it. */
.giving-way__btn {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
}

/* ── More ways: four short columns ── */

.giving-more__item {
  display: flex;
  flex-direction: column;
  padding: var(--space-5, 1.25rem) var(--space-5, 1.25rem) var(--space-4);
  border-top: 3px solid var(--color-gold);
  background: var(--color-cream);
  border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
}

.giving-more__item h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--space-2);
}

.giving-more__item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}

.giving-more__item a {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gold-dark);
}

/* ── Closing bar: the slide's thank-you, with the questions line beside it ── */

.giving-close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-8);
  margin-top: var(--space-10);
  padding: var(--space-4) var(--space-8);
  background: var(--color-indigo);
  border-radius: var(--radius-lg);
}

.giving-close p {
  margin: 0;
}

.giving-close__thanks {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-gold-light);
}

.giving-close__questions {
  color: rgba(255, 255, 255, 0.85);
}

.giving-close__questions a {
  color: var(--color-gold-light);
}

/* A phone number split across two lines at its hyphen is hard to read. */
.giving-ways a[href^="tel:"],
.giving-close a[href^="tel:"] {
  white-space: nowrap;
}

/* Phones: the site's grid-4 drops to one column at 768px; these four are short
   enough to stay two-by-two, which keeps the page horizontal there too. */
@media (max-width: 768px) {
  .giving-more {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .giving-more__item {
    padding: var(--space-3);
  }
  .giving-more__item h3 { font-size: 1rem; }
  .giving-more__item p  { font-size: 0.85rem; }
  .giving-more__item a  { font-size: 0.8rem; }
  .giving-way__art {
    height: 115px;
  }
}

@media (max-width: 640px) {
  .giving-close {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4) var(--space-5, 1.25rem);
  }
}
