/* ───── Safe defaults: hide any elements that should be hidden until JS shows them ───── */
.search-bar:not(.active),
#search-container:not(.active),
#searchbar:not(.active),
#searchbar-mobile:not(.active) {
  display: none !important;
}

/* Hide submenu by default; show on parent hover/focus or when JS adds .active */
.nav-link-block:not(:hover):not(:focus-within) .nav-submenu-container:not(.active) {
  display: none !important;
}
/* ═════════════════════════════════════════════════════════════════
   SHARED HEADER STYLES — extracted from index.html
   All rules below are used by the <header id="header"> markup.
   ═════════════════════════════════════════════════════════════════ */

/* ──────── 1. BASE RESET (Tailwind preflight subset) ──────── */
*,:after,:before{
  --tw-border-spacing-x:0;--tw-border-spacing-y:0;
  --tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;
  --tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;
  --tw-scroll-snap-strictness:proximity;
  --tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;
  --tw-ring-color:rgba(80,181,255,.5);
  --tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;
  --tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;
}
*,:after,:before{border:0 solid;box-sizing:border-box}
:after,:before{--tw-content:""}

:host,html{
  line-height:1.5;
  -webkit-text-size-adjust:100%;
  font-family:DM Sans,sans-serif,Open Sauce Sans;
  font-feature-settings:normal;
  font-variation-settings:normal;
  -moz-tab-size:4;-o-tab-size:4;tab-size:4;
  -webkit-tap-highlight-color:transparent;
}
html{scroll-behavior:smooth}

body{
  line-height:inherit;margin:0;
  background-color:#090d18;color:#fff;
  font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeSpeed;
}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;margin:0}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
small{font-size:80%;font-family:DM Sans,sans-serif}

button,input,optgroup,select,textarea{
  color:inherit;font-family:inherit;font-feature-settings:inherit;
  font-size:100%;font-variation-settings:inherit;font-weight:inherit;
  letter-spacing:inherit;line-height:inherit;margin:0;padding:0;
}
button,select{text-transform:none}
[role=button],button{cursor:pointer;background-color:transparent;background-image:none}
:disabled{cursor:default}

audio,canvas,embed,iframe,img,object,svg,video{
  display:block;vertical-align:middle;
}
img,video{height:auto;max-width:100%}

[id]{scroll-margin-top:124px}  /* anchor offset for sticky header */

/* ──────── 2. CONTAINER ──────── */
.container{width:100%;padding:0 20px}
@media(min-width:1248px){.container{max-width:1248px}}
@media(min-width:1280px){.container{padding:0}}

.xl\:container{width:100%}
@media(min-width:1248px){.xl\:container{max-width:1248px}}

/* ──────── 3. HEADER SHELL ──────── */
#header{
  background:linear-gradient(54deg,#05298f 8.05%,#3700d3 91.58%);
  padding:16px 0;              /* 16px vertical; container supplies horizontal padding */
  position:sticky;
  top:0;
  z-index:99;
}
@media(min-width:1280px){
  #header{background:linear-gradient(110deg,#0b2d8ffc 8.05%,#3f0ecafa 91.58%)}
}
#header.has-progress-bar{top:7px}

/* The header's inner .container centres its children */
#header .container{
  align-items:center;
  display:flex;
  justify-content:space-between;
}

/* Logo */
#logo{
  left:-4px;
  max-width:166px;
  position:relative;
  width:100%;
}

/* ──────── 4. NAV LINKS + MEGA-MENUS ──────── */
.nav-link-container{column-gap:24px}

/* Anchor for the absolutely-positioned submenu */
.nav-link-block{position:relative}

.nav-link{
  align-items:center;color:#fff;display:flex;
  font-family:DM Sans,sans-serif;font-size:16px;font-weight:400;
  gap:4px;height:40px;letter-spacing:.44px;line-height:40px;
  padding:0 16px;position:relative;text-wrap:nowrap;visibility:visible;
}

