/* Retain the original appearance when shared sections cross layout parents.
   Only the owner's two moved pairs are addressed. No palette/typography redesign. */
/* Homepage had a CSS-only order opposite its DOM. DOM now owns the real order. */
.main > .container:has(> .pcHeroSlider) > * {order:0!important}
/* These promo sections were direct main children before the move. */
.pcServiceNetwork > #promotions,
.pcSpecialistDirectory > #promotions {margin:0;padding:56px 0 48px;border-top:1px solid var(--pc-line-light);font-size:16px;line-height:normal}
.pcServiceNetwork #promotions h2 {font-weight:400;letter-spacing:normal;text-align:start}
/* The locations' original service layout context moves with its full wrapper. */
.pcPageMain > .pcServiceLocations {--svc-ink:#232323;--svc-soft:#f5f2ed;--svc-line:#e4dace;--svc-accent:#866034;color:var(--svc-ink);font-family:var(--pc-font-body,Onest,sans-serif);margin-bottom:0;padding-bottom:28px;display:flow-root}
.pcPageMain > .pcServiceLocations * {box-sizing:border-box}
:where(.pcPageMain) > .pcServiceLocations a {color:var(--svc-accent)}
.pcPageMain > .pcServiceLocations .pcLocations {margin:20px auto 0;width:100%;left:auto;transform:none}
.pcPageMain > .pcServiceLocations h2 {font-family:var(--pc-font-display,Onest,sans-serif);font-weight:500;letter-spacing:-.025em;text-align:left;color:var(--svc-ink)}
/* Directory uses a distinct inherited 17px/1.6 text context and page gutters. */
body:has(.pcSpecialistDirectory) .pcPageMain > #locations {box-sizing:border-box;width:calc(100% - 48px);max-width:1120px;left:auto;transform:none;margin:40px auto 32px;font:400 17px/1.6 var(--pc-font-body);color:var(--pc-ink)}
body:has(.pcSpecialistDirectory) .pcPageMain > #locations * {box-sizing:border-box}
.pcSpecialistDirectory > #promotions {width:100vw;position:relative;left:50%;transform:translateX(-50%)}
.pcSpecialistDirectory > #promotions a {color:var(--pc-ink)}
/* The late review container is 8px narrower than the early container on phones.
   Transfer that existing gutter difference with each moved section, not its text. */
@media(max-width:760px){
 .pcServiceReviews:not(.pcServiceReviews--early) > .container > #wheel {width:calc(100% + 8px);margin-left:-4px;margin-right:-4px}
 .pcServiceNetwork > .container:not(:has(> .pcServiceReviews--early)) > #review {width:calc(100% - 8px);margin-left:auto;margin-right:auto}
}
@media(max-width:767px){body:has(.pcSpecialistDirectory) .pcPageMain > #locations {width:calc(100% - 32px);margin:32px auto 24px}}
@media(max-width:600px){.pcServiceNetwork > #promotions,.pcSpecialistDirectory > #promotions {padding:36px 0 34px}}
