/* Donate — ESA / Love INC */
:root {
  --dn-navy: #122559;
  --dn-gold: #edae26;
  --dn-gold-bright: #f5c040;
  --dn-white: #ffffff;
  --dn-paper: #f7f6f2;
  --dn-ink: #1a1f36;
  --dn-muted: #5c6578;
  --dn-line: rgba(18, 37, 89, 0.12);
  --dn-on: #122559;
  --dn-radius: 18px;
  --dn-font: "Inter", "Open Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body.dn-active #content-wrap.container,
body.dn-active #content-wrap {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.dn-active #primary,
body.dn-active #content,
body.dn-active .single-page-article,
body.dn-active .entry,
body.dn-active .content-area {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.dn {
  font-family: var(--dn-font);
  color: var(--dn-ink);
  font-size: 1.125rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 70% 45% at 100% -8%, rgba(237, 174, 38, 0.26), transparent 52%),
    radial-gradient(ellipse 45% 35% at 0% 8%, rgba(18, 37, 89, 0.07), transparent 48%),
    var(--dn-white);
  padding-bottom: 3.25rem;
  overflow-x: hidden;
}

.dn *,
.dn *::before,
.dn *::after {
  box-sizing: border-box;
}

.dn a {
  color: var(--dn-navy);
}

.dn-wrap {
  width: min(100% - 1.5rem, 1120px);
  margin-inline: auto;
}

.dn-hero {
  padding: 2.5rem 0 1.5rem;
}

.dn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
}

.dn-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.35rem, 7.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--dn-navy);
  max-width: 16ch;
}

.dn-hero h1 span {
  color: #c49212;
  background: linear-gradient(transparent 62%, rgba(237, 174, 38, 0.45) 62%);
}

.dn-hero-lead {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--dn-muted);
  max-width: 48ch;
}

.dn-hero-copy {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dn-ink);
  max-width: 54ch;
}

.dn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dn-hero-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .dn-hero-grid {
    grid-template-columns: 1fr minmax(320px, 420px);
    align-items: start;
    gap: 2rem;
  }

  .dn {
    font-size: 1.25rem;
    line-height: 1.65;
  }

  .dn-hero-lead {
    font-size: 1.35rem;
    line-height: 1.55;
    max-width: 52ch;
  }

  .dn-hero-copy {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 58ch;
  }

  .dn-select-wrap select {
    font-size: 1.12rem;
  }

  .dn-special-body {
    font-size: 1.15rem;
    line-height: 1.65;
  }

  .dn-special-hint {
    font-size: 1.05rem;
  }

  .dn-note h2 {
    font-size: 1.25rem;
  }

  .dn-note p {
    font-size: 1.12rem;
    line-height: 1.6;
  }

  .dn-facts {
    font-size: 1.15rem;
    line-height: 1.65;
  }
}

@media (max-width: 899px) {
  .dn-give {
    order: -1;
  }
}

.dn-give {
  width: 100%;
}

.dn-zeffy {
  background: var(--dn-white);
  border: 1px solid var(--dn-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 37, 89, 0.12);
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.dn-zeffy-wrap {
  width: 100%;
  min-height: 450px;
  background: #f4f5fb;
}

.dn-zeffy-wrap [data-zeffy-embed] {
  width: 100%;
  min-height: 450px;
}

.dn-zeffy-fallback {
  position: relative;
  overflow: hidden;
  height: 450px;
  width: 100%;
}

.dn-zeffy-fallback iframe {
  position: absolute;
  border: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dn-special {
  background: var(--dn-white);
  border: 1px solid var(--dn-line);
  border-top: 6px solid var(--dn-gold);
  border-radius: var(--dn-radius);
  padding: 1.15rem 1.1rem 1.15rem;
  margin: 0 0 1.15rem;
  box-shadow: 0 10px 28px rgba(18, 37, 89, 0.07);
}

.dn-special-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 0.55rem;
}

.dn-select-wrap {
  position: relative;
}

.dn-select-wrap select {
  appearance: none;
  width: 100%;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dn-navy);
  background: var(--dn-paper);
  border: 1px solid var(--dn-line);
  border-radius: 12px;
  padding: 0.85rem 2.6rem 0.85rem 1rem;
  cursor: pointer;
  outline: none;
}

.dn-select-wrap select:focus {
  border-color: var(--dn-gold);
  box-shadow: 0 0 0 3px rgba(237, 174, 38, 0.28);
}

.dn-select-wrap svg {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dn-navy);
  pointer-events: none;
}

.dn-special-detail {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dn-line);
}

.dn-special-detail h3 {
  margin: 0 0 0.5rem;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--dn-navy);
}

.dn-special-body {
  color: var(--dn-muted);
  font-size: 1.02rem;
}

.dn-special-body p {
  margin: 0 0 0.7rem;
}

.dn-special-body p:last-child {
  margin-bottom: 0;
}

.dn-special-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dn-special-hint {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--dn-muted);
}

.dn-special-hint[hidden],
.dn-special-detail[hidden] {
  display: none;
}

