/* ==========================================================================
   Service-area specialist pages (/redondo-beach-realtors,
   /rancho-palos-verdes-realtors, /top-realtors-palos-verdes-estates).

   Each page carries its own scoped stylesheet (.lph-page / .bsg-page /
   .pve-page) written against normal browser defaults. The site's global reset
   (`* { margin:0; padding:0 }`, `ul { list-style:none }`) removes those
   defaults, so this file puts them back inside the page wrappers only.
   The wrapper sits inside :where() so these rules are no more specific than
   the reset they undo: any rule in a page's own stylesheet still wins.
   ========================================================================== */
:where(.lph-page, .bsg-page, .pve-page) :where(p, ul, ol, dl, table) { margin: 1em 0; }
:where(.lph-page, .bsg-page, .pve-page) :where(ul, ol) { padding-left: 40px; }
:where(.lph-page, .bsg-page, .pve-page) ul { list-style: disc; }
:where(.lph-page, .bsg-page, .pve-page) ol { list-style: decimal; }
:where(.lph-page, .bsg-page, .pve-page) :where(figure, blockquote) { margin: 1em 40px; }
:where(.lph-page, .bsg-page, .pve-page) :where(h1) { margin: .67em 0; }
:where(.lph-page, .bsg-page, .pve-page) :where(h2) { margin: .83em 0; }
:where(.lph-page, .bsg-page, .pve-page) :where(h3) { margin: 1em 0; }
:where(.lph-page, .bsg-page, .pve-page) :where(h4) { margin: 1.33em 0; }
:where(.lph-page, .bsg-page, .pve-page) :where(td, th) { padding: 1px; }

/* In-page links land below the fixed site header */
:where(.lph-page, .bsg-page, .pve-page) :where([id]) { scroll-margin-top: calc(var(--header-h, 86px) + 24px); }

/* Palos Verdes Estates page: its hero subtitle rule (.pve-hero-sub) is outranked by the
   page's own `.pve-page p` rule, which removes the gap under the H1. Restore the intended gap. */
.pve-page .pve-hero-inner .pve-hero-sub { margin: 16px auto 0; }
