/* Scoped navigation and local context improvements. */
.pnm-compact-services{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pnm-compact-services .pnm-mega-col{min-width:0}.pnm-compact-services .pnm-mega-footer{grid-column:1 / -1}
.pnm-page-guide{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin:1rem 0;padding:.8rem 1rem;background:#f1f6fa;color:#17324d;border-radius:8px}.pnm-page-guide a{color:#075985!important;text-decoration:underline;overflow-wrap:anywhere}
.pnm-local-context{box-sizing:border-box;grid-column:1 / -1;width:calc(100% - 2rem);max-width:1200px;margin:1.25rem auto;padding:1.25rem;background:#fff!important;color:#183247!important;border:1px solid #d5e0e8;border-radius:12px}.pnm-local-context h2,.pnm-local-context p{color:#183247!important}.pnm-local-context a{color:#075985!important;text-decoration:underline}
.pnm-heading-anchor{display:block;scroll-margin-top:6rem}.pnm-b5-overview h3,.pnm-b5-signals h3,.pnm-b5-diagnosis h3,.pnm-b5-options h3,.pnm-b5-standards h3,.pnm-b5-protection h3,.pnm-b5-value h3,.pnm-b5-faq h3{overflow-wrap:anywhere}
@media(max-width:700px){.pnm-compact-services{grid-template-columns:1fr!important}.pnm-local-context{width:calc(100% - 1rem)}}

/* Keep rewritten service explanations readable on their light panels. */
section[class*="pnm-b5-"]{background:#fff!important;color:#183247!important}section[class*="pnm-b5-"].soft{background:#f3f7fa!important}section[class*="pnm-b5-"]>h2,section[class*="pnm-b5-"]>h3,section[class*="pnm-b5-"]>p{color:#183247!important}section[class*="pnm-b5-"]>p a{color:#075985!important;text-decoration:underline}

nav#primary-navigation .mega-menu.pnm-mega-premium.pnm-compact-services{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:700px){nav#primary-navigation .mega-menu.pnm-mega-premium.pnm-compact-services{grid-template-columns:1fr!important}}

.pn-kc-featured figcaption{background:#fff!important;color:#183247!important;padding:.65rem .8rem;line-height:1.5}

/* Content and location review */
.pnm-work-context{grid-column:1 / -1;min-width:0;padding:1.4rem;border-radius:1rem;background:#f4f7fa;color:#17324d;margin-block:1.5rem}
.pnm-work-context h2,.pnm-work-context h3,.pnm-work-context p,.pnm-work-context li{color:#17324d}
.pnm-work-context a{color:#075985;text-decoration:underline}
.pnm-area-parent{display:flex;flex-wrap:wrap;gap:.6rem 1rem}

/* Equal editorial cards: no featured card squeezing its neighbours. */
html body main .pnm-editorial-equal-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:24px!important;align-items:stretch!important}
html body main .pnm-editorial-equal-grid>.service-card{grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0!important;max-width:none!important;background:#fff!important;color:#17324d!important}
html body main .pnm-editorial-equal-grid>.service-card::before,html body main .pnm-editorial-equal-grid>.service-card::after{display:none!important}
html body main .pnm-editorial-equal-grid>.service-card .service-card-body{padding:24px!important;min-width:0}
html body main .pnm-editorial-equal-grid>.service-card h3,html body main .pnm-editorial-equal-grid>.service-card p{color:#17324d!important;overflow-wrap:anywhere}
@media(max-width:960px){html body main .pnm-editorial-equal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html body main .pnm-editorial-equal-grid{grid-template-columns:minmax(0,1fr)!important}}

/* Existing work photographs retain factual captions instead of unrelated service cards. */
.pnm-service-photo-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.service-work-detail{margin:0;min-width:0;background:#fff;border:1px solid #dce3eb;border-radius:12px;overflow:hidden;color:#17324d}
.service-work-detail img{display:block;width:100%;height:240px;object-fit:cover}
.service-work-detail figcaption{padding:18px;color:#17324d;line-height:1.5}
@media(max-width:960px){.pnm-service-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.pnm-service-photo-gallery{grid-template-columns:minmax(0,1fr)!important}}

/* Visually verified service offers: actual photographs, concise sales copy. */
html body main .pnm-service-sales{grid-column:1/-1;min-width:0;width:calc(100% - 40px);max-width:1200px;margin:28px auto;padding:28px;background:#f3f7fa;color:#17324d;border-radius:16px;box-sizing:border-box}
html body main .pnm-service-sales h2,html body main .pnm-service-sales h3,html body main .pnm-service-sales p,html body main .pnm-service-sales figcaption{color:#17324d}
.pnm-service-sales .pnm-sales-lead{max-width:900px;font-size:1.1rem;line-height:1.65}
.pnm-service-sales .pnm-sales-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.pnm-service-sales .pnm-sales-offer{min-width:0;padding:22px;background:#fff;border:1px solid #dce3eb;border-radius:12px}
.pnm-service-sales .pnm-sales-offer h3{margin:0 0 12px;font-size:1.35rem;line-height:1.3}
.pnm-service-sales .pnm-sales-offer p{line-height:1.65;margin:0 0 18px}
.pnm-service-sales .pnm-sales-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pnm-service-sales .pnm-sales-photo-grid figure{margin:0;min-width:0;max-width:none;background:#f3f6f9;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}
.pnm-service-sales .pnm-sales-photo-grid figure:only-child{grid-column:1/-1}
.pnm-service-sales .pnm-sales-photo-grid img{display:block;width:100%;height:245px;object-fit:contain;background:#edf2f7}
.pnm-service-sales .pnm-sales-photo-grid figcaption{padding:12px;font-size:.95rem;line-height:1.5;background:#fff}
.pnm-service-sales .pnm-sales-contact{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0 0}
html body main .pnm-service-sales .pnm-sales-contact a{display:inline-block;padding:13px 18px;border-radius:8px;background:#9d1731;color:#fff!important;font-weight:700;text-decoration:none}
@media(max-width:760px){.pnm-service-sales .pnm-sales-offers{grid-template-columns:minmax(0,1fr)}html body main .pnm-service-sales{padding:20px;width:calc(100% - 28px)}}
@media(max-width:420px){.pnm-service-sales .pnm-sales-photo-grid{grid-template-columns:minmax(0,1fr)}}

html body main section.pnm-service-sales h2,html body main section.pnm-service-sales h3,html body main section.pnm-service-sales p,html body main section.pnm-service-sales figcaption{color:#17324d!important}

/* Sitewide equal service and process cards. */
html body .service-grid.pnm-balanced-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:24px!important;align-items:stretch!important}
html body .service-grid.pnm-balanced-card-grid[data-card-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body .pnm-balanced-card-grid>article,html body .pnm-balanced-card-grid>figure{grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;background:#fff!important;color:#17324d!important;box-sizing:border-box}
html body .pnm-balanced-card-grid>article::before,html body .pnm-balanced-card-grid>article::after{display:none!important}
html body .pnm-balanced-card-grid .service-card-body{padding:24px!important;min-width:0;box-sizing:border-box}
html body .pnm-balanced-card-grid h3,html body .pnm-balanced-card-grid p,html body .pnm-balanced-card-grid figcaption{color:#17324d!important;overflow-wrap:anywhere}
html body .pnm-balanced-card-grid a.text-link{color:#075985!important}
html body .pnm-balanced-card-grid .pnm-service-card-photo{display:block;width:100%;height:230px;object-fit:contain;background:#edf2f7}
@media(max-width:960px){html body .service-grid.pnm-balanced-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html body .service-grid.pnm-balanced-card-grid,html body .service-grid.pnm-balanced-card-grid[data-card-columns="2"]{grid-template-columns:minmax(0,1fr)!important}}
