/* ======================================================
   AMERICAN REMODEL - ACTIVE PAGES V2
   Scope: child theme only. No BeTheme parent, DB or RevSlider edits.
   Pages: home, claim, winners, contact, panel, shortcode.
====================================================== */

body.kh-american-remodel{
  --ap-navy:#05152b;
  --ap-navy-2:#08264b;
  --ap-blue:#0b5fc7;
  --ap-blue-2:#1592ff;
  --ap-sky:#73d7ff;
  --ap-ice:#edf7ff;
  --ap-ice-2:#f7fbff;
  --ap-text:#10243d;
  --ap-muted:#5f7189;
  --ap-line:rgba(11,95,199,.14);
  --ap-line-2:rgba(11,95,199,.22);
  --ap-shadow:0 24px 70px rgba(5,21,43,.14);
  --ap-shadow-lg:0 38px 110px rgba(5,21,43,.22);
  --ap-radius:30px;
  --ap-radius-lg:46px;
  background:
    radial-gradient(circle at 10% 4%,rgba(21,146,255,.18),transparent 30%),
    radial-gradient(circle at 92% 24%,rgba(115,215,255,.14),transparent 28%),
    linear-gradient(180deg,#fff 0%,#f1f8ff 44%,#e6f2ff 100%) !important;
}

body.kh-american-remodel #Wrapper,
body.kh-american-remodel #Content,
body.kh-american-remodel .mfn-builder-content{
  background:transparent !important;
}

body.kh-american-remodel:not(.woocommerce-shop):not(.woocommerce-page) #Content{
  position:relative;
  overflow:hidden;
}

body.kh-american-remodel:not(.woocommerce-shop):not(.woocommerce-page) #Content:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(11,95,199,.04) 0 25%,transparent 25% 100%),
    radial-gradient(circle at 88% 18%,rgba(21,146,255,.10),transparent 30%);
  z-index:0;
}

body.kh-american-remodel .sections_group{
  position:relative;
  z-index:1;
}

/* Header */
body.kh-american-remodel #Top_bar,
body.kh-american-remodel #Top_bar.is-sticky{
  min-height:82px !important;
  background:rgba(255,255,255,.91) !important;
  border-bottom:1px solid rgba(11,95,199,.13) !important;
  box-shadow:0 18px 55px rgba(5,21,43,.11) !important;
  backdrop-filter:blur(20px);
}

body.kh-american-remodel #Top_bar .container{
  max-width:1240px !important;
}

body.kh-american-remodel #Top_bar .top_bar_left{
  display:flex !important;
  align-items:center !important;
}

body.kh-american-remodel #Top_bar .logo{
  display:flex !important;
  align-items:center !important;
  min-height:82px !important;
}

body.kh-american-remodel #Top_bar #logo{
  display:flex !important;
  align-items:center !important;
  height:auto !important;
  line-height:1 !important;
  padding:10px 0 !important;
}

body.kh-american-remodel #Top_bar #logo img.logo-main,
body.kh-american-remodel #Top_bar #logo img.logo-sticky{
  max-height:62px !important;
  width:auto !important;
}

body.kh-american-remodel #Top_bar .menu > li > a{
  padding:22px 0 !important;
}

body.kh-american-remodel #Top_bar .menu > li > a span{
  line-height:36px !important;
  padding:0 15px !important;
  border-radius:999px !important;
  color:var(--ap-navy) !important;
  font-weight:900 !important;
}

body.kh-american-remodel #Top_bar .menu > li.current-menu-item > a span,
body.kh-american-remodel #Top_bar .menu > li.current_page_item > a span,
body.kh-american-remodel #Top_bar .menu > li > a:hover span{
  color:var(--ap-blue) !important;
  background:rgba(11,95,199,.08) !important;
}

body.kh-american-remodel #Top_bar .top-bar-right-icon{
  width:44px !important;
  height:44px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.9) !important;
  border:1px solid var(--ap-line) !important;
}

/* Home hero: external styling over RevSlider instance only */
body.home.kh-american-remodel #SR7_22_1{
  min-height:min(860px,88vh) !important;
  border-radius:0 0 var(--ap-radius-lg) var(--ap-radius-lg) !important;
  background:
    linear-gradient(135deg,var(--ap-navy) 0%,var(--ap-navy-2) 45%,var(--ap-blue) 100%) !important;
  box-shadow:var(--ap-shadow-lg) !important;
}

body.home.kh-american-remodel #SR7_22_1:before{
  background:
    linear-gradient(90deg,rgba(5,21,43,.88),rgba(8,38,75,.62) 48%,rgba(11,95,199,.20)),
    radial-gradient(circle at 18% 82%,rgba(115,215,255,.18),transparent 32%) !important;
}

body.home.kh-american-remodel #SR7_22_1:after{
  border-radius:0 !important;
  width:min(54vw,640px) !important;
  height:min(54vw,640px) !important;
  right:-8vw !important;
  bottom:-18vw !important;
  clip-path:polygon(18% 0,100% 10%,78% 100%,0 74%);
  background:linear-gradient(135deg,rgba(115,215,255,.26),rgba(255,255,255,.05)) !important;
}

