/* legacy-overrides.css — make the scoped legacy catalog body behave statically (no JS) and
   keep it from inheriting odd new-site resets. Loaded AFTER legacy.scoped.css. */

/* Carousels -> horizontal scroll-rows (no swiper JS) */
#kc-legacy .swiper-wrapper{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:8px}
#kc-legacy .swiper-slide{flex:0 0 auto;scroll-snap-align:start}
#kc-legacy .swiper-button-next,#kc-legacy .swiper-button-prev,#kc-legacy .swiper-pagination,#kc-legacy .swiper-scrollbar{display:none}

/* Inert controls that needed the SPA's JS */
#kc-legacy .pagination-pages-wrap,#kc-legacy .pagination-pages{display:none !important}

/* JS-populated sliders are empty in a static snapshot -> hide so they don't show as broken
   empty rows. (Most Popular Courses / Top Skill Paths.) */
#kc-legacy .category-page__most-popular,#kc-legacy .category-page__skill-paths{display:none !important}

/* Guard against new-site Preflight bleed inside the legacy block */
#kc-legacy img{max-width:100%;height:auto}
#kc-legacy{position:relative;z-index:0}
