
/* Seovoro site-wide accessibility + mobile navigation fixes.
   These rules intentionally preserve the existing visual system. */

/* Keep the mobile navigation usable when the menu contains many links. */
@media (max-width: 991px) {
  body.sv-menu-open {
    overflow: hidden;
  }

  .sv-nav-panel {
    max-height: calc(100vh - 86px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .sv-nav-panel .sv-nav-links {
    min-height: 0;
  }

  .sv-industries.open .sv-mega {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sv-mega-grid {
    max-height: none !important;
    overflow: visible !important;
  }

  .sv-mega-grid b {
    color: #080b12 !important;
  }

  .sv-mega-grid small {
    color: #667085 !important;
  }
}

/* Explicit contrast corrections for the shared navigation. */
.sv-nav-link {
  color: #344054 !important;
}

.sv-mega,
.sv-mega-head strong,
.sv-mega-grid > a {
  color: #080b12;
}

.sv-mega-grid small {
  color: #667085;
}

/* Special-bot cards: readable text on the light card surface. */
.sp-card-title {
  color: #111827 !important;
}

.sp-card-description {
  color: #5f6675 !important;
}

.sp-card-price span {
  color: #6b7280 !important;
}

.sp-card-price strong {
  color: #5b21b6 !important;
}

/* Keep the shared dark footer readable. */
.sv-footer .svf-links a,
.sv-footer .svf-desc {
  color: #a7acb8;
}

.sv-footer .svf-heading,
.sv-footer .svf-title,
.sv-footer .svf-logo {
  color: #fff;
}
