/* Hero background video — hide broken icon until first frame is ready */
section.min-h-screen .bg_stg .yocon-hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #28282c;
  background-image: var(--yocon-hero-poster, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

section.min-h-screen .bg_stg video {
  object-fit: cover;
  background: transparent;
}

section.min-h-screen .bg_stg video:not([data-yocon-ready="1"]) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

section.min-h-screen .bg_stg picture,
section.min-h-screen .bg_stg picture img {
  display: block;
}

section.min-h-screen .bg_stg .yocon-hero-video-loading {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 65% at 72% 38%, rgba(196, 132, 58, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 55% 45% at 24% 68%, rgba(150, 96, 42, 0.18) 0%, transparent 68%),
    #28282c;
  opacity: 1;
  transition: opacity 0.55s ease;
}

section.min-h-screen .bg_stg.is-yocon-video-ready .yocon-hero-video-loading,
section.min-h-screen .bg_stg.is-yocon-video-error .yocon-hero-video-loading {
  opacity: 0;
}
