/* V7 sub-service pages (template `sub`): live-theme leak guards on top of pg-sub-service.css (prototype, verbatim).
   Zero-ID specificity (:where) so every prototype rule still wins. */

/* theme links: a:hover recolours and toggles underlines; bootstrap/main.css margins on lists, headings and paragraphs */
:where(.sub-pg) a.sg-btn:hover,:where(.sub-pg) a.sg-btn:focus{text-decoration:none}
:where(.sub-pg) a.sg-btn:not(.has-l):hover{color:#0B0B0C}
:where(.sub-pg) a.sg-btn.has-l:hover{color:var(--bg)}
:where(.sub-pg) a.sg-link:hover{color:var(--ink)}
:where(.sub-pg) .cs-card:hover,:where(.sub-pg) .cs-card:focus{color:inherit;text-decoration:none}
:where(.sub-pg) .sub-rel a:hover{text-decoration:none}
:where(.sub-pg) ul,:where(.sub-pg) ol{margin-bottom:0}
:where(.sub-pg) b{font-weight:bolder}
:where(.sub-pg) h3{margin-bottom:0}
:where(.sub-pg) button{font-family:inherit}
:where(.sub-pg) .pm-qb:focus{outline:none}
:where(.sub-pg) .pm-qb:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
:where(.sg-net--page) a.sg-btn:hover{text-decoration:none}
:where(.sg-net--page) a.sg-btn:not(.has-l):hover{color:#0B0B0C}
:where(.sg-net--page) a.sg-btn.has-l:hover{color:var(--bg)}

/* fallback for a sub-service post whose V7 fields are still empty: its old content, readable inside the V7 wrapper */
.sub-pg .sub-legacy__body{max-width:760px;font:400 17px/1.6 var(--f);color:var(--ink-2)}
.sub-pg .sub-legacy__body img{max-width:100%;height:auto}
.sub-pg .sub-stage > img{display:block;width:100%;height:auto;border-radius:var(--r-win,8px)}
