/* v199: isolated contact page layout, no navigation or other pages affected. */
#main-content .contact-v198-intro,
#main-content .contact-v198-form-section, #main-content .contact-v198-outro {min-width:0;max-width:100%;box-sizing:border-box}
#main-content .contact-v198-offices {grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#main-content .contact-v198-offices article {min-width:0;box-sizing:border-box;padding:22px 18px;overflow-wrap:anywhere;word-break:normal}
#main-content .contact-v198-offices article p {min-width:0;max-width:100%;overflow-wrap:anywhere}
#main-content .contact-v198-offices article a {overflow-wrap:anywhere;word-break:break-word}
#main-content .contact-v199-info-card p+p {margin-top:14px}
#main-content .contact-v198-form, #main-content .contact-v198-fields,
#main-content .contact-v198-fields>label {min-width:0;max-width:100%;box-sizing:border-box}
@media (max-width:980px) {
 body.ia-contact-v199 {max-width:100%;overflow-x:clip}
 body.ia-contact-v199 .subpage-hero,
 body.ia-contact-v199 .subpage-hero>.container {max-width:100%;min-width:0;box-sizing:border-box}
 body.ia-contact-v199 .subpage-hero>.container {padding-left:10px!important;padding-right:10px!important}
 body.ia-contact-v199 .subpage-hero h1 {font-size:clamp(26px,6vw,46px)!important;max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal!important;line-height:1.15}
 body.ia-contact-v199 #main-content {width:100%;max-width:100%;min-width:0;overflow-x:clip}
 body.ia-contact-v199 #main-content .contact-v198 {width:100%;max-width:100%;padding-left:10px!important;padding-right:10px!important}
 body.ia-contact-v199 #main-content .contact-v198-inner {width:100%;max-width:100%;min-width:0;padding:0!important;margin:0 auto}
 body.ia-contact-v199 #main-content .contact-v198 h1,
 body.ia-contact-v199 #main-content .contact-v198 h2 {max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal!important;line-height:1.2}
 body.ia-contact-v199 #main-content .contact-v198-offices {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media (max-width:600px) {
 body.ia-contact-v199 #main-content .contact-v198-offices {grid-template-columns:minmax(0,1fr)}
 body.ia-contact-v199 #main-content .contact-v198-offices article {padding:20px 16px}
 body.ia-contact-v199 #main-content .contact-v198-form {max-width:100%;padding:16px!important}
 body.ia-contact-v199 #main-content .contact-v198-fields {grid-template-columns:minmax(0,1fr)}
}

/* v200: keep contact content aligned with the site container on desktop. */
body.ia-contact-v199 #main-content .contact-v198-inner {width:100%;max-width:1200px;margin-left:auto;margin-right:auto;min-width:0;box-sizing:border-box}
body.ia-contact-v199 #main-content .contact-v198 {width:100%;max-width:100%;box-sizing:border-box;padding-left:24px;padding-right:24px}
@media(max-width:980px){body.ia-contact-v199 #main-content .contact-v198-inner{max-width:1200px}}

/* v201: three office cards, followed by a centered full-width contact CTA. */
body.ia-contact-v199 #main-content .contact-v198-offices{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ia-contact-v199 #main-content .contact-v201-cta{margin-top:20px;padding:28px 24px;background:#e8f4ee;border-radius:10px;text-align:center;box-sizing:border-box;overflow-wrap:anywhere}
body.ia-contact-v199 #main-content .contact-v201-cta h2{font-size:clamp(20px,2vw,26px);margin:0 0 14px}
body.ia-contact-v199 #main-content .contact-v201-cta p{margin:0;line-height:1.8}
body.ia-contact-v199 #main-content .contact-v201-cta p+p{margin-top:14px}
@media(max-width:980px){body.ia-contact-v199 #main-content .contact-v198-offices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.ia-contact-v199 #main-content .contact-v198-offices{grid-template-columns:minmax(0,1fr)}body.ia-contact-v199 #main-content .contact-v201-cta{padding:24px 16px}}
/* v202: Contact content matches the centered header content width. */
html body.ia-contact-v199 main#main-content > section.contact-v198 {width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:24px!important;box-sizing:border-box!important}
html body.ia-contact-v199 main#main-content > section.contact-v198 > .contact-v198-inner {width:100%!important;max-width:1152px!important;margin-inline:auto!important;padding:0!important;min-width:0!important;box-sizing:border-box!important}
html body.ia-contact-v199 main#main-content .contact-v198-offices,html body.ia-contact-v199 main#main-content .contact-v201-cta,html body.ia-contact-v199 main#main-content .contact-v198-form{width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:600px){html body.ia-contact-v199 main#main-content > section.contact-v198{padding-inline:16px!important}}

/* v206: constrain every contact section to the shared content width */
body.ia-contact-v199 main#main-content > section.contact-v198 {width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-left:24px!important;padding-right:24px!important;margin-left:0!important;margin-right:0!important;min-width:0!important}
body.ia-contact-v199 main#main-content > section.contact-v198 > .contact-v198-inner {width:100%!important;max-width:1152px!important;margin-inline:auto!important;box-sizing:border-box!important;min-width:0!important}
body.ia-contact-v199 .contact-v198-inner * {min-width:0}
@media(max-width:600px){body.ia-contact-v199 main#main-content > section.contact-v198 {padding-left:16px!important;padding-right:16px!important}}
