/* HMB — mod_hmb_videos v2: ultimos videos del canal. Carrusel scroll-snap a todo el ancho. Contraste >= 4.5:1. */
.hmb-row-videos .hmb-module-content:has(> .hvy), .hmb-row-videos .hmb-container-fluid:has(> .hvy) { display:block; }
.hvy { container-type:inline-size; position:relative; width:100%; box-sizing:border-box; margin:0 auto 1.2rem; color:#f4eee4; grid-column:1 / -1; }
.hvy__head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.4rem 1rem; padding:.2rem .2rem .8rem; }
.hvy__tit { display:flex; align-items:center; gap:.6rem; margin:0; font:700 1.35rem/1.1 var(--font-title, Oswald, sans-serif); letter-spacing:.12em; text-transform:uppercase; color:#f4eee4; }
.hvy__yt { width:30px; height:30px; color:#ff4d2e; flex:none; }
.hvy__acc { display:flex; align-items:center; gap:.6rem; }
.hvy__lnk { min-height:44px; display:inline-flex; align-items:center; padding:0 .4rem; color:#e0b43a !important; font:600 .95rem/1 var(--font-title, Oswald, sans-serif); letter-spacing:.1em; text-transform:uppercase; text-decoration:none !important; }
.hvy__lnk:hover { color:#fff !important; }
.hvy__lnk--sub { padding:0 1rem; background:#c42000; color:#fff !important; border-radius:2px; }
.hvy__lnk--sub:hover { background:#e02a00; }
.hvy__lnk:focus-visible, .hvy__media:focus-visible { outline:3px solid #e0b43a; outline-offset:2px; }

.hvy__viewport { overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; }
.hvy__viewport::-webkit-scrollbar { display:none; }
.hvy__viewport:focus-visible { outline:3px solid #e0b43a; outline-offset:2px; }
.hvy__track { display:flex; gap:1rem; margin:0; padding:0; list-style:none; }
.hvy__slide { flex:0 0 88%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; box-sizing:border-box; display:flex; }
.hvy__card { flex:1; min-width:0; display:flex; flex-direction:column; background:linear-gradient(180deg,#171212,#0c0a0a); border:1px solid #2e2420; border-top:3px solid #c42000; }
.hvy__media { position:relative; display:block; aspect-ratio:16 / 9; overflow:hidden; background:#000; }
.hvy__media img, .hvy__media iframe { position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover; display:block; transition:transform .5s ease; }
.hvy__media:hover img { transform:scale(1.05); }
.hvy__media [hidden] { display:none !important; }
.hvy__shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.75)); pointer-events:none; }
.hvy__play { position:absolute; left:50%; top:50%; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(196,32,0,.92); color:#fff; box-shadow:0 0 0 6px rgba(196,32,0,.28), 0 6px 22px rgba(0,0,0,.6); transition:transform .25s, background .25s; }
.hvy__play svg { width:34px; height:34px; margin-left:3px; }
.hvy__media:hover .hvy__play { transform:scale(1.1); background:#e02a00; }
.hvy__new { position:absolute; left:.6rem; top:.6rem; padding:.2rem .6rem; background:#e0b43a; color:#1a1200; font:700 .72rem/1.3 var(--font-title, Oswald, sans-serif); letter-spacing:.12em; text-transform:uppercase; }
.hvy__dur { position:absolute; right:.6rem; bottom:.6rem; padding:.15rem .5rem; background:rgba(0,0,0,.85); color:#fff; font:600 .8rem/1.4 ui-monospace, Menlo, Consolas, monospace; border-radius:2px; }
.hvy__body { padding:.9rem 1rem 1.1rem; }
.hvy__vt { margin:0 0 .35rem; font:600 1.1rem/1.3 var(--font-title, Oswald, sans-serif); color:#f4eee4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; }
.hvy__meta { margin:0; font-size:.85rem; color:#b8b0a4; }

.hvy__arrow { position:absolute; top:calc(50% - 2rem); width:44px; height:64px; display:none; align-items:center; justify-content:center; padding:0; background:rgba(12,10,10,.88); color:#f4eee4; border:1px solid #5a4a44; cursor:pointer; z-index:5; }
.hvy__arrow svg { width:24px; height:24px; }
.hvy__arrow:hover { background:#3a0e06; border-color:#c42000; }
.hvy__arrow:focus-visible { outline:3px solid #e0b43a; }
.hvy__arrow--prev { left:0; }
.hvy__arrow--next { right:0; }
.hvy__dots { display:flex; justify-content:center; flex-wrap:wrap; padding-top:.5rem; }
.hvy__dot { position:relative; width:28px; height:28px; padding:0; border:0; background:transparent; cursor:pointer; }
.hvy__dot::before { content:""; position:absolute; left:50%; top:50%; width:10px; height:10px; margin:-5px; border-radius:50%; background:#6b5c55; transition:background .2s, transform .2s; }
.hvy__dot.is-active::before { background:#ff6a4d; transform:scale(1.4); }
.hvy__dot:focus-visible { outline:3px solid #e0b43a; border-radius:4px; }

@media (hover:hover) { .hvy__arrow { display:flex; } }
/* columnas: las que caben, limitadas por la opcion 'columnas' (--max) */
@container (min-width:640px) { .hvy__slide { flex-basis:calc((100% - (min(2, var(--max, 4)) - 1) * 1rem) / min(2, var(--max, 4))); } }
@container (min-width:1000px) { .hvy__slide { flex-basis:calc((100% - (min(3, var(--max, 4)) - 1) * 1rem) / min(3, var(--max, 4))); } .hvy__vt { font-size:1.2rem; } }
@container (min-width:1500px) { .hvy__slide { flex-basis:calc((100% - (min(4, var(--max, 4)) - 1) * 1rem) / min(4, var(--max, 4))); } }
@media (prefers-reduced-motion: reduce) { .hvy__media img, .hvy__play, .hvy__dot::before { transition:none; } .hvy__media:hover img { transform:none; } }

/* ---- Shorts: 9:16. 2 shorts = 1 vídeo panorámico, así que la fila encuadra con la de abajo (6 / 4 / 2 a la vez) ---- */
.hvy--shorts { margin-bottom:.4rem; }
.hvy--shorts .hvy__tit { font-size:1.15rem; }
.hvy--shorts .hvy__slide { flex-basis:46%; }
.hvy--shorts .hvy__card { background:#0c0a0a; border-top:0; }
.hvy--shorts .hvy__media { aspect-ratio:9 / 16; }
.hvy--shorts .hvy__play { width:54px; height:54px; margin:-27px 0 0 -27px; }
.hvy--shorts .hvy__play svg { width:28px; height:28px; }
.hvy__cap { position:absolute; left:.6rem; right:.6rem; bottom:.7rem; color:#fff; font:600 .9rem/1.25 var(--font-title, Oswald, sans-serif); text-shadow:0 1px 4px #000; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.hvy--shorts .hvy__arrow { top:calc(50% - 32px); }
@container (min-width:640px) { .hvy--shorts .hvy__slide { flex-basis:calc((100% - (2 * min(2, var(--max, 4)) - 1) * 1rem) / (2 * min(2, var(--max, 4)))); } }
@container (min-width:1000px) { .hvy--shorts .hvy__slide { flex-basis:calc((100% - (2 * min(3, var(--max, 4)) - 1) * 1rem) / (2 * min(3, var(--max, 4)))); } }
@container (min-width:1500px) { .hvy--shorts .hvy__slide { flex-basis:calc((100% - (2 * min(4, var(--max, 4)) - 1) * 1rem) / (2 * min(4, var(--max, 4)))); } }
