/* PHIMAXX site patches */


/* ===== Solutions Page: View solution link normalization ===== */
/* Only affects Industry Solutions cards */
.solutions-grid .solution-card .view-solution,
.solutions-grid .card .view-solution,
.solutions-grid a.view-solution {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.solutions-grid .solution-card .view-solution:hover,
.solutions-grid .card .view-solution:hover,
.solutions-grid a.view-solution:hover {
  color: #111827;
  text-decoration: underline;
}


/* ===== Solution Detail Page Typography Normalization ===== */
/* Applies ONLY to solution detail pages */
.solution-detail h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
}
.solution-detail .solution-intro,
.solution-detail .solution-description,
.solution-detail > p {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  max-width: 880px;
}
.solution-detail h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.solution-detail h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}
.solution-detail p,
.solution-detail li {
  font-size: 14px;
  line-height: 1.6;
}
.solution-detail .solution-actions {
  margin-top: 18px;
}


/* PM Gallery */
/* Shared gallery styles (PM + MS). PM pages use the same class names as MS pages. */
.gallery{margin-top:10px}
.galleryMain{background:#fff;border:1px solid var(--line,#e7e7ea);border-radius:14px;display:flex;align-items:center;justify-content:center;min-height:240px;max-height:420px;overflow:hidden}
.galleryMain img{max-width:100%;max-height:380px;object-fit:contain;object-position:center;display:block}
.thumbRow{display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap;margin-top:12px}
.thumb{border:1px solid var(--line,#e7e7ea);background:#fff;border-radius:12px;padding:6px;cursor:pointer}
.thumb img{width:110px;height:78px;object-fit:cover;border-radius:8px;display:block}
.thumb.active{outline:2px solid rgba(124,58,237,.55);border-color:rgba(124,58,237,.55)}
/* Make PM media card layout clean */
.media-grid{display:grid;grid-template-columns:1fr;gap:18px}


/* PM gallery sizing */
.galleryMain{background:#fff;}
.galleryMain .mainImage{width:100%;height:360px;max-height:360px;object-fit:contain;object-position:center;display:block;background:#fff;padding:8px 12px;box-sizing:border-box;}
.galleryThumbRow{gap:12px;justify-content:flex-start;}
.galleryThumbRow .thumb{border:1px solid #e9e9ef;background:#fff;border-radius:14px;padding:6px;cursor:pointer;}
.galleryThumbRow .thumb.is-active{outline:3px solid rgba(93, 63, 255, .45);border-color:rgba(93, 63, 255, .35);}
.galleryThumbRow .thumbImage{width:96px;height:72px;object-fit:contain;display:block;background:#fff;border-radius:10px;}


/* ===== Resources pages typography & links ===== */
.resources-page .phx-title{font-size:26px; line-height:1.25; margin:0 0 10px 0;}
.resources-page .phx-desc{font-size:15px; color:#374151; max-width:860px;}
.resources-page .resources-list{margin-top:14px; display:grid; gap:12px;}
.resources-page .resources-item{padding:14px 16px; border:1px solid #e5e7eb; border-radius:14px; background:#fff;}
.resources-page a.article-link{display:inline; padding:0; border-radius:0; background:transparent; color:#0f172a !important; font-weight:700; text-decoration:none;}
.resources-page a.article-link:hover{text-decoration:underline;}
.resources-page .article-meta{margin-top:6px; font-size:13px; color:#6b7280;}
.resources-page .article-body h2{font-size:18px; margin:18px 0 8px 0;}
.resources-page .article-body p, .resources-page .article-body li{font-size:15px; color:#111827;}
.resources-page .article-body ul{margin:8px 0 0 18px;}
.resources-page .article-cta{margin-top:18px;}


/* ===== Resources Blog Style ===== */

.resources-page .resources-hero{padding:18px 0 10px 0;}
.resources-page .resources-hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}
.phx-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:12px; text-decoration:none; font-weight:600;}
.phx-btn.small{padding:8px 12px; font-size:14px;}
.phx-btn.primary{background:#0b5cff; color:#fff;}
.phx-btn.ghost{background:transparent; border:1px solid #e5e7eb; color:#111827;}
.resources-layout{display:grid; grid-template-columns: 1fr 320px; gap:18px; align-items:start; margin-top:14px;}
@media (max-width: 980px){ .resources-layout{grid-template-columns:1fr;} .resources-side{order:2;} }
.resources-filter{display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 14px 0;}
.filter-pill{font-size:13px; padding:6px 10px; border:1px solid #e5e7eb; border-radius:999px; color:#374151; background:#fff;}
.filter-pill.active{background:#111827; color:#fff; border-color:#111827;}
.resources-grid{display:grid; gap:14px;}
.resource-card{border:1px solid #e5e7eb; border-radius:16px; background:#fff; padding:16px;}
.resource-title{margin:8px 0 6px 0; font-size:18px; line-height:1.35;}
.resource-title a{color:#0f172a; text-decoration:none;}
.resource-title a:hover{text-decoration:underline;}
.resource-excerpt{margin:0; color:#374151; font-size:14px;}
.resource-meta{display:flex; align-items:center; gap:8px; font-size:13px; color:#6b7280; flex-wrap:wrap;}
.tag{display:inline-flex; align-items:center; padding:4px 10px; border-radius:999px; background:#f3f4f6; color:#111827; font-weight:600; font-size:12px;}
.dot{opacity:.65;}
.muted{color:#6b7280;}
.resource-actions{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap;}
.side-card{border:1px solid #e5e7eb; border-radius:16px; background:#fff; padding:16px; margin-bottom:14px;}
.side-card h3{margin:0 0 10px 0; font-size:16px;}
.side-links{margin:0; padding-left:18px;}
.side-links li{margin:6px 0;}
.side-links a{color:#0f172a; text-decoration:none;}
.side-links a:hover{text-decoration:underline;}
/* Article layout */
.article-layout{display:grid; grid-template-columns: 260px 1fr; gap:18px; align-items:start; margin-top:14px;}
@media (max-width: 980px){ .article-layout{grid-template-columns:1fr;} .toc-card{position:static;} }
.article-head{padding:8px 0 0 0;}
.article-meta-row{display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; color:#6b7280; margin-bottom:8px;}
.toc-card{border:1px solid #e5e7eb; border-radius:16px; background:#fff; padding:14px; position:sticky; top:14px;}
.toc-title{font-weight:700; margin-bottom:10px;}
.toc-links{display:grid; gap:8px;}
.toc-links a{color:#374151; text-decoration:none; font-size:13px; line-height:1.25;}
.toc-links a:hover{text-decoration:underline;}
.article-body h2{font-size:18px; margin:20px 0 10px 0;}
.article-body p, .article-body li{font-size:15px; color:#111827;}
.article-body ul{margin:8px 0 0 18px;}
.phx-table{width:100%; border-collapse:collapse; font-size:14px; margin-top:10px;}
.phx-table th, .phx-table td{border:1px solid #e5e7eb; padding:10px; text-align:left; vertical-align:top;}
.phx-table th{background:#f9fafb;}
.cta-box{display:flex; gap:16px; justify-content:space-between; align-items:center; border:1px solid #e5e7eb; background:#f9fafb; border-radius:16px; padding:16px; margin-top:18px; flex-wrap:wrap;}
.cta-box h3{margin:0 0 6px 0; font-size:16px;}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap;}



/* --- Footer layout (match site pages) --- */

/* ===== Footer (Flagship US/EU Industrial style) ===== */
.phimaxx-footer{
  background:#0b1220;
  color:#e5e7eb;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:48px;
}
.phimaxx-footer a{ color:inherit; }

.phimaxx-footer-inner{
  max-width:1120px;
  margin:0 auto;
  padding:34px 20px 28px;
  display:grid;
  grid-template-columns: 240px 170px 1fr 150px;
  gap:34px;
  align-items:start;
}
.phimaxx-footer-col{ min-width:0; }

.phimaxx-footer-brand .phimaxx-footer-logo img{
  height:38px;
  width:auto;
  display:block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.25));
}
.phimaxx-footer-tagline{
  margin-top:10px;
  color:rgba(229,231,235,.82);
  font-size:13px;
  letter-spacing:.2px;
}

.phimaxx-footer-title{
  color:#ffffff;
  font-weight:800;
  font-size:12px;
  letter-spacing:.9px;
  text-transform:uppercase;
  margin:2px 0 12px;
}

.phimaxx-footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.phimaxx-footer-links a{
  text-decoration:none;
  font-size:14px;
  color:rgba(229,231,235,.9);
}
.phimaxx-footer-links a:hover{ text-decoration:underline; color:#ffffff; }

.phimaxx-footer-contact{
  color:rgba(229,231,235,.92);
}
.phimaxx-footer-company{
  margin:0 0 12px;
  font-size:14px;
  font-weight:800;
  color:#ffffff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.phimaxx-footer-contact-lines{
  display:grid;
  gap:10px;
  font-size:14px;
}
.phimaxx-footer-contact-lines > div{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.phimaxx-footer-contact-lines .k{
  min-width:78px;
  color:rgba(229,231,235,.65);
  font-weight:700;
}
.phimaxx-footer-contact a{
  color:#ffffff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.2);
}
.phimaxx-footer-contact a:hover{
  border-bottom-color:rgba(255,255,255,.55);
}

.phimaxx-footer-note{
  margin-top:12px;
  color:rgba(229,231,235,.70);
  font-size:13px;
}

.phimaxx-footer-cta{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.phimaxx-footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:#f97316;
  color:#0b1220 !important;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  box-shadow:0 10px 20px rgba(0,0,0,.22);
}
.phimaxx-footer-btn:hover{ filter:brightness(.98); }
.phimaxx-footer-btn.secondary{
  background:transparent;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:none;
}

.phimaxx-footer-qr{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.phimaxx-footer-qrwrap img{
  width:104px;
  height:104px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  padding:10px;
  background:rgba(255,255,255,.04);
}
.phimaxx-footer-qr .label{
  color:rgba(229,231,235,.72);
  font-size:13px;
  text-align:right;
}

/* bottom */
.phimaxx-footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
}
.phimaxx-footer-bottom > div{
  max-width:1120px;
  margin:0 auto;
  padding:14px 20px 18px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.phimaxx-footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:rgba(229,231,235,.80);
  font-size:12.5px;
}
.phimaxx-footer-trust span{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.phimaxx-footer-trust .dot{ display:none; }

.phimaxx-footer-copy{
  color:rgba(229,231,235,.55);
  font-size:12px;
}

/* responsive */
@media (max-width:980px){
  .phimaxx-footer-inner{
    grid-template-columns: 1fr 1fr;
  }
  .phimaxx-footer-qr{ align-items:flex-start; }
  .phimaxx-footer-qr .label{ text-align:left; }
}
@media (max-width:560px){
  .phimaxx-footer-inner{
    grid-template-columns: 1fr;
    gap:22px;
  }
  .phimaxx-footer-bottom > div{
    justify-content:center;
    text-align:center;
  }
}

/* --- Flagship Industrial Tech Footer (PHIMAXX) --- */

/* ===== Footer (Industrial / US-EU B2B style) ===== */
.phimaxx-footer{
  background:#f8fafc;
  border-top:1px solid #e9edf3;
  margin-top:40px;
}
.phimaxx-footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:28px 20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:26px;
}
.phimaxx-footer-col{ min-width:160px; }
.phimaxx-footer-brand{ min-width:190px; }
.phimaxx-footer-logo img{ height:42px; width:auto; display:block; }
.phimaxx-footer-tagline{
  margin-top:10px;
  color:#374151;
  font-size:13px;
  letter-spacing:.2px;
}

.phimaxx-footer-title{
  color:#111827;
  font-weight:700;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin:4px 0 10px;
}
.phimaxx-footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.phimaxx-footer-links a{
  color:#374151;
  text-decoration:none;
  font-size:14px;
}
.phimaxx-footer-links a:hover{ text-decoration:underline; }

.phimaxx-footer-contact{
  flex:1;
  max-width:420px;
  color:#111827;
}
.phimaxx-footer-company{ margin-bottom:10px; font-size:14px; }
.phimaxx-footer-contact-lines{
  display:grid;
  gap:8px;
  font-size:14px;
  color:#374151;
}
.phimaxx-footer-contact-lines .k{
  display:inline-block;
  min-width:68px;
  color:#6b7280;
  font-weight:600;
}
.phimaxx-footer-contact a{ color:#1d4ed8; text-decoration:none; }
.phimaxx-footer-contact a:hover{ text-decoration:underline; }

.phimaxx-footer-note{
  margin-top:10px;
  color:#6b7280;
  font-size:13px;
}
.phimaxx-footer-cta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.phimaxx-footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  background:#111827;
  color:#fff !important;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.phimaxx-footer-btn.secondary{
  background:#fff;
  color:#111827 !important;
  border:1px solid #e5e7eb;
}

.phimaxx-footer-qr{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.phimaxx-footer-qrwrap img{
  width:96px;
  height:96px;
  object-fit:cover;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:10px;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.phimaxx-footer-qr .label{ color:#6b7280; font-size:13px; text-align:right; }

.phimaxx-footer-bottom{
  border-top:1px solid #e9edf3;
  background:#fff;
}
.phimaxx-footer-bottom > div{
  max-width:1100px;
  margin:0 auto;
  padding:14px 20px;
  text-align:center;
}
.phimaxx-footer-trust{
  color:#374151;
  font-size:13px;
  line-height:1.6;
}
.phimaxx-footer-trust .dot{ color:#9ca3af; margin:0 8px; }
.phimaxx-footer-copy{
  color:#9ca3af;
  font-size:12px;
  padding-top:0;
}

@media (max-width:900px){
  .phimaxx-footer-inner{ flex-wrap:wrap; }
  .phimaxx-footer-qr{ align-items:flex-start; }
}
@media (max-width:640px){
  .phimaxx-footer-inner{ flex-direction:column; }
  .phimaxx-footer-qr{ align-items:flex-start; }
  .phimaxx-footer-qr .label{ text-align:left; }
}

.phimaxx-footer-contact{
    text-align:center;
  }
  .phimaxx-footer-qr{
    justify-content:center;
  }
}


/* --- Engineering Whitepaper Typography --- */
/* Apply only to engineering article pages */
.phx-article {
  font-size: 15px;
  line-height: 1.65;
}

/* Two-column technical article layout (TOC sidebar) */
.phx-article-layout{display:grid;grid-template-columns:280px 1fr;gap:26px;align-items:start;margin-top:18px}
.phx-article-content{min-width:0}
.phx-article .phx-toc.phx-toc-side{position:sticky;top:92px;margin:0}
@media(max-width:980px){.phx-article-layout{grid-template-columns:1fr}.phx-article .phx-toc.phx-toc-side{position:relative;top:auto}}
.phx-article h1 {
  font-size: 30px !important;
  line-height: 1.2;
  margin: 0 0 18px 0;
}
.phx-article h2 {
  font-size: 22px !important;
  line-height: 1.25;
  margin: 26px 0 10px 0;
}
.phx-article h3 {
  font-size: 18px !important;
  line-height: 1.3;
  margin: 18px 0 8px 0;
}
.phx-article p {
  margin: 0 0 12px 0;
}
.phx-article ul, .phx-article ol {
  margin: 8px 0 14px 22px;
}
.phx-article .phx-toc {
  background: #f6f8fb;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 22px 0;
}
.phx-article .phx-toc ul{list-style:disc;margin:10px 0 0 18px;padding:0}
.phx-article .phx-toc a{color:#0f172a;text-decoration:none}
.phx-article .phx-toc a:hover{text-decoration:underline}
.phx-article .phx-toc strong {
  font-size: 16px;
  color: #111827;
}
.phx-article .phx-toc li {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.55;
}


/* --- Resources Page (V1 Layout) --- */
.phx-container{max-width:1120px;margin:0 auto;padding:0 20px}
.phx-breadcrumb{margin:26px 0 10px;color:#64748b;font-size:13px}
.phx-breadcrumb a{color:#334155;text-decoration:none}
.phx-title{font-size:32px;margin:0 0 10px 0}
.phx-desc{color:#475569;line-height:1.7;margin:0 0 12px 0}
.resources-hero{padding:22px 0 16px 0}
.resources-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.phx-btn{display:inline-block;padding:10px 12px;border-radius:12px;border:1px solid #e6ebf2;text-decoration:none;font-weight:700;font-size:14px}
.phx-btn.primary{background:#111827;border-color:#111827;color:#fff}
.phx-btn.ghost{background:#fff;color:#111827}
.resources-layout{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start;margin-top:10px}
@media(max-width:980px){.resources-layout{grid-template-columns:1fr}.resources-side{order:2}}
.resources-filter{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.filter-pill{border:1px solid #e6ebf2;border-radius:999px;padding:6px 10px;font-size:12px;color:#334155;background:#fff}
.filter-pill.active{background:#111827;color:#fff;border-color:#111827}
.resources-grid{display:grid;grid-template-columns:1fr;gap:12px}
.resource-card{border:1px solid #e6ebf2;border-radius:16px;padding:16px;background:#fff}
.resource-meta{font-size:12px;color:#64748b;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.resource-meta .tag{font-weight:700;color:#0f172a;border:1px solid #e6ebf2;border-radius:999px;padding:4px 8px;background:#f8fafc}
.resource-title{margin:10px 0 6px 0;font-size:18px}
.resource-title a{color:#0f172a;text-decoration:none}
.resource-excerpt{margin:0 0 10px 0;color:#475569}
.resource-link{font-weight:800;text-decoration:none;color:#2563eb}
.resources-side .side-card{border:1px solid #e6ebf2;border-radius:16px;padding:16px;background:#fff;margin-bottom:12px}
.resources-side h3{margin:0 0 10px 0;font-size:16px}
.resources-side ul{margin:0;padding-left:18px;color:#334155}
.resources-side a{color:#2563eb;text-decoration:none}
.resources-bottom-note{border:1px dashed #cbd5e1;border-radius:16px;padding:16px;margin-top:14px;background:#fbfdff}
.resources-bottom-note h2{font-size:20px;margin:0 0 8px 0}



/* ===== Engineering Article: Unified "On this page" TOC (A) ===== */
.phx-toc{
  background:#f6f8fb;
  border:1px solid #e6ebf2;
  border-radius:14px;
  padding:16px 18px;
}
.phx-toc strong{
  display:block;
  font-size:16px;
  font-weight:700;
  color:#0f172a;
  margin:0 0 10px 0;
}
.phx-toc ul{ margin:0; padding-left:18px; }
.phx-toc li{ margin:8px 0; font-size:15px; line-height:1.55; }
.phx-toc a{
  color:#0f172a !important;
  text-decoration:none !important;
  font-size:15px !important;
  line-height:1.55 !important;
  font-weight:500;
}
.phx-toc a:hover{ text-decoration:underline !important; }

/* After-footer CTA alignment (Solutions + Guides) */
.phx-after-footer{max-width:1120px;margin:0 auto;padding:0 20px;}

/* After-footer CTA alignment (Solutions + Guides) */
.phx-after-footer{max-width:1120px;margin:0 auto;padding:0 20px;}
.phx-after-footer-cta{margin:18px 0 10px;}
.phx-after-footer-cta .phx-cta-box{padding:16px 18px;border-radius:16px;border:1px solid rgba(37,99,235,.28);background:#EEF5FF;}
.phx-after-footer-cta .phx-cta-title{font-weight:800;font-size:16px;color:#0f172a;margin-bottom:6px;}
.phx-after-footer-cta .phx-cta-desc{color:#334155;line-height:1.6;margin-bottom:12px;}
.phx-after-footer-cta .phx-cta-actions a{display:inline-block;padding:10px 12px;border-radius:12px;text-decoration:none;font-size:14px}
.phx-after-footer-cta .phx-cta-actions .cta-primary{border:1px solid #1E40AF;background:#2563EB;color:#fff;font-weight:800;}
.phx-after-footer-cta .phx-cta-actions .cta-secondary{margin-left:10px;border:1px solid #93C5FD;background:transparent;color:#2563EB;font-weight:700;}



/* ===== PHIMAXX Footer (Industrial / EU-style) ===== */
.phimaxx-footer{background:#ffffff;border-top:1px solid #e9edf3;margin-top:64px}
.phimaxx-footer .phimaxx-footer-inner{max-width:1200px;margin:0 auto;padding:26px 20px;display:grid;grid-template-columns: 1.2fr 0.9fr 1.3fr 0.7fr;gap:26px;align-items:start}
@media (max-width: 980px){
  .phimaxx-footer .phimaxx-footer-inner{grid-template-columns:1fr 1fr;gap:18px}
}
@media (max-width: 620px){
  .phimaxx-footer .phimaxx-footer-inner{grid-template-columns:1fr}
}
.phimaxx-footer-brand{display:flex;align-items:center;gap:12px}
.phimaxx-footer-logo img{height:44px;width:auto;display:block}
.phimaxx-footer-tagline{font-size:14px;color:#334155;white-space:nowrap}
.phimaxx-footer-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#0f172a;font-weight:700;margin:0 0 10px}
.phimaxx-footer-links ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.phimaxx-footer-links a{color:#334155;text-decoration:none;font-weight:600}
.phimaxx-footer-links a:hover{text-decoration:underline;color:#0f172a}
.phimaxx-footer-contact{color:#334155;font-size:14px;line-height:1.55}
.phimaxx-footer-company strong{display:block;font-size:14px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}
.phimaxx-footer-contact-lines .k{display:inline-flex;align-items:center;min-width:86px;color:#64748b;font-weight:700}
.phimaxx-footer-contact a{color:#0f172a;text-decoration:none;font-weight:700}
.phimaxx-footer-contact a:hover{text-decoration:underline}
.phimaxx-footer-note{margin-top:10px;color:#64748b;font-size:13px}
.phimaxx-footer-cta{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.phimaxx-footer-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:#0f172a;color:#fff;text-decoration:none;font-weight:800}
.phimaxx-footer-btn:hover{filter:brightness(1.05)}
.phimaxx-footer-btn.secondary{background:#ffffff;color:#0f172a;border:1px solid #cbd5e1}
.phimaxx-footer-qrwrap{display:flex;align-items:center;justify-content:flex-end}
.phimaxx-footer-qrwrap img{width:112px;height:112px;object-fit:contain;border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:10px;display:block}
.phimaxx-footer-qr .label{margin-top:10px;text-align:right;font-size:12px;color:#64748b}
.phimaxx-footer-bottom{border-top:1px solid #eef2f7}
.phimaxx-footer-bottom .phimaxx-footer-inner2{max-width:1200px;margin:0 auto;padding:14px 20px;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}
.phimaxx-footer-trust{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#334155;font-size:13px;font-weight:700}
.phimaxx-footer-trust .dot{color:#cbd5e1}
.phimaxx-footer-copy{color:#64748b;font-size:12px}



/* === Footer: Final Visual Polish (EU industrial style) === */
.site-footer, footer.site-footer, footer.footer, .footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer .footer-grid, .site-footer .grid, .footer .footer-grid, .footer .grid {
  align-items: start;
  gap: 28px;
}

/* Company name: less aggressive, premium */
.site-footer .footer-company, .site-footer .company-name, .footer .footer-company, .footer .company-name,
.site-footer h4, .footer h4 {
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  text-transform: none !important;
}

/* Contact rows: tighter alignment */
.site-footer .contact-row, .footer .contact-row,
.site-footer .contact-item, .footer .contact-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0;
}

/* Labels: subtle but readable */
.site-footer .contact-label, .footer .contact-label {
  color: rgba(15,23,42,0.65) !important;
  font-weight: 600;
  min-width: 74px;
}

/* Email/phone links: slightly emphasized */
.site-footer a, .footer a {
  text-decoration: none;
}
.site-footer a:hover, .footer a:hover {
  text-decoration: underline;
}

/* QR: reduce visual weight */
.site-footer .qr, .footer .qr,
.site-footer .qr-wrap, .footer .qr-wrap,
.site-footer .footer-qr img, .footer .footer-qr img,
.site-footer img.qr, .footer img.qr {
  max-width: 150px;
}
.site-footer .footer-qr, .footer .footer-qr,
.site-footer .qr-card, .footer .qr-card {
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Trust bar: compact */
.site-footer .trust-bar, .footer .trust-bar,
.site-footer .footer-trust, .footer .footer-trust {
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
  flex-wrap: wrap;
}



/* === Footer: Final Detail Polish (headings + spacing) === */
.site-footer .footer-title, .footer .footer-title,
.site-footer .footer-heading, .footer .footer-heading,
.site-footer h5, .site-footer h4, .footer h5, .footer h4 {
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  color: rgba(71, 85, 105, 1) !important; /* slate-600 */
  text-transform: none !important;
}

/* Link list breathing room */
.site-footer .footer-links a, .footer .footer-links a,
.site-footer .quick-links a, .footer .quick-links a,
.site-footer ul li, .footer ul li {
  line-height: 1.9;
}

/* Slightly tighter block spacing for premium alignment */
.site-footer .footer-grid, .footer .footer-grid {
  gap: 26px;
}
.site-footer .footer-col, .footer .footer-col {
  padding-top: 2px;
}



/* === Footer headings: slightly darker for clarity === */
.site-footer .footer-title, .footer .footer-title,
.site-footer .footer-heading, .footer .footer-heading,
.site-footer h5, .site-footer h4, .footer h5, .footer h4 {
  color: #334155 !important;
}



/* === Footer titles: premium Title Case (override) === */
.phimaxx-footer-title{
  color:#334155 !important;
  font-weight:600 !important;
  font-size:13px !important;
  letter-spacing:0.8px !important;
  text-transform:none !important;
}



/* === Footer: Local/Cloudflare consistent final override === */
.site-footer .footer-title, .footer .footer-title,
.site-footer .footer-heading, .footer .footer-heading,
.site-footer h4, .site-footer h5, .footer h4, .footer h5,
.site-footer .section-title, .footer .section-title {
  color:#334155 !important;
  font-weight:600 !important;
  letter-spacing:0.8px !important;
  text-transform:none !important;
}



/* ===== V4 tone refinement: reduce AI feel, calmer palette ===== */
html, body{
  background:#f5f3ee !important;
  color:#0f172a !important;
}
.container, .wrap, .phx-card, .card, .resource-card, .side-card, .toc-card, .cta-box, .checklist, .sidebox, .application-card, .industry-card, .solution-card, .channel-card{
  background:#ffffff !important;
  border-color:#e6ddd0 !important;
  box-shadow:0 6px 18px rgba(15,23,42,.04) !important;
}
.phx-topnav-wrap, .top-nav{
  background:rgba(250,248,244,.96) !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 6px 18px rgba(15,23,42,.04) !important;
}
.phx-topnav .phx-menu a, .top-nav .links a{
  color:#0f172a !important;
}
.phx-topnav .phx-menu a:hover, .top-nav .links a:hover{
  background:rgba(15,23,42,.05) !important;
}
.phx-topnav .phx-cta, .top-nav .links a.phx-cta, .nav .links .cta{
  background:transparent !important;
  color:#0f172a !important;
  box-shadow:none !important;
  border:0 !important;
  padding:12px 16px !important;
}
.btn, .phx-btn.primary, .phx-cta-band a, .cta-actions .phx-btn.primary, a.btn.primary{
  background:#0f172a !important;
  color:#ffffff !important;
  border:1px solid #0f172a !important;
  box-shadow:none !important;
}
.btn.secondary, .phx-btn.ghost, a.btn.ghost{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid #d9d0c2 !important;
}
.phx-cta-band{
  background:#efe7da !important;
  color:#0f172a !important;
  border:1px solid #e0d5c5 !important;
}
.tag, .filter-pill{
  background:#f3eee6 !important;
  border-color:#e0d5c5 !important;
  color:#0f172a !important;
}
.resource-meta, .article-meta, .article-meta-row, .muted, .note, .sub, .resource-excerpt, p[style*="#64748b"], p[style*="color:#64748b"]{
  color:#5b6475 !important;
}
.hero, .resources-hero, .phx-section{
  background:transparent !important;
}


/* Waterproof Power Supply page */
.power-page .power-hero{max-width:1120px;margin:0 auto;padding:28px 20px 32px;display:grid;grid-template-columns:1fr .95fr;gap:34px;align-items:start;}
.power-page .eyebrow{font-size:16px;font-weight:800;color:#2563eb;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px;}
.power-page h1{margin:0 0 18px;font-size:31px;line-height:1.14;color:#0f172a;letter-spacing:-.025em;max-width:640px;}
.power-page .hero-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0;padding:0;list-style:none;max-width:620px;}
.power-page .hero-points li{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;font-size:13.5px;font-weight:700;color:#334155;}
.power-page .hero-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:16px;box-shadow:0 16px 38px rgba(15,23,42,.08);margin-top:0;}
.power-page .hero-card img{display:block;width:100%;height:310px;object-fit:contain;border-radius:18px;background:#f8fafc;}
.power-page .caption{font-size:13px;color:#64748b;line-height:1.6;margin:12px 2px 0;}
.power-page .section{max-width:1120px;margin:0 auto;padding:28px 20px;}
.power-page .section-head{max-width:780px;margin-bottom:18px;}
.power-page h2{font-size:28px;line-height:1.22;margin:0 0 10px;color:#0f172a;letter-spacing:-.02em;}
.power-page .section p{font-size:15px;line-height:1.75;color:#475569;margin:0 0 12px;}
.power-page .feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.power-page .feature{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 10px 26px rgba(15,23,42,.04);}
.power-page .feature b{display:block;font-size:16px;color:#0f172a;margin-bottom:8px;}
.power-page .feature span{font-size:13px;line-height:1.6;color:#64748b;}
.power-page .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.power-page .product-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 10px 26px rgba(15,23,42,.05);}
.power-page .product-card img{display:block;width:100%;height:210px;object-fit:contain;background:#f8fafc;padding:18px;box-sizing:border-box;}
.power-page .product-body{padding:16px 16px 18px;}
.power-page .product-body h3{font-size:20px;line-height:1.25;margin:0 0 8px;color:#0f172a;}
.power-page .product-body p{font-size:13px;line-height:1.6;margin:0 0 8px;color:#64748b;}
.power-page .product-meta{display:grid;gap:6px;margin-top:12px;font-size:13px;color:#334155;}
.power-page .product-meta span{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eef2f7;padding-top:7px;}
.power-page .product-meta em{text-align:right;font-style:italic;line-height:1.45;}
.power-page .compat-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(15,23,42,.04);}
.power-page .compat-table th,.power-page .compat-table td{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:left;font-size:14px;line-height:1.45;}
.power-page .compat-table th{background:#f8fafc;color:#0f172a;font-weight:800;}
.power-page .compat-table td{color:#334155;}
.power-page .note-box{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;box-shadow:0 10px 26px rgba(15,23,42,.04);}
.power-page .faq-list{display:grid;gap:12px;}
.power-page .faq-item{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;}
.power-page .faq-item h3{font-size:17px;margin:0 0 8px;color:#0f172a;}
.power-page .faq-item p{font-size:14px;margin:0;color:#475569;}
.power-page .cta-band{max-width:1120px;margin:28px auto 42px;padding:20px 24px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.power-page .cta-band h2{color:#fff;font-size:20px;margin:0 0 6px;letter-spacing:-.01em;}
.power-page .cta-band p{color:#cbd5e1;margin:0;font-size:13.5px;line-height:1.55;}
.power-page .cta-band a{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0f172a;text-decoration:none;border-radius:12px;padding:10px 16px;font-size:14px;font-weight:800;white-space:nowrap;}
@media(max-width:960px){.power-page .power-hero{grid-template-columns:1fr;padding-top:34px}.power-page .feature-grid,.power-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.power-page h1{font-size:30px}.power-page .compat-table{display:block;overflow-x:auto;}}
@media(max-width:640px){.power-page .hero-points,.power-page .feature-grid,.power-page .product-grid{grid-template-columns:1fr}.power-page h1{font-size:28px}.power-page h2{font-size:24px}.power-page .hero-card img{height:240px}.power-page .product-card img{height:190px}.power-page .section{padding:22px 16px}.power-page .power-hero{padding-left:16px;padding-right:16px}}

/* Keep the added power supply navigation item aligned with the existing menu */
.phx-topnav .phx-menu a[href*="waterproof-power-supply"]{padding-left:12px!important;padding-right:12px!important;}
@media (max-width:900px){.phx-topnav .phx-menu a[href*="waterproof-power-supply"]{padding-left:6px!important;padding-right:6px!important;}}

/* Waterproof power supply page final refinement */
.power-page .power-hero{padding-top:34px;gap:42px;align-items:start;}
.power-page .power-hero > div{padding-top:18px;}
.power-page .eyebrow{font-size:17px;margin-bottom:14px;}
.power-page h1{font-size:28px;line-height:1.16;max-width:620px;margin-bottom:14px;}
.power-page .hero-intro{max-width:600px;font-size:15px;line-height:1.68;color:#475569;margin:0 0 18px;}
.power-page .hero-points{display:flex;flex-wrap:wrap;gap:8px 10px;margin:0;padding:0;list-style:none;max-width:620px;}
.power-page .hero-points li{background:transparent;border:1px solid #dbe3ee;border-radius:999px;padding:7px 12px;font-size:12.5px;font-weight:700;color:#334155;}
.power-page .hero-card{margin-top:0;}
.power-page .hero-card img{height:300px;}
.power-page .product-meta em{font-style:normal;}
@media(max-width:960px){.power-page .power-hero > div{padding-top:0}.power-page h1{font-size:28px}.power-page .hero-points{display:flex}.power-page .hero-card img{height:260px}}
@media(max-width:640px){.power-page h1{font-size:26px}.power-page .eyebrow{font-size:15px}.power-page .hero-intro{font-size:14px}.power-page .hero-points li{font-size:12px}.power-page .hero-card img{height:220px}}

/* Final refinement: waterproof power supply page typography */
.power-page .section{padding-top:24px;padding-bottom:24px;}
.power-page h2{font-size:22px;line-height:1.25;margin:0 0 8px;font-weight:800;letter-spacing:-.015em;}
.power-page .section-head{max-width:720px;margin-bottom:14px;}
.power-page .section-head p{font-size:13.5px;line-height:1.7;color:#526174;}
.power-page .feature{padding:15px 16px;border-radius:16px;}
.power-page .feature b{font-size:14px;margin-bottom:6px;}
.power-page .feature span{font-size:12.5px;line-height:1.55;}
.power-page .product-body h3{font-size:18px;}
.power-page .product-body p{font-size:12.5px;}
.power-page .product-meta{font-size:12.5px;}
.power-page .compat-table th,.power-page .compat-table td{font-size:13px;padding:11px 13px;}
.power-page .note-box{padding:18px 20px;border-radius:18px;}
.power-page .note-box p{font-size:13.5px;line-height:1.65;}
.power-page .faq-item{padding:14px 16px;border-radius:16px;}
.power-page .faq-item h3{font-size:14.5px;line-height:1.35;margin-bottom:6px;font-weight:750;}
.power-page .faq-item p{font-size:13px;line-height:1.6;}
@media(max-width:640px){.power-page h2{font-size:20px}.power-page .section-head p,.power-page .note-box p,.power-page .faq-item p{font-size:13px}.power-page .faq-item h3{font-size:14px}}

/* 2026-05-20 typography refinement for MS optional material and PM intro */
.phx-ms-compat h2{font-size:22px!important;line-height:1.28!important;}
.phx-ms-compat p{font-size:14px!important;line-height:1.65!important;}
.phx-ms-compat .compat-note{font-size:13px!important;}
.phx-ms-compat .compat-point strong{font-size:13.5px!important;}
.phx-ms-compat .compat-point span{font-size:12.5px!important;line-height:1.5!important;}
.pm-v2-main .pm-v2-copy h2{font-size:22px!important;line-height:1.28!important;}
.pm-v2-main .pm-v2-copy p,.pm-v2-main .pm-v2-copy li{font-size:14px!important;line-height:1.6!important;}
.pm-v2-side-card h3{font-size:16px!important;}
.pm-v2-side-card p{font-size:13px!important;line-height:1.6!important;}

/* 2026-05-20 final typography unification: keep product pages closer to the main site scale */
.power-page .power-hero{padding-top:26px!important;padding-bottom:24px!important;gap:34px!important;}
.power-page .power-hero > div{padding-top:10px!important;}
.power-page .eyebrow{font-size:13.5px!important;letter-spacing:.08em!important;margin-bottom:10px!important;}
.power-page h1{font-size:24px!important;line-height:1.22!important;letter-spacing:-.015em!important;margin-bottom:12px!important;max-width:560px!important;font-weight:760!important;}
.power-page .hero-intro{font-size:13.5px!important;line-height:1.62!important;max-width:560px!important;margin-bottom:14px!important;}
.power-page .hero-points{gap:7px 8px!important;max-width:560px!important;}
.power-page .hero-points li{font-size:11.8px!important;padding:6px 10px!important;font-weight:700!important;}
.power-page .hero-card img{height:280px!important;}
.power-page .caption{font-size:12.3px!important;line-height:1.55!important;}
.power-page .section{padding-top:22px!important;padding-bottom:22px!important;}
.power-page h2{font-size:18px!important;line-height:1.3!important;margin-bottom:8px!important;font-weight:760!important;letter-spacing:-.01em!important;}
.power-page .section-head{margin-bottom:12px!important;max-width:700px!important;}
.power-page .section-head p,.power-page .section p{font-size:13px!important;line-height:1.62!important;}
.power-page .feature{padding:14px 15px!important;border-radius:15px!important;}
.power-page .feature b{font-size:13px!important;line-height:1.35!important;margin-bottom:5px!important;}
.power-page .feature span{font-size:12px!important;line-height:1.5!important;}
.power-page .product-body{padding:14px 15px 16px!important;}
.power-page .product-body h3{font-size:16px!important;line-height:1.25!important;margin-bottom:6px!important;}
.power-page .product-body p{font-size:12px!important;line-height:1.55!important;}
.power-page .product-meta{font-size:12px!important;}
.power-page .compat-table th,.power-page .compat-table td{font-size:12.5px!important;line-height:1.42!important;padding:10px 12px!important;}
.power-page .note-box{padding:16px 18px!important;border-radius:16px!important;}
.power-page .note-box p{font-size:13px!important;line-height:1.6!important;}
.power-page .faq-item{padding:13px 15px!important;border-radius:15px!important;}
.power-page .faq-item h3{font-size:13px!important;line-height:1.35!important;margin-bottom:5px!important;font-weight:730!important;}
.power-page .faq-item p{font-size:12.5px!important;line-height:1.55!important;}

.phx-ms-compat h2{font-size:19px!important;line-height:1.3!important;font-weight:760!important;letter-spacing:-.01em!important;}
.phx-ms-compat p{font-size:13.2px!important;line-height:1.62!important;}
.phx-ms-compat .compat-note{font-size:12.5px!important;line-height:1.6!important;}
.phx-ms-compat .compat-point strong{font-size:13px!important;line-height:1.35!important;}
.phx-ms-compat .compat-point span{font-size:12px!important;line-height:1.48!important;}
.ms-page-section .h2{font-size:20px!important;line-height:1.3!important;font-weight:760!important;}
.ms-page-section .card h4{font-size:15px!important;line-height:1.35!important;}
.ms-page-section .card p{font-size:13px!important;line-height:1.55!important;}
.phx-ms-faq h2{font-size:20px!important;line-height:1.3!important;font-weight:760!important;}
.phx-ms-faq summary{font-size:13.5px!important;line-height:1.45!important;font-weight:700!important;}
.phx-ms-faq details p{font-size:13px!important;line-height:1.6!important;}

.pm-v2-main .pm-v2-copy h2{font-size:20px!important;line-height:1.3!important;font-weight:760!important;letter-spacing:-.01em!important;}
.pm-v2-main .pm-v2-copy p,.pm-v2-main .pm-v2-copy li{font-size:13px!important;line-height:1.58!important;}
.pm-v2-side-card h3{font-size:14.5px!important;line-height:1.34!important;}
.pm-v2-side-card p{font-size:12.5px!important;line-height:1.55!important;}

@media(max-width:960px){
  .power-page h1{font-size:23px!important;}
  .power-page .hero-card img{height:250px!important;}
}
@media(max-width:640px){
  .power-page h1{font-size:22px!important;}
  .power-page h2{font-size:17px!important;}
  .power-page .eyebrow{font-size:12.5px!important;}
  .power-page .hero-intro{font-size:13px!important;}
  .power-page .hero-card img{height:210px!important;}
  .phx-ms-compat h2,.ms-page-section .h2,.phx-ms-faq h2,.pm-v2-main .pm-v2-copy h2{font-size:18px!important;}
}

/* 2026-05 SEO resources final typography consistency */
.resource-card .resource-title{font-size:16px!important;line-height:1.42!important;}
.resource-card .resource-excerpt{font-size:13.5px!important;line-height:1.65!important;color:#526174!important;}
.resources-grid .sidebox h3,.checklist h3{font-size:15px!important;}
.resources-grid .sidebox li,.checklist li{font-size:13.5px!important;}
body .card h1{font-size:30px;line-height:1.22;}
body .card h2{font-size:22px;line-height:1.32;}
@media(max-width:720px){body .card h1{font-size:26px!important;}body .card h2{font-size:20px!important;}}
