.giving-tree {
  --holiday-night: #0b233a;
  --holiday-gold: #e7c57b;
  --holiday-paper: #fff9ed;
  background: #eef3f7;
}

.giving-tree .giving-tree-hero {
  max-width: none;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(44px, 7vw, 100px) clamp(18px, 9vw, 128px);
  border: 1px solid #c5a363;
  border-bottom: 5px solid var(--holiday-gold);
  border-radius: 16px;
  color: var(--holiday-paper);
  background: var(--holiday-night)
    linear-gradient(90deg, #0b233a38, #071c30e8 25%, #071c30e8 75%, #0b233a38);
  box-shadow: 0 12px 32px #142c4026;
}

.giving-tree .giving-tree-hero::before {
  inset: 0;
  width: auto;
  height: auto;
  background: url('/assets/giving-tree-winter.webp') center / cover no-repeat;
  opacity: 1;
}

.giving-tree .giving-tree-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, #071a2de8 22%, #071a2db8 55%, #071a2d30 100%);
  pointer-events: none;
}

.giving-tree .giving-tree-hero .eyebrow {
  color: var(--holiday-gold);
  letter-spacing: .21em;
}

.giving-tree .giving-tree-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.65rem, 7vw, 6rem);
  line-height: 1.02;
  text-wrap: balance;
}

.giving-tree .giving-tree-hero h1 em { color: var(--holiday-gold); }

.giving-tree .giving-tree-hero > p:not(.eyebrow) {
  max-width: 39rem;
  color: var(--holiday-paper);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  text-wrap: pretty;
}

.giving-tree .giving-tree-apply,
.giving-tree #connect-form button[type="submit"],
.giving-tree #connect-another {
  background: var(--holiday-gold);
  color: var(--holiday-night);
  border-color: #967237;
}

.giving-tree .giving-tree-apply { margin-top: 24px; }

.giving-tree .inside-report-panel,
.giving-tree .inside-side-card {
  background: var(--holiday-paper);
  border: 1px solid #d2ba8c;
  border-top: 4px solid #b48c42;
}

.giving-tree #connect-form-title { scroll-margin-top: 7rem; }
.giving-tree #connect-form legend span { background: var(--holiday-night); color: var(--holiday-paper); }

@media (max-width: 560px) {
  .giving-tree .giving-tree-hero::before { background-position: center; }
  .giving-tree .giving-tree-hero::after { background: #071a2dba; }
  .giving-tree .giving-tree-hero h1 em { display: block; }
}

.giving-tree .giving-tree-donor-link { color: var(--holiday-paper); margin-top: 12px; text-decoration: underline; }
.giving-tree-tags { margin-bottom: 28px; scroll-margin-top: 7rem; }
.giving-tree-tag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 16px; }
.giving-tree-tag { padding: 18px; border: 1px solid #b48c42; border-radius: 10px; background: white; overflow-wrap: anywhere; }
.giving-tree-tag form { margin-top: 12px; }
.giving-tree-tag input { display: block; width: 100%; padding: 8px; margin: 6px 0 12px; }
