/* Demiroren TV v1.21.85 — shared header surfaces.
   Header controls stay opaque; only header surfaces are transparent.
   Admin bar and dropdown/menu surfaces intentionally remain independent. */
:root { --dtv-glass-header-height: 66px; }
body #smart-head,
body #smart-head-mobile,
body #smart-head .smart-head-row,
body #smart-head .smart-head-mid,
body #smart-head .smart-head-main,
body #smart-head .smart-head-mobile,
body #smart-head .smart-head-row > .inner,
body #smart-head .smart-head-mid > .inner,
body #smart-head .smart-head-row .wrap,
body #smart-head-mobile .smart-head-row,
body #smart-head-mobile .smart-head-mid,
body #smart-head-mobile .smart-head-main,
body #smart-head-mobile .smart-head-row > .inner,
body #smart-head-mobile .smart-head-mid > .inner,
body #smart-head-mobile .wrap {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}
/* A single gradient belongs to the outer header, not each nested row. */
body #smart-head,
body #smart-head-mobile {
  position: relative;
  isolation: isolate;
  z-index: 50;
}
body #smart-head::before,
body #smart-head-mobile::before {
  content: "";
  position: absolute;
  inset: 0 0 -56px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3,15,27,.72) 0%, rgba(3,15,27,.35) 48%, rgba(3,15,27,0) 100%);
}
/* Remove legacy homepage ::after veil: it painted over the image twice. */
body.home #smart-head::after,
body.home #smart-head-mobile::after { content: none !important; display: none !important; }
/* Keep all visible controls above the veil without altering their opacity. */
body #smart-head > *, body #smart-head-mobile > * { position: relative; z-index: 1; }
/* Dropdowns, mega menus, search and mobile drawer are separate readable surfaces. */
body #smart-head .sub-menu,
body #smart-head .mega-menu,
body #smart-head-mobile .sub-menu,
body #smart-head-mobile .mega-menu,
body .off-canvas,
body #off-canvas,
body .mobile-menu-wrap { background-color: #071724 !important; }
/* Homepage: pull the poster behind the transparent header; preserve original
   focal positioning and slider card sizing. */
body.home .dtv-home > .dtv-home-productions {
  position: relative;
  margin-top: calc(-1 * var(--dtv-glass-header-height)) !important;
}
body.home .dtv-home-hero-v12168::before { content: none !important; }
@media (max-width: 800px) {
  :root { --dtv-glass-header-height: 64px; }
  body.home .dtv-home > .dtv-home-productions {
    margin-top: calc(-1 * var(--dtv-glass-header-height)) !important;
  }
}
/* Never repaint the sticky header as a hard block; dropdowns stay opaque. */
body.dtvc-native-fixednav #smart-head,
body.dtv-any-mega-open #smart-head { background-color: transparent !important; }