/* Hover / focus states */
.nav-link-block:focus .nav-link,
.nav-link-block:hover .nav-link{color:#f79009}
.nav-link-block:focus .nav-link path,
.nav-link-block:hover .nav-link path{fill:#f79009}
.nav-link-block:focus{outline:1px solid #567484}

/* Extend the hover hit-area downward so the mouse can travel into the submenu */
.nav-link-block:focus .nav-link:before,
.nav-link-block:hover .nav-link:before{
  background-color:transparent;bottom:-32px;content:"";
  display:block;height:32px;position:absolute;width:100%;
}

/* Mega-menu container */
.nav-submenu-container{display:none}
.nav-link-block:focus .nav-submenu-container,
.nav-link-block:hover .nav-submenu-container{
  display:flex;justify-content:center;
}
.nav-submenu-container{
  left:0;margin:auto;max-width:1280px;position:absolute;
  right:0;top:64px;width:100%;z-index:9999;
}
.nav-submenu-container .container{
  display:grid;grid-auto-flow:dense;grid-template-columns:repeat(4,1fr);
}

/* White card that holds the menu columns */
.nav-container{
  background-color:#fff;border-radius:16px;display:inline-flex;
  filter:drop-shadow(0 2px 9px rgba(0,0,0,.12));
  gap:32px;padding:32px;
}

/* Individual column */
.nav-menu-block{
  column-gap:16px;display:flex;flex-direction:column;
}

/* Column title */
.nav-submenu-title{
  color:#1a1b25;font-family:DM Sans,sans-serif;
  font-size:20px;font-weight:700;margin-bottom:12px;
  text-transform:capitalize;
}

/* Column links */
.nav-submenu-link{
  color:#1a1b25;display:inline-block;font-family:DM Sans,sans-serif;
  font-size:16px;font-weight:400;line-height:1.25;padding:8px;
}
.nav-submenu-link:hover{background-color:#fef0c7}

/* ──────── 5. LIVE BLOB + SEARCH ──────── */
@keyframes pulse-red{
  0%{box-shadow:0 0 #ff5252b3;transform:scale(.95)}
  70%{box-shadow:0 0 0 10px transparent;transform:scale(1)}
  to{box-shadow:0 0 0 0 transparent;transform:scale(.95)}
}
.blob{
  animation:pulse-black 2s infinite;
  background:#000;border-radius:50%;box-shadow:0 0 #000;
  content:"";display:block;height:10px;
  margin:14px 8px 15px 12px;min-height:10px;min-width:10px;
  transform:scale(1);width:10px;
}
.blob.red{
  animation:pulse-red 2s infinite;
  background:#ff5252;box-shadow:0 0 #ff5252;
}
@media(min-width:1024px){
  .nav-link.live{
    align-items:center;background:#b91c1c;border-radius:8px;
    color:#fff;font-size:14px;font-weight:600;gap:8px;height:40px;
    line-height:1;margin-left:16px;padding:4px 12px 4px 0;
    white-space:nowrap;
  }
}

.search-btn:hover path{fill:#f79009}

/* ──────── 6. UTILITY CLASSES (only those used by the header) ──────── */
/* Belt-and-braces: these overlays must NEVER be visible by default */
.overlay:not(.active) { display: none !important; }
.relative{position:relative}
.hidden{display:none}
.flex{display:flex}
.grid{display:grid}
.items-center{align-items:center}
.justify-center{justify-content:center}
.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gap-3{gap:.75rem}
.p-2{padding:.5rem}
.px-0{padding-left:0;padding-right:0}
.py-0{padding-bottom:0;padding-top:0}
.mx-auto{margin-left:auto;margin-right:auto}
.ml-auto{margin-left:auto}
.mr-0{margin-right:0}
.rounded-full{border-radius:9999px}
.w-full{width:100%}
.h-\[24px\]{height:24px}
.w-\[24px\]{width:24px}
.h-\[32px\]{height:32px}
.w-\[32px\]{width:32px}
.min-w-\[166px\]{min-width:166px}
.ml-\[12px\]{margin-left:12px}
.text-white{color:rgb(255 255 255)}
.text-2xl{font-size:1.5rem;line-height:2rem}
.leading-none{line-height:1}
.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}
.duration-300{transition-duration:.3s}
.bg-blue-300{background-color:rgb(67 131 255)}

/* Hover helpers */
.hover\:text-yellow-500:hover{
  --tw-text-opacity:1;
  color:rgb(247 144 9/var(--tw-text-opacity,1));
}
.hover\:text-white\/\[\.75\]:hover{color:#ffffffbf}

/* Router-link classes (kept so Vue-generated state classes still match) */
.router-link-active,.router-link-exact-active{}

/* ──────── 7. RESPONSIVE BREAKPOINT VARIANTS ──────── */
@media(min-width:640px){
  .sm\:hidden{display:none}
}
@media(min-width:768px){
  .md\:inline-flex{display:inline-flex}
}
@media(min-width:1024px){
  .lg\:hidden{display:none}
  .lg\:flex{display:flex}
  .lg\:leading-tight{line-height:1.25}
  .lg\:inline-block{display:inline-block}
}
@media(min-width:1280px){
  .xl\:flex{display:flex}
  .xl\:hidden{display:none}
  .xl\:ml-0{margin-left:0}
  .xl\:mr-0{margin-right:0}
  .xl\:mx-\[24px\]{margin-left:24px;margin-right:24px}
}

/* ──────── 8. MOBILE MENU PANEL ──────── */
#mobile-menu-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  color: #1a1b25;                 /* dark text — do not inherit body's white */
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 16px 40px;
  font-family: DM Sans, -apple-system, BlinkMacSystemFont, sans-serif;
}
#mobile-menu-panel.is-open {
  display: block;
}

#mobile-menu-panel .mobile-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 4px 8px 12px;
  font-size: 24px;
  line-height: 1;
  color: #1a1b25;
}
#mobile-menu-panel .mobile-close:hover { color: #f79009; }

#mobile-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #1a1b25;
}

#mobile-menu-panel li {
  border-bottom: 1px solid #ccd5da;
  color: #1a1b25;
}

/* Top-level rows (links and accordion buttons) */
#mobile-menu-panel li > a,
#mobile-menu-panel li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #1a1b25;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 0;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
#mobile-menu-panel li > a:hover,
#mobile-menu-panel li > button:hover {
  color: #f79009;
}

