/* ==========================================================================
   Fox News header — scoped with .fox- prefixes so it can't collide with
   Bootstrap (.nav) or the shared vslwe/CNN stylesheets. Loaded LAST.
   ========================================================================== */

.fox-topbar,
.fox-header,
.fox-header * {
  box-sizing: border-box;
}

/* Red bar across the very top of the page */
.fox-topbar {
  height: 6px;
  background: #c20017;
}

.fox-header {
  background: #05162c;
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 78px;
  margin: 0;
}

/* Logo */
.fox-logo {
  display: flex;
  align-items: center;
}

.fox-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Primary navigation */
.fox-nav {
  display: flex;
  align-items: center;
  gap: 44px;
  margin: 0 auto;
}

.fox-nav-item {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}

.fox-live-dot {
  width: 9px;
  height: 9px;
  background: #c20017;
  border-radius: 50%;
  margin-right: 9px;
}

/* Right-side actions */
.fox-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fox-login {
  color: #ffffff;
  background: transparent;
  border: 1px solid #3a4a5e;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.fox-login:hover {
  background: rgba(255, 255, 255, 0.08);
}

.fox-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.fox-icon-btn svg {
  display: block;
}

.fox-kebab {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fox-kebab span {
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
}

/* Hamburger — hidden on desktop, shown on mobile */
.fox-hamburger {
  display: none;
}

/* Desktop: space between the header and the headline */
.cnn-hero {
  padding-top: 28px;
}

/* Desktop: left-align the headline (full hero width preserved) */
.cnn-hero__headline {
  text-align: left;
}

/* LIVE / recording status bar shown below the video */
.fox-live-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 26px auto 0;
  font-family: Arial, Helvetica, sans-serif;
}

.fox-live-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c20017;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.fox-live-dot-red {
  width: 9px;
  height: 9px;
  background: #c20017;
  border-radius: 50%;
  flex-shrink: 0;
}

/* "As featured on" news logos shown below the video.
   vslwe/vsl.css has `figure { margin: 0 !important }`, so the auto margins
   need !important to win and keep the logos centered. */
.fox-news-logos {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 0 !important;
}

.fox-news-logos img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile layout */
@media (max-width: 850px) {
  .fox-header {
    position: relative;
    justify-content: space-between;
    padding: 0 18px;
    height: 66px;
  }

  /* Show hamburger on the left */
  .fox-hamburger {
    display: flex;
  }

  /* Center the logo regardless of side widths */
  .fox-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .fox-logo img {
    height: 32px;
  }

  /* Hide the full nav and the Log In button */
  .fox-nav,
  .fox-login {
    display: none;
  }

  /* Keep only the person icon and the 3 dots on the right */
  .fox-actions {
    gap: 16px;
  }
}
