﻿/* home-bg-video.css — ana sayfa YT/Vimeo arka plan katmani (inline style yerine) */
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) #cizgi-home-bg-video,
body.page-index.home-lander-modern:has(.banner-video iframe[src]) .banner-video,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern #cizgi-home-bg-video,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .banner-video {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src])::before,
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src])::after,
body.page-index.home-lander-modern:has(.banner-video iframe[src])::before,
body.page-index.home-lander-modern:has(.banner-video iframe[src])::after,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern::before,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]),
body.page-index.home-lander-modern:has(.banner-video iframe[src]),
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern {
  background: transparent !important;
}
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern #cizgi-home-bg-video iframe:not([data-cizgi-home-bg-mode]),
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .banner-video iframe:not([data-cizgi-home-bg-mode]),
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) #cizgi-home-bg-video iframe:not([data-cizgi-home-bg-mode]),
body.page-index.home-lander-modern:has(.banner-video iframe[src]) .banner-video iframe:not([data-cizgi-home-bg-mode]) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  aspect-ratio: 16 / 9;
  width: max(100vw, calc(100dvh * 16 / 9)) !important;
  height: auto !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-width: none !important;
  border: none !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}
/* Ã‡ift iframe: display:none kullanÄ±lmaz (YouTube donmasÄ±) */
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode] {
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
}
html.cizgi-home-yt-video-fixed:is([data-site-mode="dark"], [data-theme="dark"]) body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode="dark"],
html.cizgi-home-yt-video-fixed:not([data-site-mode="light"]):not([data-theme="light"]) body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode="dark"] {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}
html.cizgi-home-yt-video-fixed:is([data-site-mode="light"], [data-theme="light"]) body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode="light"] {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}
html.cizgi-home-yt-video-fixed:is([data-site-mode="dark"], [data-theme="dark"]) body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode="light"],
html.cizgi-home-yt-video-fixed:not([data-site-mode="light"]):not([data-theme="light"]) body.page-index.home-lander-modern #cizgi-home-bg-video[data-cizgi-home-dual-video="1"] iframe[data-cizgi-home-bg-mode="light"] {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
}
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .hl-main,
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) .hl-main {
  position: relative !important;
  z-index: 3 !important;
}
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .cizgi-legal-footer,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .back-to-top {
  position: relative !important;
  z-index: 2 !important;
}
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern #cizgi-home-bg-video::before,
html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern .banner-video::before {
  display: none !important;
  content: none !important;
}
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) #iIdentify,
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) #spiders,
body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) canvas#spiders {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 1025px) {
  body.page-index.home-lander-modern #cizgi-home-bg-video,
  body.page-index.home-lander-modern:has(#cizgi-home-bg-video iframe[src]) #cizgi-home-bg-video,
  html.cizgi-home-yt-video-fixed body.page-index.home-lander-modern #cizgi-home-bg-video {
    display: block !important;
  }
}