body.home.kh-american-remodel #SR7_22_1 sr7-txt{
  text-shadow:0 24px 60px rgba(0,0,0,.42) !important;
}

body.home.kh-american-remodel #SR7_22_1 sr7-txt[id$="-4"]{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  letter-spacing:.01em !important;
}

body.home.kh-american-remodel #SR7_22_1 sr7-txt[id$="-1"]{
  color:var(--ap-sky) !important;
  -webkit-text-fill-color:var(--ap-sky) !important;
}

/* Muffin Builder common layout */
body.kh-american-remodel:not(.woocommerce-shop) .mcb-section{
  isolation:isolate;
}

body.kh-american-remodel:not(.woocommerce-shop) .mcb-section:not(.the_content):not(.section-page-footer){
  padding-top:clamp(58px,7vw,104px) !important;
  padding-bottom:clamp(58px,7vw,104px) !important;
}

body.kh-american-remodel .section_wrapper{
  max-width:1210px !important;
}

body.kh-american-remodel .mcb-section .wrap > .mcb-wrap-inner,
body.kh-american-remodel .mcb-column-inner{
  border-radius:var(--ap-radius) !important;
}

body.kh-american-remodel:not(.woocommerce-shop) .mfn-icon-box,
body.kh-american-remodel:not(.woocommerce-shop) .icon_box,
body.kh-american-remodel:not(.woocommerce-shop) .feature_box,
body.kh-american-remodel:not(.woocommerce-shop) .promo_box,
body.kh-american-remodel:not(.woocommerce-shop) .trailer_box,
body.kh-american-remodel:not(.woocommerce-shop) .column_image .image_frame,
body.kh-american-remodel:not(.woocommerce-shop) .wpcf7,
body.kh-american-remodel:not(.woocommerce-shop) form.wpcf7-form{
  border:1px solid var(--ap-line) !important;
  border-left:1px solid var(--ap-line) !important;
  border-radius:var(--ap-radius) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,251,255,.94)) !important;
  box-shadow:var(--ap-shadow) !important;
}

body.kh-american-remodel .mfn-icon-box:before,
body.kh-american-remodel .icon_box:before,
body.kh-american-remodel .feature_box:before,
body.kh-american-remodel .promo_box:before,
body.kh-american-remodel .trailer_box:before{
  display:none !important;
  content:none !important;
}

body.kh-american-remodel .mfn-icon-box:hover,
body.kh-american-remodel .icon_box:hover,
body.kh-american-remodel .feature_box:hover,
body.kh-american-remodel .promo_box:hover,
body.kh-american-remodel .trailer_box:hover,
body.kh-american-remodel .image_frame:hover{
  transform:translateY(-7px) !important;
  box-shadow:0 34px 100px rgba(5,21,43,.19) !important;
}

body.kh-american-remodel h1,
body.kh-american-remodel h2,
body.kh-american-remodel h3,
body.kh-american-remodel .title{
  color:var(--ap-navy) !important;
  font-weight:950 !important;
  letter-spacing:-.035em !important;
}

body.kh-american-remodel p,
body.kh-american-remodel .desc{
  color:var(--ap-muted) !important;
}

body.kh-american-remodel a.button,
body.kh-american-remodel .button,
body.kh-american-remodel input[type="submit"],
body.kh-american-remodel button:not(.pswp__button):not(.mfp-close){
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:linear-gradient(135deg,var(--ap-blue),var(--ap-blue-2)) !important;
  color:#fff !important;
  font-weight:950 !important;
  box-shadow:0 22px 52px rgba(11,95,199,.27) !important;
}

body.kh-american-remodel a.button:hover,
body.kh-american-remodel .button:hover,
body.kh-american-remodel input[type="submit"]:hover,
body.kh-american-remodel button:not(.pswp__button):not(.mfp-close):hover{
  background:linear-gradient(135deg,var(--ap-navy),var(--ap-blue)) !important;
}

/* Page-specific remodeling */
body.home.kh-american-remodel .mcb-section-rrcpedqt4,
body.home.kh-american-remodel .mcb-section-5fb9igngu,
body.home.kh-american-remodel .mcb-section-mq8fn9sh,
body.home.kh-american-remodel .mcb-section-0ewiqow9{
  background:
    radial-gradient(circle at 90% 10%,rgba(115,215,255,.14),transparent 26%),
    linear-gradient(180deg,rgba(255,255,255,.82),rgba(237,247,255,.78)) !important;
}

body.home.kh-american-remodel .mcb-section-zkst3gvo .section_wrapper,
body.page-id-112.kh-american-remodel .mcb-section-zkst3gvo .section_wrapper{
  max-width:1120px !important;
}

body.page-id-112.kh-american-remodel .mcb-section-b1i0m3zub{
  border-radius:0 0 var(--ap-radius-lg) var(--ap-radius-lg) !important;
}

