.nvh-site-switcher{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:1440px;margin:16px auto;padding:12px 20px;box-sizing:border-box;border:1px solid rgba(145,100,200,.35);border-radius:16px;background:rgba(115,65,160,.09)}
.nvh-site-switcher .nvh-switch-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nvh-site-switcher .nvh-switch-label{font-weight:700;font-size:.85rem;margin-right:4px;color:inherit}
.nvh-site-switcher a{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #7941b5;border-radius:10px;background:#6325a0;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:750;line-height:1.3;box-sizing:border-box}
.nvh-site-switcher a.nvh-switch-admin{background:#153c5d;border-color:#286996}
.nvh-site-switcher a:hover{background:#482078;box-shadow:0 2px 8px #0002}
.nvh-site-switcher a:focus-visible{outline:3px solid #c58aff;outline-offset:3px}
@media(max-width:640px){.nvh-site-switcher{margin:12px; padding:12px}.nvh-site-switcher .nvh-switch-group{width:100%}.nvh-site-switcher a{flex:1 1 120px}.nvh-site-switcher .nvh-switch-label{width:100%}}

/* Apply the IPTV navigation finish wherever its shared header is rendered. */
body:has(> header.nav > #nvh-navigation) {
  --iptv-nav-height: 44px;
  --iptv-nav-gap: .5rem;
  --iptv-nav-surface: var(--surface, #fff);
  --iptv-nav-ink: var(--text, #2b213d);
  --iptv-nav-line: var(--line, #d8c3e7);
  --iptv-nav-accent: var(--green, #8000b1);
}

body > header.nav:has(> #nvh-navigation) {
  row-gap: var(--iptv-nav-gap);
  padding-block: .75rem;
}

body > header.nav > #nvh-navigation {
  flex-wrap: wrap;
  gap: var(--iptv-nav-gap);
}

body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher {
  width: min(1440px, calc(100% - 2 * clamp(.75rem, 3vw, 3rem)));
  margin: .75rem auto 0;
  padding: .45rem .65rem;
  gap: var(--iptv-nav-gap);
}

body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group {
  gap: var(--iptv-nav-gap);
}

body > header.nav > #nvh-navigation > a,
body > header.nav > #nvh-navigation > details > summary,
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > a,
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-block-size: var(--iptv-nav-height);
  max-inline-size: 100%;
  padding: .5rem .8rem;
  border: 1px solid var(--iptv-nav-line) !important;
  border-radius: .65rem;
  background: var(--iptv-nav-surface) !important;
  color: var(--iptv-nav-ink) !important;
  box-shadow: none;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

body > header.nav > #nvh-navigation > a:hover {
  color: var(--v5-cyan, var(--iptv-nav-accent)) !important;
  text-decoration: underline;
  text-underline-offset: .22em;
}

body > header.nav > #nvh-navigation > a::after {
  content: none;
}

body > header.nav > #nvh-navigation > a:is(:hover, [aria-current="page"]),
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > a:is(:hover, [aria-current="page"]),
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > form > button:hover,
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group:first-child:not(:has([aria-current="page"])) > a[href="/index.php"] {
  border-color: var(--iptv-nav-accent) !important;
  box-shadow: inset 0 -3px 0 var(--iptv-nav-accent);
}

body > header.nav > #nvh-navigation > a:focus-visible,
body > header.nav > #nvh-navigation > details > summary:focus-visible,
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > a:focus-visible,
body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > form > button:focus-visible {
  outline: 2px solid var(--iptv-nav-accent);
  outline-offset: 3px;
}

@media (min-width: 851px) {
  body > header.nav > #nvh-navigation {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (max-width: 850px) {
  body > header.nav > #nvh-navigation {
    flex-wrap: nowrap;
    max-block-size: min(64vh, 32rem);
    overflow-y: auto;
  }
  body > header.nav > #nvh-navigation > :is(a, details) {
    flex: 0 0 auto;
  }
  body > header.nav > #nvh-navigation > details > summary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body:has(> header.nav > #nvh-navigation) > .nvh-site-switcher .nvh-switch-group > a {
    flex: 1 1 7rem;
  }
}