/* Accordion arrow caret */
#mobile-menu-panel li > button > span {
  font-size: 14px;
  color: #666d80;
  transition: transform .2s ease;
}
#mobile-menu-panel li > button.is-open > span {
  transform: rotate(180deg);
}

/* Submenu (accordion) */
#mobile-menu-panel .submenu {
  display: none;
  padding: 4px 0 12px;
  background: #f6f8fa;
  border-radius: 8px;
  margin: 4px 0 8px;
}
#mobile-menu-panel .submenu.is-open {
  display: block;
}
#mobile-menu-panel .submenu a {
  display: block;
  color: #1a1b25;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  padding: 10px 16px;
  text-decoration: none;
}
#mobile-menu-panel .submenu a:hover {
  background: #fffaeb;
  color: #b54708;
}

/* Live / watch-live row, if present */
#mobile-menu-panel .mobile-live-btn {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 4px solid #eab308;
  margin-top: 12px;
}

/* ──────── 9. SEARCH OVERLAY ──────── */
#search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 18, .85);
  z-index: 9998;
  padding: 80px 20px;
}
#search-overlay.is-open {
  display: block;
}
#search-overlay form {
  display: flex;
  margin: 0 auto;
  max-width: 640px;
}
#search-overlay input {
  background: #0d0d12;
  border: 1px solid #384f8c;
  color: #f6f8fa;
  flex: 1;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 8px 0 0 8px;
  outline: none;
}
#search-overlay input::placeholder { color: #a4acb9; }
#search-overlay button {
  background: #3538cd;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 0 8px 8px 0;
}
#search-overlay button:hover { background: #1e40af; }

/* Mobile panel must never appear at desktop widths.
   The hamburger that opens it is hidden at xl, so an open
   panel would have no way to close and would block clicks. */
@media (min-width: 1280px) {
  #mobile-menu-panel,
  #mobile-menu-panel.is-open {
    display: none !important;
  }
}