body.page-id-112.kh-american-remodel .mcb-section-bhowf3oa2 .title{
  display:inline-flex !important;
  padding:14px 24px !important;
  border-radius:999px !important;
  background:rgba(11,95,199,.09) !important;
  color:var(--ap-blue) !important;
}

body.page-id-112.kh-american-remodel .mcb-section-zkst3gvo .mcb-wrap{
  border-radius:34px !important;
}

body.page-id-16.kh-american-remodel .mcb-section-q73fo0hgn .mcb-wrap-inner,
body.page-id-16.kh-american-remodel .mcb-section-z67q9yde9 .mcb-wrap-inner{
  padding:clamp(10px,2vw,22px) !important;
}

body.page-id-16.kh-american-remodel .wpcf7{
  max-width:820px;
  margin-inline:auto;
}

body.page-id-198.kh-american-remodel #Subheader,
body.page-id-210.kh-american-remodel #Subheader,
body.page-id-354.kh-american-remodel #Subheader{
  border-radius:0 0 var(--ap-radius-lg) var(--ap-radius-lg) !important;
}

body.page-id-198.kh-american-remodel .the_content_wrapper,
body.page-id-210.kh-american-remodel .the_content_wrapper,
body.page-id-354.kh-american-remodel .the_content_wrapper{
  position:relative;
  overflow:hidden;
}

body.page-id-198.kh-american-remodel .the_content_wrapper:before,
body.page-id-210.kh-american-remodel .the_content_wrapper:before,
body.page-id-354.kh-american-remodel .the_content_wrapper:before{
  content:"";
  position:absolute;
  inset:auto -110px -160px auto;
  width:360px;
  height:360px;
  background:radial-gradient(circle,rgba(21,146,255,.18),transparent 70%);
  pointer-events:none;
}

body.page-id-210.kh-american-remodel .the_content_wrapper,
body.page-id-354.kh-american-remodel .the_content_wrapper{
  min-height:260px !important;
}

/* Footer */
body.kh-american-remodel #mfn-footer-template,
body.kh-american-remodel .mfn-footer-tmpl,
body.kh-american-remodel #Footer{
  background:
    radial-gradient(circle at 12% 8%,rgba(115,215,255,.16),transparent 28%),
    linear-gradient(135deg,var(--ap-navy),#020b17 72%) !important;
}

body.kh-american-remodel #mfn-footer-template .section_wrapper{
  max-width:1180px !important;
}

body.kh-american-remodel #mfn-footer-template .mcb-wrap-inner,
body.kh-american-remodel #mfn-footer-template .mcb-column-inner{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.kh-american-remodel #mfn-footer-template .title,
body.kh-american-remodel #mfn-footer-template h1,
body.kh-american-remodel #mfn-footer-template h2,
body.kh-american-remodel #mfn-footer-template h3,
body.kh-american-remodel #mfn-footer-template h4{
  color:#fff !important;
}

body.kh-american-remodel #mfn-footer-template .desc,
body.kh-american-remodel #mfn-footer-template p{
  color:#d8e9fb !important;
}

body.kh-american-remodel #mfn-footer-template a{
  color:#fff !important;
}

/* WooCommerce: keep alive, do not redesign focus */
body.kh-american-remodel.woocommerce-page .woocommerce,
body.kh-american-remodel.woocommerce-shop .woocommerce{
  clear:both;
}

@media(max-width:767px){
  body.kh-american-remodel #Wrapper{
    max-width:100% !important;
  }

  body.kh-american-remodel #Top_bar,
  body.kh-american-remodel #Top_bar.is-sticky{
    min-height:64px !important;
  }

  body.kh-american-remodel #Top_bar .logo{
    min-height:64px !important;
  }

  body.kh-american-remodel #Top_bar #logo img.logo-main,
  body.kh-american-remodel #Top_bar #logo img.logo-sticky,
  body.kh-american-remodel #Top_bar #logo img.logo-mobile,
  body.kh-american-remodel #Top_bar #logo img.logo-mobile-sticky{
    max-height:46px !important;
  }

  body.home.kh-american-remodel #SR7_22_1{
    min-height:720px !important;
    border-radius:0 0 30px 30px !important;
  }

  body.kh-american-remodel:not(.woocommerce-shop) .mcb-section:not(.the_content):not(.section-page-footer){
    padding-top:44px !important;
    padding-bottom:44px !important;
  }

  body.kh-american-remodel .section_wrapper,
  body.kh-american-remodel .container{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  body.kh-american-remodel h1{
    font-size:36px !important;
    line-height:1.08 !important;
  }

  body.kh-american-remodel h2{
    font-size:29px !important;
    line-height:1.12 !important;
  }

  body.page-id-198.kh-american-remodel .the_content_wrapper,
  body.page-id-210.kh-american-remodel .the_content_wrapper,
  body.page-id-354.kh-american-remodel .the_content_wrapper{
    min-height:200px !important;
    border-radius:24px !important;
    padding:24px !important;
  }
}
