/* Asylum Radio Live: neat clustered two-row DIGITAL menu + inward logo/social placement.
   Header-only, desktop. No menu-item borders or changes to mobile controls. */
@media (min-width:761px) {
  html body header.site-header > .header-top {
    grid-template-columns:clamp(265px,21vw,300px) minmax(0,1fr) !important;
    column-gap:clamp(4px,.5vw,8px) !important;
  }
  /* Bring the entire logo/social block inward instead of spreading the menu. */
  html body header.site-header .header-top > a.brand,
  html body header.site-header .header-top > .header-social {
    transform:translateX(clamp(36px,4.8vw,64px)) !important;
  }
  html body header.site-header .header-top > nav.main-nav {
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    grid-template-rows:repeat(2,minmax(39px,auto)) !important;
    grid-auto-flow:row !important;
    justify-self:start !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    align-self:end !important;
    align-content:center !important;
    width:100% !important;
    max-width:1010px !important;
    height:auto !important;
    min-width:0 !important;
    gap:8px 6px !important;
    padding:0 !important;
    margin:0 0 13px 0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  html body header.site-header .header-top > nav.main-nav > .nav-row-break {display:none !important;}
  html body header.site-header .header-top > nav.main-nav > a,
  html body header.site-header .header-top > nav.main-nav > a:link,
  html body header.site-header .header-top > nav.main-nav > a:visited,
  html body header.site-header .header-top > nav.main-nav > a.active,
  html body header.site-header .header-top > nav.main-nav > a.nav-live,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:100% !important;
    min-height:39px !important;
    margin:0 !important;
    padding:7px 5px !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(180deg,rgba(37,93,108,.42),rgba(13,46,56,.22)) !important;
    box-shadow:inset 0 -2px rgba(95,221,238,.37),0 2px 10px rgba(0,0,0,.13) !important;
    text-align:center !important;
    text-decoration:none !important;
    color:#f0fdff !important;
    font-weight:800 !important;
    font-size:clamp(10px,.82vw,12px) !important;
    letter-spacing:.025em !important;
    line-height:1.15 !important;
    white-space:normal !important;
    text-shadow:0 0 7px rgba(126,232,247,.35) !important;
    transition:background .2s,color .2s,box-shadow .2s !important;
  }
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown > summary {
    display:flex !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    min-height:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    white-space:normal !important;
    line-height:1.15 !important;
    color:#f0fdff !important;
    text-shadow:0 0 7px rgba(126,232,247,.35) !important;
    font-size:inherit !important;
    font-weight:800 !important;
  }
  html body header.site-header .header-top > nav.main-nav > a:hover,
  html body header.site-header .header-top > nav.main-nav > a:focus-visible,
  html body header.site-header .header-top > nav.main-nav > a[aria-current='page'],
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown:hover,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown:focus-within {
    background:linear-gradient(180deg,rgba(41,123,143,.75),rgba(23,81,96,.6)) !important;
    color:white !important;
    text-decoration:none !important;
    box-shadow:inset 0 -2px rgba(129,240,255,.93),0 0 14px rgba(45,197,225,.19) !important;
    text-shadow:0 0 10px rgba(135,237,255,.55) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html'] {
    color:#ffe9eb !important;
    background:linear-gradient(180deg,rgba(133,34,49,.67),rgba(71,22,34,.36)) !important;
    box-shadow:inset 0 -2px rgba(255,97,113,.82),0 0 13px rgba(241,45,65,.12) !important;
    text-shadow:0 0 8px rgba(255,145,159,.42) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:hover,
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:focus-visible {
    background:linear-gradient(180deg,rgba(172,40,57,.78),rgba(102,28,43,.65)) !important;
    box-shadow:inset 0 -2px rgba(255,126,139,.99),0 0 16px rgba(239,55,74,.22) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a.nav-live {
    color:#ffdadd !important;
    text-shadow:0 0 7px rgba(255,117,133,.55) !important;
  }
  /* Keep the existing country label above navigation, unobstructed. */
  html body header.site-header .header-top > .arl-live-globe-only .arl-feature-country {
    top:9px !important;
    right:20px !important;
  }
}
@media (min-width:761px) and (max-width:1100px) {
  html body header.site-header > .header-top {
    grid-template-columns:clamp(182px,20.5vw,226px) minmax(0,1fr) !important;
    column-gap:6px !important;
  }
  html body header.site-header .header-top > a.brand,
  html body header.site-header .header-top > .header-social {
    transform:translateX(clamp(12px,2vw,25px)) !important;
  }
  html body header.site-header .header-top > nav.main-nav {
    gap:6px 4px !important;
    margin-bottom:8px !important;
  }
  html body header.site-header .header-top > nav.main-nav > a,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown {
    font-size:clamp(9px,.94vw,10.5px) !important;
    letter-spacing:0 !important;
    padding:6px 2px !important;
    border-radius:5px !important;
  }
}
@media (min-width:761px) and (max-width:900px) {
  html body header.site-header > .header-top {grid-template-columns:174px minmax(0,1fr) !important;column-gap:5px !important;}
  html body header.site-header .header-top > a.brand,
  html body header.site-header .header-top > .header-social {transform:translateX(9px) !important;}
  html body header.site-header .header-top > nav.main-nav {gap:5px 3px !important; margin-bottom:5px !important;}
  html body header.site-header .header-top > nav.main-nav > a,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown {font-size:9px !important;}
}
@media (prefers-reduced-motion: reduce) {
  html body header.site-header .header-top > nav.main-nav > a,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown {transition:none !important;}
}

/* FINAL HEADER-ONLY POSITION ADJUSTMENT — 2026-10-11
   Center the logo/socials and six-by-two digital navigation as ONE group.
   Preserve menu styling, header art, and the mobile layout.  Leave a
   comfortable visible gap from the social row to the menu buttons. */
@media (min-width:761px) {
  html body header.site-header > .header-top {
    /* Keep the Caribbean background and overlay at the ORIGINAL full width.
       Center only the inner logo/social and two-row menu via equal padding. */
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:max(9px, calc((100% - 1200px)/2)) !important;
    padding-right:max(9px, calc((100% - 1200px)/2)) !important;
    grid-template-columns:clamp(182px,16.3vw,210px) minmax(0,1fr) !important;
    column-gap:clamp(18px,1.8vw,26px) !important;
    justify-content:center !important;
  }
  html body header.site-header .header-top > a.brand,
  html body header.site-header .header-top > .header-social {
    transform:none !important;
  }
  html body header.site-header .header-top > nav.main-nav {
    justify-self:stretch !important;
    width:100% !important;
    max-width:none !important;
  }
}
@media (min-width:761px) and (max-width:1100px) {
  html body header.site-header > .header-top {
    padding-left:max(12px, calc((100% - 960px)/2)) !important;
    padding-right:max(12px, calc((100% - 960px)/2)) !important;
    grid-template-columns:clamp(174px,19vw,194px) minmax(0,1fr) !important;
    column-gap:clamp(16px,2.2vw,24px) !important;
  }
}
@media (min-width:761px) and (max-width:900px) {
  html body header.site-header > .header-top {
    padding-left:9px !important;
    padding-right:9px !important;
    grid-template-columns:174px minmax(0,1fr) !important;
    column-gap:15px !important;
  }
}

/* Country label legibility ONLY. Keep the existing top-right placement. */
@media (min-width:761px) {
  html body header.site-header .header-top > .arl-live-globe-only .arl-feature-country {
    font-size:clamp(14px,1.05vw,16px) !important;
    font-weight:900 !important;
    opacity:1 !important;
  }
}

/* ROTATING COUNTRY TITLE: bring the name to the foreground ONLY.
   The original background/map, brand, social links and menu remain in place. */
html body header.site-header .header-top > #arl-active-country.arl-feature-country {
  position:absolute !important;
  display:block !important;
  top:7px !important;
  right:20px !important;
  left:auto !important;
  bottom:auto !important;
  z-index:12 !important;
  transform:none !important;
  max-width:min(47%,560px) !important;
  width:max-content !important;
  font-size:clamp(16px,1.28vw,19px) !important;
  font-weight:900 !important;
  line-height:1.22 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  text-align:right !important;
  opacity:1 !important;
  color:var(--arl-country-accent,#ffe071) !important;
  background-image:var(--arl-country-gradient,linear-gradient(100deg,#41d76d,#ffe163,#41d76d)) !important;
  background-clip:text !important;
  -webkit-background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
  -webkit-text-stroke:.32px rgba(255,255,255,.36) !important;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.98)) drop-shadow(0 0 7px var(--arl-country-glow,#ffe071)) !important;
  pointer-events:none !important;
}
html body header.site-header .header-top > #arl-active-country.arl-feature-country::before {
  display:none !important;
  content:none !important;
}
@media (max-width:760px) {
  html body header.site-header .header-top > #arl-active-country.arl-feature-country {
    top:calc(100% - 5px) !important;
    left:50% !important;
    right:auto !important;
    transform:translate(-50%,-50%) !important;
    width:min(92vw,560px) !important;
    max-width:92vw !important;
    text-align:center !important;
    font-size:clamp(14px,3.8vw,18px) !important;
  }
}


/* Menu-visibility enhancement, Option 2 — 2026-10-11.
   Foreground styling only: do NOT change the header/map, layout, spacing,
   button dimensions, navigation order, or mobile menu. No hard borders. */
@media (min-width:761px) {
  html body header.site-header .header-top > nav.main-nav > a,
  html body header.site-header .header-top > nav.main-nav > a:link,
  html body header.site-header .header-top > nav.main-nav > a:visited,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown {
    color:#f8feff !important;
    border:0 !important;
    background:linear-gradient(180deg,rgba(22,84,103,.71),rgba(9,43,61,.57)) !important;
    box-shadow:inset 0 -2px 0 rgba(103,233,253,.82),
               inset 0 1px 0 rgba(193,250,255,.15),
               0 0 12px rgba(29,196,229,.24),
               0 4px 13px rgba(0,0,0,.32) !important;
    text-shadow:0 1px 2px rgba(0,0,0,.52),
                0 0 3px rgba(130,229,245,.24) !important;
  }
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown > summary {
    color:#f8feff !important;
    text-shadow:0 1px 2px rgba(0,0,0,.52),
                0 0 3px rgba(130,229,245,.24) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a:hover,
  html body header.site-header .header-top > nav.main-nav > a:focus-visible,
  html body header.site-header .header-top > nav.main-nav > a[aria-current='page'],
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown:hover,
  html body header.site-header .header-top > nav.main-nav > details.caribbean-hub-dropdown:focus-within {
    background:linear-gradient(180deg,rgba(34,133,156,.90),rgba(16,76,99,.82)) !important;
    box-shadow:inset 0 -2px 0 rgba(167,248,255,.97),
               0 0 17px rgba(60,220,249,.46),
               0 4px 14px rgba(0,0,0,.3) !important;
    text-shadow:0 1px 2px rgba(0,0,0,.48),
                0 0 5px rgba(135,235,255,.40) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html'],
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:link,
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:visited {
    color:#fff6f6 !important;
    background:linear-gradient(180deg,rgba(149,36,59,.87),rgba(80,21,42,.72)) !important;
    box-shadow:inset 0 -2px 0 rgba(255,115,134,.99),
               0 0 14px rgba(244,59,84,.42),
               0 4px 13px rgba(0,0,0,.31) !important;
    text-shadow:0 1px 2px rgba(0,0,0,.60),
                0 0 4px rgba(255,139,151,.26) !important;
  }
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:hover,
  html body header.site-header .header-top > nav.main-nav > a[href='video-live.html']:focus-visible {
    background:linear-gradient(180deg,rgba(191,45,73,.95),rgba(115,26,50,.86)) !important;
    box-shadow:inset 0 -2px 0 rgba(255,172,183,1),
               0 0 20px rgba(255,72,97,.65),
               0 4px 13px rgba(0,0,0,.32) !important;
  }
}
