.give-page-hero {
  padding: calc(var(--nav-h) + 72px) 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(87, 49, 152, 0.24) 0%, transparent 64%),
    var(--bg);
}

.give-page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.give-page-hero .section-label {
  justify-content: center;
}

.give-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 20px;
}

.give-page-hero h1 em {
  color: var(--purple-lighter);
  font-style: italic;
}

.give-page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.give-impact-banner {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 34vw, 360px);
  margin: 42px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.give-impact-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 15, 0.08) 0%, rgba(8, 5, 15, 0.68) 100%),
    linear-gradient(90deg, rgba(87, 49, 152, 0.28) 0%, transparent 46%);
  pointer-events: none;
}

.give-impact-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.give-impact-banner figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.give-page-options {
  padding: 0 0 96px;
  background: var(--bg);
}

.giving-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.giving-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 34px 28px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.giving-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 14px 38px rgba(87, 49, 152, 0.16);
  transform: translateY(-3px);
}

.giving-card-wide {
  grid-column: 1 / -1;
}

.giving-card-online {
  order: 1;
}

.giving-card-in-person {
  order: 2;
}

.giving-card-mail {
  order: 3;
}

.giving-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--purple-dim);
  border: 1px solid rgba(123, 79, 196, 0.25);
  border-radius: var(--radius-sm);
}

.giving-card-icon i {
  color: var(--purple-lighter);
  font-size: 20px;
}

.giving-card h2 {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.giving-card p,
.giving-card address {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-style: normal;
  margin: 0;
}

.giving-card a {
  color: var(--purple-lighter);
  font-weight: 700;
}

.giving-card .btn-primary {
  color: #fff;
}

.smart-giving-form {
  display: none;
  width: min(100%, 360px);
  margin-top: 22px;
}

.smart-giving-form label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: left;
  text-transform: uppercase;
  color: var(--purple-lighter);
}

.smart-giving-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.smart-giving-row span {
  color: var(--muted);
  font-weight: 700;
}

.smart-giving-row input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 600 18px var(--font-body);
  text-align: center;
}

.smart-giving-help {
  margin: 10px 0 14px;
  font-size: 12px;
  color: var(--muted2);
  text-align: left;
}

.smart-giving-link {
  width: 100%;
  justify-content: center;
}

.text-to-give-more-info-trigger {
  margin: 0 auto 18px;
}

.text-to-give-more-info {
  display: none;
}

.text-to-give-more-info.is-visible {
  display: block;
}

.giving-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 760px;
  margin: 28px 0;
  list-style: none;
}

.giving-methods li {
  flex: 0 1 180px;
  list-style: none;
}

.giving-methods.is-ios [data-method="apple-pay"] {
  order: 1;
}

.giving-methods.is-ios [data-method="credit-card"] {
  order: 2;
}

.giving-methods.is-ios [data-method="ach"] {
  order: 3;
}

.giving-methods.is-ios [data-method="google-pay"] {
  order: 4;
}

.giving-methods.is-ios [data-method="text-to-give"] {
  order: 5;
}

.giving-methods.is-ios [data-method="venmo"] {
  order: 6;
}

.giving-methods.is-ios [data-method="zelle"] {
  order: 7;
}

.giving-method-option {
  position: relative;
  display: flex;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

.giving-method-card {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  color: var(--text-sub);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.giving-method-option:hover .giving-method-card,
.giving-method-option:focus-visible .giving-method-card {
  border-color: var(--border-hover);
  color: var(--text);
}

.giving-methods i {
  color: var(--purple-lighter);
}

.giving-method-note {
  color: var(--muted2);
  font-size: 11px;
  font-weight: 500;
}

.giving-method-brand-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-lighter);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.giving-modal {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.giving-modal.open {
  display: flex;
}

.giving-modal-panel {
  position: relative;
  width: min(100%, 420px);
  padding: 36px 28px 32px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.giving-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--purple-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.giving-modal-close:hover {
  border-color: var(--purple-lighter);
  color: var(--purple-lighter);
}

.giving-modal-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--purple-lighter);
  background: var(--purple-dim);
  border: 1px solid rgba(123, 79, 196, 0.25);
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 800;
}

.giving-modal h2 {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.giving-modal p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 18px;
}

.giving-modal-tag {
  display: block;
  padding: 14px 18px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Fira Code', 'Fira Code Retina', 'Courier New', Courier, Consolas, monospace;
  font-size: 24px;
  letter-spacing: 1px;
}

.giving-modal-secondary {
  margin-top: 22px !important;
}

.giving-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.giving-modal-action {
  width: 100%;
  justify-content: center;
}

.giving-modal-action.btn-primary {
  color: #fff;
}

.giving-modal-action-venmo {
  color: #fff;
  background: #008cff;
}

.giving-modal-action-venmo:hover {
  color: #fff;
  background: #0074d4;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 140, 255, 0.28);
}

.smart-giving-form-modal {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mobileonly {
  display: none;
}

@media (prefers-color-scheme: light) {
  .give-page-hero {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(72, 30, 140, 0.14) 0%, transparent 62%),
      var(--bg);
  }

  .nav-link-item,
  .nav-live {
    color: rgba(0, 0, 0, 0.88);
  }
}

@media (max-width: 820px) {
  .mobileonly {
    display: initial;
  }

  .nomobile {
    display: none;
  }

  .giving-method-note {
    flex-basis: 100%;
    margin-top: -4px;
  }

  .giving-grid {
    grid-template-columns: 1fr;
  }

  .giving-card-in-person {
    display: none;
  }

  .giving-card-venmo-zelle {
    display: none;
  }

  .giving-card-text-to-give {
    display: none;
  }

  #smartGivingForm {
    display: block;
  }

  .giving-card-online {
    order: -1;
  }

  .giving-card-mail {
    order: 5;
  }

  .giving-card-wide .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .giving-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .giving-methods li {
    flex: unset;
  }
}

@media (max-width: 520px) {
  .give-page-hero {
    padding-top: calc(var(--nav-h) + 48px);
  }

  .give-impact-banner {
    height: 250px;
    margin-top: 32px;
  }

  .give-impact-banner figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .giving-card {
    min-height: 0;
    padding: 28px 20px;
  }

  .giving-methods {
    grid-template-columns: 1fr;
  }
}


.give-page-callout {
  font-size: 1.3rem; 
  font-family: 'Fira Code', 'Fira Code Retina', 'Courier New', Courier, Consolas, monospace;
}
