/* V7 legal pages (privacy, notice) — live-theme fixes on top of pg-legal.css (prototype block 34, verbatim).
   The body is the page's real the_content(), so it carries WP markup (strong/em, inline styles, plain links)
   that the prototype had normalised by hand. */

/* the prototype rendered <strong> as <b>; main.css swaps strong to the sofia_probold face */
#site .doc-pg .dc-body strong{font-family:var(--f);font-weight:500;color:var(--ink)}
#site .doc-pg .dc-body em{font-style:italic}

/* headings: the post's inline padding-top and bootstrap's margin-bottom must not change the V7 rhythm */
#site .doc-pg .dc-body h2,#site .doc-pg .dc-body h3,#site .doc-pg .dc-body h4{padding-top:0!important}
#site .doc-pg .dc-body > h2:first-child,#site .doc-pg .dc-body > h3:first-child,#site .doc-pg .dc-body > h4:first-child{margin-top:0}

/* body links: the prototype gave every content link .sg-link (underlined ink); main.css makes them black, no underline */
#site .doc-pg .dc-body a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
#site .doc-pg .dc-body a:hover,#site .doc-pg .dc-body a:focus-visible{color:var(--ink);text-decoration-color:var(--orange)}
#site .doc-pg .dc-body ol{margin:0 0 1.2em;padding-left:1.4em}
#site .doc-pg .dc-body ol > li{padding-left:0}
#site .doc-pg .dc-body ol > li::before{content:none}
#site .doc-pg .dc-body img{max-width:100%;height:auto}

/* hero link + contents list: theme a/a:hover colours */
#site .doc-pg .dc-hero .sg-link{color:var(--ink)}
#site .doc-pg .dc-toc a{text-decoration:none}
#site .doc-pg .dc-toc a:hover,#site .doc-pg .dc-toc a:focus-visible{color:var(--heat);text-decoration:none}
#site .doc-pg .dc-toc ol,#site .doc-pg .dc-toc li{margin:0}
#site .doc-pg .dc-toc{max-height:calc(100vh - var(--nav-top,0px) - 128px);overflow:auto}
@container site (max-width: 960px){ #site .doc-pg .dc-toc{max-height:none;overflow:visible} }
