/**
 * Cleaned Editor & Site Styles
 */

/* --------------------------
   Body copy & small text
--------------------------- */
[data-predefined-style="true"] bodycopy,
[data-predefined-style="true"] small,
small {
  font-family: "Gotham", sans-serif !important;
  font-size: 2rem;
  font-weight: 400;
  color: rgba(26, 34, 67, 1);
  font-style: normal;
  line-height: 1.2;
}

[data-predefined-style="true"] bodycopy a,
[data-predefined-style="true"] small a {
  color: rgba(26, 34, 67, 1);
  padding-bottom: 0.1em;
  border-bottom: 0 solid rgba(127, 127, 127, 0.2);
  text-decoration: none;
}

/* --------------------------
   Headings
--------------------------- */
[data-predefined-style="true"] h1 {
  font-family: "EB Garamond", Icons;
  font-style: normal;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  padding: 0;
  margin: 0;
  color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h1 a {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover effect for overlay links */
.NavigationOverlay [data-predefined-style="true"] h1 a:hover,
#navigationOverlay h1 a:hover {
  color: #ffcc00;
}

[data-predefined-style="true"] h2 {
  font-family: "Gotham", Icons;
  font-style: normal;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  color: rgba(0, 0, 0, 1);
}

[data-predefined-style="true"] h2 a {
  color: rgba(0, 0, 0, 0.85);
}

/* --------------------------
   Breakpoints & Page/Container
--------------------------- */
[data-css-preset] .page {
  background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  min-height: 10px;
  max-width: 100%;
  width: 100%;
  background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
  margin-left: 0 /*!content_left*/;
  margin-right: auto /*!content_left*/;
  text-align: left /*!text_left*/;
}

[data-css-preset] body {
  background-color: rgb(255, 255, 255) /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
  width: 100% /*!content_left*/;
}

[data-css-preset] .content_padding {
	padding-top: 4rem /*!main_margin*/;
	padding-bottom: 4rem /*!main_margin*/;
	padding-left: 4rem /*!main_margin*/;
	padding-right: 4rem /*!main_margin*/;
}

[data-css-preset] text-limit {
  display: inline-block /*!text_width*/;
  max-width: 66rem /*!text_width*/;
}

/* --------------------------
   Global link hover
--------------------------- */
a:hover {
  color: #ff4b00 !important;
  font-weight: bold;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* --------------------------
   Buttons
--------------------------- */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  border: 2px solid #000 !important;
  border-radius: 20px;
  background-color: #fff !important;
  color: #000 !important;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.button:hover {
  color: #ff4b00 !important;
  background-color: #fff !important;
}

/* --------------------------
   Hamburger & Overlay
--------------------------- */
#hamburger {
  position: fixed !important;
  top: 2rem !important;
  left: 2rem !important;
  margin: 0 !important;
  transform: none !important;
  font-size: 2rem;
  color: #000;
  z-index: 10000;
  cursor: pointer;
  text-decoration: none;
}

#hamburger:hover {
  color: #ff4b00;
}

#hamburgerToggle {
  font-family: Icons !important;
  font-weight: normal !important;
  font-size: 2rem;
}

#navigationOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 81, 252, 1);
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#navigationOverlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#closeOverlay {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  z-index: 10000;
}

.overlay-content {
  text-align: center;
  padding: 2rem;
  z-index: 9999;
}

#navigationOverlay h1 a {
  color: #fff;
  font-size: 4.5rem;
  line-height: 5rem;
  display: inline-block;
  transition: color 0.3s ease;
}

/* --------------------------
   Images & Videos
--------------------------- */
img,
.content img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100%;
  height: auto;
}

/* Hover scale for clickable images */
a img {
  transition: transform 0.25s ease;
  transform-origin: center center;
}

a:hover img {
  transform: scale(1.04);
}

/* Video container */
.video-container {
  text-align: center;
}