.dn-aside {
  display: grid;
  gap: 0.95rem;
}

.dn-note h2 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dn-navy);
}

.dn-note p {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dn-muted);
}

.dn-note p:last-child {
  margin-bottom: 0;
}

.dn-note a {
  font-weight: 700;
  text-decoration: none;
}

.dn-note a:hover {
  text-decoration: underline;
}

.dn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  min-height: 50px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.dn-btn:hover {
  transform: translateY(-2px);
}

.dn-btn-gold {
  background: var(--dn-gold);
  color: var(--dn-on) !important;
  box-shadow: 0 8px 0 #c49212, 0 14px 28px rgba(196, 146, 18, 0.28);
}

.dn-btn-gold:hover {
  background: var(--dn-gold-bright);
  color: var(--dn-on) !important;
}

.dn-btn-ghost {
  background: var(--dn-white);
  color: var(--dn-navy) !important;
  border-color: var(--dn-line);
}

.dn-path {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.6rem;
}

@media (min-width: 800px) {
  .dn-path {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
  .dn-path.dn-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dn-step {
  background: var(--dn-white);
  border: 1px solid var(--dn-line);
  border-top: 6px solid var(--dn-gold);
  border-radius: var(--dn-radius);
  padding: 1.2rem 1.15rem 1.2rem;
  box-shadow: 0 10px 28px rgba(18, 37, 89, 0.07);
}

.dn-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--dn-gold);
  color: var(--dn-on);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.dn-step h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dn-navy);
}

.dn-step p {
  margin: 0;
  color: var(--dn-muted);
  font-size: 1.28rem;
  line-height: 1.5;
}

.dn-invite {
  display: grid;
  gap: 1rem;
  background: var(--dn-navy);
  color: var(--dn-white);
  border-radius: 24px;
  padding: 1.5rem 1.3rem;
  margin: 0 0 2.4rem;
  box-shadow: 0 18px 40px rgba(18, 37, 89, 0.2);
}

.dn-invite .dn-kicker {
  color: var(--dn-gold);
  margin-bottom: 0.4rem;
}

.dn-invite h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dn-white);
}

.dn-invite p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 48ch;
}

@media (min-width: 760px) {
  .dn-invite {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.7rem 1.8rem;
    gap: 1.5rem;
  }
}

.dn-section {
  padding: 0.2rem 0 0.5rem;
}

.dn-section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 4.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dn-navy);
}

.dn-section-lead {
  margin: 0 0 1.25rem;
  color: var(--dn-muted);
  max-width: 54ch;
  font-size: 1.08rem;
}

.dn-count {
  color: #b8860b;
  font-weight: 800;
}

.dn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
}

.dn-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--dn-white);
  border: 1px solid var(--dn-line);
  border-radius: 14px;
  padding: 0.95rem 0.7rem 0.8rem;
  min-height: 138px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 6px 18px rgba(18, 37, 89, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.dn-logo:hover {
  color: inherit;
  border-color: var(--dn-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 37, 89, 0.1);
}

.dn-logo img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dn-logo span {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--dn-navy);
  line-height: 1.25;
}

.dn-go {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #b8860b !important;
  text-decoration: none !important;
}

.dn-facts {
  margin: 0 0 0.25rem;
  padding: 1.15rem 1.2rem;
  background: var(--dn-paper);
  border: 1px solid var(--dn-line);
  border-radius: var(--dn-radius);
  color: var(--dn-muted);
  font-size: 1.02rem;
}

.dn-facts p {
  margin: 0 0 0.55rem;
}

.dn-facts p:last-child {
  margin: 0;
}

.dn-facts strong {
  color: var(--dn-navy);
}

.dn-bottom {
  margin-top: 2.25rem;
}

@media (max-width: 767px) {
  .dn {
    padding-bottom: 1.6rem;
  }

  .dn-hero {
    padding: 1.15rem 0 0.85rem;
  }

  .dn-hero h1 {
    font-size: 2rem;
    max-width: none;
    margin-bottom: 0.55rem;
  }

  .dn-hero-lead {
    font-size: 1.02rem;
    margin-bottom: 1rem;
  }

  .dn-btn {
    width: 100%;
  }

  .dn-zeffy {
    max-width: 100%;
  }

  .dn-special {
    padding: 1.05rem 1rem 1.1rem;
  }

  .dn-path {
    margin-bottom: 1.1rem;
  }

  .dn-step {
    padding: 0.95rem 1rem;
  }

  .dn-invite {
    margin-bottom: 1.6rem;
    padding: 1.15rem 1.05rem;
    border-radius: 18px;
  }

  .dn-invite h2 {
    font-size: 1.28rem;
  }

  .dn-invite p {
    font-size: 0.98rem;
  }

  .dn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .dn-logo {
    min-height: 118px;
    padding: 0.75rem 0.5rem 0.65rem;
  }

  .dn-logo img {
    max-height: 44px;
  }

  .dn-logo span {
    font-size: 0.7rem;
  }

  .dn-bottom {
    margin-top: 1.4rem;
  }
}
