/* Film controls sit outside card links. Photos remain the first, zero-video-byte view. */
.ec-cinematic-host { position: relative; }
.ec-cinematic-toggle {
    position:absolute; z-index:8; display:inline-flex; align-items:center; justify-content:center;
    gap:8px; min-width:42px; min-height:38px; margin:0; padding:9px 13px; border:1px solid #e7cc9c;
    border-radius:5px; color:#201e18; background:rgba(223,194,148,.96); box-shadow:0 3px 16px #0005;
    font-family:inherit; font-size:11px; font-weight:600; line-height:1.2;
    letter-spacing:.015em; cursor:pointer; backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px);
}
.ec-cinematic-toggle:hover { background:#f0d9b3; border-color:#f0d9b3; }
.ec-cinematic-toggle:focus-visible { outline:3px solid #fff; outline-offset:3px; box-shadow:0 0 0 6px #203b2d; }
.ec-cinematic-toggle[aria-pressed=true] { color:#f2e5cf; background:#24251fea; border-color:#d4b47c; }
.ec-cinematic-toggle[hidden], .ec-cinematic-source[hidden] { display:none; }
.ec-cinematic-toggle svg { flex:0 0 auto; width:13px; height:13px; }
.ec-cinematic-toggle.is-compact { padding:7px; }
.ec-cinematic-toggle.is-compact .ec-cinematic-button-label { display:none; }
.ec-cinematic-layer { position:absolute; z-index:6; overflow:hidden; pointer-events:none; background:transparent; isolation:isolate; }
.ec-cinematic-layer video, .ec-cinematic-layer iframe { display:block; width:100%; height:100%; border:0; object-fit:cover; opacity:0; transition:opacity .25s ease; }
.ec-cinematic-layer.is-playing video, .ec-cinematic-layer.is-playing iframe { opacity:1; }
.ec-cinematic-layer iframe { pointer-events:auto; }
.ec-cinematic-source { position:absolute; z-index:9; max-width:calc(100% - 20px); padding:4px 7px; border-radius:5px; background:rgba(18,27,22,.86); color:#fff!important; font-size:9px; font-weight:500; line-height:1.4; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ec-cinematic-source:hover, .ec-cinematic-source:focus-visible { text-decoration:underline; background:#172b20; }
.ec-v3-hero > .ec-cinematic-layer { z-index:-3; }
.ec-v3-hero > .ec-v3-hero-image { z-index:-4; }
.ec-v3-hero > .ec-cinematic-toggle { font-size:11px; min-height:36px; }
.ec-cinematic-announcement { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); max-width:calc(100% - 32px); padding:12px 18px; z-index:120; border-radius:12px; background:#20382b; color:#fff; box-shadow:0 6px 30px #0002; font-size:13px; pointer-events:none; }
.ec-cinematic-announcement:empty { display:none; }
@media (prefers-reduced-motion:reduce) { .ec-cinematic-layer video, .ec-cinematic-layer iframe { transition:none; } }
@media (max-width:600px) {
    .ec-cinematic-toggle { min-width:44px; min-height:44px; padding:9px 11px; font-size:10px; }
    .ec-cinematic-toggle svg { width:11px; height:11px; }
    .ec-cinematic-source { font-size:8px; }
}
@media print { .ec-cinematic-toggle, .ec-cinematic-layer, .ec-cinematic-source, .ec-cinematic-announcement { display:none!important; } }
