/* Give: page-specific styles.
   This page carries the rose accent so it reads distinctly from Home without
   leaving the palette. */

/* The rose and lime corner glows that used to sit behind this hero are gone,
   with every other gradient on the site. See the .page-hero comment in
   styles.css. */

/* Giving options. One card, Tithely. */
.give-options {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

/* A giving option is set as type, not drawn as a box. A white panel with a
   hairline, a feature list and a filled button is a pricing table, and this is
   a ministry asking for help, not a plan to choose. The heading, the sentence,
   the facts and the link do the whole job.

   PayPal and Venmo were drafted as a second and third option and pulled on
   25 September 2026, along with the ranking marker that only meant something
   beside them. Tithely is the only way to give online. */
.give-option {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.give-option > p { color: var(--ink-soft); }

/* The facts carry the sitewide leaf bullet. This only sets the measure and the
   room around the list. */
.give-option__facts {
  margin: var(--space-3) 0 var(--space-3);
  color: var(--ink-soft);
}

/* Push the link to the bottom so the options line up across columns. */
.give-option .link-arrow { margin-top: auto; }

/* QR code. Drawn in currentColor so the modules take the ink token instead of
   a baked in hex, and left with no fill behind them so the quiet zone is the
   section ground showing through. */
.qr-code {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
  color: var(--ink);
}

/* Two photographs sit side by side here. The columns are capped so neither one
   is ever drawn wider than its real pixels: 640 for the gift bags, 480 for the
   portrait beside it. */
.give-figure {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
  max-width: 480px;
}

@media (min-width: 760px) {
  .give-figure { grid-template-columns: 1fr 1fr; max-width: 820px; align-items: start; }
}

@media (min-width: 760px) {
  /* One option, so auto-fit resolves to a single column and the card takes the
     width of its own measure rather than half an empty grid. */
  .give-options { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}


/* --------------------------------------------------------------------------
   The giving band

   The options and the QR code used to be two sections 280px apart, which left a
   single live option sitting half width in an empty field. They are one job, so
   they share one band: the options take the room they need and the scan card
   fills what is left beside them.

   The QR column is fixed because the code is drawn at 320px and a QR that
   stretches is a QR that stops scanning cleanly.
   -------------------------------------------------------------------------- */

.give-band {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-6);
}

.give-band__scan h3 {
  font-size: clamp(24px, 2.4vw, 28px);
  margin-bottom: var(--space-2);
}

@media (min-width: 860px) {
  .give-band {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--space-6);
  }
}

/* The tax wording sits under the decision it belongs to rather than in a
   section of its own. */
#ways-to-give .note { margin-top: var(--space-5); }
