/* CLS fixes – Locum Health UK (Nov 2026)
   Loaded after style.css. Stops the page from jumping while images, carousels and fonts load. */

/* Images keep their space: width/height attributes give the ratio, CSS keeps them responsive */
img { max-width: 100%; height: auto; }

/* Owl Carousel is hidden (display:none) until its JavaScript runs, then it pops in and pushes
   everything below it down. Show the items in one clipped row before it loads instead. */
.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    overflow: hidden;
    gap: 30px;
}
.owl-carousel:not(.owl-loaded) > * {
    flex: 0 0 auto;
    max-width: 45%;
}

/* The full-screen loader sits on top of the page; it must never take up space in the layout */
.loading-area { position: fixed; inset: 0; }
