/* PHIMAXX final OEM brand polish - unified production override */
:root{--phx-navy:#0A1F44;--phx-text:#0f172a;--phx-muted:#64748b;--phx-border:#e6ebf2;--phx-soft:#f6f8fc;--phx-card:#ffffff;--phx-orange:#ff9300;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',Arial,sans-serif!important;color:var(--phx-text)!important;background:#f6f8fc!important;font-size:14px!important;line-height:1.65!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
/* General typography - quiet industrial style */
h1,.hero h1,.phx-title,.page-title,.card h1,main h1,article h1{font-size:clamp(24px,3vw,34px)!important;line-height:1.24!important;font-weight:680!important;letter-spacing:-.025em!important;color:#0f172a!important;margin-top:0!important;}
h2,.section-title,.phx-section-title,.card h2,main h2,article h2{font-size:clamp(18px,2vw,24px)!important;line-height:1.35!important;font-weight:650!important;letter-spacing:-.01em!important;color:#0f172a!important;margin-top:30px!important;margin-bottom:10px!important;}
h3,.card h3,main h3,article h3{font-size:clamp(15px,1.35vw,18px)!important;line-height:1.42!important;font-weight:650!important;color:#0f172a!important;}
p,li,.sub,.lead,.phx-desc,.card p,.card li,main p,main li,article p,article li{font-size:15px!important;line-height:1.78!important;color:#334155!important;font-weight:400!important;}
small,.meta,.article-meta,.resource-meta,.caption,.breadcrumb{font-size:12.5px!important;line-height:1.6!important;color:#64748b!important;}
/* Article pages */
.phx-article-page main,.resources-page main,article,.article-body{max-width:760px!important;margin-left:auto!important;margin-right:auto!important;}
.phx-article-page .wrap,.resources-page .wrap{max-width:1040px!important;}
.phx-article-page .card,.resources-page .card,.article-card{padding:34px 38px!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(10,31,68,.055)!important;border:1px solid rgba(10,31,68,.10)!important;background:#fff!important;}
article h1,.phx-article-page h1{margin-bottom:14px!important;}
article h2,.phx-article-page h2{padding-top:4px!important;}
article ul,.phx-article-page ul{margin:8px 0 16px 20px!important;padding:0!important;}
article a,.phx-article-page a,.resources-page a{color:#0A1F44!important;text-decoration:none!important;font-weight:600!important;}
article a:hover,.phx-article-page a:hover,.resources-page a:hover{text-decoration:underline!important;}
.note,.callout,.mini-cta{background:#f8fafc!important;border:1px solid rgba(10,31,68,.08)!important;border-radius:16px!important;padding:16px 18px!important;}
/* Resources becomes knowledge-base style */
.resources-grid{gap:22px!important;}
.resource-card{padding:20px!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(10,31,68,.045)!important;}
.resource-title{font-size:15.5px!important;line-height:1.45!important;font-weight:650!important;}
.resource-title a{font-weight:650!important;color:#0f172a!important;}
.resource-link{font-size:13.5px!important;color:#0A1F44!important;font-weight:600!important;}
.hero,.resource-card,.sidebox,.card{border-color:rgba(10,31,68,.10)!important;}
/* Product and power supply pages: reduce landing-page feel */
.waterproof-power-supply h1,.waterproof-power-supply main h1,.waterproof-power-supply .hero h1{font-size:clamp(24px,3vw,34px)!important;}
.waterproof-power-supply h2,.waterproof-power-supply main h2{font-size:clamp(18px,2vw,24px)!important;}
.waterproof-power-supply .hero p,.waterproof-power-supply p{font-size:14.5px!important;line-height:1.72!important;}
/* Navigation */
.nav a,.top-nav a,.phx-menu a{font-size:13.5px!important;font-weight:650!important;}
/* Footer: force consistent footer even on older article files */
.phx-footer,.site-footer,footer,.phimaxx-footer{background:#0A1F44!important;color:#e5edf7!important;border-top:1px solid rgba(255,255,255,.08)!important;font-family:'Inter',Arial,sans-serif!important;margin-top:42px!important;}
.phx-footer a,.site-footer a,footer a,.phimaxx-footer a{color:#e5edf7!important;text-decoration:none!important;font-size:13.5px!important;font-weight:500!important;}
.phx-footer a:hover,.site-footer a:hover,footer a:hover,.phimaxx-footer a:hover{text-decoration:underline!important;}
.phx-footer-title,.footer-title,.phimaxx-footer-title{font-size:14px!important;font-weight:650!important;color:#fff!important;margin:0 0 10px!important;}
.phx-footer p,.phx-footer li,.site-footer p,.site-footer li,footer p,footer li,.phimaxx-footer p,.phimaxx-footer li{font-size:13px!important;line-height:1.65!important;color:#cbd5e1!important;}
.phx-footer img,.site-footer img,footer img,.phimaxx-footer img{max-width:160px;height:auto;}
.phx-footer-wrap,.phx-footer-inner,.footer-inner,.phimaxx-footer-inner{max-width:1120px!important;margin:0 auto!important;padding:34px 20px!important;}
.phx-footer-bottom,.footer-bottom{border-top:1px solid rgba(255,255,255,.10)!important;color:#aebfd2!important;}
/* Make accidental raw text footers less broken */
body > footer{display:block!important;}
@media(max-width:760px){
  body{font-size:14px!important;}
  h1,.hero h1,.phx-title,.page-title,.card h1,main h1,article h1{font-size:24px!important;line-height:1.28!important;}
  h2,.section-title,.phx-section-title,.card h2,main h2,article h2{font-size:18px!important;line-height:1.38!important;margin-top:24px!important;}
  p,li,.card p,.card li,main p,main li,article p,article li{font-size:14.5px!important;line-height:1.75!important;}
  .phx-article-page .card,.resources-page .card,.article-card{padding:24px 18px!important;border-radius:16px!important;}
  .wrap,.container{padding-left:16px!important;padding-right:16px!important;}
  .phx-footer-wrap,.phx-footer-inner,.footer-inner,.phimaxx-footer-inner{padding:28px 18px!important;display:block!important;text-align:left!important;}
}
