/* EA Gives · donor-facing chrome + landing (2026-08-06). Emerald/slate
   palette per Figma GiveHub.tsx. Standalone from admin.css / portal.css —
   this surface is meant to feel like its own product. */

.give-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.give-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.give-btn--sm       { padding: 6px 12px; font-size: 13px; }
.give-btn--lg       { padding: 12px 24px; font-size: 16px; }
.give-btn--primary  { background: #047857; color: #ffffff; }
.give-btn--primary:hover { background: #065f46; }
.give-btn--emerald  { background: #10b981; color: #ffffff; }
.give-btn--emerald:hover { background: #059669; }
.give-btn--outline  { background: transparent; border-color: rgba(255,255,255,0.3); color: #ffffff; }
.give-btn--outline:hover { background: rgba(255,255,255,0.1); }
.give-btn--ghost    { background: transparent; color: #374151; }
.give-btn--ghost:hover { background: #f3f4f6; color: #111827; }

/* Outline variant on light backgrounds (e.g. "View all campaigns") */
.give-section .give-btn--outline {
  border-color: #d1d5db;
  color: #374151;
}
.give-section .give-btn--outline:hover { background: #f9fafb; color: #111827; }

/* ── Header ──────────────────────────────────────────────────── */
.give-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.give-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.give-brand { display: flex; align-items: center; gap: 8px; }
.give-brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.give-brand__mark--sm { width: 24px; height: 24px; }
.give-brand__name { font-weight: 700; color: #111827; text-decoration: none; font-size: 14px; }
.give-brand__name:hover { color: #047857; }
.give-nav {
  display: flex;
  gap: 24px;
}
.give-nav__link {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
}
.give-nav__link:hover { color: #111827; }
.give-header__actions { display: flex; gap: 8px; }
@media (max-width: 800px) {
  .give-nav { display: none; }
}

.give-main { flex: 1; }

/* ── Hero ────────────────────────────────────────────────────── */
.give-hero {
  background: linear-gradient(135deg, #0f172a 0%, #022c22 50%, #134e4a 100%);
  color: #ffffff;
  padding: 96px 24px;
}
.give-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.give-hero__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(4, 120, 87, 0.4);
  color: #a7f3d0;
  border: 1px solid rgba(4, 120, 87, 0.5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.give-hero__badge--dark {
  background: #334155;
  color: #cbd5e1;
  border-color: #475569;
}
.give-hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
}
.give-hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(167, 243, 208, 0.8);
  max-width: 640px;
  margin: 0 auto 32px;
}
.give-hero__cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .give-hero__title { font-size: 32px; }
}

/* ── Trust strip ─────────────────────────────────────────────── */
.give-trust-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 24px;
}
.give-trust-strip__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.give-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
  text-decoration: none;
}
.give-trust-item:hover { color: #047857; }
.give-trust-item__icon { color: #059669; }
.give-trust-item__label { font-weight: 600; }
.give-trust-item__desc  { color: #9ca3af; }
@media (max-width: 640px) {
  .give-trust-item__desc { display: none; }
}

/* ── Sections ────────────────────────────────────────────────── */
.give-section { padding: 64px 24px; }
.give-section--muted { background: #f8fafc; padding: 48px 24px; }
.give-section__inner { max-width: 1120px; margin: 0 auto; }
.give-section__title {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}
.give-section__title--center { text-align: center; }
.give-section__sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 40px;
}
.give-section__sub--center { text-align: center; }
.give-section__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.give-section__head-row .give-section__title { margin-bottom: 4px; }
.give-section__head-row .give-section__sub   { margin: 0; }

/* ── Three Ways to Give ──────────────────────────────────────── */
.give-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 900px) { .give-ways { grid-template-columns: 1fr; } }
.give-way {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.give-way:hover { border-color: #a7f3d0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.give-way--featured {
  border: 2px solid #059669;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.give-way__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.give-way__title { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.give-way__tag {
  display: inline-block;
  padding: 2px 10px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin: 4px 0 8px;
}
.give-way__desc { font-size: 14px; color: #6b7280; line-height: 1.55; margin: 8px 0 16px; }
.give-way__link {
  color: #047857;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.give-way__link:hover { color: #065f46; }

/* ── Featured campaigns ─────────────────────────────────────── */
.give-campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 720px) { .give-campaign-grid { grid-template-columns: 1fr; } }
.give-campaign-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s;
  cursor: pointer;
}
.give-campaign-card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.08); }
.give-campaign-card__image {
  height: 144px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.give-campaign-card__body { padding: 16px; }
.give-campaign-card__npo { font-size: 12px; color: #6b7280; margin: 0 0 4px; }
.give-campaign-card__title { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: #111827; }
.give-campaign-card__bar {
  height: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.give-campaign-card__fill { height: 100%; background: #10b981; border-radius: 999px; }
.give-campaign-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}
.give-campaign-card__raised { font-weight: 600; color: #111827; }

/* ── Stats ───────────────────────────────────────────────────── */
.give-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .give-stats { grid-template-columns: repeat(2, 1fr); } }
.give-stat__value { font-size: 30px; font-weight: 700; color: #047857; margin-bottom: 2px; }
.give-stat__label { font-size: 14px; font-weight: 600; color: #111827; }
.give-stat__sub   { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* ── Sponsor teaser (dark) ───────────────────────────────────── */
.give-sponsor-teaser {
  background: #0f172a;
  color: #ffffff;
  padding: 56px 24px;
}
.give-sponsor-teaser__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.give-sponsor-teaser__title { font-size: 24px; font-weight: 700; margin: 12px 0 12px; }
.give-sponsor-teaser__sub { font-size: 14px; color: #cbd5e1; line-height: 1.55; max-width: 560px; margin: 0 auto 24px; }
.give-tier-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.give-tier {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
}
.give-tier--muted   { border-color: #64748b; color: #cbd5e1; }
.give-tier--emerald { border-color: #34d399; color: #6ee7b7; background: rgba(6, 78, 59, 0.2); }
.give-tier--gold    { border-color: #fbbf24; color: #fcd34d; background: rgba(120, 53, 15, 0.2); }

/* ── Footer ──────────────────────────────────────────────────── */
.give-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 40px 24px 16px;
}
.give-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.give-footer__tag { font-size: 12px; color: #9ca3af; max-width: 320px; margin: 8px 0 0; line-height: 1.55; }
.give-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 14px;
}
.give-footer__links a { color: #6b7280; text-decoration: none; }
.give-footer__links a:hover { color: #111827; }
.give-footer__legal {
  max-width: 1120px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
  color: #9ca3af;
}
