/* Homepage Module 6: YouTube Shorts */
.homepage-module-six{background:#fff;padding:48px 40px 56px;color:#0a0a0a;font-family:Arial,Helvetica,sans-serif}
.hm6-container{max-width:1450px;margin:auto}
.hm6-heading{display:flex;align-items:center;gap:10px;margin-bottom:24px}
.hm6-heading img{display:block;width:28px;height:28px;object-fit:contain}
.hm6-heading h2{font-size:23px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.hm6-carousel{position:relative}
.hm6-track{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}
.hm6-video{position:relative;display:block;flex:0 0 calc((100% - 45px)/6);min-width:0;aspect-ratio:2/3;overflow:hidden;border:0;border-radius:9px;padding:0;background:#16232b;scroll-snap-align:start;cursor:pointer}
.hm6-video img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.hm6-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#0008;color:#fff;font-size:21px;padding-left:3px;opacity:0;transition:opacity .2s}
.hm6-video:hover .hm6-play,.hm6-video:focus-visible .hm6-play{opacity:1}
.hm6-video:hover img{transform:scale(1.025)}
.hm6-video:focus-visible{outline:3px solid var(--yellow);outline-offset:-4px}
.hm6-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;border:0;border-radius:50%;background:#fff;color:#111;box-shadow:0 1px 4px #0004;width:44px;height:44px;display:grid;place-items:center;font:32px/1 Arial,sans-serif;padding:0}
.hm6-prev{left:-24px}.hm6-next{right:-24px}.hm6-arrow[hidden]{display:none}.hm6-arrow:disabled{opacity:.5;cursor:default}
.hm6-dialog{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:12px;border:0;border-radius:12px;background:#101010;color:#fff;overflow-y:auto}
.hm6-dialog::backdrop{background:#000c}
body.hm6-modal-open{overflow:hidden}
.hm6-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.hm6-dialog-header h2{margin:0;font:18px/1.4 Arial,sans-serif}
.hm6-close{width:36px;height:36px;display:grid;place-items:center;font:28px/1 Arial,sans-serif;border:0;background:#ffffff20;color:#fff;padding:0;border-radius:50%}
.hm6-player{width:100%;height:min(68dvh,670px);background:#000}
.hm6-player iframe{display:block;border:0;width:100%;height:100%}
.hm6-youtube-link{display:block;font:14px/1.4 Arial,sans-serif;text-align:center;padding:12px 4px 2px;text-decoration:underline}
@media(max-width:1100px){.hm6-video{flex-basis:calc((100% - 27px)/4)}}
@media(max-width:760px){.hm6-video{flex-basis:calc((100% - 18px)/3)}.homepage-module-six{padding:36px 30px}}
@media(max-width:500px){.hm6-video{flex-basis:calc((100% - 9px)/2)}.homepage-module-six{padding:32px 24px 40px}.hm6-arrow{width:36px;height:36px}.hm6-prev{left:-16px}.hm6-next{right:-16px}.hm6-play{opacity:1;width:40px;height:40px;font-size:17px}}
@media(prefers-reduced-motion:reduce){.hm6-video img,.hm6-play{transition:none}.hm6-video:hover img{transform:none}}
