/* STS shared navigation usability fix — July 2026 */
@media (min-width: 1181px) {
  header.site-header .desktop-nav .nav-item {
    position: relative;
  }

  /* Remove the pointer-breaking gap between the trigger and dropdown. */
  header.site-header .desktop-nav .dropdown-menu {
    top: 100% !important;
    margin-top: 0 !important;
  }

  /* Keep click-open menus available while visitors scroll through them. */
  header.site-header .desktop-nav .nav-item[data-sts-menu-open="true"] > .dropdown-menu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Small invisible bridge prevents accidental collapse at the edge. */
  header.site-header .desktop-nav .nav-item > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
  }
}

.sts-directions-link {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* STS contact-section button text correction — 2026-07-30
   Contact links are normally dark, but CTA buttons must retain accessible contrast. */
#contact a.btn.btn-dark,
#contact a.btn.btn-dark:link,
#contact a.btn.btn-dark:visited,
#contact a.btn.btn-dark:hover,
#contact a.btn.btn-dark:focus,
#contact a.btn.btn-dark:active,
#contact a.btn.btn-primary,
#contact a.btn.btn-primary:link,
#contact a.btn.btn-primary:visited,
#contact a.btn.btn-primary:hover,
#contact a.btn.btn-primary:focus,
#contact a.btn.btn-primary:active,
.contact-action-card a.btn.btn-dark,
.contact-action-card a.btn.btn-primary,
.contact-info-card a.btn.btn-dark,
.contact-info-card a.btn.btn-primary {
  color: #ffffff !important;
  text-decoration: none !important;
}

#contact a.btn.btn-light,
#contact a.btn.btn-light:link,
#contact a.btn.btn-light:visited,
#contact a.btn.btn-light:hover,
#contact a.btn.btn-light:focus,
#contact a.btn.btn-light:active,
.contact-action-card a.btn.btn-light,
.contact-info-card a.btn.btn-light {
  color: #111111 !important;
  text-decoration: none !important;
}
