@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   AUTHENTIC FUNDRAISING DESIGN SYSTEM (GoFundMe / CareOne Standard)
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 10px 25px -3px rgba(15, 23, 42, 0.12);
}

/* THEME: AZUL (Royal Blue / Medical Trust) */
body.azul {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;
  --accent-glow: rgba(37, 99, 235, 0.2);
  --bg-page: #f8fafc;
  --badge-bg: #dbeafe;
  --badge-text: #1e40af;
}

/* THEME: CORAL (Warm Empathy / Human Connection) */
body.coral {
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-soft: #fff1f2;
  --accent-border: #fecdd3;
  --accent-glow: rgba(225, 29, 72, 0.2);
  --bg-page: #fffbfb;
  --badge-bg: #ffe4e6;
  --badge-text: #9f1239;
}

/* THEME: HORIZON (Sunrise Gold & Horizon Blue - formerly Verde) */
body.horizon,
body.verde {
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-blue: #1d4ed8;
  --accent-blue-hover: #1e40af;
  --accent-soft: #fefce8;
  --accent-border: #fde68a;
  --accent-glow: rgba(245, 158, 11, 0.2);
  --bg-page: #ffffff;
  --badge-bg: #e0f2fe;
  --badge-text: #0369a1;
}


/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* CONTAINER */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  overflow: visible;
  white-space: nowrap;
}

.brand-logo svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  overflow: visible;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-header-donate {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, transform 0.15s;
}

.btn-header-donate:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   CAMPAIGN HEADER (BREADCRUMB & TITLE)
   ========================================================================== */
.campaign-intro {
  padding-top: 36px;
  padding-bottom: 24px;
}

.campaign-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
}

.category-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.campaign-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.campaign-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 860px;
  margin-bottom: 28px;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ==========================================================================
   MAIN TWO-COLUMN LAYOUT
   ========================================================================== */
.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}

/* LEFT COLUMN: STORY & UPDATES */
.col-main {
  min-width: 0;
}

.campaign-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #ffffff;
  margin-bottom: 28px;
}

.campaign-media-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ORGANIZER STRIP */
.organizer-strip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.organizer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.organizer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.organizer-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.organizer-info span {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.organizer-protect {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 6px;
}

/* STORY SECTION */
.section-story {
  margin-bottom: 40px;
}

.section-story h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.story-lead {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.65;
  color: #1e293b;
  margin-bottom: 18px;
}

.story-paragraphs p {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 18px;
}

/* PATIENT / BENEFICIARY QUOTE CARD */
.story-quote-card {
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}

.story-quote-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.65;
  margin-bottom: 10px;
}

.story-quote-card cite {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
}

/* CAMPAIGN HIGHLIGHT BADGES */
.highlights-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.highlight-pill span {
  color: var(--accent);
}

/* UPDATES & COMMUNITY */
.section-divider {
  border-top: 1px solid var(--border-color);
  margin: 36px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.updates-list,
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.update-tag-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.update-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.update-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

/* MESSAGES OF SUPPORT */
.message-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
}

.message-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.message-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
}

/* ==========================================================================
   RIGHT COLUMN: STICKY DONATION CARD (REAL PLATFORM GOLD STANDARD)
   ========================================================================== */
.col-sticky {
  position: sticky;
  top: 90px;
}

.donation-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.funding-progress {
  margin-bottom: 22px;
}

.raised-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.raised-stat .raised-amount {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.raised-stat .goal-amount {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-track {
  width: 100%;
  height: 9px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0 10px;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.donors-count-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* FREQUENCY SELECTOR */
.frequency-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.frequency-group label {
  cursor: pointer;
  position: relative;
}

.frequency-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.frequency-group span {
  display: block;
  text-align: center;
  padding: 7px 12px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.15s;
}

.frequency-group input:checked+span {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* AMOUNTS GRID */
.amounts-legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.amounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.amounts-grid label {
  cursor: pointer;
  position: relative;
}

.amounts-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amounts-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 4px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.amounts-grid label:hover span {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.amounts-grid input:checked+span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* SUBMIT CTA */
.btn-donate-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all 0.15s ease;
}

.btn-donate-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-donate-submit svg {
  flex-shrink: 0;
}

/* SHARE BUTTON */
.btn-share-secondary {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s;
}

.btn-share-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.share-alert {
  font-size: 0.8rem;
  color: #059669;
  text-align: center;
  margin-top: 6px;
  font-weight: 600;
  min-height: 18px;
}

/* RECENT DONORS SOCIAL PROOF (REAL PLATFORM DETAIL) */
.recent-donors-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.recent-donors-box h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.recent-donor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.recent-donor-item .r-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.recent-donor-item .r-details {
  flex: 1;
}

.recent-donor-item strong {
  color: var(--text-main);
}

.recent-donor-item .r-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

/* GUARANTEE FOOTNOTE */
.guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  line-height: 1.4;
}

/* ==========================================================================
   CLOSING BANNER & FOOTER
   ========================================================================== */
.closing-banner {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
  margin-bottom: 40px;
}

.closing-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.closing-tagline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.btn-closing-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.15s;
}

.btn-closing-cta:hover {
  background: var(--accent-hover);
}

.site-footer {
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  padding: 56px 0 32px;
  color: #334155;
  font-size: 0.9rem;
}

.footer-main-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.3fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid #f1f5f9;
}

.footer-col-brand .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-col-brand .footer-brand svg {
  color: var(--accent);
}

.footer-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-locale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links-list a:hover {
  color: var(--accent);
}

.privacy-choices-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-toggle-icon {
  display: inline-flex;
  align-items: center;
}

/* Social icons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.social-icon-btn {
  color: #1e293b;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  transition: all 0.15s;
}

.social-icon-btn:hover {
  color: #ffffff;
  background: var(--accent);
  transform: translateY(-2px);
}

/* App Store Badges */
.footer-apps-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.15s;
}

