/* ATLAS | Scoped typographic and spacing consolidation
   Covers requested elements only: mobile fundraising, buttons, story, trust panel, sticky banner.
   Original brand, assets, data, checkout, and other sections remain untouched. */
body.horizon{
  --atlas-ink:#17233b; --atlas-subtle:#62718a;
  --atlas-lime:#cbfa93; --atlas-forest:#234a35;
  --atlas-space-1:8px;--atlas-space-2:12px;--atlas-space-3:16px;
  --atlas-space-4:24px;--atlas-space-5:32px;--atlas-space-6:48px;
}
body.horizon .horizon-reactions-bar,body.horizon .horizon-related-section{display:none!important}
body.horizon .atlas-story-collapsed{max-height:235px;overflow:hidden;position:relative}
body.horizon .atlas-story-collapsed:after{content:"";pointer-events:none;position:absolute;bottom:0;left:0;right:0;height:72px;background:linear-gradient(transparent,#fff)}
body.horizon .atlas-read-toggle{appearance:none;display:inline-flex;margin:18px 0 0;padding:5px 0;background:none;border:0;border-bottom:1.5px solid currentColor;border-radius:0;color:var(--atlas-ink);font:600 1rem/1.4 inherit;cursor:pointer}
body.horizon .atlas-read-toggle:focus-visible,body.horizon .atlas-mobile-actions button:focus-visible,body.horizon .mob-sticky button:focus-visible{outline:3px solid #2669ab;outline-offset:4px}
body.horizon .horizon-story-block{margin-bottom:var(--atlas-space-5)!important}
body.horizon .horizon-story-block p{line-height:1.66!important;margin-bottom:18px!important}
body.horizon .horizon-mobile-gauge-card{box-sizing:border-box!important}
body.horizon .horizon-mobile-gauge-card .horizon-gauge-row{display:grid!important;grid-template-columns:clamp(64px,17vw,94px) minmax(0,1fr)!important;align-items:center!important;column-gap:clamp(12px,3vw,22px)!important;row-gap:0!important}
body.horizon .horizon-mobile-gauge-card .donut-chart-container{width:100%!important;min-width:0!important;max-width:94px!important;margin:0!important}
body.horizon .horizon-mobile-gauge-card .donut-chart-svg{display:block;width:100%!important;height:auto!important}
body.horizon .horizon-mobile-gauge-card .gauge-stats{min-width:0!important}
body.horizon .horizon-mobile-gauge-card .atlas-money-line{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:2px 10px!important;margin-bottom:10px!important}
body.horizon .horizon-mobile-gauge-card .stat-raised{font-size:clamp(1.45rem,5.5vw,2.3rem)!important;font-weight:800!important;line-height:1.13!important;letter-spacing:-.04em!important;color:var(--atlas-ink)!important;white-space:nowrap}
body.horizon .horizon-mobile-gauge-card .stat-goal{font-size:clamp(.99rem,3.5vw,1.5rem)!important;font-weight:400!important;line-height:1.3!important;color:var(--atlas-subtle)!important;white-space:nowrap}
body.horizon .horizon-mobile-gauge-card .top-donor-stat-link{display:inline-block;font-size:clamp(.88rem,3.35vw,1rem)!important;line-height:1.4!important;overflow-wrap:anywhere}
body.horizon .horizon-mobile-gauge-card .donut-stroke{stroke:#59b64e!important}
body.horizon .horizon-mobile-gauge-card .donut-text{fill:#202820!important}
body.horizon .atlas-mobile-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(10px,3vw,16px)!important;margin-top:clamp(22px,5vw,30px)!important;align-items:stretch!important}
body.horizon .atlas-mobile-actions button{width:100%!important;min-width:0!important;margin:0!important;padding:12px 14px!important;min-height:56px!important;height:56px!important;border-radius:999px!important;font-size:clamp(1rem,3.7vw,1.15rem)!important;font-weight:750!important;line-height:1!important;box-shadow:none!important;transform:none!important;text-align:center!important;cursor:pointer}
body.horizon .atlas-mobile-actions .btn-horizon-sticky-donate{background:var(--atlas-lime)!important;background-image:none!important;color:#193a27!important;border:0!important}
body.horizon .atlas-mobile-actions .atlas-mobile-share{background:var(--atlas-forest)!important;color:var(--atlas-lime)!important;border:0!important}
/* Trust editorial section: use the same content width and readable rhythm as main page. */
body.horizon .atlas-trust-editorial{background:#f5f5f5!important;border:0!important;padding:clamp(48px,6vw,80px) 0!important}
body.horizon .atlas-trust-editorial .container{width:min(100% - 48px,880px)!important;max-width:880px!important;margin:0 auto!important;padding:0!important}
body.horizon .atlas-trust-editorial .trust-banner-title{margin:0 0 clamp(30px,4vw,46px)!important;font-size:clamp(1.6rem,3vw,2.15rem)!important;line-height:1.2!important;letter-spacing:-.035em!important;text-align:left!important;font-weight:750!important;color:#222!important;max-width:21ch}
body.horizon .atlas-trust-editorial .trust-grid-3{display:grid!important;grid-template-columns:1fr!important;gap:clamp(26px,4vw,42px)!important}
body.horizon .atlas-trust-editorial .trust-col-item{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:0 22px!important;align-items:start!important;text-align:left!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.horizon .atlas-trust-editorial .trust-icon-box{grid-column:1!important;grid-row:1 / span 2!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;width:48px!important;height:48px!important;border:0!important;background:none!important;border-radius:0!important}
body.horizon .atlas-trust-editorial .trust-icon-box svg{width:32px!important;height:32px!important;stroke:#282828!important}
body.horizon .atlas-trust-editorial h3{grid-column:2!important;margin:0 0 6px!important;font-size:clamp(1.08rem,2.2vw,1.3rem)!important;line-height:1.3!important;font-weight:750!important;color:#242424!important}
body.horizon .atlas-trust-editorial p{grid-column:2!important;margin:0!important;max-width:46ch;font-size:clamp(.99rem,1.8vw,1.12rem)!important;line-height:1.58!important;font-weight:400!important;color:#4b4b4b!important}
/* Compact sticky: avoids double CTA while the main fundraiser module is visible (existing JS handles visibility). */
body.horizon .mob-sticky{box-sizing:border-box!important;left:0!important;right:0!important;bottom:0!important;padding:14px max(16px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-right))!important;border:0!important;border-radius:22px 22px 0 0!important;box-shadow:0 -8px 25px rgba(0,0,0,.12)!important;background:#fff!important}
body.horizon .mob-sticky .mob-sticky-top{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;margin:0 0 6px!important}
body.horizon .mob-sticky .mob-sticky-ring,body.horizon .mob-sticky .mob-sticky-ring svg{width:56px!important;height:56px!important}
body.horizon .mob-sticky .mob-sticky-main{min-width:0!important}
body.horizon .mob-sticky .atlas-sticky-amount{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:2px 7px!important}
body.horizon .mob-sticky .atlas-sticky-amount strong{font-size:clamp(1.12rem,4.7vw,1.48rem)!important;color:#202020!important;letter-spacing:-.03em!important;line-height:1.1!important}
body.horizon .mob-sticky .atlas-sticky-amount span{font-size:clamp(.83rem,3.4vw,1rem)!important;color:#686868!important;line-height:1.28!important}
body.horizon .mob-sticky .mob-sticky-lastdon{margin:0 0 10px 70px!important;font-size:.85rem!important;line-height:1.32!important}
body.horizon .mob-sticky .mob-sticky-btns2{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important}
body.horizon .mob-sticky .btn-mob-donate,body.horizon .mob-sticky .atlas-sticky-share{min-width:0!important;width:100%!important;height:50px!important;min-height:50px!important;padding:9px!important;margin:0!important;border:0!important;border-radius:999px!important;box-shadow:none!important;text-shadow:none!important;font-size:1rem!important;font-weight:750!important;cursor:pointer}
body.horizon .mob-sticky .btn-mob-donate{background:var(--atlas-lime)!important;background-image:none!important;color:#193a27!important}
body.horizon .mob-sticky .atlas-sticky-share{background:var(--atlas-forest)!important;color:var(--atlas-lime)!important}
body.horizon .mob-sticky .ring-fill{stroke:#59b64e!important}
body.horizon .mob-sticky .ring-pct-sticky{color:#222!important}
@media(min-width:641px){body.horizon .mob-sticky{display:none!important}}
@media(max-width:640px){body.horizon .atlas-trust-editorial .container{width:calc(100% - 40px)!important}body.horizon .atlas-trust-editorial{padding:56px 0!important}body.horizon .horizon-mobile-gauge-card{padding-inline:clamp(18px,5vw,30px)!important}}
@media(max-width:370px){body.horizon .horizon-mobile-gauge-card .horizon-gauge-row{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important}body.horizon .mob-sticky .mob-sticky-lastdon{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){body.horizon .mob-sticky,body.horizon .atlas-mobile-actions button{transition:none!important}}

/* Requested adjustment: fundraiser stays in document flow, without floating rounded overlay. */
body.horizon .horizon-mobile-gauge-card {
  position: static !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: auto !important;
  background: #fff !important;
}