.video-container video {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.video-caption {
  display: block;
  text-align: left;
  margin-top: 0.8rem;
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Gotham", sans-serif;
}

/* Desktop: keep social links right-aligned */
.footer-social {
    text-align: right; /* right-aligned on desktop */
}


/* Desktop nav fix */
.nav-row {
    display: flex;
    align-items: center;
}

.logo-col {
    flex: none;           /* prevents logo from stretching */
    margin-left: 0;       /* remove any extra spacing */
}

.logo-col img {
    display: block;       /* remove inline spacing issues */
    max-width: 200px;     /* desktop logo size */
    height: auto;
}

.spacer-col {
    flex: 1;              /* pushes hamburger to the right */
}

.hamburger-col {
    flex: none;
    text-align: right;
}






/* Desktop only: push logo fully left, keep it responsive */
@media (min-width: 769px) {
    .logo-col {
          max-width: 180px !important; /* adjust this value as needed */
        display: flex !important;        /* make column a flex container */
        justify-content: flex-start !important; /* align content to left */
        align-items: center !important;  /* vertical center if needed */
    }

    .logo-col img {
        width: auto !important;  /* natural width */
        max-width: 100% !important; /* prevent overflow */
        height: auto !important; /* keep aspect ratio */
    }
}







/* =======================
   Mobile styles (max-width: 768px)
======================= */
@media (max-width: 768px) {

  /* ---------- Footer ---------- */
  .footer {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
  }

  /* Make all footer columns full width, remove padding/margin, center text */
  .footer [grid-col] {
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      text-align: center !important;
  }

  .footer [grid-col] div {
      text-align: center !important;
      display: block;
      margin: 0.2rem 0;
  }

  /* First column spacing */
  .footer > [grid-col]:first-child {
      padding-top: 6rem !important;
      margin-bottom: 1rem !important;
  }

  /* ---------- Body copy & content padding ---------- */
  [data-predefined-style="true"] bodycopy,
  .page,
  .content-block {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
  }

  [data-predefined-style="true"] bodycopy {
      font-size: 1.8rem;
      line-height: 1.4;
  }

  /* ---------- Images ---------- */
  img,
  .content img {
      display: block !important;
      margin-left: auto !important;
      margin-right: auto !important;
      max-width: 100%;
      height: auto;
  }

  /* ---------- Buttons stacking ---------- */
  .button {
      display: block !important;
      width: 40% !important;
      margin: 1.5rem auto !important;
      text-align: center;
      font-size: 1.6rem;
  }

  .button:last-child {
      margin-bottom: 0;
  }

  /* ---------- Video ---------- */
  .video-container {
      text-align: center;
  }

  .video-container video {
      max-width: 100%;
      height: auto;
  }

  .video-caption {
      font-size: 1.1rem;
      text-align: left;
      margin-top: 0.8rem;
  }

  /* ---------- Remove empty elements ---------- */
  [grid-row]:empty,
  [grid-col]:empty,
  .page div:empty {
      display: none !important;
  }

  /* ---------- Force footer row to center (optional) ---------- */
  .footer[grid-row] {
      justify-content: center !important;
  }

  /* =======================
     Navigation (logo + hamburger)
  ======================= */
  .nav-row {
      display: flex !important;
      flex-direction: row !important;
      justify-content: space-between !important; /* logo left, hamburger right */
      align-items: center !important;
      width: 100%;
  }

  .logo-col {
      width: auto !important;
      max-width: 50% !important;   /* shrink logo on mobile */
      flex: none !important;
  }

  .logo-col img {
      max-width: 120px !important; /* adjust mobile logo size */
      height: auto !important;
  }

  .hamburger-col {
      width: auto !important;
      flex: none !important;
      text-align: right !important;
  }

  .spacer-col {
      display: none !important; /* hide middle column on mobile */
  }
    
  /* Stack JUSTIFY galleries vertically and make images full width */
  .image-gallery:not(.scrub) {
      display: flex !important;
      flex-direction: column !important;
      gap: 1.5rem !important;
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }

  /* Make nested images full width */
  .image-gallery:not(.scrub) .gallery_card,
  .image-gallery:not(.scrub) .gallery_card_image img {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }
}