.ha-plugin-wrapper {
  --ha-red:  #e84343;
  --ha-bg:   #0e0e0e;
  --ha-header: #fff;
  --ha-header-black: #111110;
  --ha-header-white: #fff;
  --ha-copy: #F9EBEB;
  --ha-copy-black: #111110;
  --ha-copy-white: #fff;
  --ha-container: 680px;
  --ha-copy-container: 580px;
  --ha-copy-container-small: 480px;
  --ha-wide: 980px;
  --ha-full: 100%;
  --ha-gutter: 24px;
  --lede-color: #F9EBEB;
}

.ha-plugin-wrapper .main-content:has(.ha-landing.alignfull){ padding:0 !important; }
.ha-plugin-wrapper .ha-landing-alignfull .entry-title,
.ha-plugin-wrapper .ha-landing-alignfull .wp-block-post-title{ display:none !important; }
.ha-plugin-wrapper .ha-landing{
  background:var(--ha-bg);
  color:var(--ha-header);
  font-family:"Lato", sans-serif;
}

.ha-plugin-wrapper .impact-copy {
  color: var(--ha-copy-white);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  text-align: left;
  max-width: min(var(--ha-copy-container), 90vw);
  margin: 0 auto;
}

.ha-plugin-wrapper .impact-copy p,
.ha-plugin-wrapper .story-text p,
.ha-plugin-wrapper .world-copy p,
.ha-plugin-wrapper .help-copy p {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}

.ha-plugin-wrapper .world-copy p {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.24);
}

.ha-plugin-wrapper .world-copy p:last-of-type {
  font-size: 22px;
}


.ha-plugin-wrapper .band {
  width: 100%;
  padding: clamp(40px, 8vw, 60px) 0;
  border-top: 12px solid #111;
  position: relative;
  overflow: hidden;
}

.ha-plugin-wrapper .band .band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block !important;
  pointer-events: none;
}

.ha-plugin-wrapper .band.full-height .inner {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vw, 60px) var(--ha-gutter); 
}

/* Shared heading style */
.ha-plugin-wrapper .ha-story h3,
.ha-plugin-wrapper .ha-help h3,
.ha-plugin-wrapper .sub-head,
.ha-plugin-wrapper .ha-impact h3,
.ha-plugin-wrapper .ha-world h3,
.ha-plugin-wrapper .ha-story-header,
.ha-plugin-wrapper .ha-story-title {
  font-size: clamp(22px, 8vw, 64px);
  padding-bottom: 40px;
  color: var(--ha-header);
  text-align: center;
  font-family: Oswald, sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  max-width: min(var(--ha-copy-container), 90vw);
  margin: 0 auto;
}

.ha-plugin-wrapper .ha-story-header {
  font-size: clamp(22px, 8vw, 84px);
}

.ha-plugin-wrapper .ha-impact h3 {
  color: var(--ha-header-white);
}

.ha-plugin-wrapper .ha-story-header {
  color: var(--ha-header-black);
  max-width: fit-content;
  padding: 0px;
}

.ha-plugin-wrapper .ha-story-title {
  color: var(--ha-header-black);
  padding: 40px;
}

.ha-world .world-copy {
  max-width: 745px;
  margin: 0 auto 2rem auto;
  color: var(--ha-copy);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  text-align: left;
  padding-bottom: 15px;
}

/* ========== “Background as real <img>” model (shared) ========== */
.ha-plugin-wrapper .band .band-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
  display:block !important; pointer-events:none;
}
.ha-plugin-wrapper .band::after{ /* vignette */
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  /* background: radial-gradient(60% 50% at 50% 50%,
              rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.9) 100%); */
}
.ha-plugin-wrapper .band .inner{ position:relative; z-index:1; }

/* ========== STAT ========== */
.ha-plugin-wrapper .ha-stat.band{
  min-height:clamp(520px,70vh,960px);
  display:grid; align-items:center;
  padding-block:clamp(48px,9vw,120px);
}
.ha-plugin-wrapper .ha-stat .band-bg{
  transform: translateX(var(--stat-x,0)) rotate(var(--stat-rot,0deg)) scale(var(--stat-scale,1.06));
  filter: blur(var(--stat-blur,12px)) brightness(var(--stat-bright,1));
  opacity: var(--stat-opacity,.88);
  will-change: transform, filter, opacity;
}

/* ========== STORY ========== */
.ha-plugin-wrapper .ha-story {
  background: #111;
}
.ha-plugin-wrapper .ha-story .band-bg{
  transform: translate(var(--story-tx,0), var(--story-ty,0)) scale(var(--story-scale,1.05));
  will-change: transform;
}
.ha-plugin-wrapper .story-card{display:grid;gap:18px;justify-items:center;text-align:center;}
.ha-plugin-wrapper .story-card img{
  width:min(550px,90vw);height:auto;border-radius:10px;
  transform: translateY(var(--story-img-y,0)) scale(var(--story-img-scale,1));
  opacity: var(--story-img-alpha,1);
  will-change: transform, opacity;
}
.ha-plugin-wrapper .story-card p{max-width:800px;opacity:.9}

