/* PHIMAXX final production fix: readability, footer, resources consistency */
:root{--phx-navy:#0A1F44;--phx-text:#0f172a;--phx-muted:#64748b;--phx-border:#e5eaf1;--phx-soft:#f6f8fc;--phx-orange:#ff9300;}
body{font-family:Inter,Arial,sans-serif!important;color:var(--phx-text)!important;background:#f6f8fc!important;-webkit-font-smoothing:antialiased!important;text-rendering:optimizeLegibility!important;}
/* Homepage hero: keep copy readable on image */
.phx-hero-overlay{background:linear-gradient(90deg,rgba(8,18,39,.72) 0%,rgba(8,18,39,.58) 42%,rgba(8,18,39,.24) 72%,rgba(8,18,39,.14) 100%)!important;}
.phx-hero-content,.phx-hero-content *{color:#fff!important;}
.phx-hero-content h1{font-size:clamp(28px,3.1vw,38px)!important;line-height:1.14!important;font-weight:720!important;letter-spacing:-.025em!important;color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.38)!important;max-width:560px!important;}
.phx-hero-content p{font-size:14.5px!important;line-height:1.68!important;color:rgba(255,255,255,.92)!important;text-shadow:0 1px 8px rgba(0,0,0,.3)!important;max-width:520px!important;}
.phx-hero-actions .primary{background:#ff9300!important;color:#0A1F44!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important;}
.phx-hero-actions .secondary{color:#fff!important;border-color:rgba(255,255,255,.34)!important;}
/* Typography: quiet industrial level */
h1,.page-title,.hero h1,main h1,article h1{font-size:clamp(24px,2.7vw,34px)!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.02em!important;color:#0f172a!important;}
h2,.section-title,main h2,article h2{font-size:clamp(18px,1.8vw,24px)!important;line-height:1.35!important;font-weight:680!important;letter-spacing:-.01em!important;color:#0f172a!important;}
h3,main h3,article h3{font-size:clamp(15px,1.25vw,18px)!important;line-height:1.42!important;font-weight:650!important;color:#0f172a!important;}
p,li,main p,main li,article p,article li{font-size:15px!important;line-height:1.75!important;color:#334155!important;}
/* Article pages */
body.phx-article-page .wrap{max-width:980px!important;margin:0 auto!important;padding:34px 20px 54px!important;}
body.phx-article-page .card{max-width:820px!important;margin:0 auto!important;background:#fff!important;border:1px solid rgba(10,31,68,.10)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(10,31,68,.055)!important;padding:32px 38px!important;}
body.phx-article-page .card h1,body.phx-article-page article h1{font-size:clamp(25px,2.6vw,32px)!important;line-height:1.27!important;font-weight:700!important;color:#0f172a!important;margin:14px 0 16px!important;}
body.phx-article-page .card h2,body.phx-article-page article h2{font-size:clamp(18px,1.8vw,22px)!important;line-height:1.36!important;font-weight:680!important;margin:26px 0 10px!important;color:#0f172a!important;}
body.phx-article-page .card p,body.phx-article-page .card li,body.phx-article-page article p,body.phx-article-page article li{font-size:15px!important;line-height:1.78!important;color:#334155!important;}
body.phx-article-page .breadcrumb,body.phx-article-page .meta{font-size:13px!important;color:#64748b!important;line-height:1.6!important;}
/* Resources page: uniform knowledge-base list, no random image heights */
body.resources-page .wrap,.resources-page .wrap{max-width:1040px!important;margin:0 auto!important;padding:30px 20px 48px!important;}
.resources-grid{display:block!important;max-width:860px!important;margin:24px auto 0!important;}
.resources-grid .list,.list{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;}
.resource-card{width:100%!important;max-width:none!important;margin:0!important;background:#fff!important;border:1px solid rgba(10,31,68,.10)!important;border-radius:18px!important;padding:22px 26px!important;box-shadow:0 10px 22px rgba(10,31,68,.05)!important;}
.resource-thumb{display:none!important;}
.resource-meta{font-size:13px!important;line-height:1.6!important;color:#64748b!important;margin-bottom:8px!important;}
.resource-title{font-size:17px!important;line-height:1.4!important;margin:0 0 8px!important;}
.resource-title a{font-size:17px!important;line-height:1.4!important;color:#0f172a!important;font-weight:680!important;text-decoration:none!important;}
.resource-card p,.resource-card .summary,.resource-card .excerpt{font-size:14.5px!important;line-height:1.7!important;color:#475569!important;margin:0 0 10px!important;}
.resource-link{font-size:14px!important;color:#0A1F44!important;font-weight:650!important;text-decoration:none!important;}
.sidebox{display:none!important;}
/* Footer: light, readable, consistent across all pages */
.phx-footer,.site-footer,footer.phx-footer{background:#fff!important;color:#0f172a!important;border-top:1px solid #e6eaf1!important;margin-top:44px!important;font-family:Inter,Arial,sans-serif!important;}
.phx-footer:before{display:none!important;}
.phx-footer-wrap,.phx-footer-inner,.footer-inner{max-width:1120px!important;margin:0 auto!important;padding:34px 20px 28px!important;display:grid!important;grid-template-columns:1.15fr .85fr 1.25fr!important;gap:40px!important;align-items:start!important;}
.phx-footer-brand img{height:54px!important;width:auto!important;max-width:none!important;margin:0 0 16px!important;display:block!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
.phx-footer-tagline{font-size:14.5px!important;line-height:1.7!important;color:#475569!important;max-width:330px!important;margin:0!important;}
.phx-footer-title{font-size:15.5px!important;line-height:1.35!important;font-weight:680!important;color:#0f172a!important;margin:0 0 14px!important;}
.phx-footer-links ul{list-style:none!important;padding:0!important;margin:0!important;display:grid!important;gap:9px!important;}
.phx-footer-links li{list-style:none!important;margin:0!important;padding:0!important;}
.phx-footer a,.phx-footer-links a,.phx-footer-contact a{font-size:14.5px!important;line-height:1.65!important;color:#334155!important;text-decoration:none!important;font-weight:500!important;}
.phx-footer a:hover{text-decoration:underline!important;color:#0A1F44!important;}
.phx-footer-company,.phx-footer-email,.phx-footer-address,.phx-footer-connect{font-size:14px!important;line-height:1.65!important;color:#475569!important;margin:0 0 9px!important;}
.phx-footer-email a{color:#0f172a!important;font-weight:650!important;}
.phx-footer-address strong,.phx-footer-contact strong{color:#0f172a!important;font-weight:680!important;}
.phx-footer-social{display:flex!important;align-items:center!important;gap:10px!important;margin:10px 0 0!important;}
.phx-footer-social a{width:32px!important;height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;overflow:hidden!important;}
.phx-footer-social img{width:32px!important;height:32px!important;object-fit:contain!important;border:0!important;box-shadow:none!important;border-radius:999px!important;}
.phx-footer-bottom,.footer-bottom{background:#fff!important;border-top:1px solid #e6eaf1!important;color:#64748b!important;}
.phx-footer-bottom-inner{max-width:1120px!important;margin:0 auto!important;padding:14px 20px 18px!important;font-size:12.5px!important;line-height:1.6!important;color:#64748b!important;}
@media(max-width:860px){
 .phx-footer-wrap,.phx-footer-inner,.footer-inner{grid-template-columns:1fr!important;gap:24px!important;padding:28px 18px!important;}
 body.phx-article-page .card{padding:24px 18px!important;}
 .resource-card{padding:20px!important;}
 .resource-title,.resource-title a{font-size:16px!important;}
 .phx-hero-slider{min-height:430px!important;}
 .phx-hero-content h1{font-size:28px!important;}
}
