/* SKYNET Impact & Transparency — public-home theme v2
   Public-only overrides. Member/admin Impact screens keep impact-v1.css unchanged. */
:root{
  --impact-home-navy:#06223a;
  --impact-home-blue:#1188cf;
  --impact-home-blue2:#0b5f9c;
  --impact-home-ink:#12283b;
  --impact-home-muted:#607589;
  --impact-home-line:#d7e2ea;
  --impact-home-pale:#eef6fb;
  --impact-home-green:#1ba26b;
  --impact-home-shadow:0 10px 28px rgba(24,68,96,.08);
}

/* Match the public homepage shell */
.impact-public-body{
  margin:0;
  background:#fff;
  color:var(--impact-home-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.impact-public-top{
  position:sticky;
  top:0;
  z-index:80;
  background:#fff;
  border-bottom:1px solid #e2eaf0;
  backdrop-filter:none;
}
.impact-public-top .wrap{
  width:min(1180px,calc(100% - 40px));
  max-width:none;
  height:74px;
  margin:auto;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.impact-public-brand{
  color:#0a4e80;
  text-decoration:none;
  font-size:25px;
  font-weight:950;
  letter-spacing:.04em;
  line-height:1;
}
.impact-public-brand small{
  display:block;
  color:#2682ba;
  font-size:8px;
  font-weight:800;
  letter-spacing:.22em;
  margin-top:3px;
}
.impact-public-brand .impact-rnpr-line{
  color:#5a7182;
  letter-spacing:.12em;
  margin-top:4px;
}
.impact-public-nav{display:flex;align-items:center;gap:26px}
.impact-public-nav a{
  color:#40566a;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.impact-public-nav a:hover{color:#0a5f99}
.impact-public-nav .login{
  background:#0c65a1;
  border:0;
  border-radius:6px;
  color:#fff;
  padding:11px 17px;
}

.impact-public-main{max-width:none;margin:0;padding:0 0 72px;background:#fff}
.impact-dashboard{display:block;color:var(--impact-home-ink)}
.impact-dashboard>*:not(.impact-hero){width:min(1180px,calc(100% - 40px));margin-left:auto;margin-right:auto}

.impact-not-ready{
  margin-top:24px!important;
  margin-bottom:0!important;
  border:1px solid #ead39b;
  border-radius:9px;
  background:#fff8e7;
  color:#6c5318;
  box-shadow:none;
}
.impact-not-ready span{color:#7d692f}

/* Full public-home style hero */
.impact-public-body .impact-hero{
  width:100%;
  min-height:500px;
  margin:0;
  padding:64px max(20px,calc((100vw - 1180px)/2));
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.58fr);
  gap:54px;
  align-items:center;
  border:0;
  border-radius:0;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(1,25,45,.97) 0%,rgba(2,39,65,.90) 48%,rgba(2,30,50,.68) 100%),
    url('../images/skynet-hero-puerto-rico.jpg') center/cover no-repeat;
  box-shadow:none;
  position:relative;
  overflow:hidden;
}
.impact-public-body .impact-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 79% 38%,rgba(45,162,230,.13),transparent 30%),
    linear-gradient(180deg,rgba(1,17,29,.03),rgba(1,17,29,.30));
}
.impact-public-body .impact-hero-copy,.impact-public-body .impact-goal-card{position:relative;z-index:1}
.impact-public-body .impact-eyebrow{
  color:#78c8f4;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:10px;
}
.impact-public-body .impact-hero h1{
  max-width:760px;
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(40px,5vw,64px);
  line-height:1.02;
  letter-spacing:-.035em;
}
.impact-public-body .impact-hero p{
  max-width:700px;
  margin:0;
  color:#d5e5ef;
  font-size:15px;
  line-height:1.65;
}
.impact-public-body .impact-hero-actions{gap:12px;margin-top:26px}
.impact-public-body .impact-btn{
  min-height:44px;
  padding:0 18px;
  border-radius:6px;
  font-size:11px;
  font-weight:900;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.impact-public-body .impact-btn:hover{transform:translateY(-2px)}
.impact-public-body .impact-btn-ghost{
  color:#fff;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.05);
}
.impact-public-body .impact-btn-ghost:hover{background:rgba(255,255,255,.11)}
.impact-public-body .impact-btn-paypal{
  color:#0e2c40;
  background:#ffc439;
  box-shadow:0 8px 24px rgba(255,196,57,.17);
}

.impact-public-body .impact-goal-card{
  min-height:360px;
  padding:26px;
  border:1px solid rgba(99,188,242,.35);
  border-radius:50%;
  aspect-ratio:1;
  background:
    radial-gradient(circle at center,rgba(16,66,101,.68),rgba(4,20,35,.90) 67%),
    repeating-radial-gradient(circle at center,transparent 0 38px,rgba(94,176,229,.14) 39px 40px);
  box-shadow:inset 0 0 70px rgba(47,156,244,.13),0 25px 55px rgba(0,0,0,.28);
  display:grid;
  place-content:center;
}
.impact-public-body .impact-ring{
  width:180px;
  background:conic-gradient(#32d492 var(--impact-progress-turn),rgba(77,139,181,.20) 0);
  box-shadow:0 0 32px rgba(50,212,146,.11);
}
.impact-public-body .impact-ring:after{background:#082039;border-color:#39759c}
.impact-public-body .impact-ring strong{color:#fff}
.impact-public-body .impact-ring span{color:#9fc4dc}
.impact-public-body .impact-goal-copy>span{color:#7fc7ee}
.impact-public-body .impact-goal-copy strong{color:#fff}
.impact-public-body .impact-goal-copy small{color:#afc9d9}

/* Home-style white content */
.impact-public-body .impact-kpis{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.impact-public-body .impact-kpis article{
  padding:22px;
  border:1px solid var(--impact-home-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 4px 14px rgba(30,64,87,.04);
}
.impact-public-body .impact-kpis span{color:#4f7188}
.impact-public-body .impact-kpis strong{color:#123a59}
.impact-public-body .impact-kpis small{color:#6b7e8d}

.impact-public-body .impact-grid,
.impact-public-body .impact-projects-section,
.impact-public-body .impact-updates,
.impact-public-body .impact-reports,
.impact-public-body .impact-donate-section,
.impact-public-body .impact-disclosure{margin-top:34px}

.impact-public-body .impact-grid{gap:18px}
.impact-public-body .impact-panel{
  border:1px solid var(--impact-home-line);
  border-radius:10px;
  background:#fff;
  color:var(--impact-home-ink);
  box-shadow:var(--impact-home-shadow);
  padding:24px;
}
.impact-public-body .impact-panel h2,
.impact-public-body .impact-projects-section h2{
  color:#16344d;
  font-size:30px;
  letter-spacing:-.02em;
}
.impact-public-body .impact-panel-head p,
.impact-public-body .impact-section-head p,
.impact-public-body .impact-note{color:var(--impact-home-muted)}
.impact-public-body .impact-year-chip{
  background:#eef7fd;
  border:1px solid #cfe6f4;
  color:#0b6fae;
}
.impact-public-body .impact-allocation-row{color:#53697b}
.impact-public-body .impact-allocation-row strong{color:#173b55}
.impact-public-body .impact-allocation-bar{background:#e5eef4}
.impact-public-body .impact-allocation-bar i{background:linear-gradient(90deg,#0d76b7,#45b6df)}
.impact-public-body .impact-allocation-bar.secondary i{background:linear-gradient(90deg,#1ba26b,#5bc996)}

.impact-public-body .impact-projects-section{
  padding-top:30px;
  padding-bottom:4px;
}
.impact-public-body .impact-section-head{margin-bottom:20px}
.impact-public-body .impact-project-group{margin-top:24px}
.impact-public-body .impact-project-group>h3{
  color:#456579;
  font-size:12px;
  letter-spacing:.12em;
}
.impact-public-body .impact-project-grid{gap:16px}
.impact-public-body .impact-project-card{
  border:1px solid var(--impact-home-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 14px rgba(30,64,87,.05);
  transition:transform .18s ease,box-shadow .18s ease;
}
.impact-public-body .impact-project-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(30,64,87,.10)}
.impact-public-body .impact-project-image{border-bottom-color:#dce7ee}
.impact-public-body .impact-project-image-placeholder{
  background:radial-gradient(circle at 30% 20%,rgba(64,195,255,.20),transparent 45%),linear-gradient(135deg,#0e3857,#06223a);
}
.impact-public-body .impact-project-body{padding:18px}
.impact-public-body .impact-project-meta small,
.impact-public-body .impact-project-card p,
.impact-public-body .impact-progress-line,
.impact-public-body .impact-milestones span,
.impact-public-body .impact-target{color:#6b7e8d}
.impact-public-body .impact-project-card h4{color:#173b55}
.impact-public-body .impact-progress{background:#e3edf3}
.impact-public-body .impact-progress i{background:linear-gradient(90deg,#0d76b7,#1ba26b)}
.impact-public-body .impact-milestones i{background:#a9bcc8}
.impact-public-body .impact-milestones .completed i{background:#1ba26b}
.impact-public-body .impact-milestones .in_progress i{background:#d99b20}
.impact-public-body .impact-empty{
  border-color:#b9d0df;
  background:#f7fafc;
  color:#687f8f;
}

.impact-public-body .impact-update-list article{border-top-color:#e1e9ef}
.impact-public-body .impact-update-list time{color:#6c8799}
.impact-public-body .impact-update-list strong{color:#0d76b7}
.impact-public-body .impact-update-list h3{color:#173b55}
.impact-public-body .impact-update-list p{color:#617587}

.impact-public-body .impact-report-grid{gap:12px}
.impact-public-body .impact-report-card{
  border:1px solid #d7e2ea;
  border-radius:9px;
  background:#f8fbfd;
  color:#173b55;
  box-shadow:none;
}
.impact-public-body .impact-report-card:hover{border-color:#8cc6e6;background:#eef7fd}
.impact-public-body .impact-report-card span{color:#0d76b7}
.impact-public-body .impact-report-card small{color:#6b7e8d}

.impact-public-body .impact-donate-section{
  padding:28px;
  border:1px solid #153d59;
  border-radius:11px;
  background:linear-gradient(110deg,#07243a,#0b4c73 72%,#0e6986);
  color:#fff;
  box-shadow:0 12px 28px rgba(13,76,115,.14);
}
.impact-public-body .impact-donate-section .impact-eyebrow{color:#78c8f4}
.impact-public-body .impact-donate-section h2{color:#fff;font-size:28px}
.impact-public-body .impact-donate-section p{color:#c6dae7}
.impact-public-body .impact-disclosure{color:#758b9a;padding-top:18px}

/* Same footer treatment as the homepage */
.impact-public-footer{
  background:#07243a;
  border:0;
  color:#b7c9d5;
  padding:30px 20px;
  text-align:center;
  font-size:10px;
}
.impact-public-footer a{color:#d8e8f2!important;text-decoration:none}
.impact-public-footer .rnpr-footer-org{color:#fff;font-weight:800}

@media(max-width:980px){
  .impact-public-body .impact-hero{grid-template-columns:1fr;gap:30px;min-height:0;padding-top:52px;padding-bottom:52px}
  .impact-public-body .impact-goal-card{width:min(390px,82vw);min-height:0;justify-self:center}
  .impact-public-body .impact-kpis{grid-template-columns:repeat(2,1fr)}
  .impact-public-nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}
  .impact-public-nav a:not(.login){display:none}
}
@media(max-width:640px){
  .impact-public-top .wrap{width:min(100% - 28px,1180px)}
  .impact-public-main{padding-bottom:52px}
  .impact-dashboard>*:not(.impact-hero){width:min(100% - 28px,1180px)}
  .impact-public-body .impact-hero{padding-left:14px;padding-right:14px}
  .impact-public-body .impact-hero h1{font-size:39px}
  .impact-public-body .impact-kpis{grid-template-columns:1fr;margin-top:22px}
  .impact-public-body .impact-grid,
  .impact-public-body .impact-projects-section,
  .impact-public-body .impact-updates,
  .impact-public-body .impact-reports,
  .impact-public-body .impact-donate-section,
  .impact-public-body .impact-disclosure{margin-top:22px}
  .impact-public-body .impact-panel{padding:20px}
  .impact-public-body .impact-panel h2,.impact-public-body .impact-projects-section h2{font-size:25px}
  .impact-public-body .impact-donate-section{padding:22px}
}
