/* Local fixes layered on top of the Webflow export (kept separate so the export stays untouched). */

/* Below 900px the Swiper configs switch to one slide per view and Swiper sets each
   slide's inline width to the full container width. Webflow's base rule
   `.swiper-slide{max-width:35%}` (meant for the multi-slide desktop layout) clamps that
   back down, leaving cramped, clipped cards at tablet widths (~480-899px). */
@media (max-width: 899px) {
  .swiper-events .swiper-slide,
  .swiper-connect .swiper-slide,
  .swiper-worship .swiper-slide {
    max-width: none;
  }
}

/* "Location" heading above the map on each campus page (sandton, kyalami, centurion,
   cornubia, durban-north, ballito). It otherwise inherits white from its section. */
.heading_location {
  color: var(--_colours---black, #0c0c0c);
}

/* Stay light under Safari's Adaptive Dark Mode (Safari 27.x betas).
   Safari darkens any page that doesn't declare dark support, and it currently
   ignores the `only` keyword, so `light only` counts as no declaration at all.
   Declaring `light dark` on the root (here and in the <meta name="color-scheme">
   tag) is the documented opt-out. That would also switch the browser's own
   defaults to dark when the OS is in dark mode, so pin them back to light:
   - the page canvas, via an explicit background on <html>
   - form controls, scrollbars and default text, via color-scheme: light on <body>
   Revisit once Safari honours `light only`, or when the site gets a real dark theme. */
:root {
  color-scheme: light dark;
  background-color: #f5f5f5;
}
body {
  color-scheme: light;
}
