/* ===== START: HOSTING MEGA MENU — SCOPED STYLES ===== */
/* Styles are limited to the Hosting dropdown; other menus and pages are not redesigned. */
@media (min-width: 1001px) {
  .site-header,
  header.site-header {
    z-index: 1000;
    isolation: isolate;
  }

  .main-nav .dropdown:has(.hosting-mega) {
    position: relative;
  }

  .main-nav .hosting-mega {
    position: absolute;
    z-index: 1100;
    top: calc(100% - 1px);
    left: 50%;
    width: min(760px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 22px;
    background: #fff;
    color: #14233b;
    border: 1px solid #e3eaf4;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(5, 18, 38, .24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .main-nav .dropdown:hover .hosting-mega,
  .main-nav .dropdown:focus-within .hosting-mega,
  .main-nav .dropdown.open .hosting-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .hosting-mega-intro {
    position: relative;
    padding: 0 2px 17px;
  }

  .hosting-mega-accent {
    display: block;
    width: 36px;
    height: 4px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: #2583f6;
  }

  .hosting-mega-intro h2 {
    margin: 0;
    color: #10213c;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.25;
  }

  .hosting-mega-intro p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
  }

  .hosting-mega .mega-grid {
    gap: 7px;
  }

  .hosting-mega .mega-grid > a {
    min-width: 0;
    min-height: 78px;
    padding: 13px 12px;
    gap: 12px;
    border: 1px solid transparent;
    background: #fff;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .hosting-mega .mega-grid > a:hover,
  .hosting-mega .mega-grid > a:focus-visible {
    background: #f4f8ff;
    border-color: #d8e8ff;
    outline: none;
    transform: translateY(-1px);
  }

  .hosting-mega .mi {
    flex: 0 0 42px;
    background: #eaf3ff;
    color: #176bd6;
  }

  .hosting-mega .mi svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hosting-mega .mega-grid > a > span:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hosting-mega .mega-grid b {
    color: #15243b;
    font-size: 14px;
    line-height: 1.35;
  }

  .hosting-mega .mega-grid small {
    color: #65748a;
    font-size: 12px;
    line-height: 1.45;
  }

  .hosting-menu-chevron {
    flex: 0 0 auto;
    color: #8a9bb2;
    font-size: 24px;
    line-height: 1;
    transition: color .18s ease, transform .18s ease;
  }

  .hosting-mega .mega-grid > a:hover .hosting-menu-chevron,
  .hosting-mega .mega-grid > a:focus-visible .hosting-menu-chevron {
    color: #176bd6;
    transform: translateX(2px);
  }

  .hosting-mega-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 15px 2px 0;
    border-top: 1px solid #e7edf5;
    color: #526177;
    font-size: 13px;
  }

  .hosting-support-icon {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #d9e7fb;
    border-radius: 50%;
    color: #176bd6;
    font-weight: 800;
  }

  .hosting-support-copy {
    flex: 1 1 auto;
  }

  .hosting-mega-footer a {
    color: #176bd6;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .hosting-mega-footer a:hover,
  .hosting-mega-footer a:focus-visible {
    color: #0b4fa8;
    text-decoration: underline;
  }
}

@media (max-width: 1000px) {
  .main-nav .hosting-mega {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background: #fff;
    color: #14233b;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    box-shadow: none;
  }

  .hosting-mega-intro {
    padding: 4px 4px 12px;
  }

  .hosting-mega-intro h2 {
    margin: 0;
    color: #10213c;
    font-size: 17px;
    line-height: 1.3;
  }

  .hosting-mega-intro p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
  }

  .hosting-mega .mega-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hosting-mega .mega-grid > a {
    min-width: 0;
    padding: 11px 8px;
    gap: 10px;
    border-radius: 9px;
  }

  .hosting-mega .mi {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #eaf3ff;
    color: #176bd6;
  }

  .hosting-mega .mi svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hosting-mega .mega-grid b {
    color: #15243b;
    font-size: 13px;
  }

  .hosting-mega .mega-grid small {
    color: #65748a;
    font-size: 11px;
    line-height: 1.4;
  }

  .hosting-mega-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 4px 2px;
    border-top: 1px solid #e7edf5;
    color: #526177;
    font-size: 12px;
  }

  .hosting-support-icon {
    display: inline-grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid #d9e7fb;
    border-radius: 50%;
    color: #176bd6;
    font-weight: 800;
  }

  .hosting-support-copy {
    flex: 1 1 140px;
  }

  .hosting-mega-footer a {
    color: #176bd6;
    font-weight: 700;
    text-decoration: none;
  }
}
/* ===== END: HOSTING MEGA MENU — SCOPED STYLES ===== */


/* ===== START: APPROVED HEADER COLOR THEME ===== */
@media (min-width: 1001px) {
  .site-header, header.site-header {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e5edf7;
    box-shadow: 0 4px 18px rgba(14,38,74,.045);
  }
  .main-nav { color: #14233b; }
  .main-nav > a, .main-nav .drop-btn { color: #14233b; transition: color .18s ease; }
  .main-nav > a:hover, .main-nav .drop-btn:hover,
  .main-nav > a:focus-visible, .main-nav .drop-btn:focus-visible,
  .main-nav > a.active, .main-nav .drop-btn.active { color: #176bf3; }
  .main-nav .drop-btn.active { color: #176bf3; }
  .main-nav .nav-arrow { stroke: currentColor; }
  .site-header .brand img { content: url('/assets/logo-color.png'); }
  .site-header .nav-toggle span { background: #14233b; }
}
/* ===== END: APPROVED HEADER COLOR THEME ===== */
