/* base.css — GHL layout framework re-implementation
   MUST be linked before style.css and any per-page CSS.
   This file recreates what GHL's proprietary runtime JavaScript
   bundle would have injected at page load. */


/* ─── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }


/* ─── GHL page wrapper ────────────────────────────────────────── */
/* GHL renders inside .hl_page-preview--content — keep this class
   on the body so that per-page CSS selectors keep working. */
.hl_page-preview--content {
  width: 100%;
}


/* ─── Section ─────────────────────────────────────────────────── */
/* IMPORTANT: Do NOT add isolation:isolate here — it creates stacking
   contexts that trap child z-index values, breaking nav dropdowns. */
.c-section {
  position: relative;
  width: 100%;
  display: block;
}
.fullSection { width: 100%; }

/* Background overlay divs inside sections */
.bgCover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: #ffffff;
}
/* .bg is absolutely positioned inside a section */
.c-section > .bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
}
/* .inner paints on top via DOM order — no stacking context needed */
.c-section > .inner {
  position: relative;
  z-index: 1;
}


/* ─── Inner container ─────────────────────────────────────────── */
.inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}


/* ─── Row ─────────────────────────────────────────────────────── */
.c-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.row-align-center { align-items: center; }
.c-row > .inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}


/* ─── Column ──────────────────────────────────────────────────── */
.c-column {
  flex: 1 1 auto;
  min-width: 0;
}
.c-column > .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vertical > .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.horizontal > .inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}


/* ─── Mobile column stacking (GHL's 480px breakpoint) ─────────── */
@media (max-width: 480px) {
  .c-row > .inner { flex-wrap: wrap; }
  .c-column {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ─── Border / radius helpers ─────────────────────────────────── */
.noBorder  { border: none !important; }
.borderFull { border-style: solid; }
.radius0  { border-radius: 0; }
.radius4  { border-radius: 4px; }
.radius10 { border-radius: 10px; }
.radius15 { border-radius: 15px; }


/* ─── Visibility helpers ──────────────────────────────────────── */
@media (max-width: 767px)  { .desktop-only   { display: none !important; } }
@media (min-width: 768px)  { .desktop-hidden { display: none !important; } }
.sf-hidden { display: none !important; }
.hide { display: none !important; }


/* ─── Text / image components ─────────────────────────────────── */
.text-output { width: 100%; }
.text-output > div { width: 100%; }
.image-container { width: 100%; }
.hl-image-picture { display: block; width: 100%; }
.hl-image-picture img { width: 100%; height: auto; }
.mw-100 { max-width: 100%; }


/* ─── Gallery image padding equalisation ─────────────────────── */
/* GHL generates inconsistent padding on cimage-* classes.
   This normalises all of them to an even 10px on every side. */
[class*="cimage-"] { padding: 10px !important; }


/* ─── Button component ────────────────────────────────────────── */
.c-button { display: inline-block; }
.c-button a,
.c-button button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-loader-position { display: none; }


/* ─── Form components ─────────────────────────────────────────── */
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}
.form-control:focus {
  outline: none;
  border-color: #3a86ff;
}
.field-label { display: block; margin-bottom: 4px; font-weight: 600; }


/* ─── Background video ────────────────────────────────────────── */
/* GHL background video wrapper: absolutely covers its section or column.
   The inline style on the div was "position:relative!important" (GHL runtime)
   — we replace that with absolute in the HTML directly. */
.bgVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Columns that host a bgVideo need a positioning context */
.c-column {
  position: relative;
}
/* Column inner content must sit above the video */
.c-column > .inner,
.vertical > .inner {
  position: relative;
  z-index: 1;
}


/* ─── Empty slots (GHL placeholders) ─────────────────────────── */
.empty-slot,
.empty-component-wrapper,
.empty-component-min-height { display: none; }


/* ─── Nuxt / SingleFile wrappers (not rendered) ───────────────── */
.nuxt-route-announcer { display: none !important; }