/* Chromatic fringing variant used by JS */
.hungry-fringe{
  text-shadow:
    var(--hun-chroma-pos,0px) 0 0 #f33,
    var(--hun-chroma-neg,0px) 0 0 #39f;
}

.ha-plugin-wrapper .band[data-effect="hunger"] .inner{
  filter: blur(var(--story-fg-blur,0px));
  transform: translate(var(--story-fg-x,0), var(--story-fg-y,0));
  will-change: transform, filter;
}

/* ===== HELP Section Wrapper ===== */
.ha-plugin-wrapper .ha-help .help-wrapper {
  max-width: 810px;
  margin-left: clamp(40px, 10vw, 200px); /* offset to left */
  margin-right: auto;
}

/* Glass Card */
.ha-plugin-wrapper .ha-help .help-card {
  text-align: center;
  padding: clamp(40px, 8vw, 60px) var(--ha-gutter);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.00);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Image inside card */
.ha-plugin-wrapper .ha-help .help-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.ha-plugin-wrapper .ha-help .help-image img {
  max-width: 320px;
  height: auto;
}

/* Copy */
.ha-plugin-wrapper .ha-help .help-copy {
  color: var(--ha-copy);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 auto 2rem;
  text-align: left;
  max-width: min(var(--ha-copy-container-small), 90vw);
}

/* CTA aligned with card */
.ha-plugin-wrapper .ha-help .help-cta {
  margin-top: 20px;
  text-align: center; /* center within help-wrapper */
}


/* Mobile: recenter wrapper + card + CTA */
@media (max-width: 768px) {
  .ha-plugin-wrapper .ha-help .help-wrapper {
    max-width: 90%;     /* keep inside viewport */
    margin: 0 auto;     /* center properly */
  }

  .ha-plugin-wrapper .ha-help .help-card {
    padding: 24px var(--ha-gutter); /* lighter padding on mobile */
    box-sizing: border-box;        /* ensure padding counts inside width */
    width: 100%;                   /* lock to container */
  }

  .ha-plugin-wrapper .ha-help .help-image img {
    max-width: 100%;  /* prevent image itself from breaking layout */
    height: auto;
  }
}

@media (max-width:768px) {
  .ha-plugin-wrapper .ha-story .inner,
  .ha-plugin-wrapper .ha-story-section .inner,
  .ha-plugin-wrapper .ha-impact .inner,
  .ha-plugin-wrapper .ha-world .inner{
    max-width: 90% !important;
  }

  .ha-plugin-wrapper .ha-impact .inner {
    left: 0 !important;
  }
}

.ha-plugin-wrapper .ha-help .help-cta {
  text-align: center;
  position: relative;
  padding-top: 30px;
}

/* ========== WORLD / Map ========== */
.cols{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:26px;color:var(--lede-color);font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;}
@media (min-width:900px){ .cols{grid-template-columns:1fr 1fr;gap:80px;} }


/* ===== CTA buttons (hero + help) ===== */
.ha-landing a.btn-cta, .ha-landing .btn-cta, .ha-hero .ha-cta {
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  letter-spacing: .03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .30);
  transition: transform .15s ease;
  background: #DA291C;
  color: white;
  font-weight: bold;
  font-size: 2.2rem;
  padding: 20px;
  border-radius: 8px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  transition: 0.3s;
  min-width: 150px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.ha-landing a.btn-cta:hover,
.ha-landing .btn-cta:hover,
.ha-hero .ha-cta:hover {
  background-color: #ad2116;
}

.ha-plugin-wrapper .sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* ================= Glass Card Effect ================= */
.ha-plugin-wrapper .ha-impact .inner,
.ha-plugin-wrapper .ha-story .inner,
.ha-plugin-wrapper .ha-story-section .inner{
  position: relative;
  z-index: 1;
  max-width: var(--ha-container);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 60px) var(--ha-gutter);

  /* Frosted glass effect */
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25); /* thin white border */
  background: rgba(0, 0, 0, 0.00);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ================= Glass Card Effect ================= */
.ha-plugin-wrapper .ha-world .inner{
  position: relative;
  z-index: 1;
  max-width: 1187px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 60px) var(--ha-gutter);

  /* Frosted glass effect */
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25); 
  background: rgba(0, 0, 0, 0.00);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Story Section wider inner */
.ha-plugin-wrapper .ha-story-section .inner {
  max-width: 1337px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 60px) var(--ha-gutter);

  /* Keep glass effect consistent */
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.00);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.ha-plugin-wrapper .ha-impact .inner{
  left: 20%;
}

.ha-plugin-wrapper .impact-more { display: none; }
.ha-plugin-wrapper .impact-toggle, .story-toggle {
  display: block;
  margin: 16px auto 0;
  color: #F9EBEB;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
  background: none;
  border: none;
  cursor: pointer;
}

.ha-plugin-wrapper .story-toggle,
.ha-plugin-wrapper .impact-toggle {
  color: var(--ha-header-black);
}

@media (min-width: 768px) {
  .ha-plugin-wrapper .impact-more { display: block !important; }
  .ha-plugin-wrapper .impact-toggle { display: none; }
}


/* gsap animation */
.ha-plugin-wrapper .band .inner {
  position: relative;
  z-index: 1; /* sits above background */
  will-change: transform, opacity;
  transform: translateY(0);
}



