/* 
 Theme Name:   Aqua Pure Solutions LLC
 Theme URI:    https://aquapuresolutionsllc.com
 Description:  Child theme for Aqua Pure Solutions LLC
 Author:       Develop with Arslan
 Author URI:   https://developwitharslan.com
 Template:     generatepress
 Version:      1.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/
.header-logo{
    filter: contrast(0) brightness(10) invert(0);
}

.wpforms-field-label{
	font-family:Montserrat!important;
	font-size:14px!important;
font-weight:500!important;
}

.wpforms-submit {
	font-family:Montserrat!important;
	font-size:14px!important;
	font-weight:500!important;
	text-transform:uppercase!important;
	border-radius:5px!important;
	color:#fff!important;
	background:#262971!important;
	padding:15px 35px!important;
}

.wpforms-submit:hover {
	font-family:Montserrat!important;
	font-size:14px!important;
	font-weight:500!important;
	text-transform:uppercase!important;
	border-radius:5px!important;
	color:#fff!important;
	background:#2196F3!important;
	padding:15px 35px!important;
}
.wp-post-image, .featured-image{
display: none !important;
}

/* ================================================================
   Aqua Pure sitewide contrast and mobile safety baseline — 2026-09-01
   ================================================================ */

/* Dark footer content must remain readable regardless of Elementor inheritance. */
body:not(.ap-static-home) :where(footer,.site-footer,.elementor-location-footer,[data-elementor-type="footer"]){background:#080808!important;color:#d8d8d8!important}
body:not(.ap-static-home) :where(footer,.site-footer,.elementor-location-footer,[data-elementor-type="footer"]) :where(p,li,span,address,div:not([class*="button"])){color:#d8d8d8!important}
body:not(.ap-static-home) :where(footer,.site-footer,.elementor-location-footer,[data-elementor-type="footer"]) :where(a){color:#f2f2f2!important;text-decoration-color:#9a9a9a!important}
body:not(.ap-static-home) :where(footer,.site-footer,.elementor-location-footer,[data-elementor-type="footer"]) :where(h1,h2,h3,h4,h5,h6,strong,b,summary){color:#fff!important}
body:not(.ap-static-home) :where(footer,.site-footer,.elementor-location-footer,[data-elementor-type="footer"]) ::placeholder{color:#777!important;opacity:1!important}

/* Buttons and calls to action need explicit foreground/background pairs. */
body:not(.ap-static-home) :where(.elementor-button,.wpforms-submit,input[type="submit"],button[type="submit"],a.aqp-cta){background:#0a0a0a!important;background-image:none!important;color:#fff!important;border:1px solid #0a0a0a!important;text-shadow:none!important}
body:not(.ap-static-home) :where(.elementor-button,.wpforms-submit,input[type="submit"],button[type="submit"],a.aqp-cta):hover{background:#303030!important;color:#fff!important;border-color:#303030!important}
body:not(.ap-static-home) :where(.elementor-button,.wpforms-submit,input[type="submit"],button[type="submit"],a.aqp-cta) :where(span,strong){color:#fff!important}
body:not(.ap-static-home) a[href^="tel:"]{text-decoration-thickness:1px}
body.aqp-premium-page .aqp-premium-copy a,
body.aqp-premium-page .aqp-premium-copy a[href^="tel:"]{color:#fff!important}

/* Premium dark review components need light text at every nesting level. */
body:not(.ap-static-home) :where(#aqp-premium-review-jumbo,#aqp-premium-reviews-live){background:#0b0b0b!important;color:#fff!important}
body:not(.ap-static-home) :where(#aqp-premium-review-jumbo,#aqp-premium-reviews-live) :where(h1,h2,h3,h4,strong,blockquote,cite,p,span,a){color:#f3f3f3!important}
body:not(.ap-static-home) :where(#aqp-premium-review-jumbo,#aqp-premium-reviews-live) :where(.aqp-review-source,.aqp-card span,.aqp-eye){color:#c9c9c9!important}
body:not(.ap-static-home) :where(#aqp-premium-review-jumbo,#aqp-premium-reviews-live) :where(.aqp-stars,.aqp-review-stars){color:#fff!important}
body:not(.ap-static-home) :where(#aqp-premium-review-jumbo,#aqp-premium-reviews-live) :where(.aqp-cta,.aqp-review-link){background:#fff!important;color:#0a0a0a!important;border-color:#fff!important}

/* Forms become self-contained white cards with readable controls. */
body:not(.ap-static-home) .wpforms-container .wpforms-form{background:#fff!important;color:#111!important;padding:clamp(18px,4vw,30px)!important;border:1px solid #d5d5d5!important;border-radius:4px!important;overflow:visible!important}
body:not(.ap-static-home) .wpforms-container :where(.wpforms-field-label,.wpforms-field-sublabel,label,legend,.wpforms-field-description){color:#161616!important}
body:not(.ap-static-home) .wpforms-container :where(input:not([type="submit"]),textarea,select){display:block!important;width:100%!important;max-width:100%!important;background:#fff!important;color:#111!important;border:1px solid #777!important;box-shadow:none!important}
body:not(.ap-static-home) .wpforms-container :where(input,textarea)::placeholder{color:#666!important;opacity:1!important}
body:not(.ap-static-home) .wpforms-container .wpforms-field{clear:both!important;width:100%!important;max-width:100%!important;margin:0 0 16px!important;overflow:visible!important}
body:not(.ap-static-home) .wpforms-container .wpforms-submit-container{clear:both!important;display:block!important;width:100%!important;margin-top:22px!important;padding-top:0!important;position:relative!important;z-index:1!important}
body:not(.ap-static-home) .wpforms-container .wpforms-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;margin:0!important}
body:not(.ap-static-home) .wpforms-container .wpforms-recaptcha-container,
body:not(.ap-static-home) .wpforms-container .g-recaptcha{clear:both!important;display:block!important;max-width:100%!important;margin:14px 0 20px!important;position:relative!important;z-index:1!important;overflow:hidden!important}

/* Premium page blocks should never inherit invisible text or overlap their media. */
body.aqp-premium-page .aqp-premium-hero{isolation:isolate!important;overflow:visible!important}
body.aqp-premium-page .aqp-premium-copy{background:#101010!important;color:#fff!important}
body.aqp-premium-page .aqp-premium-title,
body.aqp-premium-page .aqp-premium-copy :where(h1,h2,h3,strong){color:#fff!important}
body.aqp-premium-page .aqp-premium-body,
body.aqp-premium-page .aqp-premium-copy p{color:#dedede!important}
body.aqp-premium-page .aqp-premium-kicker{color:#c8c8c8!important}
body.aqp-premium-page .aqp-premium-media{background:#ededeb!important;color:#111!important;overflow:hidden!important}
body.aqp-premium-page .aqp-premium-media-card{background:#e2e2df!important;overflow:hidden!important}
body.aqp-premium-page .aqp-premium-media-card :where(img,video){display:block!important;max-width:100%!important;object-fit:contain!important}
body.aqp-premium-page .aqp-premium-block{clear:both!important;position:relative!important;z-index:1!important}
body.aqp-premium-page .aqp-premium-btn-primary{background:#fff!important;color:#0a0a0a!important;border-color:#fff!important}
body.aqp-premium-page .aqp-premium-btn-secondary{background:transparent!important;color:#fff!important;border-color:#aaa!important}
body.aqp-premium-page .aqp-premium-btn :where(span,strong){color:inherit!important}

/* Preserve content width and avoid clipped columns on phones. */
@media (max-width: 767px){
  body:not(.ap-static-home){overflow-x:hidden!important}
  body:not(.ap-static-home) :where(#page,#content,.site-content,.content-area,.site-main,.inside-article,.entry-content,.elementor,.elementor-section,.elementor-container,.e-con,.e-con-inner){max-width:100%!important}
  body:not(.ap-static-home) :where(.elementor-column,.elementor-col-20,.elementor-col-25,.elementor-col-33,.elementor-col-50,.elementor-col-66,.elementor-col-75,.elementor-col-100){width:100%!important;max-width:100%!important}
  body:not(.ap-static-home) .elementor-nav-menu--main{display:none!important}
  body:not(.ap-static-home) .elementor-menu-toggle{display:flex!important;color:#fff!important;background:#111!important;border:1px solid #777!important;align-items:center!important;justify-content:center!important}
  body:not(.ap-static-home) .elementor-nav-menu--dropdown{width:min(340px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;left:auto!important;right:0!important;background:#111!important;z-index:9999!important}
  body:not(.ap-static-home) .elementor-nav-menu--dropdown :where(a,span){color:#fff!important}
  body:not(.ap-static-home) .elementor-nav-menu--dropdown a{border-bottom:1px solid #333!important}
  body.aqp-premium-page .aqp-premium-hero{display:grid!important;grid-template-columns:1fr!important;gap:24px!important;margin:24px auto 34px!important;padding:0 14px!important;max-width:100%!important}
  body.aqp-premium-page .aqp-premium-copy,
  body.aqp-premium-page .aqp-premium-media{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}
  body.aqp-premium-page .aqp-premium-copy{padding:26px 20px!important}
  body.aqp-premium-page .aqp-premium-title{font-size:clamp(2.35rem,11vw,3.2rem)!important;line-height:1!important;margin:0 0 16px!important}
  body.aqp-premium-page .aqp-premium-media-card{min-height:0!important;max-height:420px!important}
  body.aqp-premium-page .aqp-premium-media-card :where(img,video){width:100%!important;height:auto!important;max-height:420px!important;min-height:0!important;object-fit:contain!important;position:static!important;transform:none!important}
  body.aqp-premium-page .aqp-premium-secondary{grid-template-columns:1fr!important}
  body.aqp-premium-page .aqp-premium-block{width:100%!important;max-width:100%!important;margin:0 auto!important;padding-left:16px!important;padding-right:16px!important;overflow:visible!important}
  body:not(.ap-static-home) .wpforms-container .wpforms-form{padding:18px!important}
  body:not(.ap-static-home) .wpforms-container .g-recaptcha>div{transform:scale(.86)!important;transform-origin:left top!important}
  body:not(.ap-static-home) #aqp-launcher{display:none!important}
}

/* Final high-specificity contrast enforcement for late Elementor styles. */
html body:not(.ap-static-home) footer,
html body:not(.ap-static-home) .site-footer,
html body:not(.ap-static-home) .elementor-location-footer,
html body:not(.ap-static-home) [data-elementor-type="footer"]{background:#080808!important;color:#e0e0e0!important}
html body:not(.ap-static-home) footer :is(p,li,span,address,div),
html body:not(.ap-static-home) .site-footer :is(p,li,span,address,div),
html body:not(.ap-static-home) .elementor-location-footer :is(p,li,span,address,div),
html body:not(.ap-static-home) [data-elementor-type="footer"] :is(p,li,span,address,div){color:#e0e0e0!important}
html body:not(.ap-static-home) footer :is(a,h1,h2,h3,h4,h5,h6,strong,b,summary),
html body:not(.ap-static-home) .site-footer :is(a,h1,h2,h3,h4,h5,h6,strong,b,summary),
html body:not(.ap-static-home) .elementor-location-footer :is(a,h1,h2,h3,h4,h5,h6,strong,b,summary),
html body:not(.ap-static-home) [data-elementor-type="footer"] :is(a,h1,h2,h3,h4,h5,h6,strong,b,summary){color:#fff!important}
html body:not(.ap-static-home) #aqp-premium-review-jumbo :is(p,blockquote,cite,span,h2,strong),
html body:not(.ap-static-home) #aqp-premium-reviews-live :is(p,blockquote,cite,span,h2,strong){color:#f5f5f5!important}
html body:not(.ap-static-home) #aqp-premium-review-jumbo :is(.aqp-review-source,.aqp-card span,.aqp-eye),
html body:not(.ap-static-home) #aqp-premium-reviews-live :is(.aqp-review-source,.aqp-card span,.aqp-eye){color:#d0d0d0!important}
html body:not(.ap-static-home) a[href^="tel:"]{color:inherit!important;font-weight:700!important}
html body:not(.ap-static-home) .wpforms-container button.wpforms-submit,
html body:not(.ap-static-home) .wpforms-container input[type="submit"]{background:#080808!important;color:#fff!important;border-color:#080808!important}
html body:not(.ap-static-home) .wpforms-container button.wpforms-submit :is(span,strong){color:#fff!important}

@media (max-width:767px){
 html body:not(.ap-static-home) .elementor-widget-nav-menu nav.elementor-nav-menu--main,
 html body:not(.ap-static-home) nav.elementor-nav-menu--main{display:none!important;visibility:hidden!important}
 html body:not(.ap-static-home) .elementor-widget-nav-menu .elementor-menu-toggle{display:flex!important;visibility:visible!important}
 html body:not(.ap-static-home) .elementor-location-header,
 html body:not(.ap-static-home) [data-elementor-type="header"]{position:relative!important;inset:auto!important;transform:none!important;z-index:100!important}
 html body:not(.ap-static-home) main,
 html body:not(.ap-static-home) .site-main{padding-top:0!important;margin-top:0!important;clear:both!important}
 html body:not(.ap-static-home) .wpforms-container :is(.wpforms-recaptcha-container,.g-recaptcha,.wpforms-submit-container){float:none!important;clear:both!important;position:relative!important;inset:auto!important;transform:none!important}
 html body:not(.ap-static-home) .wpforms-container :is(.wpforms-recaptcha-container,.g-recaptcha){margin-bottom:22px!important}
 html body:not(.ap-static-home) footer,
 html body:not(.ap-static-home) .site-footer,
 html body:not(.ap-static-home) .elementor-location-footer,
 html body:not(.ap-static-home) [data-elementor-type="footer"]{overflow:hidden!important}
 html body:not(.ap-static-home) footer :is(.elementor-container,.e-con,.e-con-inner,.elementor-column),
 html body:not(.ap-static-home) .elementor-location-footer :is(.elementor-container,.e-con,.e-con-inner,.elementor-column){width:100%!important;max-width:100%!important;position:relative!important;inset:auto!important;transform:none!important}
}