.store-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.store-badge svg {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-micro {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  line-height: 1.1;
}

.store-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 960px) {
  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .col-sticky {
    position: static;
  }

  .campaign-media-img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .campaign-intro {
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .campaign-meta-row {
    margin-bottom: 12px;
  }

  .campaign-title {
    font-size: 1.95rem;
    margin-bottom: 14px;
  }

  .campaign-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .campaign-media-card {
    margin-bottom: 24px;
  }

  .organizer-strip {
    padding: 14px 16px;
    gap: 12px;
    margin-bottom: 24px;
  }

  .organizer-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .site-footer {
    padding: 36px 0 28px;
  }

  .footer-main-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
  }

  /* ORDER MATCHING USER SCREENSHOT: Social & Apps top, Legal list below */
  .footer-col-social {
    order: 1;
  }

  .footer-col-links {
    order: 2;
  }

  .footer-col-brand {
    order: 3;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
  }

  /* Social Icons: Clean horizontal row, left-aligned */
  .footer-social-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
  }

  .social-icon-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    color: #0f172a;
    border-radius: 4px;
  }

  .social-icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .social-icon-btn:hover {
    color: var(--accent);
    background: transparent;
  }

  /* App Store Badges: Side-by-side */
  .footer-apps-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .store-badge {
    padding: 7px 12px;
    border-radius: 7px;
  }

  .store-badge svg {
    width: 18px;
    height: 18px;
  }

  .store-micro {
    font-size: 0.58rem;
  }

  .store-title {
    font-size: 0.84rem;
  }

  /* Legal Links List: Clean vertical stack */
  .footer-heading {
    display: none;
    /* Hidden on mobile like screenshot */
  }

  .footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links-list a {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.5;
  }

  .privacy-choices-link {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .privacy-toggle-icon svg {
    width: 26px;
    height: 13px;
  }

  /* Bottom bar */
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
  }
}

@media (max-width: 640px) {
  .header-nav .nav-link {
    display: none;
  }

  .campaign-title {
    font-size: 1.85rem;
  }

  .amounts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .closing-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   THEME-SPECIFIC DISTINCT VISUAL IDENTITIES & STRUCTURAL GEOMETRY
   ========================================================================== */

/* Default: In-column media is shown, top-hero is hidden */
.top-hero-container {
  display: none;
}

/* ==========================================================================
   1. TEMA AZUL: 100% ONE FAM FOUNDATION (AUTHENTIC CARE/HOPE MEDICAL STANDARD)
   ========================================================================== */
body.azul {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --bg-page: #f8fafc;
}

body.azul .site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.azul .header-inner {
  justify-content: center;
  height: 68px;
}

body.azul .brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

body.azul .top-hero-container {
  display: none !important;
}

body.azul .campaign-intro-wrapper {
  display: none !important;
}

body.azul .main-layout-container {
  padding-top: 36px;
  padding-bottom: 70px;
}

body.azul .campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: start;
}

/* AZUL: Left Column Intro */
body.azul .azul-intro-block {
  margin-bottom: 24px;
}

body.azul .badge-protected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

body.azul .campaign-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

body.azul .campaign-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 24px;
}

body.azul .campaign-media-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  margin-bottom: 28px;
}

body.azul .campaign-media-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* AZUL: Left Column Story & Donor Cards */
body.azul .section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

body.azul .card-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

body.azul .blue-accent-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #2563eb;
  border-radius: 4px;
  flex-shrink: 0;
}

body.azul .card-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

body.azul .card-heading-row .card-heading {
  margin-bottom: 0;
}

body.azul .live-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}

body.azul .live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseLive 2s infinite;
}

body.azul .story-paragraphs p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 18px;
}

body.azul .story-paragraphs p:last-child {
  margin-bottom: 0;
}

/* AZUL: Recent Donors List */
body.azul .recent-donors-list {
  display: flex;
  flex-direction: column;
}

body.azul .donor-row-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

body.azul .donor-row-item:first-child {
  padding-top: 0;
}

body.azul .donor-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.azul .donor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-right: 14px;
}

body.azul .donor-details {
  flex: 1;
}

body.azul .donor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

body.azul .donor-action {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

body.azul .donor-amount-box {
  text-align: right;
}

body.azul .donor-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

body.azul .donor-time {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* AZUL: Words of Support */
body.azul .card-subheading {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: -12px;
  margin-bottom: 22px;
}

body.azul .support-messages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.azul .support-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

body.azul .support-msg-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.azul .support-msg-item .donor-avatar {
  background: #f1f5f9;
  color: #475569;
  margin-right: 0;
}

body.azul .support-msg-body {
  flex: 1;
}

body.azul .support-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

body.azul .support-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #64748b;
  margin: 2px 0 6px;
}

body.azul .support-text {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}

/* AZUL: Right Column Sticky Card */
body.azul .col-sticky {
  position: sticky;
  top: 90px;
}

body.azul .donation-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
}

/* Progress Donut Gauge */
body.azul .progress-gauge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

body.azul .donut-chart-container {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

body.azul .donut-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.azul .donut-text {
  text-anchor: middle;
  dominant-baseline: central;
  font-family: inherit;
  font-weight: 800;
  fill: #0f172a;
}

body.azul .progress-stats-col {
  flex: 1;
}

body.azul .raised-amount-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

body.azul .goal-amount-val {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

body.azul .horizontal-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

body.azul .horizontal-progress-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Live Activity Inset Micro-Card */
body.azul .live-activity-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

body.azul .live-activity-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.azul .avatar-overlap-group {
  display: flex;
  align-items: center;
}

body.azul .avatar-micro {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-right: -6px;
  display: inline-block;
}

body.azul .avatar-micro.av-1 {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

body.azul .avatar-micro.av-2 {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}

body.azul .avatar-micro.av-3 {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

body.azul .live-recent-text {
  margin-left: 12px;
  font-size: 0.88rem;
  color: #334155;
}

body.azul .live-recent-text strong {
  color: #2563eb;
  font-weight: 800;
}

body.azul .badge-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
}

body.azul .dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseLive 2s infinite;
}

body.azul .live-activity-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 10px 0;
}

body.azul .live-activity-bottom-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
}

body.azul .live-activity-bottom-row strong {
  color: #0f172a;
  font-weight: 700;
}

body.azul .live-tick-highlight {
  animation: liveHighlight 1.5s ease;
}

