/* ============================================================
   HERO CAROUSEL CONTROLS PATCH
   Centers controls under hero text (max 1200px) and styles dots/arrows.
   Paste at the END of sd.css (or load after sd.css).
   ============================================================ */

#hero .hero-carousel-controls{
  width: min(1200px, 92vw);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  /* If your hero content uses flex-column align-items:start,
     this forces the controls to center within that layout. */
  align-self: center;
}

/* Arrow buttons */
#hero .hero-nav{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.35);
  color: #fff;

  padding: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;

  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  opacity: .95;
}

#hero .hero-nav:hover{
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-1px);
  opacity: 1;
}

#hero .hero-nav:focus-visible{
  outline: 3px solid rgba(255,255,255,.70);
  outline-offset: 2px;
}

#hero .hero-nav i{
  font-size: 1.35rem;
  line-height: 1;
}

/* Dots wrapper */
#hero .hero-dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.22);
}

/* Individual dot */
#hero .hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.45);

  padding: 0;
  cursor: pointer;

  transition: transform .12s ease, background .12s ease, opacity .12s ease;
  opacity: .9;
}

#hero .hero-dot:hover{
  transform: translateY(-1px);
  opacity: 1;
}

#hero .hero-dot[aria-selected="true"]{
  background: #fff;
  opacity: 1;
  transform: scale(1.15);
}

/* Mobile tweaks */
@media (max-width: 576px){
  #hero .hero-carousel-controls{
    width: min(1200px, 94vw);
    gap: 12px;
  }
  #hero .hero-dots{
    padding: 8px 10px;
    gap: 8px;
  }
}
