/* Combo Camps layout tidy-up (30 Nov 2026). Spacing and sizing only: no wording, colours, photos or links change.
   Loaded after the site stylesheet on every page. To undo: remove this file's <link> from the pages. */

/* 1. Homepage top section fits one screen on laptops and desktops: photo, heading, buttons AND the 3 cards.
      Before: fixed 216px above the heading and 128px between heading and cards, so the cards only fitted a 1080px-tall screen. */
@media screen and (min-width: 992px) {
  .home-1-banner-section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: clamp(108px, 15vh, 216px);
    padding-bottom: clamp(24px, 4.5vh, 60px);
  }
  .home-1-banner-section > .base-container { flex: 1; display: flex; flex-direction: column; }
  .home-1-banner {
    flex: 1;
    justify-content: space-between;
    grid-row-gap: clamp(24px, 4.5vh, 128px);
    row-gap: clamp(24px, 4.5vh, 128px);
  }
}

/* 2. Footer: room above it. The template's call-to-action section that used to sit above the footer and give this space
      is empty, so the logo and "Questions?" line sat 0px from the section above. */
.footer { padding-top: 96px; }
.footer-top-wrap { align-items: flex-start; }
.footer-email-wrapper { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; column-gap: 12px; row-gap: 4px; margin-top: 10px; }
.footer-email-text, .footer-email-link { font-size: 38px; letter-spacing: -1px; }
.footer-email-link { text-underline-offset: 7px; text-decoration-thickness: 2px; }
@media screen and (max-width: 991px) {
  .footer { padding-top: 72px; }
  .footer-email-wrapper { justify-content: flex-start; margin-top: 28px; }
  .footer-email-text, .footer-email-link { font-size: 30px; }
}
@media screen and (max-width: 767px) { .footer-email-text, .footer-email-link { font-size: 26px; } }
@media screen and (max-width: 479px) {
  .footer { padding-top: 56px; }
  .footer-email-text, .footer-email-link { font-size: 22px; }
}

/* 3. Phone and tablet menu: the panel fits the screen (it was as tall as the whole page, ~7,000px, because the menu is set
      to "document height"), scrolls inside itself if a small phone needs it, and the page behind no longer moves. */
@media screen and (max-width: 991px) {
  .navbar-absolute .w-nav-overlay {
    height: calc(100vh - 20px) !important;
    height: calc(100dvh - 20px) !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
  }
  /* the template's script also stretches the panel itself to the page height: let it be as tall as its links, at least the screen */
  .navbar-absolute .w-nav-overlay [data-nav-menu-open] { border-radius: 28px; height: auto !important; min-height: 100%; bottom: auto !important; }
  html:has(.menu-button.w--open), html:has(.menu-button.w--open) body { overflow: hidden; }
}
