
/* v9.0.9 — dark-mode cover carousel and hero CTA repair */
html[data-theme="dark"] .home-stage{
  position:relative !important;
  min-height:400px !important;
  padding-top:48px !important;
}
html[data-theme="dark"] .home-stage.has-cover{overflow:hidden !important;}
html[data-theme="dark"] .cover-slideshow{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  border-radius:inherit;
  overflow:hidden;
}
html[data-theme="dark"] .cover-slide{
  position:absolute !important;
  inset:0 !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  opacity:0 !important;
  transition:opacity .45s ease !important;
}
html[data-theme="dark"] .cover-slide.is-active{opacity:1 !important;}
html[data-theme="dark"] .home-stage::before{
  z-index:1 !important;
  background:linear-gradient(90deg, rgba(5,22,18,.60) 0%, rgba(7,28,22,.36) 45%, rgba(7,28,22,.14) 100%) !important;
}
html[data-theme="dark"] .home-stage > *:not(.cover-slideshow){position:relative; z-index:2 !important;}
html[data-theme="dark"] .cover-controls{
  position:absolute !important;
  top:12px !important;
  left:18px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:4 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:0 !important;
  transform:none !important;
}
html[data-theme="dark"] .cover-controls button,
html[data-theme="dark"] .cover-dots button{
  appearance:none;
  border:1px solid rgba(214,235,224,.28) !important;
  background:rgba(27,52,43,.72) !important;
  color:#f4fbf6 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .cover-controls > button{
  width:32px !important;
  height:32px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  padding:0 !important;
}
html[data-theme="dark"] .cover-dots{display:inline-flex !important; gap:6px !important; align-items:center !important;}
html[data-theme="dark"] .cover-dots button{
  width:10px !important;
  height:10px !important;
  min-width:10px !important;
  min-height:10px !important;
  border-radius:999px !important;
  padding:0 !important;
}
html[data-theme="dark"] .cover-dots button.selected{
  width:22px !important;
  background:#c9ebb4 !important;
  border-color:#c9ebb4 !important;
}
html[data-theme="dark"] .stage-top{margin-top:0 !important; padding-top:0 !important;}
html[data-theme="dark"] .stage-copy{padding-top:6px !important; max-width:580px !important;}
html[data-theme="dark"] .stage-copy p,
html[data-theme="dark"] #cover-subtitle{color:#e3eee7 !important;}
html[data-theme="dark"] .stage-button{
  background:#d5efb4 !important;
  color:#133628 !important;
  border:1px solid #dff5c4 !important;
  font-weight:800 !important;
}
html[data-theme="dark"] .stage-button span{color:#133628 !important;}
html[data-theme="dark"] .stage-ghost{
  color:#f4fbf6 !important;
  border-color:rgba(233,245,238,.34) !important;
  background:rgba(15,41,31,.32) !important;
}
html[data-theme="dark"] .stage-ghost span{color:#f4fbf6 !important;}
@media (max-width:760px){
  html[data-theme="dark"] .home-stage{min-height:430px !important; padding-top:54px !important;}
  html[data-theme="dark"] .cover-controls{top:10px !important; left:12px !important; gap:6px !important;}
  html[data-theme="dark"] .cover-controls > button{width:30px !important;height:30px !important;}
  html[data-theme="dark"] .cover-dots button{width:9px !important;height:9px !important;}
  html[data-theme="dark"] .cover-dots button.selected{width:18px !important;}
  html[data-theme="dark"] .stage-copy{padding-bottom:92px !important;}
}
