/* Local-only navigation prototype: the full desktop bar reveals video types. */

nav > div > div > div[class*="hidden"][class*="md:flex"],
[data-commercial-nav-root] .cs-original-desktop-links {
  display: none !important;
}

.cs-mega-menu {
  position: fixed;
  z-index: 9998;
  top: 48px;
  right: 0;
  left: 0;
  height: 210px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 10, 0.985);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.26);
  color: #f5f5f7;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.cs-mega-menu[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.cs-type-shell {
  width: min(1024px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 30px 24px 34px;
}

.cs-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 58px;
  height: 100%;
  align-content: center;
}

.cs-type-link {
  display: flex;
  min-height: 62px;
  align-items: center;
  border-bottom: 1px solid rgba(245, 245, 247, 0.1);
  color: #d2d2d7;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 570;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.cs-type-link:nth-last-child(-n + 3) {
  border-bottom-color: transparent;
}

.cs-type-link:hover,
.cs-type-link:focus-visible {
  border-bottom-color: rgba(41, 151, 255, 0.72);
  color: #ffffff;
  outline: 0;
}

.cs-mega-backdrop {
  position: fixed;
  z-index: 9997;
  top: 258px;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

body.cs-mega-open .cs-mega-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.cs-mega-open [data-commercial-nav-root] {
  background: rgba(8, 8, 10, 0.985) !important;
}

[data-commercial-type-mobile] a {
  display: block;
}

@media (max-width: 767px) {
  .cs-mega-menu,
  .cs-mega-backdrop {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-mega-menu,
  .cs-mega-backdrop {
    transition: none;
  }
}
