/* Keep the existing carousel geometry; render posters without a JS layout pass. */
#main-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
}
#main-carousel::-webkit-scrollbar { display: none; }
#main-carousel > a { scroll-snap-align: start; }
.kc-carousel-nav {
    left: 20px;
    right: 20px;
    top: calc(50% + 40px);
    pointer-events: none;
    z-index: 2;
}
.kc-carousel-nav button { pointer-events: auto; }
.kc-carousel-nav[hidden] { display: none; }
@media (max-width: 1220px) {
    .kc-carousel-nav { left: 40px; right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    #main-carousel { scroll-behavior: auto; }
}
