/* Giving page only: the same editorial palette and type as Announcements. */
.giving-page .giving-hero { color: var(--white); background: var(--deep-green); }
.giving-page .giving-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 5vw, 72px);
}
.giving-page .giving-hero-copy { min-width: 0; }
.giving-page .giving-hero .eyebrow { color: #d5eadc; }
.giving-page .giving-hero .page-title { color: var(--white); font-size: clamp(48px, 5.2vw, 76px); }
.giving-page .giving-hero .page-title em { color: #dce8cf; }
.giving-page .giving-hero .page-lede { max-width: 44ch; color: #e1ebe4; font-size: 14px; line-height: 1.85; }
.giving-page .giving-hero .button { margin-top: 28px; }
.giving-page .giving-hero :focus-visible,
.giving-page .giving-account-card--project :focus-visible { outline-color: var(--white); }
.giving-page .giving-hero-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep-navy);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .16);
}
.giving-page .giving-hero-photo img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.giving-page .giving-hero-photo::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(5, 26, 19, .86));
  pointer-events: none;
}
.giving-page .giving-hero-photo figcaption { position: absolute; z-index: 2; inset-inline: 24px; bottom: 22px; color: var(--white); font-size: 12px; line-height: 1.6; }
.giving-page .giving-content { padding-block: clamp(56px, 6vw, 88px) clamp(64px, 7vw, 104px); background: #faf9f5; }
.giving-page .giving-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.giving-page .giving-section-heading .eyebrow { margin-bottom: 14px; }
.giving-page .giving-section-heading h2 { font-size: clamp(34px, 3.6vw, 50px); }
.giving-page .giving-section-heading > p { max-width: 36ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.giving-page .giving-accounts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.giving-page .giving-account-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(11, 31, 58, .035);
}
.giving-page .giving-card-heading { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 22px 16px; margin-bottom: 30px; }
.giving-page .giving-purpose { color: var(--forest); font-size: 11px; font-weight: 700; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; }
.giving-page .giving-card-icon { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; color: var(--forest); border-radius: 50%; background: #e6f0e9; }
.giving-page .giving-card-icon .icon { width: 22px; height: 22px; }
.giving-page .giving-card-heading h3 { grid-column: 1 / -1; color: var(--deep-navy); font: 500 clamp(30px, 3vw, 40px)/1.2 var(--display); letter-spacing: -.025em; }
.giving-page .giving-card-intro,
.giving-page .giving-featured-message { grid-column: 1 / -1; margin-top: -8px; }
.giving-page .giving-card-intro { max-width: 32ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.giving-page .giving-featured-message { max-width: 27ch; color: #dce8cf; font: 500 clamp(23px, 2vw, 28px)/1.45 var(--display); }
.giving-page .giving-details { margin: auto 0 28px; }
.giving-page .giving-detail { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 0; }
.giving-page .giving-detail dt { margin-bottom: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; letter-spacing: .07em; text-transform: uppercase; }
.giving-page .giving-detail dd { margin: 0; color: var(--deep-navy); font-size: 16px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.giving-page .giving-detail [data-account-name] { font-size: 14px; letter-spacing: .035em; }
.giving-page .giving-detail--number { padding-bottom: 0; }
.giving-page .giving-detail [data-account-number] {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .055em;
  font-variant-numeric: tabular-nums;
  user-select: all;
  -webkit-user-select: all;
}
.giving-page .giving-card-actions .button { min-height: 50px; gap: 12px; }
.giving-page .giving-card-actions .button:disabled { opacity: .65; }
.giving-page .giving-copy-feedback { min-height: 3.3em; margin-top: 14px; color: var(--forest); font-size: 12px; line-height: 1.65; }
.giving-page .giving-account-card--project { border-color: var(--deep-navy); border-top-color: #b9d5c3; color: var(--white); background: var(--deep-navy); }
.giving-page .giving-account-card--project .giving-purpose { color: #c5e0d3; }
.giving-page .giving-account-card--project .giving-card-icon { color: #dce8cf; background: #22394b; }
.giving-page .giving-account-card--project h3,
.giving-page .giving-account-card--project .giving-detail dd { color: var(--white); }
.giving-page .giving-account-card--project .giving-detail { border-color: #34475c; }
.giving-page .giving-account-card--project .giving-detail dt { color: #c5d3df; }
.giving-page .giving-account-card--project .giving-copy-feedback { color: #d2e6d9; }
.giving-page .giving-guidance { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 40px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.giving-page .giving-guidance h2 { margin: 0 0 12px; font: 500 clamp(26px, 2.5vw, 32px)/1.25 var(--display); }
.giving-page .giving-guidance p { max-width: 70ch; margin-bottom: 0; font-size: 13px; line-height: 1.85; }
.giving-page .giving-guidance .text-link { flex-shrink: 0; gap: 12px; }
.giving-page .giving-noscript { margin-top: 24px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .giving-page .giving-account-card { transition: transform .3s var(--motion-ease), box-shadow .3s ease; }
  .giving-page .giving-account-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11, 31, 58, .08); }
}
@media (max-width: 1023px) {
  .giving-page .giving-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .giving-page .giving-hero .page-title { font-size: clamp(42px, 5.7vw, 58px); }
  .giving-page .giving-accounts-grid { gap: 24px; }
  .giving-page .giving-account-card { padding: 28px; }
  .giving-page .giving-card-heading { grid-template-columns: minmax(0, 1fr) 40px; gap: 20px 12px; }
  .giving-page .giving-card-icon { width: 40px; height: 40px; }
  .giving-page .giving-purpose { font-size: 10px; letter-spacing: .07em; }
  .giving-page .giving-detail [data-account-number] { font-size: 30px; letter-spacing: .035em; }
  .giving-page .giving-guidance { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 767px) {
  .giving-page .giving-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 48px 40px; }
  .giving-page .giving-hero .page-title { font-size: clamp(44px, 10vw, 64px); }
  .giving-page .giving-hero .page-lede { max-width: 44ch; }
  .giving-page .giving-hero-photo figcaption { inset-inline: 18px; bottom: 18px; font-size: 11px; }
  .giving-page .giving-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .giving-page .giving-section-heading > p { max-width: 44ch; }
  .giving-page .giving-accounts-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .giving-page .giving-card-heading { margin-bottom: 26px; }
  .giving-page .giving-card-actions .button { width: 100%; }
  .giving-page .giving-guidance { margin-top: 32px; }
}
@media (max-width: 374px) {
  .giving-page .giving-account-card { padding: 24px; }
  .giving-page .giving-detail [data-account-number] { font-size: 29px; letter-spacing: .025em; }
  .giving-page .giving-card-actions .button { padding-inline: 14px; gap: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .giving-page .giving-account-card,
  .giving-page .giving-hero-photo,
  .giving-page .giving-hero-photo img { animation: none; transition: none; transform: none; }
}