@keyframes liveHighlight {
  0% {
    color: #2563eb;
    transform: scale(1.1);
  }

  100% {
    color: inherit;
    transform: scale(1);
  }
}

/* Top Action Buttons */
body.azul .top-action-pair {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

body.azul .btn-top-donate-now {
  flex: 1.3;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 16px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.15s ease;
  text-align: center;
}

body.azul .btn-top-donate-now:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

body.azul .btn-top-share {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  font-weight: 600;
  color: #1e293b;
  padding: 12px 14px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

body.azul .btn-top-share:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Form */
body.azul .form-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 16px 0 8px;
  text-transform: uppercase;
}

body.azul .frequency-pill-toggle {
  background: #f1f5f9;
  padding: 4px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

body.azul .freq-pill-item input {
  display: none;
}

body.azul .freq-pill-item span {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.azul .freq-pill-item input:checked+span {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.azul .amounts-grid-6,
body.azul .amounts-grid-azul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

body.azul .amount-pill-card {
  cursor: pointer;
  position: relative;
}

body.azul .amount-pill-card input {
  display: none;
}

body.azul .amount-pill-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 4px;
  transition: all 0.15s ease;
  min-height: 52px;
}

body.azul .amt-val {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

body.azul .tag-suggested {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #2563eb;
  margin-top: 2px;
}

body.azul .amount-pill-card input:checked+.amount-pill-inner {
  border-color: #2563eb;
  background: #eff6ff;
}

body.azul .amount-pill-card input:checked+.amount-pill-inner .amt-val {
  color: #2563eb;
}

body.azul .btn-optional-msg {
  width: 100%;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin: 14px 0 16px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s;
}

body.azul .btn-optional-msg:hover {
  border-color: #94a3b8;
}

body.azul .btn-donate-submit {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

body.azul .btn-donate-submit:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

body.azul .secure-footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.45;
}

body.azul .secure-footer-disclaimer svg {
  flex-shrink: 0;
  color: #64748b;
  margin-top: 1px;
}

/* Footer Azul */
body.azul .footer-azul {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 32px 0;
  text-align: center;
}

body.azul .footer-center-content p {
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 960px) {
  body.azul .campaign-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  body.azul .col-main {
    display: contents;
  }

  body.azul .azul-intro-block {
    order: 1;
  }

  body.azul .campaign-media-card {
    order: 2;
    margin-bottom: 0;
  }

  body.azul .col-sticky {
    order: 3;
    position: static;
    width: 100%;
  }

  body.azul .card-story {
    order: 4;
    margin-bottom: 0;
  }

  body.azul .card-recent-donations {
    order: 5;
    margin-bottom: 0;
  }

  body.azul .card-words-support {
    order: 6;
    margin-bottom: 0;
  }
}



/* 2. TEMA CORAL: Warm Community / Card-First Magazine Layout */
body.coral .top-hero-container {
  display: none;
}

body.coral .site-header {
  border-bottom: 1px solid #fecdd3;
  background: rgba(255, 251, 251, 0.96);
}

body.coral .campaign-intro-wrapper {
  background: transparent;
}

body.coral .campaign-intro {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 36px;
  padding-bottom: 24px;
  margin: 0;
}

body.coral .campaign-title {
  color: #0f172a;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  letter-spacing: -0.025em;
}

body.coral .campaign-subtitle {
  color: #475569;
}

body.coral .campaign-media-img {
  border-radius: 26px;
  box-shadow: 0 10px 30px -5px rgba(225, 29, 72, 0.15);
}

body.coral .donation-card {
  border-radius: 28px;
  border-color: #fecdd3;
  background: #ffffff;
  box-shadow: 0 12px 35px -5px rgba(225, 29, 72, 0.1);
}

body.coral .btn-header-donate,
body.coral .btn-donate-submit,
body.coral .btn-share-secondary,
body.coral .btn-closing-cta {
  border-radius: 50px;
  /* Full pill buttons */
}

body.coral .amounts-grid span {
  border-radius: 50px;
}

body.coral .progress-fill {
  background: linear-gradient(90deg, #fb7185 0%, #e11d48 100%);
}

body.coral .organizer-strip {
  border-radius: 20px;
  border-color: #fecdd3;
  background: #fff8f8;
}

body.coral .story-quote-card {
  border-radius: 20px;
  border-color: #fecdd3;
  background: #fff8f8;
}

/* ==========================================================================
   3. TEMA HORIZON (Sunrise & Gold - 100% GoFundMe / Horizon Foundation Replica)
   ========================================================================== */

/* Header Horizon */
.site-header-horizon {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-inner-horizon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-left-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.horizon-sublink {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}

.horizon-sublink:hover {
  color: #0f172a;
}

.horizon-sublink .arrow-down {
  font-size: 0.72rem;
  color: #94a3b8;
}

.horizon-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-search-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
  transition: color 0.15s;
}

.header-search-link:hover {
  color: #0f172a;
}

.btn-start-campaign {
  background: #f59e0b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.3);
}

.btn-start-campaign:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* Breadcrumbs */
.horizon-breadcrumbs {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 8px;
}

.horizon-breadcrumbs a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.horizon-breadcrumbs a:hover {
  color: #0369a1;
}

.horizon-breadcrumbs span {
  color: #94a3b8;
}

.horizon-breadcrumbs .crumb-current {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}

/* Main Left Column Horizon */
.horizon-title {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.horizon-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: block;
}

.horizon-photo-card .campaign-media-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.carousel-dots .dot.active {
  width: 22px;
  border-radius: 10px;
  background: #ffffff;
}

/* Organizer Line below photo */
.horizon-organizer-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.96rem;
  color: #1e293b;
}

.avatar-circle-blue {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.avatar-circle-blue.sm {
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
}

/* Story Block */
.horizon-story-block {
  padding: 22px 0 10px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #334155;
}

.horizon-story-block p {
  margin-bottom: 1.25rem;
}

/* Reactions Bar */
.horizon-reactions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 20px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.btn-react-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-react-pill:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.rx-emojis-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
}

.rx-emojis-cluster strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0284c7;
  margin-left: 6px;
}

/* Action Buttons below story (Gold & Navy) */
.horizon-story-cta-row {
  display: flex;
  gap: 16px;
  margin: 24px 0 32px;
}

.btn-gold-donate {
  flex: 1;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: 9999px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-gold-donate:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 45%, #b45309 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-blue-share {
  flex: 1;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-blue-share:hover {
  background: #1e40af;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

/* Sharing Box */
.horizon-share-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.horizon-share-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.horizon-share-card p {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.5;
}

.share-mini-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.share-mini-preview img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.share-mini-preview .mini-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.share-mini-preview .mini-info span {
  font-size: 0.8rem;
  color: #64748b;
}

.share-social-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-social-pills .soc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-social-pills .soc-btn:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* Words of Support Card */
.horizon-support-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.horizon-support-card .support-card-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.horizon-support-card .count-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.horizon-support-card .support-card-head p {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 20px;
}

.horizon-support-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
}

.support-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-body {
  flex: 1;
}

.support-body strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.support-meta-line {
  font-size: 0.82rem;
  color: #64748b;
  margin: 2px 0 8px;
}

.support-body p {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

/* Horizon Organizer and Beneficiary Section */
.horizon-organizer-profile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: -18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.horizon-org-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5b6b79;
  margin-bottom: 16px;
}

.horizon-organizer-profile .org-profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.horizon-organizer-profile .avatar-circle-blue {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1554c0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.horizon-organizer-profile .org-profile-names strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.horizon-organizer-profile .org-profile-names span {
  font-size: 0.88rem;
  color: #5b6b79;
  margin-top: 3px;
  display: block;
}

.horizon-org-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0 14px 0;
}

.horizon-organizer-profile .org-profile-sub {
  display: block;
  font-size: 0.92rem;
  color: #5b6b79;
  padding: 0;
  border: none;
  margin-bottom: 14px;
}

.horizon-cat-highlight {
  color: #1554c0;
  font-weight: 600;
}

.horizon-org-protected-wrap {
  margin-bottom: 16px;
}

.horizon-organizer-profile .pill-protected {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1554c0;
  background: #dbeafe;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
}

.horizon-organizer-profile .pill-protected svg {
  flex-shrink: 0;
}

.horizon-report-block {
  margin-top: 14px;
}

.horizon-report-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.horizon-report-link:hover {
  color: #0f172a;
}

.horizon-disclaimer-text {
  font-size: 0.82rem;
  color: #8898aa;
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   HORIZON STICKY RIGHT COLUMN
   -------------------------------------------------------------------------- */
.horizon-sticky-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.horizon-gauge-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.horizon-gauge-row .donut-chart-container {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.horizon-gauge-row .gauge-stats .stat-raised {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.horizon-gauge-row .gauge-stats .stat-raised small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.horizon-gauge-row .gauge-stats .stat-goal {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 4px;
}

.stat-recent-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #0284c7;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-horizon-sticky-donate {
  width: 100%;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 9999px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: block;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-horizon-sticky-donate:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 45%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-horizon-sticky-share {
  width: 100%;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-horizon-sticky-share:hover {
  background: #1e40af;
}

/* Recent Feed in Sticky Card */
.horizon-recent-feed {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-bottom: 18px;
}

.horizon-recent-feed .feed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 14px;
}

.horizon-recent-feed .feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.horizon-recent-feed .feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.horizon-recent-feed .feed-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.horizon-recent-feed .feed-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.horizon-recent-feed .feed-info span {
  font-size: 0.78rem;
  color: #64748b;
}

.feed-action-row {
  display: flex;
  gap: 10px;
}

.feed-action-row button {
  flex: 1;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-action-row button:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.horizon-card-organizer-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.horizon-card-organizer-footer .footer-org-name {
  flex: 1;
}

.horizon-card-organizer-footer .footer-org-name strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.horizon-card-organizer-footer .footer-org-name span {
  font-size: 0.75rem;
  color: #64748b;
}

.btn-org-contact {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-org-contact:hover {
  background: #f8fafc;
}

/* --------------------------------------------------------------------------
   HORIZON SECTION 3: TRUST BANNER
   -------------------------------------------------------------------------- */
body.horizon .campaign-grid {
  padding-bottom: 16px;
}

.horizon-trust-banner {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 48px 0;
  margin-top: 0;
}

.trust-banner-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.trust-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-col-item {
  text-align: left;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.trust-col-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.trust-col-item p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   HORIZON SECTION 4: RELATED FUNDRAISERS (WARM SAND BACKGROUND)
   -------------------------------------------------------------------------- */
.horizon-related-section {
  background: #fffdf0;
  padding: 60px 0 80px;
  border-bottom: 1px solid #fef08a;
}

.related-section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  max-width: 780px;
  line-height: 1.25;
}

.related-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.btn-filter-world {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-nav-arrows .arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rel-campaign-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.rel-campaign-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.rel-card-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rel-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.rel-card-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.rel-donations-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.rel-card-body {
  padding: 18px 20px;
}

.rel-card-category {
  font-size: 0.8rem;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

.rel-card-category strong {
  color: #f59e0b;
}

.rel-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 10px;
}

.rel-card-progress {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.rel-card-progress-bar {
  height: 100%;
  background: #1d4ed8;
  border-radius: 9999px;
  min-width: 6px;
}

.rel-card-raised {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

/* --------------------------------------------------------------------------
   CHECKOUT DONATION MODAL (API AMOUNTS & SECURE STRIPE CHECKOUT)
   -------------------------------------------------------------------------- */
.donation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.16s;
  will-change: opacity;
  transform: translateZ(0);
}

.donation-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.donation-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 490px;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: scale(0.96) translateY(6px);
  opacity: 0;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.donation-modal-overlay.is-open .donation-modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.btn-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.1rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-header-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  padding-right: 32px;
}

.modal-header-info p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
}

.modal-freq-toggle {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-freq-toggle label {
  flex: 1;
  text-align: center;
}

.modal-freq-toggle input {
  display: none;
}

.modal-freq-toggle span {
  display: block;
  padding: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-freq-toggle input:checked+span {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.modal-amounts-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.modal-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.modal-amount-pill {
  position: relative;
  cursor: pointer;
}

.modal-amount-pill input {
  position: absolute;
  opacity: 0;
}

.modal-amt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  transition: all 0.15s ease;
}

.modal-amt-box strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-amt-box small {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.modal-amount-pill input:checked+.modal-amt-box {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

.modal-amount-pill:hover .modal-amt-box {
  border-color: #f59e0b;
}

.btn-modal-submit-gold {
  width: 100%;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 15px;
  border-radius: 9999px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-modal-submit-gold:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 45%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.modal-secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   HORIZON FOOTER (AUTHENTIC DEEP NAVY BLUE AS PER USER SCREENSHOT)
   -------------------------------------------------------------------------- */
.horizon-site-footer {
  background: #173e6b;
  color: #ffffff;
  padding: 65px 0 55px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.horizon-footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.horizon-footer-brand-col {
  max-width: 320px;
}

.horizon-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.horizon-footer-mission {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
  font-weight: 400;
}

.horizon-footer-social-wrap {
  display: flex;
  gap: 12px;
}

.horizon-soc-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e4a7a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.horizon-soc-pill:hover {
  background: #2563eb;
  border-color: #60a5fa;
  transform: translateY(-2px);
}

.horizon-nav-col {
  padding-top: 6px;
}

.horizon-nav-heading {
  color: #f59e0b;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.horizon-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.horizon-nav-list li a {
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.horizon-nav-list li a:hover {
  color: #f59e0b;
  transform: translateX(2px);
}

.horizon-nav-list .h-bullet {
  color: #f59e0b;
  font-size: 0.8rem;
}


@media (max-width: 960px) {
  .trust-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .related-cards-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .related-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .related-cards-grid .rel-campaign-card {
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .horizon-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}


@media (max-width: 768px) {
  body.azul .top-hero-card {
    height: 400px;
  }

  body.azul .top-hero-text {
    padding: 24px 18px;
  }

  body.azul .amounts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body.azul .donation-card {
    padding: 22px 16px;
  }

  body.azul .section-story {
    padding: 24px 18px;
  }

  body.coral .campaign-intro {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  body.coral .donation-card {
    padding: 24px 18px;
    border-radius: 22px;
  }
}

/* --------------------------------------------------------------------------

   HORIZON MOBILE FIDELITY & RESPONSIVE RULES (100% MATCHING USER SCREENSHOTS)
   -------------------------------------------------------------------------- */
.mobile-only {
  display: none !important;
}

.header-mobile-search-btn,
.header-mobile-menu-btn {
  display: none;
}

.horizon-photo-org-badge,
.horizon-photo-dots-badge,
.horizon-photo-title-overlay {
  display: none !important;
}

.horizon-photo-org-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 14px 3px 3px;
  border-radius: 9999px;
  white-space: nowrap;
}

.avatar-badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-badge-name {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.horizon-photo-dots-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 9999px;
  height: 22px;
  box-sizing: border-box;
}

.horizon-photo-dots-badge .dot-fill {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
}

.horizon-photo-dots-badge .dot-hollow {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  display: inline-block;
}

.horizon-photo-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 18px 36px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  z-index: 8;
  pointer-events: none;
  display: none;
}

.horizon-photo-title-overlay h2 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.015em;
}

.horizon-mobile-gauge-card {
  background: #ffffff;
  border-radius: 0;
  padding: 24px 18px 0;
  margin-top: 0;
  position: static;
  z-index: auto;
  border: none;
  box-shadow: none;
}

.top-donor-stat-link {
  font-size: 0.85rem;
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.top-donor-stat-link:hover {
  text-decoration: underline;
}

.horizon-read-more-link {
  display: inline-block;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 18px;
  text-decoration: none;
}

.horizon-read-more-link:hover {
  text-decoration: underline;
}

.horizon-mobile-recent-donations {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  padding: 22px 18px;
  margin-bottom: 28px;
}

.recent-donations-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.recent-donations-header-row h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.btn-see-top-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-see-top-pill:hover {
  background: #f8fafc;
}

.mobile-feed-list {
  display: flex;
  flex-direction: column;
}

.mobile-feed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
}

.feed-av-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-info-col {
  flex: 1;
}

.feed-info-col strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.feed-info-col span {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
  display: block;
}

.btn-see-all-navy {
  width: 100%;
  height: 48px;
  background: #173e6b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}

.btn-see-all-navy:hover {
  background: #112e50;
}

/* Sharing Box with Colored Social Buttons & Mockup */
.share-social-pills-colored {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.share-social-pills-colored button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.share-social-pills-colored button:hover {
  transform: translateY(-2px);
}

.soc-pill-fb {
  background: #1877f2 !important;
}

.soc-pill-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

.soc-pill-tk {
  background: #000000 !important;
}

.soc-pill-wa {
  background: #25d366 !important;
}

.soc-pill-more {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

/* Fanned Cards Pure Code Component */
.share-fan-cards-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 380px;
  margin: 30px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-fan-card {
  position: absolute;
  width: 216px;
  background: #091a2e;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.fan-card-img-wrap {
  width: 100%;
  height: 125px;
  overflow: hidden;
  background: #04101e;
  position: relative;
}

.fan-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fan-card-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  background: #091a2e;
}

.fan-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  text-align: left;
}

.fan-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.fan-av-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fan-card-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fan-stats-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fan-stats-col strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.fan-stats-col span {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

.fan-mini-gauge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.fan-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fan-gauge-text {
  transform: rotate(90deg);
  transform-origin: center;
  font-family: inherit;
}

.fan-card-btn {
  background: #f59e0b;
  color: #091a2e;
  font-weight: 800;
  font-size: 0.88rem;
  text-align: center;
  padding: 10px 0;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  width: 100%;
  display: block;
  transition: transform 0.15s, background-color 0.15s;
}

.fan-card-btn:hover {
  background: #d97706;
  transform: scale(1.02);
}

/* Perspective / Fanned arrangement */
.fan-card-left {
  left: 50%;
  margin-left: -108px;
  transform: translateX(-56px) translateY(12px) rotate(-14deg) scale(0.9);
  z-index: 1;
  opacity: 0.94;
}

.fan-card-right {
  left: 50%;
  margin-left: -108px;
  transform: translateX(56px) translateY(12px) rotate(14deg) scale(0.9);
  z-index: 1;
  opacity: 0.94;
}

.fan-card-center {
  left: 50%;
  margin-left: -108px;
  transform: translateY(-8px) scale(1.04);
  z-index: 4;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.fan-card-center:hover {
  transform: translateY(-12px) scale(1.06);
}

@media (max-width: 960px) {
  body.horizon .desktop-only {
    display: none !important;
  }

  body.horizon .mobile-only {
    display: block !important;
  }

  body.horizon .col-sticky {
    display: none !important;
  }

  body.horizon .carousel-arrow,
  body.horizon .carousel-dots {
    display: none !important;
  }

  body.horizon .horizon-photo-org-badge {
    display: inline-flex !important;
  }

  body.horizon .horizon-photo-org-badge,
  body.horizon .horizon-photo-dots-badge,
  body.horizon .horizon-photo-title-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.horizon {
    background-color: #ffffff !important;
  }

  /* Horizon Header Mobile */
  .site-header-horizon {
    border-bottom: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .site-header-horizon .header-inner-horizon {
    height: 56px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .site-header-horizon .header-left-nav,
  .site-header-horizon .header-right-actions {
    display: none !important;
  }

  .site-header-horizon .header-mobile-search-btn,
  .site-header-horizon .header-mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: none !important;
    border: none !important;
    color: #0f172a !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  .site-header-horizon .horizon-brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
  }

  /* Main Container on Mobile */
  body.horizon .main-layout-container,
  body.horizon main.container {
    padding: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.horizon .campaign-grid {
    display: block !important;
  }

  body.horizon .col-main {
    width: 100% !important;
    padding: 0 !important;
  }

  /* Horizon Breadcrumbs on Mobile (Hidden for flush hero) */
  body.horizon .horizon-breadcrumbs {
    display: none !important;
  }

  /* Horizon Title on Mobile (Hidden on desktop element, rendered inside photo) */
  body.horizon .horizon-title.desktop-only {
    display: none !important;
  }

  /* Horizon Photo Card on Mobile (Edge-to-edge full bleed) */
  body.horizon .horizon-photo-card {
    border-radius: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    box-shadow: none !important;
    border: none !important;
    background: #000000 !important;
  }

  body.horizon .horizon-viewport {
    width: 100% !important;
    border-radius: 0 !important;
    height: 380px !important;
    max-height: 52vh !important;
    min-height: 290px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  body.horizon .horizon-slide {
    height: 100% !important;
    width: 100% !important;
  }

  body.horizon .horizon-photo-card .campaign-media-img,
  body.horizon .horizon-slide .campaign-media-img,
  body.horizon .campaign-media-img,
  body.horizon .horizon-photo-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
  }

  /* Horizon Organizer Line on Mobile (Hidden on desktop element, rendered inside photo badge) */
  body.horizon .horizon-organizer-line.desktop-only {
    display: none !important;
  }

  /* Horizon Mobile Gauge Card - Clean Overlapping Card */
  body.horizon .horizon-mobile-gauge-card {
    background: #ffffff !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    position: static !important;
    z-index: auto !important;
    padding: 22px 18px 18px 18px !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
  }

  .horizon-gauge-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
  }

  .donut-chart-container {
    width: 68px !important;
    height: 68px !important;
    flex-shrink: 0 !important;
  }

  .donut-chart-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .donut-text {
    text-anchor: middle !important;
    dominant-baseline: central !important;
    font-family: inherit !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    fill: #0f172a !important;
  }

  .gauge-stats {
    display: flex !important;
    flex-direction: column !important;
  }

  .gauge-stats .stat-raised {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
  }

  .gauge-stats .stat-goal {
    font-size: 0.95rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-top: 3px !important;
  }

  .gauge-stats .top-donor-stat-link {
    font-size: 0.9rem !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .btn-horizon-sticky-donate {
    width: 100% !important;
    height: 54px !important;
    border-radius: 9999px !important;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 40%, #d97706 100%) !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 10px 24px -2px rgba(245, 158, 11, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.35) !important;
    margin-top: 20px !important;
    margin-bottom: 22px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  }

  .btn-horizon-sticky-donate:hover {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 45%, #b45309 100%) !important;
  }

  /* Story on Mobile */
  body.horizon .horizon-story-block {
    background: #ffffff !important;
    padding: 0 18px 24px 18px !important;
    font-size: 1.05rem !important;
    line-height: 1.68 !important;
    color: #334155 !important;
    margin: 0 !important;
  }

  body.horizon .horizon-story-block p {
    margin-bottom: 1.25rem !important;
  }

  body.horizon .horizon-read-more-link {
    display: none !important;
  }

  body.horizon .horizon-reactions-bar {
    background: #ffffff !important;
    padding: 12px 18px 20px 18px !important;
    margin: 0 !important;
  }

  body.horizon .horizon-story-cta-row {
    background: #ffffff !important;
    padding: 0 18px 26px 18px !important;
    margin: 0 !important;
    border-radius: 0 0 20px 20px !important;
  }

  /* Horizon Trust Banner Stacked on Mobile */
  .trust-grid-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-col-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .trust-icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .modal-amounts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .campaign-title,
  body.coral .campaign-title,
  .horizon-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .campaign-subtitle,
  body.coral .campaign-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .horizon-breadcrumbs {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .horizon-story-cta-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .modal-amounts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .modal-amt-box {
    height: 48px;
  }

  .modal-amt-box strong {
    font-size: 0.98rem;
  }

  .donation-modal-dialog {
    padding: 24px 18px;
  }

  .related-cards-grid {
    display: flex !important;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
  }

  .related-cards-grid .rel-campaign-card {
    min-width: 240px;
    max-width: 260px;
    flex-shrink: 0;
  }

  .horizon-footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   HORIZON FOUNDATION AUTHENTIC DESIGN ALIGNMENT & MOBILE STICKY
   ========================================================================== */

/* Mobile sticky — slide-up card */
.mob-sticky {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #E7EEF7;
  z-index: 950;
  padding: 12px 14px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.34,1.18,.64,1), opacity .28s ease;
  will-change: transform,opacity;
}
@media (min-width: 641px) {
  .mob-sticky {
    display: none !important;
  }
}
.mob-sticky.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mob-sticky-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}
.mob-sticky-ring {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
}
.mob-sticky-ring svg {
  width: 52px;
  height: 52px;
  display: block;
}
.mob-sticky-ring .ring-pct-sticky {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #123C73;
}
.mob-sticky-main {
  flex: 1;
  min-width: 0;
}
.mob-sticky-raised {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #123C73;
  line-height: 1;
}
.mob-sticky-rlbl {
  font-size: 0.72rem;
  color: #667085;
  font-weight: 600;
  margin-left: 4px;
}
.mob-sticky-goal {
  font-size: 0.78rem;
  color: #667085;
  margin-top: 2px;
}
.mob-sticky-lastdon {
  font-size: 0.75rem;
  color: #1F5FBF;
  margin: 4px 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-weight: 600;
}
.mob-sticky-lastdon b {
  color: #123C73;
  font-weight: 700;
}
.mob-sticky-lastdon .arr {
  color: #1F5FBF;
  margin-left: 2px;
}
.mob-sticky-btns2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.mob-sticky-btns2 .btn-mob-donate {
  padding: 13px 10px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  background: linear-gradient(180deg, #FFD86B 0%, #F8B82A 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(150, 95, 0, 0.34);
  font-family: inherit;
  transition: background .15s, transform .15s;
  box-shadow: 0 2px 10px rgba(253, 181, 21, 0.35);
  letter-spacing: .01em;
  width: 100%;
}
.mob-sticky-btns2 .btn-mob-donate:active {
  transform: scale(0.97);
  background: linear-gradient(180deg, #F8B82A 0%, #EAA014 100%);
}

/* Horizon Foundation Authentic Tokens */
body.horizon {
  --blue: #1F5FBF;
  --blue-dark: #1954A6;
  --blue-light: #EAF4FF;
  --orange: #FDB515;
  --orange-dark: #F5A623;
  --ink: #123C73;
  --ink3: #2A4A6E;
  --slate: #4B6584;
  --muted: #667085;
  --subtle: #98A2B3;
  --line: #E7EEF7;
  --surface: #F4F8FD;
  --white: #FFFFFF;
}

body.horizon .horizon-title {
  color: #123C73 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
}

body.horizon .stat-raised {
  color: #123C73 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 900 !important;
}

body.horizon .stat-goal {
  color: #667085 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.horizon .donut-chart-svg .donut-stroke {
  stroke: #1F5FBF !important;
}

body.horizon .donut-text {
  fill: #123C73 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
}

body.horizon .top-donor-stat-link {
  color: #1F5FBF !important;
}

body.horizon .btn-horizon-sticky-donate,
body.horizon .btn-gold-donate {
  background: linear-gradient(180deg, #FFD86B 0%, #F8B82A 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(150, 95, 0, 0.34) !important;
  box-shadow: 0 2px 10px rgba(253, 181, 21, 0.35) !important;
  border-radius: 100px !important;
}

body.horizon .btn-horizon-sticky-share,
body.horizon .btn-blue-share {
  background: #1954A6 !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  box-shadow: 0 2px 8px rgba(25, 84, 166, 0.2) !important;
}

body.horizon .avatar-circle-blue {
  background: #1F5FBF !important;
  color: #ffffff !important;
}

body.horizon .pill-protected {
  background: #CFE4FF !important;
  color: #1954A6 !important;
  font-weight: 700 !important;
}

body.horizon .btn-react-pill {
  border: 1.5px solid #D2DEEE !important;
  color: #2A4A6E !important;
  border-radius: 100px !important;
}

body.horizon .rx-counter-link {
  color: #1F5FBF !important;
}

/* Story Block - Full Text Always Visible */
.horizon-story-block {
  margin-bottom: 24px;
}
.horizon-story-block .story-paragraphs p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 18px;
}

/* ============================================================
   AZUL + HORIZON THEMES — MOBILE RESPONSIVE OVERRIDES
   These rules override higher-specificity desktop rules.
   ============================================================ */

/* ---- Narrow Desktop (≤ 1100px) ---- */
@media (max-width: 1100px) {
  body.azul .campaign-grid {
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 24px !important;
  }
  body.horizon .campaign-grid {
    gap: 24px !important;
  }
}

/* ---- Tablet / Mobile (≤ 959px) ---- */
@media (max-width: 959px) {
  /* Azul: collapse grid */
  body.azul .campaign-grid {
    display: block !important;
  }
  body.azul .col-sticky {
    display: none !important;
  }
  body.azul .top-action-pair {
    display: none !important;
  }
  body.azul .main-layout-container {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  body.azul .campaign-media-img {
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }
  body.azul .campaign-media-card {
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  body.azul .section-card {
    padding: 20px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }

  /* Horizon: collapse grid, hide desktop sidebar */
  body.horizon .campaign-grid {
    display: block !important;
  }
  body.horizon .col-sticky {
    display: none !important;
  }
  body.horizon .desktop-only {
    display: none !important;
  }
  body.horizon .mobile-only {
    display: block !important;
  }
  body.horizon .main-layout-container {
    padding-top: 8px !important;
    padding-bottom: 16px !important;
  }
}

/* ---- Mobile (≤ 767px) ---- */
@media (max-width: 767px) {
  /* Shared: slim header */
  body.azul .site-header .header-inner,
  body.horizon .site-header .header-inner {
    height: 54px !important;
    padding: 0 16px !important;
  }
  body.azul .site-header .header-inner {
    justify-content: center !important;
  }
  body.azul .header-nav,
  body.horizon .header-nav {
    display: none !important;
  }
  body.azul .btn-header-donate,
  body.horizon .btn-header-donate {
    display: none !important;
  }

  /* Azul: titles */
  body.azul .campaign-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 10px !important;
  }
  body.azul .campaign-subtitle {
    font-size: 0.97rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }
  body.azul .section-card {
    padding: 16px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
  }
  body.azul .card-heading {
    font-size: 1.05rem !important;
    margin-bottom: 14px !important;
  }
  body.azul .card-heading-row {
    padding: 14px 16px !important;
  }
  body.azul .story-paragraphs p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }
  body.azul .donor-row-item {
    padding: 12px 16px !important;
    gap: 10px !important;
  }
  body.azul .donor-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.82rem !important;
  }
  body.azul .donor-name,
  body.azul .donor-amount {
    font-size: 0.88rem !important;
  }
  body.azul .donor-action,
  body.azul .donor-time {
    font-size: 0.75rem !important;
  }
  body.azul .support-msg-item {
    gap: 10px !important;
  }
  body.azul .amounts-grid-azul {
    gap: 8px !important;
  }
  body.azul .amount-pill-card {
    padding: 10px 4px !important;
    border-radius: 10px !important;
  }
  body.azul .amt-val {
    font-size: 13.5px !important;
  }
  body.azul .mobile-secure-subtext {
    display: flex !important;
  }
  body.azul .onefam-mobile-bottom-bar {
    display: block !important;
  }
  body.azul {
    padding-bottom: 84px !important;
  }

  /* Horizon: layout */
  body.horizon .main-layout-container,
  body.horizon main.container {
    padding: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Horizon photo card */
  body.horizon .horizon-photo-card {
    border-radius: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #000000 !important;
  }
  body.horizon .horizon-photo-card .campaign-media-img,
  body.horizon .horizon-slide .campaign-media-img,
  body.horizon .campaign-media-img,
  body.horizon .horizon-photo-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Horizon breadcrumbs */
  body.horizon .horizon-breadcrumbs {
    display: none !important;
  }

  /* Horizon title */
  body.horizon .horizon-title.desktop-only {
    display: none !important;
  }

  /* Horizon organizer line */
  body.horizon .horizon-organizer-line.desktop-only {
    display: none !important;
  }

  /* Horizon mobile gauge card */
  body.horizon .horizon-mobile-gauge-card {
    background: #ffffff !important;
    border-radius: 0 !important;
    padding: 22px 18px 18px 18px !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    position: static !important;
  }
  .horizon-gauge-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
  }
  .donut-chart-container {
    width: 62px !important;
    height: 62px !important;
    flex-shrink: 0 !important;
  }
  .donut-chart-svg {
    width: 100% !important;
    height: 100% !important;
  }
  .gauge-stats {
    display: flex !important;
    flex-direction: column !important;
  }
  .gauge-stats .stat-raised {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
  }
  .gauge-stats .stat-goal {
    font-size: 0.9rem !important;
    color: #64748b !important;
    margin-top: 2px !important;
  }
  .gauge-stats .top-donor-stat-link {
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* Horizon mobile donate button */
  .btn-horizon-sticky-donate {
    width: 100% !important;
    height: 52px !important;
    border-radius: 9999px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-top: 16px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  /* Horizon story */
  body.horizon .horizon-story-block {
    background: #ffffff !important;
    padding: 0 0 20px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  body.horizon .horizon-story-block p {
    margin-bottom: 1.2rem !important;
  }
  body.horizon .horizon-read-more-link {
    display: none !important;
  }
  body.horizon .horizon-reactions-bar {
    background: #ffffff !important;
    padding: 10px 0 16px !important;
  }
  body.horizon .horizon-story-cta-row {
    background: #ffffff !important;
    padding: 0 0 22px !important;
  }

  /* Trust grid */
  .trust-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .trust-col-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    text-align: left !important;
  }
  .trust-icon-box {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Horizon footer */
  .horizon-footer-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Modal on mobile */
  .modal-amounts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Mob sticky bar */
  .mob-sticky {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ---- Extra Small (≤ 479px) ---- */
@media (max-width: 479px) {
  body.azul .container,
  body.horizon .container {
    padding: 0 12px !important;
  }

  /* Azul */
  body.azul .campaign-title {
    font-size: 1.35rem !important;
  }
  body.azul .campaign-subtitle {
    font-size: 0.92rem !important;
  }
  body.azul .campaign-media-img {
    max-height: 220px !important;
  }
  body.azul .section-card {
    padding: 14px !important;
  }
  body.azul .card-heading {
    font-size: 0.97rem !important;
  }
  body.azul .amounts-grid-azul {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  body.azul .onefam-bottom-btn {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  /* Horizon */
  body.horizon .horizon-title.desktop-only {
    display: none !important;
  }
  body.horizon .horizon-photo-card .campaign-media-img,
  body.horizon .horizon-photo-card img {
    max-height: none !important;
  }
  body.horizon .gauge-stats .stat-raised {
    font-size: 1.75rem !important;
  }

  /* Modal */
  .modal-amounts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .modal-amt-box {
    height: 46px !important;
  }
  .modal-amt-box strong {
    font-size: 0.92rem !important;
  }
  .donation-modal-dialog {
    padding: 20px 14px !important;
  }

  /* Related campaigns scroll */
  .related-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .related-cards-grid::-webkit-scrollbar {
    display: none !important;
  }
  .related-cards-grid .rel-campaign-card {
    min-width: 230px !important;
    flex-shrink: 0 !important;
  }
}

/* ============================================================
   STORY INLINE IMAGES & VIDEOS — HORIZON FOUNDATION STYLE
   ============================================================ */
.story-img-wrap {
  margin: 22px 0 20px 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.story-img-wrap img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  display: block !important;
  border: 1px solid rgba(231, 238, 247, 0.9) !important;
  box-shadow: 0 4px 16px rgba(18, 60, 115, 0.08) !important;
}

.story-img-caption {
  font-family: inherit !important;
  font-size: 0.8rem !important;
  color: #64748b !important;
  text-align: center !important;
  margin-top: 9px !important;
  font-style: italic !important;
  line-height: 1.45 !important;
  display: block !important;
}

.story-video-wrap {
  margin: 22px 0 20px 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #000000 !important;
}

.story-video-wrap video {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 14px !important;
  display: block !important;
  border: 1px solid rgba(231, 238, 247, 0.9) !important;
  box-shadow: 0 4px 16px rgba(18, 60, 115, 0.08) !important;
  background: #000000 !important;
  max-height: 78vh !important;
}