/* Clone overrides — fixes for JS-applied behaviors that differ on clone */

/* === Static hero (RevSlider replaced at extraction time) === */
#foran-hero { position:relative; width:100%; height:525px; overflow:hidden; background:#1a1a1a; }
.fh-slide { position:absolute; inset:0; opacity:0; transition:opacity 1s ease; }
.fh-slide.fh-active { opacity:1; }
.fh-slide img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.fh-gradient { position:absolute; left:0; top:0; width:786px; height:100%; background:linear-gradient(90deg,rgba(10,10,10,.8) 0%,rgba(12,12,12,.8) 1%,rgba(215,215,215,0) 100%); }
.fh-overlay { position:absolute; left:315px; top:89px; width:434px; }
.fh-overlay h1 { font-size:38px !important; line-height:43px !important; font-weight:700 !important; color:#fff !important; margin:0 0 12px !important; }
.fh-line { width:450px; height:4px; background:#fff; margin:0 0 14px; }
.fh-overlay p { font-family:Roboto,sans-serif; font-size:15px; line-height:22px; color:#fff; margin:0; width:409px; }
/* NALP badge — static overlay, bottom-right, all slides */
.fh-nalp { position:absolute; right:16px; bottom:16px; z-index:30; width:300px; }
.fh-nalp img { width:100%; height:auto; display:block; }
@media(max-width:778px) {
  #foran-hero { height:500px; }
  .fh-gradient { width:100%; }
  .fh-overlay { left:20px; top:60px; width:calc(100% - 40px); }
  .fh-line { width:100%; }
  .fh-overlay p { width:100%; }
}

/* BeTheme/WordPress animation fallback.
   The live site reveals some headings/images with BeTheme scroll animation JS. In this static
   staging clone those source theme scripts are intentionally stripped, so animation-gated
   content must render in its final visible state instead of staying opacity:0/hidden. */
.animate[data-anim-type],
[data-anim-type],
[data-anim],
.mfn-animate,
.mfn-invisible,
.mcb-section [style*="opacity: 0"],
.mcb-section [style*="opacity:0"] {
  opacity: 1 !important;
  visibility: visible !important;
}

.animate[data-anim-type],
[data-anim-type],
[data-anim],
.mfn-animate,
.mfn-invisible {
  transform: none !important;
  animation: none !important;
}

/* Keep intentionally hidden non-content/plugin metadata hidden. */
.otto-nlp-module,
#wpadminbar,
.screen-reader-text {
  display: none !important;
}

/* Restore BeTheme gallery rounding on the About-page image grid. The live site clips
   these through the `.image_frame`; preview lost that page-local radius rule. */
.mcb-section .mcb-wrap .mcb-item-uqjcqet .gallery .image_frame,
.mcb-section .mcb-wrap .mcb-item-uqjcqet .gallery .image_wrapper,
.mcb-section .mcb-wrap .mcb-item-uqjcqet .gallery .gallery-item-wrapper,
.mcb-section .mcb-wrap .mcb-item-uqjcqet .gallery img {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Static fallback for BeTheme dropdown menus. Source JS/theme CSS normally manages
   submenu visibility; the static preview keeps the nested markup but can leave it inert. */
#Top_bar .menu > li,
#menu .menu > li,
.menu_wrapper .menu > li,
.menu_wrapper .menu li.menu-item-has-children {
  position: relative !important;
}

#Top_bar .menu li ul.sub-menu,
#menu .menu li ul.sub-menu,
.menu_wrapper .menu li ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  z-index: 9999 !important;
  min-width: 240px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  list-style: none !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.14) !important;
}

#Top_bar .menu li:hover > ul.sub-menu,
#Top_bar .menu li:focus-within > ul.sub-menu,
#Top_bar .menu li.clone-submenu-open > ul.sub-menu,
#menu .menu li:hover > ul.sub-menu,
#menu .menu li:focus-within > ul.sub-menu,
#menu .menu li.clone-submenu-open > ul.sub-menu,
.menu_wrapper .menu li:hover > ul.sub-menu,
.menu_wrapper .menu li:focus-within > ul.sub-menu,
.menu_wrapper .menu li.clone-submenu-open > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#Top_bar .menu > li > ul.sub-menu,
#menu .menu > li > ul.sub-menu,
.menu_wrapper .menu > li > ul.sub-menu {
  top: 100% !important;
  left: 0 !important;
}

#Top_bar .menu ul.sub-menu ul.sub-menu,
#menu .menu ul.sub-menu ul.sub-menu,
.menu_wrapper .menu ul.sub-menu ul.sub-menu {
  top: -8px !important;
  left: 100% !important;
}

#Top_bar .menu ul.sub-menu li,
#menu .menu ul.sub-menu li,
.menu_wrapper .menu ul.sub-menu li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  white-space: nowrap !important;
}

#Top_bar .menu ul.sub-menu li a,
#menu .menu ul.sub-menu li a,
.menu_wrapper .menu ul.sub-menu li a {
  display: block !important;
  padding: 10px 18px !important;
  line-height: 1.3 !important;
  color: #5b4a2f !important;
  background: transparent !important;
}

#Top_bar .menu ul.sub-menu li a:hover,
#menu .menu ul.sub-menu li a:hover,
.menu_wrapper .menu ul.sub-menu li a:hover {
  background: #fffef0 !important;
  color: #8b984a !important;
}

/* WordPress theme normally constrains contact-page images on mobile; keep clone from widening viewport. */
@media (max-width: 640px) {
  img.scale-with-grid,
  .image_frame img.scale-with-grid {
    max-width: 100% !important;
    height: auto !important;
  }

  #Top_bar .menu li ul.sub-menu,
  #menu .menu li ul.sub-menu,
  .menu_wrapper .menu li ul.sub-menu {
    position: static !important;
    min-width: 0 !important;
    box-shadow: none !important;
  }
}


/* Review section placement/background fixes. Keep Trustindex cards white, but restore
   the Foran dark-brown band behind the entire testimonials section across service pages. */
.mcb-section-tekton-testimonials-heading,
.mcb-section-tekton-trustindex-reviews {
  background: #21170f !important;
}

.mcb-section-tekton-testimonials-heading {
  padding-top: 46px !important;
  padding-bottom: 8px !important;
}

.mcb-section-tekton-testimonials-heading h3,
.mcb-section-tekton-testimonials-heading .title {
  color: #ffffff !important;
}

.mcb-section-tekton-trustindex-reviews {
  padding-bottom: 58px !important;
}

.tekton-trustindex-frame {
  background: #21170f;
}

html:has(body.tekton-widget-embed),
body.tekton-widget-embed,
body.tekton-widget-embed #Wrapper,
body.tekton-widget-embed #Content,
body.tekton-widget-embed .mcb-section.the_content {
  background: #21170f !important;
}


/* Homepage review block stays white and has no separate title by request. */
.mcb-section-tekton-home-reviews {
  background: #ffffff !important;
  padding-top: 30px !important;
  padding-bottom: 20px !important;
}

.mcb-section-tekton-home-reviews .tekton-trustindex-frame {
  background: #ffffff;
  margin-bottom: 15px;
}

/* Homepage-only spacing: tighten the gap between reviews and the service cards. */
.mcb-section-4252f25d4 {
  padding-top: 38px !important;
}

/* Homepage-only spacing: tighten the lower page flow after removing company values. */
.mcb-section-33d00def0 {
  padding-top: 80px !important;
  padding-bottom: 25px !important;
}

.mcb-section-3d76c2d90 {
  padding-top: 18px !important;
  padding-bottom: 30px !important;
}

.mcb-section-3d76c2d90 .mcb-item-heading-inner h3 {
  margin-bottom: 18px !important;
}

.mcb-section-b072e52b3 {
  padding-top: 42px !important;
}

html:has(body.tekton-widget-embed-home),
body.tekton-widget-embed-home,
body.tekton-widget-embed-home #Wrapper,
body.tekton-widget-embed-home #Content,
body.tekton-widget-embed-home .mcb-section.the_content {
  background: #ffffff !important;
}

/* Static fallback for BeTheme accordions/FAQ modules. Source theme JS is stripped from
   the clone, so we provide the open/close behavior and visibility states here. */
.faq_wrapper .question,
.mfn-acc .question {
  cursor: pointer;
}

.faq_wrapper .question .answer[hidden],
.mfn-acc .question .answer[hidden] {
  display: none !important;
}

.faq_wrapper .question.active .answer,
.faq_wrapper .question.open .answer,
.mfn-acc .question.active .answer,
.mfn-acc .question.open .answer {
  display: block !important;
}

.faq_wrapper .question .acc-icon-minus,
.mfn-acc .question .acc-icon-minus {
  display: none;
}

.faq_wrapper .question.active .acc-icon-plus,
.faq_wrapper .question.open .acc-icon-plus,
.mfn-acc .question.active .acc-icon-plus,
.mfn-acc .question.open .acc-icon-plus {
  display: none;
}

.faq_wrapper .question.active .acc-icon-minus,
.faq_wrapper .question.open .acc-icon-minus,
.mfn-acc .question.active .acc-icon-minus,
.mfn-acc .question.open .acc-icon-minus {
  display: inline-block;
}

/* Trustindex reuse: non-testimonials pages embed the working testimonials page widget in a clean iframe. */
.tekton-trustindex-frame {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: 340px;
  margin: 0 auto 30px;
  border: 0;
  overflow: hidden;
}

body.tekton-widget-embed {
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.tekton-widget-embed #Header,
body.tekton-widget-embed #Footer,
body.tekton-widget-embed .section-page-footer,
body.tekton-widget-embed .mfn-main-slider,
body.tekton-widget-embed .mfn-builder-content,
body.tekton-widget-embed .fixed-nav,
body.tekton-widget-embed #Side_slide,
body.tekton-widget-embed #body_overlay,
body.tekton-widget-embed #back_to_top {
  display: none !important;
}

body.tekton-widget-embed #Content,
body.tekton-widget-embed .content_wrapper,
body.tekton-widget-embed .sections_group,
body.tekton-widget-embed .entry-content,
body.tekton-widget-embed .section_wrapper,
body.tekton-widget-embed .the_content_wrapper {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.tekton-widget-embed .entry-content > section:not(.the_content),
body.tekton-widget-embed .entry-content > div:not(.ti-widget) {
  display: none !important;
}

body.tekton-widget-embed .mcb-section.the_content {
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .tekton-trustindex-frame {
    height: 560px;
  }
}

/* Contact page Jobber embed: keep the form seated inside the cream card that overlaps the hero. */
body.page-id-15 .mcb-wrap-e2c56988c,
body.contact .mcb-wrap-e2c56988c {
  padding: 44px 5% 34px !important;
}

.foran-jobber-form-embed {
  display: block;
  width: 100%;
  min-height: 620px;
  margin: 0 auto;
  color: #21170f;
}

.foran-jobber-form-embed > div[id^="c25b03d1"] {
  width: 100%;
}

.foran-jobber-form-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

.foran-jobber-fallback {
  margin: 18px auto 0;
  padding: 20px;
  border: 1px solid rgba(139, 152, 74, .35);
  border-radius: 10px;
  background: #fffef0;
  color: #21170f;
  text-align: center;
}

.foran-jobber-fallback[hidden] {
  display: none !important;
}

.foran-jobber-fallback p {
  margin: 0 0 12px;
}

.foran-jobber-fallback p:last-child {
  margin-bottom: 0;
}

.foran-jobber-fallback .button {
  display: inline-block;
  margin: 0 12px 8px 0;
  padding: 10px 18px;
  border-radius: 4px;
  background: #8b984a;
  color: #ffffff !important;
  text-decoration: none;
}

.foran-jobber-fallback a[href^="tel:"] {
  font-weight: 700;
  color: #21170f !important;
}

@media (max-width: 767px) {
  html,
  body.page-id-15,
  body.contact {
    overflow-x: hidden !important;
  }

  body.page-id-15 .mcb-section-75cd37386 .section_wrapper,
  body.contact .mcb-section-75cd37386 .section_wrapper,
  body.page-id-15 .mcb-section-2d3a4a9db .section_wrapper,
  body.contact .mcb-section-2d3a4a9db .section_wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.page-id-15 .mcb-section-75cd37386 .mcb-wrap,
  body.contact .mcb-section-75cd37386 .mcb-wrap,
  body.page-id-15 .mcb-section-75cd37386 .column,
  body.contact .mcb-section-75cd37386 .column,
  body.page-id-15 .mcb-section-75cd37386 .mcb-column-inner,
  body.contact .mcb-section-75cd37386 .mcb-column-inner,
  body.page-id-15 .mcb-section-75cd37386 .column_attr,
  body.contact .mcb-section-75cd37386 .column_attr {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.page-id-15 .mcb-section-2d3a4a9db .section_wrapper,
  body.contact .mcb-section-2d3a4a9db .section_wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.page-id-15 .mcb-section-2d3a4a9db .mcb-wrap-0c2d8fd90,
  body.contact .mcb-section-2d3a4a9db .mcb-wrap-0c2d8fd90 {
    display: none !important;
  }

  body.page-id-15 .mcb-wrap-e2c56988c,
  body.contact .mcb-wrap-e2c56988c {
    float: none !important;
    clear: both !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: -60px auto 0 !important;
    padding: 28px 12px 24px !important;
    box-sizing: border-box !important;
  }

  .foran-jobber-form-embed {
    min-height: 720px;
    overflow: hidden;
  }

  body.page-id-15 .mcb-section-75cd37386 h1,
  body.contact .mcb-section-75cd37386 h1 {
    display: block !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 20px !important;
    line-height: 26px !important;
    padding: 0 16px !important;
    white-space: normal !important;
    overflow-wrap: normal;
  }

  body.page-id-15 .mcb-section-75cd37386 h2,
  body.contact .mcb-section-75cd37386 h2 {
    display: block !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 14px !important;
    line-height: 22px !important;
    padding: 0 18px !important;
    white-space: normal !important;
  }

  .foran-jobber-form-embed .jobber-flash {
    width: calc(100% - 24px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .foran-jobber-form-embed .jobber-inline-work-request,
  .foran-jobber-form-embed iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Static clone mobile side-slide menu. The original BeTheme JS was stripped, so the
   clone needs a lightweight opener/closer and submenu controls. */
#Side_slide {
  transition: right .25s ease, left .25s ease;
}

body.mobile-menu-open {
  overflow: hidden;
}

#Side_slide .menu_wrapper #menu {
  display: block !important;
  margin-bottom: 20px;
}

#Side_slide .menu_wrapper #menu ul.sub-menu {
  position: static !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: none !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
}

#Side_slide .menu_wrapper #menu li.hover > ul.sub-menu {
  display: block !important;
}

#Side_slide #menu ul li.submenu .menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  font-family: inherit;
  box-shadow: none !important;
}

#Side_slide #menu ul li.submenu .menu-toggle:focus-visible,
#Side_slide .close:focus-visible,
#Top_bar .responsive-menu-toggle:focus-visible {
  outline: 2px solid #fff200;
  outline-offset: 2px;
}
