/* V105.0.16 — precise 10px below-header clearance for internal paper pages.
 * The internal paper header is sticky and participates in document flow
 * (V105.0.15). The margin provides a predictable, visible 10px gap under
 * that header without replacing the page's existing internal hero padding.
 * The photo-overlay header on Home / Properties is intentionally excluded.
 */
html body #site-header[data-header-mode="paper"] ~ main,
html body #site-header[data-header-mode="paper"] ~ section.detail-top {
  margin-top: 10px !important;
}

/* Preserve anchor readability after internal navigation jumps. */
html:has(#site-header[data-header-mode="paper"]) {
  scroll-padding-top: calc(var(--shg-header-h, 88px) + 10px);
}
@media (max-width: 820px) {
  html:has(#site-header[data-header-mode="paper"]) {
    scroll-padding-top: calc(var(--shg-header-mobile-h, 74px) + 10px);
  }
}
@media (min-width: 783px) {
  html:has(body.admin-bar #site-header[data-header-mode="paper"]) {
    scroll-padding-top: calc(var(--shg-header-h, 88px) + 42px);
  }
}
@media (max-width: 782px) {
  html:has(body.admin-bar #site-header[data-header-mode="paper"]) {
    scroll-padding-top: calc(var(--shg-header-mobile-h, 74px) + 56px);
  }
}
