/* Launch: hide non-functional header search */
#search-outer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Testimonials page hidden until content is ready */
li.menu-item-537,
li.menu-item-721 {
  display: none !important;
}

/* Homepage hero slider: taller on mobile/tablet */
@media screen and (max-width: 999px) {
  body.home #necter-sliderrr .nectar-slider-wrap,
  body.home #necter-sliderrr .nectar-slider-wrap .swiper-container,
  body.home #necter-sliderrr .nectar-slider-wrap .swiper-wrapper,
  body.home #necter-sliderrr .nectar-slider-wrap .swiper-slide,
  body.home #necter-sliderrr .nectar-slider-wrap .slide-bg-wrap {
    min-height: 65vh !important;
    height: 65vh !important;
  }

  body.home #necter-sliderrr .nectar-slider-wrap .slide-bg-wrap .image-bg {
    min-height: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Fluid hero typography (overrides theme mobile shrink + hidden subtitle) */
  body.home #necter-sliderrr .swiper-slide .content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  body.home #necter-sliderrr .swiper-slide .content h2,
  body.home #necter-sliderrr .swiper-slide .content h2.ns-heading-el {
    font-size: clamp(1.75rem, 5vw + 0.65rem, 2.65rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.5rem !important;
  }

  body.home #necter-sliderrr .swiper-slide .content p,
  body.home #necter-sliderrr .swiper-slide .content p span {
    display: block !important;
    font-size: clamp(0.9375rem, 2.5vw + 0.4rem, 1.125rem) !important;
    line-height: 1.45 !important;
    padding-bottom: 0.5rem !important;
  }

  body.home #necter-sliderrr .swiper-slide .content .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.75rem !important;
  }

  body.home #necter-sliderrr .swiper-slide .content .buttons .button a,
  body.home #necter-sliderrr a.primary-color {
    font-size: clamp(0.8125rem, 2vw + 0.35rem, 0.9375rem) !important;
    width: auto !important;
    min-width: 8.5rem;
    padding: 0.75rem 1rem !important;
    line-height: 1.3 !important;
  }
}

@media screen and (max-width: 480px) {
  body.home #necter-sliderrr .swiper-slide .content p br {
    display: none;
  }
}

/* Mobile header logo — ~48px tall (common 44–52px range for professional sites) */
@media screen and (max-width: 1030px) {
  #header-outer #logo {
    display: inline-flex !important;
    align-items: center;
    max-width: calc(100vw - 6.5rem);
  }

  #header-outer #logo img {
    height: clamp(44px, 11vw, 52px) !important;
    width: auto !important;
    max-height: 52px !important;
    max-width: min(180px, 58vw) !important;
    object-fit: contain;
  }

  /* Theme ships a tiny 30px mobile logo — show one crisp wordmark */
  #header-outer #logo img.stnd.default-logo {
    display: none !important;
  }

  #header-outer #logo img.mobile-only-logo {
    display: inline-block !important;
  }
}

/* Theme off-canvas menu (green #4a993c) sits after the footer in the HTML and
   creates a large green block on desktop. Custom mobile nav replaces it. */
#slide-out-widget-area,
#slide-out-widget-area-bg {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Unused legacy Google review side panel (no badge on site) */
.njt-review-badge-modal {
  display: none !important;
}

/* Homepage: Trustindex widget + footer spacing */
body.home #footer-outer {
  margin-bottom: 0 !important;
}

body.home pre.ti-widget {
  display: none !important;
}

body.home .wpb_raw_code.wpb_raw_html .wpb_wrapper {
  max-width: 100%;
  overflow: hidden;
}

body.home .ti-widget {
  max-width: 100%;
  overflow: hidden;
}

body.home .ti-widget trustindex-image {
  display: inline-block !important;
  vertical-align: middle;
  object-fit: contain;
}

body.home .ti-widget .ti-star trustindex-image {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
}

body.home .ti-widget .ti-profile-img trustindex-image {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50%;
}

body.home .ti-widget .ti-large-logo trustindex-image {
  width: 150px !important;
  height: 25px !important;
  max-width: 150px !important;
  max-height: 25px !important;
}

body.home .ti-widget .ti-platform-icon trustindex-image {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

/* Briefly hide reviews while resizing so giant icons do not flash */
body.home.ti-is-resizing .ti-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  min-height: 320px;
}
