/*
Theme Name: Bloodline
Theme URI: https://bloodline.life
Author: Bloodline
Description: Accessible, high-contrast theme for the Bloodline blood donation platform. Built for readers aged 20 to 80: 19px base text, WCAG AAA contrast throughout, 44px minimum tap targets, and a built-in text size control. Always renders light, regardless of the visitor's device dark mode setting.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloodline
Tags: accessibility-ready, one-column, custom-menu, custom-logo, blog
*/


/* ============================================================
   BLOODLINE
   Audience: 20 to 80 years old, readable without glasses.
   Rules followed throughout:
     - body text never below 19px, small print never below 16px
     - body text contrast at least 7:1 (WCAG AAA), never just AA
     - tap targets at least 56px tall
     - no small uppercase letter-spaced labels
   ============================================================ */
:root{
  --red:#A50F2E;
  --red-dark:#7D0B23;
  --red-tint:#FFF0F3;
  --ink:#141414;
  --body:#333333;
  --muted:#4B4B4B;
  --line:#DCDCDC;
  --soft:#F4F6F9;
  --green:#0B6B45;
  --green-tint:#E8F5EF;
  --white:#ffffff;

  --ff-head:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ff-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;

  --wrap:1180px;
  --r:14px;
  --r-sm:10px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  background:#ffffff;
  color-scheme:light only;
  -webkit-text-size-adjust:100%;
  font-size:100%;
}
html.ts1{font-size:112.5%}
html.ts2{font-size:125%}

body{
  margin:0;
  background:#ffffff;
  color:var(--body);
  font-family:var(--ff-body);
  font-size:1.1875rem;   /* 19px */
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block}
a{color:var(--red)}
button{font-family:inherit}

:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:4px}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px}

/* ---------- headings ---------- */
h1,h2,h3,h4{font-family:var(--ff-head);color:var(--ink);margin:0;line-height:1.15;letter-spacing:-.015em}
.h1{font-size:clamp(2.3rem,5.2vw,3.6rem);font-weight:800}
.h2{font-size:clamp(1.85rem,3.6vw,2.6rem);font-weight:700}
.h3{font-size:1.4rem;font-weight:700}
.h4{font-size:1.2rem;font-weight:700}
.h1 .em,.h2 .em{color:var(--red)}

.lede{font-size:1.3rem;line-height:1.6;color:var(--body);margin:0}
.section-intro{max-width:60ch;margin-bottom:44px}
.section-intro .lede{margin-top:14px}
.center{text-align:center;margin-inline:auto}
.center .lede{margin-inline:auto}

.tag{
  display:inline-block;font-family:var(--ff-body);font-weight:700;
  font-size:1.0625rem;color:var(--red);margin-bottom:12px;
}
.rule{width:64px;height:5px;background:var(--red);border-radius:3px;margin-top:16px}
.center .rule{margin-inline:auto}

section{padding-block:72px}
.section-soft{background:var(--soft)}

/* ---------- buttons: minimum 56px tall ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:58px;padding:0 28px;border-radius:var(--r-sm);
  font-family:var(--ff-head);font-weight:700;font-size:1.125rem;
  border:2px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.btn svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2.5}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark)}
.btn-outline{background:#fff;color:var(--ink);border-color:#BFBFBF}
.btn-outline:hover{border-color:var(--ink);background:var(--soft)}
.btn-white{background:#fff;color:var(--red)}
.btn-white:hover{background:#F3F3F3}
.btn-block{width:100%}
.btn-big{min-height:66px;font-size:1.25rem}

/* ---------- utility bar (helpline + text size) ---------- */
.utilbar{background:var(--soft);border-bottom:1px solid var(--line)}
.utilbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;flex-wrap:nowrap}
.helpline{display:flex;align-items:center;gap:9px;font-size:1rem;color:var(--body);white-space:nowrap}
.helpline svg{width:19px;height:19px;stroke:var(--red);fill:none;stroke-width:2.3;flex:none}
.helpline a{color:var(--ink);font-weight:700;text-decoration:none;padding:11px 0;display:inline-block}
.helpline a:hover{color:var(--red)}
.helpline .lbl{color:var(--muted)}

