
/* INDEX v13 - fresh filename to avoid stale browser cache */
.hero-stage-v13{
  position:relative !important;
  width:100% !important;
  height:520px !important;
  min-height:520px !important;
  overflow:hidden !important;
  background:#eaf0f5 !important;
}
.hero-image-v13{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
.hero-box-v13{
  position:absolute !important;
  z-index:10 !important;
  left:6.5% !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:min(790px,58vw) !important;
  box-sizing:border-box !important;
  padding:25px 30px 21px !important;
  background:rgba(255,252,245,.975) !important;
  border:1px solid #cdbb9c !important;
  border-radius:11px !important;
  box-shadow:0 10px 28px rgba(0,0,0,.18) !important;
  text-align:left !important;
}
.hero-box-v13 p{margin:0 !important;}
.hero-date-v13{
  margin-bottom:11px !important;
  color:#b5161d !important;
  font:700 17px/1.2 Arial,Helvetica,sans-serif !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}
.hero-facts-v13{
  margin-bottom:12px !important;
  color:#071d3b !important;
  font:700 24px/1.30 Georgia,"Times New Roman",serif !important;
}
.hero-plan-v13{
  margin:10px 0 10px !important;
  color:#c31421 !important;
  font:700 29px/1.16 Georgia,"Times New Roman",serif !important;
}
.hero-follow-v13{
  margin-bottom:14px !important;
  color:#071d3b !important;
  font:400 20px/1.36 Georgia,"Times New Roman",serif !important;
}
.hero-voice-v13{
  display:block !important;
  padding:10px 14px !important;
  background:#e5f0f7 !important;
  border-radius:7px !important;
  color:#071d3b !important;
  text-decoration:none !important;
  text-align:center !important;
  font:italic 17px/1.25 Georgia,"Times New Roman",serif !important;
}

/* Keep Prologue as first carousel item and large enough to read */
.index-story-carousel{
  max-width:1380px !important;
  margin:0 auto !important;
  padding:28px 28px 34px !important;
  display:flex !important;
  flex-direction:column !important;
}
.story-carousel-wrap{order:1 !important;}
.story-carousel-head{
  order:2 !important;
  margin:24px 0 0 !important;
  padding:26px 20px 24px !important;
  background:#e7f1f8 !important;
  border-radius:8px !important;
  text-align:center !important;
}
.story-carousel-head h2{
  margin:0 !important;
  color:#071d3b !important;
  font:900 34px/1.12 Georgia,"Times New Roman",serif !important;
}
.story-carousel-head p{display:none !important;}
.story-carousel-track{
  display:flex !important;
  flex-direction:row !important;
  gap:24px !important;
  overflow-x:auto !important;
}
.story-card{
  flex:0 0 340px !important;
  min-width:340px !important;
  background:#fffefa !important;
}
.story-card img{
  width:100% !important;
  height:210px !important;
  object-fit:cover !important;
}
.story-card img[src*="prologue-six-households-grid-v13"]{
  object-fit:cover !important;
  object-position:center !important;
}

@media(max-width:900px){
  .hero-stage-v13{
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  .hero-image-v13{
    position:relative !important;
    height:360px !important;
  }
  .hero-box-v13{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    transform:none !important;
    width:100% !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
}

/* V14 — approved October 11, 2029 section only */
.hero-box-v13{
  width:min(790px,52vw) !important;
}
.hero-box-v13 p + p{
  margin-top:10px !important;
}
.hero-plan-v13{
  white-space:nowrap !important;
  font-size:27px !important;
}
@media(max-width:1250px){
  .hero-plan-v13{
    white-space:normal !important;
  }
}

/* V15 — fix clipped President Whitfield sentence */
.hero-box-v13{
  width:min(840px,55vw) !important;
}
.hero-plan-v13{
  white-space:normal !important;
  font-size:24px !important;
  line-height:1.16 !important;
}
@media(min-width:1251px){
  .hero-plan-v13{
    white-space:nowrap !important;
  }
}

/* V16 — add 25px to approved October 11 panel width */
.hero-box-v13{
  width:min(865px,57vw) !important;
}

/* V17 — reduce red President Whitfield sentence by 5% */
.hero-plan-v13{
  font-size:22.8px !important;
}

/* V19 — prominent carousel controls for 2030America.com */
.story-carousel-wrap{
  position:relative !important;
  padding:0 34px 34px !important;
  overflow:visible !important;
}
.story-carousel-track{
  gap:24px !important;
  overflow-x:auto !important;
  scroll-snap-type:x mandatory !important;
  padding:10px 0 10px !important;
}
.story-card{
  flex:0 0 calc((100% - 60px) / 3.5) !important;
  min-width:285px !important;
  scroll-snap-align:start !important;
}
.story-carousel-btn{
  position:absolute !important;
  top:43% !important;
  transform:translateY(-50%) !important;
  z-index:20 !important;
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
  border:3px solid #fff !important;
  background:#071d3b !important;
  color:#fff !important;
  font-size:30px !important;
  line-height:1 !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
  cursor:pointer !important;
}
.story-carousel-btn:hover{
  background:#b5161d !important;
}
.story-prev{
  left:6px !important;
}
.story-next{
  right:6px !important;
}
.carousel-dots{
  position:absolute;
  left:50%;
  bottom:2px;
  transform:translateX(-50%);
  display:flex;
  gap:9px;
  align-items:center;
  justify-content:center;
  z-index:10;
}
.carousel-dot{
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#c7ced8;
  cursor:pointer;
}
.carousel-dot.active{
  background:#071d3b;
  transform:scale(1.15);
}
@media(max-width:1100px){
  .story-card{
    flex-basis:calc((100% - 36px) / 2.5) !important;
    min-width:300px !important;
  }
}
@media(max-width:760px){
  .story-carousel-wrap{
    padding:0 28px 34px !important;
  }
  .story-card{
    flex-basis:84vw !important;
    min-width:84vw !important;
  }
  .story-carousel-btn{
    width:46px !important;
    height:46px !important;
    font-size:25px !important;
    top:40% !important;
  }
  .story-prev{left:0 !important;}
  .story-next{right:0 !important;}
}

/* v9: responsive homepage */
@media (max-width:900px){
  .hero-v13{
    min-height:auto !important;
  }
  .hero-bg-v13{
    min-height:560px !important;
  }
  .hero-box-v13{
    width:calc(100% - 36px) !important;
    max-width:none !important;
    left:18px !important;
    right:18px !important;
    top:24px !important;
    box-sizing:border-box;
  }
  .hero-facts-v13{
    font-size:24px !important;
    line-height:1.2 !important;
  }
  .hero-plan-v13{
    font-size:25px !important;
    line-height:1.15 !important;
  }
  .story-carousel{
    padding-left:44px !important;
    padding-right:44px !important;
  }
}
@media (max-width:640px){
  .hero-bg-v13{
    min-height:620px !important;
    background-position:center !important;
  }
  .hero-box-v13{
    top:18px !important;
    padding:20px !important;
  }
  .hero-date-v13{
    font-size:14px !important;
  }
  .hero-facts-v13{
    font-size:20px !important;
  }
  .hero-plan-v13{
    font-size:22px !important;
  }
  .hero-follow-v13{
    font-size:17px !important;
  }
  .hero-voice-v13{
    font-size:15px !important;
    padding:12px !important;
  }
  .story-carousel{
    padding-left:36px !important;
    padding-right:36px !important;
  }
  .story-carousel-track{
    gap:12px !important;
  }
  .story-card{
    min-width:82vw !important;
    max-width:82vw !important;
  }
  .carousel-arrow{
    width:36px !important;
    height:36px !important;
  }
}

/* v16 responsive homepage */
@media(max-width:1024px){
 .hero-stage-v13{min-height:auto!important}
 .hero-bg-v13{min-height:560px!important;background-position:center!important}
 .hero-box-v13{width:calc(100% - 40px)!important;max-width:none!important;left:20px!important;right:20px!important;top:24px!important}
 .story-carousel{padding-left:48px!important;padding-right:48px!important}
}
@media(max-width:700px){
 .hero-bg-v13{min-height:650px!important;background-position:center top!important}
 .hero-box-v13{width:calc(100% - 24px)!important;left:12px!important;right:12px!important;top:14px!important;padding:18px!important}
 .hero-date-v13{font-size:13px!important}
 .hero-facts-v13{font-size:20px!important;line-height:1.24!important}
 .hero-plan-v13{font-size:21px!important;line-height:1.18!important}
 .hero-follow-v13{font-size:16px!important;line-height:1.35!important}
 .hero-voice-v13{display:block;font-size:14px!important;line-height:1.35!important;padding:11px 12px!important}
 .index-story-carousel{padding-top:26px!important;padding-bottom:28px!important}
 .story-carousel{padding-left:34px!important;padding-right:34px!important}
 .story-carousel-track{gap:12px!important}
 .story-card{min-width:82vw!important;max-width:82vw!important}
 .story-card img{width:100%;height:auto!important;aspect-ratio:16/9;object-fit:cover}
 .story-card-copy{padding:15px 16px 18px!important}
 .carousel-arrow{width:36px!important;height:36px!important;font-size:18px!important}
 .carousel-arrow.prev{left:4px!important}.carousel-arrow.next{right:4px!important}
 .voice-cta{margin-left:12px!important;margin-right:12px!important}
}
