/* QuotesNova Phase 306 — one even rhythm: no big empty bands above the footer or between sections.
   Loaded last on every page. The extra bottom padding is only removed where a footer follows the content
   (so pages without a footer still clear the fixed bottom bar). */
html body main { min-height: 0 !important; }
html body main:has(~ footer.ft) { padding-bottom: 24px !important; }
html body .qp-main { min-height: 0 !important; }
html body .qp-main:has(~ footer.ft), html body main:has(~ footer.ft) .qp-main { padding-bottom: 24px !important; }
html body .page { min-height: 0 !important; }
html body main:has(~ footer.ft) .page { padding-bottom: 0 !important; }
html body footer.ft.ft-reference { margin-top: 20px !important; }
html body .plus-wrap { margin-bottom: 8px !important; }
html body main > section { margin-top: 40px; }
html body .section { margin-top: 40px; }
html body #home .section { margin-top: clamp(32px, 5vw, 52px); }
html body .empty { padding-top: 40px !important; padding-bottom: 40px !important; }
@media (max-width: 700px) {
  html body main > section, html body .section { margin-top: 30px; }
  html body #home .section { margin-top: 30px; }
}
