/* ===== MOBILE - disabled in favor of mobile-hero-overlay-center.css ===== */
@media (max-width: 768px) {
  /* Rules moved to mobile-hero-overlay-center.css for better control */
}

/* ===== DESKTOP FIX ===== */
@media (min-width: 769px) {
  .hero__overlay,
  .hero .overlay,
  .hero-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);  /* geometric center */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 1100px; /* keeps text blocks tidy */
  }

  .hero__overlay > *,
  .hero .overlay > *,
  .hero-content > * {
    margin: 0 auto;
  }
  
  /* Fix logo centering on desktop - remove the 15% offset */
  #hero-centroid-lock img,
  #hero-centroid-lock .hero-logo,
  #hero-centroid-lock img.hero-logo,
  .hero-logo {
    position: relative !important;
    left: 0 !important;
    transform: translateX(0) !important;
    margin: 0 auto !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
  }
}