/* EAMG Hero Video Slider Plus v1.3.0 */
.eamg-hero { position:relative; width:100%; height:var(--hero-h, 80vh); min-height:40vh; overflow:hidden; }
.eamg-hero__swiper, .eamg-hero .swiper-wrapper, .eamg-hero .swiper-slide { width:100%; height:100%; }
.eamg-hero__media { position:absolute; inset:0; overflow:hidden; }
.eamg-hero__video, .eamg-hero__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; transform: translateZ(0); will-change: transform; image-rendering: auto; }

/* Ken Burns only for images */
.eamg-hero__image.kenburns { animation: kbZoom 14s ease-in-out infinite alternate; transform-origin:center center; }
@keyframes kbZoom { 0% { transform: scale(1) translateZ(0); } 100% { transform: scale(var(--kb-scale,1.12)) translateZ(0); } }

.eamg-hero__overlay { position:absolute; inset:0; pointer-events:none; }
.eamg-hero__overlay.cyan-overlay { background: rgba(108, 212, 230, 0.3); } /* #6CD4E6 @ 30% */
.eamg-hero__overlay.layer-1 { mix-blend-mode: normal; }
.eamg-hero__overlay.layer-2 { mix-blend-mode: multiply; opacity:.9; }
.eamg-hero__overlay.layer-3 { mix-blend-mode: overlay; opacity:.85; }

.eamg-hero__content { position:relative; z-index:2; height:100%; padding:clamp(16px,4vw,48px); margin:0 auto; display:grid; align-content:center; gap:clamp(8px,1.5vw,16px); color:#fff; text-shadow:0 3px 12px rgba(0,0,0,0.45); }
.eamg-hero__title { font-size:clamp(28px,6vw,64px); line-height:1.05; margin:0; letter-spacing:.02em; font-weight:800; }
.eamg-hero__subtitle { font-size:clamp(14px,2.1vw,22px); line-height:1.45; margin:0; max-width:60ch; opacity:.95; }

.eamg-hero__btn { display:inline-block; padding:12px 20px; border-radius:999px; background:rgba(255,255,255,.14); color:inherit; text-decoration:none; backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,.25); transition:transform .2s ease, background .2s ease; }
.eamg-hero__btn:hover { transform:translateY(-1px); background:rgba(255,255,255,.2); }

/* Swiper UI */
.eamg-hero .swiper-pagination-bullet { background:rgba(255,255,255,.75); opacity:.6; }
.eamg-hero .swiper-pagination-bullet-active { opacity:1; }
.eamg-hero .swiper-button-prev, .eamg-hero .swiper-button-next { color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.6); }

/* Always show video on all sizes; fallback image stays hidden */
.is-mobile-fallback { display:none !important; }

@media (prefers-reduced-motion: reduce) {
  .eamg-hero .eamg-hero__image.kenburns { animation: none !important; }
  .eamg-hero .swiper-wrapper { scroll-behavior: auto; }
}