/* ---------- header ---------- */
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:80}
.header-in{display:flex;align-items:center;gap:18px;min-height:76px;flex-wrap:nowrap}
.logo{background:none;border:0;padding:6px 0;cursor:pointer;flex:none;min-height:46px;display:flex;align-items:center}
.logo img{height:31px;width:auto}
.nav{display:flex;gap:2px;margin-left:auto;flex-wrap:nowrap}
.nav button{
  background:none;border:0;cursor:pointer;padding:12px 13px;border-radius:8px;white-space:nowrap;
  font-family:var(--ff-body);font-weight:600;font-size:1.0625rem;color:var(--body);
}
.nav button:hover{background:var(--soft);color:var(--ink)}
.nav button[aria-current="page"]{color:var(--red);background:var(--red-tint)}
.header-cta{margin-left:10px;display:flex;align-items:center;gap:10px;flex:none}

/* text size control — a real answer to "readable without glasses" */
.textsize{display:flex;align-items:center;gap:4px;flex:none}
.textsize span{font-size:1rem;font-weight:600;color:var(--muted);padding-right:4px;white-space:nowrap}
.textsize button{
  min-width:44px;height:44px;border:2px solid var(--line);background:#fff;cursor:pointer;border-radius:8px;
  font-family:var(--ff-head);font-weight:700;color:var(--body);line-height:1;
}
.textsize button:nth-of-type(1){font-size:1rem}
.textsize button:nth-of-type(2){font-size:1.125rem}
.textsize button:nth-of-type(3){font-size:1.375rem}
.textsize button:hover{border-color:var(--red);color:var(--red)}
.textsize button[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}

.burger{display:none;width:52px;height:52px;border:2px solid var(--line);background:#fff;
  border-radius:8px;cursor:pointer;align-items:center;justify-content:center}
