/* =========================
   GET INVOLVED — page-scoped
   ========================= */
:root{
  --gi-blue:#2D3091;
}

/* Hero */
.gi-hero{
  width:100%;
  display:grid;
  place-items:center;
  margin:80px 0 24px;                 /* sits under sticky header */
}
.gi-hero-media{
  position:relative;
  width:1276px; max-width:calc(100% - 2*84px);
  height:431px; border-radius:32px; overflow:hidden;
}
.gi-hero-media img{
  width:100%; height:100%; object-fit:cover;
  filter:none;
}
.gi-hero-dim{
  position:absolute; inset:0;
  background:rgba(0,0,0,.23);
}
.gi-hero-title{
  position:absolute;
  transform:translateY(calc(431px/2 - 56px/2));
  text-align:center; color:#fff;
  font-family:"Coolvetica","Poppins",sans-serif; font-weight:400;
  font-size:56px; line-height:56px;
}

/* Strapline */
.gi-strap{
  text-align:center;
  font:300 32px/42px "Poppins",sans-serif;
  letter-spacing:.64px; margin:24px auto 48px;
}

/* Blue band */
.gi-band{
  background:var(--gi-blue);
  padding:120px 0 140px;
  box-shadow:0 0 0 100vmax var(--gi-blue);
  clip-path:inset(0 -100vmax);
  margin-top: 120px;
}

/* Cards container */
.gi-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:120px;
  justify-items:center;
}

/* Card */
.gi-card{
  width:1077px; max-width:100%;
  background:#fff; border-radius:39px;
  padding:80px 120px 84px;
  text-align:center;
  box-sizing:border-box;
}
.gi-card-title{
  margin:0 0 24px;
  font:400 56px/56px "Coolvetica","Poppins",sans-serif;
}
.gi-card-title.green{ color:var(--green); }

.gi-card-body{
  margin:0 auto 56px;
  max-width:831px;
  font:300 32px/42px "Poppins",sans-serif;
  letter-spacing:.64px;
  color:#000;
}

/* Pills */
.gi-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:42px 88px;
  border-radius:1111px;
  font:400 28.4px/24px "Poppins",sans-serif;
  color:#fff; text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.gi-pill--green{ background:var(--green); }
.gi-pill--blue { background:var(--gi-blue); }

@media (hover:hover){
  .gi-pill:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(0,0,0,.12); }
  .gi-pill--green:hover{ background:#4E8C34; }
  .gi-pill--blue:hover { background:#25308a; }
}
.gi-pill:focus-visible{
  outline:3px solid rgba(101,172,66,.45);
  outline-offset:4px;
}

/* ========== Mobile (≤430px) ========== */
@media (max-width:430px){

  .gi-hero{ margin:24px 0 16px; }
  .gi-hero-media{
    width:382px; height:129px; border-radius:9.58px;
    max-width:calc(100% - 48px);
  }
  .gi-hero-title{
    position:absolute; left:0; right:0;
    transform:none; top:calc(50% - 14px);
    font-size:32px; line-height:28.74px;
  }

  .gi-strap{
    font:300 16px/42px "Poppins",sans-serif;
    letter-spacing:.32px; margin:6px auto 24px;
    max-width:379px;
  }

  .gi-band{ padding:48px 0 72px; }
  .gi-cards{ gap:48px; }

  .gi-card{
    width:380px; border-radius:11.62px;
    padding:40px 24px 36px;
  }
  .gi-card-title{
    font-size:32px; line-height:33px;
    margin-bottom:18px;
  }
  .gi-card-body{
    max-width:311px; font-size:16px; line-height:32px; letter-spacing:.32px;
    margin-bottom:22px;
  }
  .gi-pill{ padding:22px 35px; border-radius:331px; font-size:15px; line-height:7.16px; }
}


/* HERO */
.gi-hero{ margin:90px 0 66px; display:grid; place-items:center; }
.gi-hero-media{
  position:relative; width:1276px; max-width:calc(100% - 168px);
  height:431px; border-radius:32px; overflow:hidden;
}
.gi-hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.gi-hero-dim{ position:absolute; inset:0; background:rgba(0,0,0,.23); z-index:1; }

.gi-hero-title{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  z-index:2; color:#fff; text-align:center;
  font:400 56px/56px "Coolvetica","Poppins",sans-serif;
  white-space:nowrap;
}

/* MOBILE (≤430px) */
@media (max-width:430px){
  .gi-hero{ margin:24px 0 16px; }
  .gi-hero-media{ width:382px; height:129px; border-radius:9.58px; max-width:calc(100% - 48px); }
  .gi-hero-title{ font-size:32px; line-height:28.74px; padding:0 16px; white-space:normal; }
}


@media (max-width:430px){
  /* make the container visible so the toggle shows */
  .site-header .nav-cta{ display:flex !important; align-items:center !important; gap:0 !important; }
  /* hide the donate pill on mobile as usual */
  .site-header .nav-cta .donate-pill{ display:none !important; }
  /* show & size the menu icon button */
  .site-header .nav-toggle{ display:block !important; width:40px !important; height:40px !important; border:0; background:none; padding:0; }
  .site-header .nav-toggle img{ width:100%; height:100%; object-fit:contain; display:block; }
}


