#videos-online[hidden],#videos-online [hidden]{display:none!important}
#videos-online{background:radial-gradient(ellipse at 50% 35%,#392d1f,#1c1916 66%);border-top:1px solid #bda16c38;text-align:center;overflow:hidden}
#videos-online h2{margin-bottom:.65em}
.videos-carrusel{position:relative;max-width:1040px;margin:auto}
.videos-escenario{position:relative;display:grid;place-items:center;perspective:1050px;min-height:clamp(155px,38vw,375px);margin-inline:2.7rem}
#videos-online .video-portada{grid-area:1/1;position:relative;overflow:hidden;width:min(77%,550px);aspect-ratio:16/9;border:1px solid #cfb07d90;border-radius:12px;background:#1d1915;color:#fff;padding:0;cursor:pointer;text-align:left;box-shadow:0 16px 34px #0009;transform:translateX(calc(var(--x)*32%)) translateZ(calc(var(--profundidad)*-135px)) rotateY(calc(var(--giro)*30deg));transition:transform .42s ease,opacity .3s ease;opacity:1}
#videos-online .video-portada[data-distancia="1"]{opacity:.85}
#videos-online .video-portada[data-distancia="2"]{opacity:.55}
#videos-online .video-portada:is([data-distancia="3"],[data-distancia="4"]){opacity:0;pointer-events:none}
.video-portada img{width:100%;height:100%;object-fit:cover;display:block}
.video-portada span{position:absolute;inset:auto 0 0;padding:1.65rem 1rem .75rem;background:linear-gradient(transparent,#000e);font-weight:650;line-height:1.25}
.video-portada::after{content:'▶';position:absolute;inset:50% auto auto 50%;translate:-50% -50%;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:#1c1712c9;color:#f2dab0;border:1px solid #d1ad72}
#videos-online button:focus-visible,#arka-video-popup button:focus-visible{outline:2px solid #f4d8a5;outline-offset:3px}
#videos-online .videos-flecha{position:absolute;z-index:9;top:50%;translate:0 -50%;width:2.3rem;height:2.3rem;padding:0;border-radius:50%;background:#211b16;color:#f2dab0;border:1px solid #b99860;cursor:pointer;font-size:1.35rem}
.videos-flecha[data-anterior]{left:0}.videos-flecha[data-siguiente]{right:0}
.videos-puntos{display:flex;justify-content:center;gap:.2rem;margin-top:.35rem}
#videos-online .videos-puntos button{width:1.65rem;height:1.8rem;padding:0;border:0;background:transparent;cursor:pointer}
.videos-puntos button::before{content:'';display:block;margin:auto;width:.55rem;height:.55rem;border-radius:50%;background:#baa27e80}
.videos-puntos button[aria-current]::before{background:#f2d4a1}
#arka-video-popup{width:min(92vw,900px);max-height:90vh;padding:1rem;border:1px solid #b99860;border-radius:12px;background:#211a15;color:#fff4df}
#arka-video-popup::backdrop{background:#000c}
#arka-video-popup header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem}
#arka-video-popup h2{font-size:1.2rem;margin:0;color:inherit}
#arka-video-popup button{color:#fff4df;background:transparent;border:1px solid #b99860;border-radius:7px;cursor:pointer;padding:.35rem .7rem}
#arka-video-popup a{display:inline-block;margin-top:.75rem;color:#ffdb9f}
.videos-reproductor iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}
@media(max-width:550px){.videos-escenario{margin-inline:1.7rem}.video-portada span{font-size:.8rem;padding:.9rem .45rem .4rem}.video-portada::after{width:1.8rem;height:1.8rem;font-size:.8rem}}
@media(prefers-reduced-motion:reduce){#videos-online .video-portada{transition:none}}