.burger svg{width:26px;height:26px;stroke:var(--ink);stroke-width:2.4;fill:none;stroke-linecap:round}
.mobnav{display:none;flex-direction:column;background:#fff;border-top:1px solid var(--line);padding:8px 20px 16px}
.mobnav.open{display:flex}
.mobnav button{background:none;border:0;text-align:left;padding:16px 4px;font-size:1.125rem;
  font-weight:600;color:var(--body);border-bottom:1px solid var(--line);cursor:pointer}
.mobnav button[aria-current="page"]{color:var(--red)}

/* ---------- pages ---------- */
/* NOTE: WordPress adds a "page" class to <body> on every Page, so this
   selector must never hide anything. The single-file demo used .page for
   client-side routing; WordPress serves real pages instead. */
body.page{display:block;background:#fff}

/* ============================================================
   HERO — the action panel, same shape as a ride-booking form
   ============================================================ */
.hero{background:var(--red-tint);padding-block:56px 64px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero h1{margin-bottom:18px}
.hero .lede{font-size:1.375rem;max-width:26ch}
.hero-points{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.hero-points li{display:flex;gap:12px;align-items:flex-start;font-size:1.125rem;color:var(--body)}
.hero-points svg{width:26px;height:26px;flex:none;stroke:var(--green);fill:none;stroke-width:2.6;margin-top:2px}

.panel{background:#fff;border-radius:var(--r);border:1px solid var(--line);
  box-shadow:0 12px 34px rgba(20,20,20,.10);padding:26px}
.panel h2{font-size:1.5rem;margin-bottom:20px}
.switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:var(--soft);
  padding:6px;border-radius:var(--r-sm);margin-bottom:24px}
.switch button{
  min-height:56px;border:0;border-radius:8px;background:none;cursor:pointer;
  font-family:var(--ff-head);font-weight:700;font-size:1.0625rem;color:var(--muted);
}
.switch button[aria-pressed="true"]{background:var(--red);color:#fff}

.field{margin-bottom:18px}
.field label{display:block;font-size:1.0625rem;font-weight:600;color:var(--ink);margin-bottom:8px}
.field select,.field input,.field textarea{
  width:100%;min-height:60px;padding:14px 16px;border:2px solid #C9C9C9;border-radius:var(--r-sm);
  background:#fff;color:var(--ink);font-family:var(--ff-body);font-size:1.125rem;
  -webkit-text-fill-color:var(--ink);
}
.field textarea{min-height:130px;resize:vertical;line-height:1.6}
.field select:focus,.field input:focus,.field textarea:focus{border-color:var(--red);outline:none}
.field-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.panel-note{display:flex;gap:10px;align-items:center;margin-top:16px;font-size:1rem;color:var(--muted)}
.panel-note svg{width:22px;height:22px;flex:none;stroke:var(--green);fill:none;stroke-width:2.6}

/* ---------- trust bar ---------- */
.trustbar{background:#fff;border-bottom:1px solid var(--line)}
.trustbar .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding-block:36px}
.trust{display:flex;gap:16px;align-items:flex-start}
.trust-ico{width:52px;height:52px;border-radius:12px;background:var(--red-tint);flex:none;
  display:flex;align-items:center;justify-content:center}
.trust-ico svg{width:27px;height:27px;stroke:var(--red);fill:none;stroke-width:2.2}
.trust h3{font-size:1.1875rem;margin-bottom:4px}
.trust p{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.5}

/* ---------- service cards ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px;
  transition:box-shadow .18s ease,border-color .18s ease}
.card:hover{box-shadow:0 10px 28px rgba(20,20,20,.10);border-color:#C4C4C4}
.card-ico{width:60px;height:60px;border-radius:14px;background:var(--red-tint);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.card-ico svg{width:31px;height:31px;stroke:var(--red);fill:none;stroke-width:2.2}
.card h3{margin-bottom:8px}
.card p{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.55}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px}
.step-n{width:52px;height:52px;border-radius:50%;background:var(--red);color:#fff;
  font-family:var(--ff-head);font-weight:700;font-size:1.375rem;
  display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.step h3{font-size:1.25rem;margin-bottom:8px}
.step p{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.55}

/* ---------- compatibility ---------- */
.compat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:30px}
.gbtns{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:26px}
.gbtn{
  min-height:66px;border:2px solid #C9C9C9;border-radius:var(--r-sm);background:#fff;
  cursor:pointer;font-family:var(--ff-head);font-weight:700;font-size:1.375rem;color:var(--ink);
}
.gbtn:hover{border-color:var(--red);background:var(--red-tint)}
.gbtn[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}
.cres{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.cbox{border:2px solid var(--line);border-radius:var(--r-sm);padding:20px}
.cbox.give{border-color:#F2B8C4;background:var(--red-tint)}
.cbox.get{border-color:#B7DDCC;background:var(--green-tint)}
.cbox h3{font-size:1.1875rem;margin-bottom:12px}
.cbox .list{display:flex;flex-wrap:wrap;gap:8px}
.gchip{font-family:var(--ff-head);font-weight:700;font-size:1.125rem;padding:8px 14px;border-radius:8px;
  background:#fff;border:2px solid;}
.cbox.give .gchip{border-color:var(--red);color:var(--red)}
.cbox.get .gchip{border-color:var(--green);color:var(--green)}
.cnote{margin:24px 0 0;font-size:1.125rem;color:var(--body);background:var(--soft);
  border-left:5px solid var(--red);border-radius:0 8px 8px 0;padding:16px 18px}
.cnote b{color:var(--ink)}
.cempty{margin:0;font-size:1.125rem;color:var(--muted)}

/* ---------- donors ---------- */
.donors{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.drow{display:grid;grid-template-columns:60px 1fr 90px 130px;gap:18px;align-items:center;
  padding:20px 24px;border-bottom:1px solid var(--line)}
.drow:last-child{border-bottom:0}
.drow-h{background:var(--soft);font-weight:700;color:var(--ink);font-size:1rem}
.drank{font-family:var(--ff-head);font-weight:700;font-size:1.375rem;color:var(--muted)}
.drow.top3 .drank{color:var(--red)}
.dname{font-family:var(--ff-head);font-weight:700;font-size:1.1875rem;color:var(--ink)}
.darea{font-size:1rem;color:var(--muted);margin-top:2px}
.dgroup{font-family:var(--ff-head);font-weight:700;font-size:1.125rem;color:var(--red);
  background:var(--red-tint);border-radius:8px;padding:8px 0;text-align:center}
.dcount{text-align:right;font-family:var(--ff-head);font-weight:700;font-size:1.25rem;color:var(--ink)}
.dcount small{display:block;font-family:var(--ff-body);font-weight:400;font-size:1rem;color:var(--muted)}

/* ---------- band ---------- */
.band{background:var(--red);border-radius:var(--r);padding:44px 36px;display:flex;
  align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.band h2{color:#fff;max-width:20ch}
.band p{color:#ffffff;margin:12px 0 0;font-size:1.1875rem;max-width:44ch}


/* ---------- full-bleed donor call to action ---------- */
.cta-strip{background:var(--red);padding-block:38px}
.cta-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.cta-strip h2{color:#fff;font-size:clamp(1.6rem,3vw,2.15rem)}
.cta-strip p{color:#fff;margin:10px 0 0;font-size:1.1875rem;max-width:50ch}

/* ---------- page intro band ---------- */
.pagehead{background:var(--red-tint);padding-block:56px}
.pagehead h1{margin-bottom:16px}
.pagehead .lede{max-width:58ch}

/* ---------- mission and vision ---------- */
.mv{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.mv-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:34px}
.mv-card.accent{background:var(--red-tint);border-color:#F0B9C5}
.mv-ico{width:62px;height:62px;border-radius:14px;background:var(--red);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.mv-ico svg{width:32px;height:32px;stroke:#fff;fill:none;stroke-width:2.2}
.mv-card h2{font-size:1.7rem;margin-bottom:14px}
.mv-card p{margin:0;font-size:1.125rem;line-height:1.7;color:var(--body)}

/* ---------- values ---------- */
.vals{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.val{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px}
.val-ico{width:54px;height:54px;border-radius:12px;background:var(--red-tint);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.val-ico svg{width:28px;height:28px;stroke:var(--red);fill:none;stroke-width:2.2}
.val h3{font-size:1.25rem;margin-bottom:8px}
.val p{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.55}

/* ---------- commitments ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:30px 20px;text-align:center}
.stat b{display:block;font-family:var(--ff-head);font-weight:800;font-size:2.7rem;color:var(--red);line-height:1}
.stat span{display:block;margin-top:12px;font-size:1.0625rem;color:var(--muted);line-height:1.5}

/* ---------- what we do list ---------- */
.doing{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.doing-item{border-top:4px solid var(--red);padding-top:20px}
.doing-item h3{font-size:1.3rem;margin-bottom:10px}
.doing-item p{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.6}

/* ---------- where we work ---------- */
.place{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.place-img{border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.place-img img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* ---------- team ---------- */
.team{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.tcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px;
  display:flex;gap:22px;align-items:flex-start}
.tphoto{width:110px;height:110px;border-radius:12px;overflow:hidden;flex:none;background:var(--soft)}
.tphoto img{width:100%;height:100%;object-fit:cover}
.trole{color:var(--red);font-weight:700;font-size:1.0625rem;margin:6px 0 12px;line-height:1.45}
.tbio{margin:0;font-size:1.0625rem;color:var(--muted);line-height:1.6}

/* ---------- prose ---------- */
.prose{max-width:62ch}
.prose p{font-size:1.1875rem;line-height:1.7;color:var(--body);margin:0 0 22px}
.quote{border-left:5px solid var(--red);padding:6px 0 6px 22px;margin:30px 0;
  font-family:var(--ff-head);font-weight:600;font-size:1.4rem;line-height:1.4;color:var(--ink)}
.quote .em{color:var(--red)}

/* ---------- app feature rows ---------- */
.feat{display:grid;grid-template-columns:270px 1fr;gap:48px;align-items:center;
  padding-block:44px;border-top:1px solid var(--line)}
.feat:nth-child(even) .feat-img{order:2}
.feat-img{display:flex;justify-content:center}
.phone{width:250px;border-radius:26px;border:10px solid #2E3540;overflow:hidden;
  box-shadow:0 16px 34px rgba(20,20,20,.20)}
.feat h3{font-size:1.6rem;margin-bottom:10px}
.feat p{margin:0;font-size:1.125rem;color:var(--muted);line-height:1.6;max-width:46ch}

/* ---------- gallery ---------- */
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gitem{margin:0;border-radius:var(--r);overflow:hidden;background:var(--soft);border:1px solid var(--line)}
.gitem img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gitem figcaption{padding:16px 18px;font-size:1.0625rem;font-weight:600;color:var(--ink);background:#fff}

/* ---------- contact ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.cline{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-top:1px solid var(--line)}
.cline svg{width:26px;height:26px;stroke:var(--red);fill:none;stroke-width:2.2;flex:none;margin-top:3px}
.cline b{display:block;font-size:1.0625rem;color:var(--muted);font-weight:600;margin-bottom:2px}
.cline a,.cline span{font-size:1.1875rem;color:var(--ink);text-decoration:none;font-weight:600;display:inline-block;padding:8px 0}
.cline a:hover{color:var(--red)}
.alert{background:var(--red-tint);border:2px solid #F2B8C4;border-radius:var(--r-sm);
  padding:20px;margin-bottom:26px;font-size:1.0625rem;color:#7E0B21;line-height:1.6}
.alert b{color:#5E0818}
.formnote{font-size:1rem;color:var(--muted);text-align:center;margin:14px 0 0}

/* ---------- footer ---------- */
.foot{background:var(--soft);border-top:1px solid var(--line);padding-block:52px 28px}
.foot-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:36px}
.foot img{height:32px;width:auto;margin-bottom:16px}
.foot-tag{font-size:1.0625rem;color:var(--muted);line-height:1.6;margin:0 0 20px;max-width:32ch}
.foot h4{font-size:1.0625rem;color:var(--ink);margin-bottom:14px}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin-bottom:0}
.foot li button,.foot li a{background:none;border:0;padding:12px 0;display:inline-block;cursor:pointer;text-align:left;
  font-family:var(--ff-body);font-size:1.0625rem;color:var(--muted);text-decoration:none}
.foot li button:hover,.foot li a:hover{color:var(--red);text-decoration:underline}
.foot-base{border-top:1px solid var(--line);margin-top:34px;padding-top:22px;
  font-size:1rem;color:var(--muted);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1000px){
  .hero-grid,.split,.team,.cres{grid-template-columns:1fr;gap:34px}
  .cards,.steps,.vals,.stats,.doing{grid-template-columns:1fr 1fr}
  .mv,.place{grid-template-columns:1fr;gap:28px}
  .trustbar .wrap{grid-template-columns:1fr;gap:22px}
  .gal{grid-template-columns:1fr 1fr}
  .feat{grid-template-columns:1fr;gap:26px}
  .feat:nth-child(even) .feat-img{order:0}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:1080px){
  .nav button{padding:12px 10px;font-size:1rem}
  .header-in{gap:12px}
}
@media (max-width:940px){
  .nav{display:none}
  .burger{display:flex}
  .header-cta{margin-left:auto}
}
@media (max-width:620px){
  .helpline .lbl{display:none}
  .textsize span{display:none}
  .header-cta .btn{display:none}
}
/* small phones: let the utility bar stack rather than overflow */
@media (max-width:440px){
  .utilbar .wrap{flex-wrap:wrap;justify-content:center;row-gap:2px;padding-block:6px}
  .helpline,.textsize{width:100%;justify-content:center}
}
@media (max-width:620px){
  section{padding-block:52px}
  .cards,.steps,.gal,.field-2,.vals,.stats,.doing{grid-template-columns:1fr}
  .drow{grid-template-columns:46px 1fr 84px;gap:12px;padding:16px}
  .drow-h{display:none}
  .dcount{grid-column:2/4;text-align:left;margin-top:6px}
  .band{padding:32px 24px}
  .tcard{flex-direction:column}
  .foot-grid{grid-template-columns:1fr}
  .gbtns{gap:10px}
}

@media (prefers-reduced-motion:reduce){
  *{transition-duration:.001ms !important;animation-duration:.001ms !important}
}

/* ============================================================
   LIGHT LOCK — last in the file so it wins on source order.
   The page must stay white even when the surrounding app forces
   a dark theme. Containers carry their own background so nothing
   depends on the canvas showing through.
   ============================================================ */
@media screen{
  html:root{background:#ffffff !important;color-scheme:light only !important}
  html:root body{background:#ffffff !important;color:#333333 !important}
  html:root body.page,html:root .header,html:root .mobnav,
  html:root .trustbar,html:root .panel,html:root .card,
  html:root .step,html:root .compat,html:root .donors,
  html:root .tcard,html:root .gitem,html:root .gitem figcaption,
  html:root .val,html:root .stat,html:root .mv-card{background:#ffffff !important}
  html:root .mv-card.accent,html:root .pagehead{background:#FFF0F3 !important}
  html:root .cta-strip{background:#A50F2E !important}
  html:root .cta-strip h2,html:root .cta-strip p{color:#ffffff !important}
  html:root .hero{background:#FFF0F3 !important}
  html:root .section-soft,html:root .foot,html:root .drow-h,html:root .switch,
  html:root .utilbar{background:#F4F6F9 !important}
  html:root .textsize button{background:#ffffff !important;color:#141414 !important}
  html:root .textsize button[aria-pressed="true"]{background:#A50F2E !important;color:#ffffff !important}
  html:root .band{background:#A50F2E !important}
  html:root .band h2{color:#ffffff !important}
  html:root .band p{color:#ffffff !important}
  html:root h1,html:root h2,html:root h3,html:root h4{color:#141414 !important}
  html:root .band h2,html:root .btn-primary{color:#ffffff !important}
  html:root .step-n,html:root .switch button[aria-pressed="true"],
  html:root .gbtn[aria-pressed="true"],html:root .btn-primary{color:#ffffff !important}
  html:root .field input,html:root .field select,html:root .field textarea{
    background:#ffffff !important;color:#141414 !important;-webkit-text-fill-color:#141414 !important}
  html:root .gbtn{background:#ffffff !important;color:#141414 !important}
  html:root .gbtn[aria-pressed="true"]{background:#A50F2E !important;color:#ffffff !important}
  html:root .switch button[aria-pressed="true"]{background:#A50F2E !important;color:#ffffff !important}
  html:root .btn-primary{background:#A50F2E !important}
  html:root .btn-outline{background:#ffffff !important;color:#141414 !important}
  html:root .btn-white{background:#ffffff !important;color:#A50F2E !important}
}
@media screen and (prefers-color-scheme:dark){
  html:root{background:#ffffff !important}
  html:root body{background:#ffffff !important;color:#333333 !important}
  html:root body.page,html:root .header{background:#ffffff !important}
  html:root .hero{background:#FFF0F3 !important}
  html:root h1,html:root h2,html:root h3,html:root h4{color:#141414 !important}
  html:root .lede,html:root .prose p{color:#333333 !important}
  html:root .band h2{color:#ffffff !important}
}


/* ============================================================
   WORDPRESS ADDITIONS
   ============================================================ */

/* nav items are links in WordPress, not buttons */
.nav a{
  background:none;border:0;cursor:pointer;padding:12px 13px;border-radius:8px;white-space:nowrap;
  font-family:var(--ff-body);font-weight:600;font-size:1.0625rem;color:var(--body);
  text-decoration:none;display:inline-flex;align-items:center;min-height:44px;
}
.nav a:hover{background:var(--soft);color:var(--ink)}
.nav a[aria-current="page"]{color:var(--red);background:var(--red-tint)}
.mobnav a{background:none;border:0;text-align:left;padding:16px 4px;font-size:1.125rem;
  font-weight:600;color:var(--body);border-bottom:1px solid var(--line);cursor:pointer;
  text-decoration:none;display:block}
.mobnav a[aria-current="page"]{color:var(--red)}
.mobnav .mobnav-call{color:var(--red);font-weight:700;border-bottom:0}
.logo{text-decoration:none}
.logo img{height:31px;width:auto}
.custom-logo-link img{max-height:44px;width:auto}

/* skip link */
.screen-reader-text{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.skip-link:focus{
  position:fixed!important;top:10px;left:10px;z-index:200;width:auto;height:auto;clip:auto;
  background:var(--red);color:#fff;padding:14px 20px;border-radius:8px;font-weight:700;
  font-size:1.0625rem;text-decoration:none;
}

/* honeypot: hidden from people, visible to bots */
.bl-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* confirmation message after a form is sent */
.notice-ok{
  background:var(--green-tint);border:2px solid var(--green);border-radius:var(--r-sm);
  padding:18px 20px;margin-bottom:24px;font-size:1.0625rem;line-height:1.6;color:#06412A;
}

/* required-field marker */
.field input:required,.field select:required,.field textarea:required{border-left-width:5px}

/* pagination */
.pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.pagination .page-numbers{
  min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 14px;border:2px solid var(--line);border-radius:8px;text-decoration:none;
  font-weight:700;color:var(--ink);background:#fff;
}
.pagination .page-numbers:hover{border-color:var(--red);color:var(--red)}
.pagination .current{background:var(--red);border-color:var(--red);color:#fff}

/* WordPress core alignment classes */
.alignleft{float:left;margin:0 22px 18px 0}
.alignright{float:right;margin:0 0 18px 22px}
.aligncenter{margin-inline:auto;display:block}
.wp-caption-text{font-size:1rem;color:var(--muted);margin-top:8px}
.prose img{border-radius:var(--r);height:auto}
.prose a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{font-size:1.1875rem;line-height:1.75;color:var(--body);padding-left:26px;margin:0 0 22px}
.prose li{margin-bottom:10px}
.prose h2{font-size:1.9rem;margin:34px 0 14px}
.prose h3{font-size:1.45rem;margin:28px 0 12px}
.prose blockquote{border-left:5px solid var(--red);padding-left:22px;margin:28px 0;font-style:normal}
.admin-bar .header{top:32px}
@media (max-width:782px){.admin-bar .header{top:46px}}
