/* THE WARM FRONT (inc/sr-funds.php, 5 Nov 2026): the GiveSendGo campaigns as ONE card design. Sarah Fields' card first and widest;
   the others side by side beneath it at equal weight, stacked when the block is narrow. Cobalt night, the site's display face, one
   width, two edges. The block is a size container, so the cards stack by the block's own width (the home's wide band or the reading
   column of /stand-with-sarah/), never by the window's. Motion is transform only. */
.srf{padding-top:clamp(18px,3vw,36px);padding-bottom:clamp(18px,3vw,36px);container-type:inline-size}
/* the block keeps the slot's class (.sr-sf), so assets/sr-contain.* skip it off-screen and remember its real height per width bucket
   (--sr-h-sf on <html>, which wins over these). Until a visitor's first measurement the seed is this block's estimated height, not the
   old single Sarah panel's (420px / 330px), so the page's length is right from the first frame. */
html:root{--sr-h-sf:1100px}
@media(min-width:701px){html:root{--sr-h-sf:1270px}}
.srf__wrap{display:grid;gap:clamp(12px,1.6vw,18px);max-width:1180px;margin-inline:auto}
.srf .srf__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 18px;margin:0}
.srf .srf__title{margin:0;font:400 clamp(22px,2.4vw,30px)/1 var(--display,Impact,'Arial Narrow',sans-serif);letter-spacing:.03em;text-transform:uppercase;color:#f7fbff}
.srf .srf__title em{font-style:normal;color:#7fc8ff}
.srf .srf__eyebrow{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#9fc4ff}
.srf__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.6vw,18px)}

/* the card: copy, money (figures, button, stamp), about */
.srf-card{position:relative;isolation:isolate;display:grid;grid-template-rows:auto 1fr auto;gap:16px;min-width:0;padding:clamp(18px,2.4vw,28px);border:1px solid rgba(127,200,255,.4);border-radius:18px;
  background:radial-gradient(ellipse 80% 120% at 0% 0%,rgba(36,83,255,.28),transparent 62%),linear-gradient(135deg,#0a1f6e 0%,#061233 58%,#020617 100%);
  box-shadow:0 0 0 1px rgba(2,6,23,.6) inset,0 18px 44px rgba(2,6,23,.45);overflow:hidden;color:#e7f0ff;scroll-margin-top:90px}
.srf-card::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;z-index:1;background:linear-gradient(90deg,transparent,#7fc8ff 18%,#e8f1ff 50%,#7fc8ff 82%,transparent);opacity:.85;pointer-events:none}
.srf-card__copy,.srf-card__money{position:relative;z-index:1;display:grid;gap:10px;align-content:start;min-width:0}
.srf-card__money{align-self:end}
.srf .srf-card p{margin:0;min-height:0;padding:0;background:none;display:block;text-transform:none;letter-spacing:normal}
.srf .srf-card .srf-card__k{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#9fc4ff}
.srf-card__mk{flex:none;width:18px;height:18px;color:#7fc8ff}
.srf .srf-card__t{margin:0;font:400 clamp(28px,3.2vw,40px)/.98 var(--display,Impact,'Arial Narrow',sans-serif);letter-spacing:.01em;text-transform:uppercase;color:#f7fbff;text-wrap:balance;overflow-wrap:anywhere}
.srf .srf-card .srf-card__line{max-width:52ch;font-size:clamp(15px,1.3vw,17px);line-height:1.5;color:#c7d6f5}
.srf .srf-card .srf-card__by{font-size:12.5px;line-height:1.4;color:#9fb4d9}
.srf .srf-card .srf-card__raised{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;font-size:14px;color:#c7d6f5}
.srf-card__raised b{font:400 clamp(34px,4vw,48px)/1 var(--display,Impact,'Arial Narrow',sans-serif);letter-spacing:.01em;color:#fff;font-variant-numeric:tabular-nums}
.srf-card__bar{height:12px;border-radius:8px;border:1px solid rgba(127,200,255,.3);background:rgba(127,200,255,.16);overflow:hidden}
.srf-card__bar i{display:block;height:100%;transform:scaleX(var(--p,0));transform-origin:0 50%;background:linear-gradient(90deg,#2453ff,#7fc8ff 70%,#e8f1ff)}
.srf .srf-card .srf-card__goal{font-size:14px;color:#c7d6f5}
.srf-card__goal b,.srf-card__goal span{color:#fff;font-variant-numeric:tabular-nums}
.srf-card__go{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 18px;border:1px solid #c9ecff;border-radius:12px;background:linear-gradient(180deg,#f7fbff,#c9ecff);color:#061233!important;font-size:14px;font-weight:900;line-height:1.25;letter-spacing:.04em;text-transform:uppercase;text-align:center;text-decoration:none!important;box-shadow:0 0 0 1px rgba(2,6,23,.4),0 10px 28px rgba(36,83,255,.3);transition:transform .18s}
.srf-card__go:hover,.srf-card__go:focus-visible{transform:translateY(-2px)}
.srf-card__go:focus-visible{outline:3px solid #ffe28c;outline-offset:3px}
.srf .srf-card .srf-card__stamp{font-size:12px;line-height:1.5;color:#9fb4d9}
.srf__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the primary: Sarah's own campaign, the widest card, copy beside the money panel */
.srf-card--primary{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);grid-template-rows:auto auto;column-gap:clamp(20px,4vw,52px);padding:clamp(22px,4vw,48px);border-radius:20px;box-shadow:0 0 0 1px rgba(2,6,23,.6) inset,0 24px 60px rgba(2,6,23,.5),0 0 60px rgba(36,83,255,.18)}
.srf-card--primary::after{content:"";position:absolute;right:2%;bottom:-5%;width:220px;aspect-ratio:1;background:url(./design/hero-cameo-thumb.webp) center/contain no-repeat;opacity:.12;pointer-events:none}
.srf-card--primary .srf-card__copy{align-self:center}
.srf-card--primary .srf-card__money{align-self:center;padding:clamp(16px,2.4vw,24px);border:1px solid rgba(127,200,255,.28);border-radius:14px;background:rgba(2,6,23,.45)}
.srf .srf-card--primary .srf-card__t{font-size:clamp(40px,6.2vw,82px);line-height:.95;text-shadow:0 0 28px rgba(127,200,255,.4)}
.srf-card--primary .srf-card__raised b{font-size:clamp(44px,5.6vw,66px);text-shadow:0 0 22px rgba(127,200,255,.45)}
.srf-card--primary .srf-card__bar{height:14px}
.srf-card--primary>.srf-card__about{grid-column:1/-1}

/* Sarah's page link, shared or copied */
.srf-card__share{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:4px}
.srf-card__share button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 14px;border:1px solid #a2bfff80;border-radius:9px;background:#133478;color:#e7f2ff;font:800 12px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.srf-card__share button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.srf-card__share button:disabled{opacity:.6}
.srf-card__permalink{display:inline-flex;align-items:center;min-height:44px;color:#b6ceff!important;font-size:11px;word-break:break-word;text-underline-offset:3px}
.srf .srf-card .srf-card__status{flex-basis:100%;min-height:1.4em;font-size:11px;color:#b9d5ff}

/* about this campaign: who runs it, who it is for, the campaign's own dated note */
.srf-card__about{position:relative;z-index:1;border-top:1px solid rgba(127,200,255,.18);padding-top:4px;font-size:13px;line-height:1.55;color:#b9cbea}
.srf-card__about summary{display:flex;align-items:center;min-height:44px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9fc4ff;list-style:none}
.srf-card__about summary::-webkit-details-marker{display:none}
.srf-card__about summary::after{content:"+";margin-left:auto;font-size:16px;line-height:1;color:#7fc8ff}
.srf-card__about[open] summary::after{content:"\2212"}
.srf .srf-card__about p{margin:0 0 8px}
.srf-card__about a{color:#b6ceff!important;text-decoration:underline;text-underline-offset:3px}
.srf-card__about cite{font-style:normal;color:#e7f0ff}
.srf .srf__credit{margin:0;font-size:12px;line-height:1.5;color:#8aa0cc;text-align:center}

/* narrower than the two-column card: everything stacks, the button is the full width */
@container (max-width:760px){
  .srf-card--primary{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:18px}
  .srf-card--primary>.srf-card__about{grid-column:auto}
  .srf__pair{grid-template-columns:minmax(0,1fr)}
}
@supports not (container-type:inline-size){
  @media(max-width:820px){.srf-card--primary{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}.srf-card--primary>.srf-card__about{grid-column:auto}.srf__pair{grid-template-columns:minmax(0,1fr)}}
}
@media(prefers-reduced-motion:reduce){.srf-card__go{transition:none}.srf-card__go:hover,.srf-card__go:focus-visible{transform:none}}

/* Compact campaign presentation for existing standalone pages. Homepage rooms use their own responsive layout in sr-home.css.
   Treat these historical sizing choices as implementation details, not a restriction on future design improvements. */
@container (max-width:760px){
  .srf__pair{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:520px){
  .srf__wrap{gap:10px}
  .srf__pair{gap:10px}
  .srf__pair .srf-card{padding:12px;gap:10px;border-radius:14px}
  .srf__pair .srf-card__copy,.srf__pair .srf-card__money{gap:6px}
  .srf .srf__pair .srf-card .srf-card__k{font-size:9.5px;letter-spacing:.1em}
  .srf__pair .srf-card__mk{display:none}
  .srf .srf__pair .srf-card__t{font-size:clamp(20px,6.4vw,26px);line-height:1}
  .srf .srf__pair .srf-card .srf-card__line,.srf .srf__pair .srf-card .srf-card__by,.srf .srf__pair .srf-card .srf-card__stamp{display:none}
  .srf .srf__pair .srf-card .srf-card__raised{font-size:11px}
  .srf__pair .srf-card__raised b{font-size:clamp(24px,7.6vw,32px)}
  .srf__pair .srf-card__bar{height:9px}
  .srf .srf__pair .srf-card .srf-card__goal{font-size:11.5px}
  .srf__pair .srf-card__go{min-height:44px;padding:8px 6px;gap:6px;border-radius:10px;font-size:12px;line-height:1.2;text-align:center}
  .srf__pair .srf-card__about summary{min-height:44px;font-size:9.5px;letter-spacing:.08em}
  .srf-card--primary{padding:16px;row-gap:12px}
  .srf-card--primary::after{display:none}
  .srf .srf-card--primary .srf-card__t{font-size:clamp(30px,9.2vw,40px)}
  .srf .srf-card--primary .srf-card__line{font-size:14px;line-height:1.45}
  .srf-card--primary .srf-card__raised b{font-size:clamp(34px,10vw,44px)}
  .srf .srf-card--primary .srf-card__by,.srf-card--primary .srf-card__permalink{display:none}
  .srf .srf-card--primary .srf-card__status:empty{display:none}
  .srf .srf-card--primary .srf-card__money{padding:12px}
}
@supports not (container-type:inline-size){
  @media(max-width:820px){.srf__pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
}
