/* WordPress additions to the proof's site.css */

/* Admin bar: keep the sticky header and sub-navs clear of it */
.admin-bar .masthead { top: 32px; }
.admin-bar .subnav { top: 120px; }
@media (max-width: 782px) {
  .admin-bar .masthead { top: 46px; }
  .admin-bar .subnav { top: 134px; }
}

/* Page content written in the block editor */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--ink); margin: 1.6em 0 .4em; }
.entry-content img { height: auto; }
.lead p { margin: 0 0 .6em; }
.lead p:last-child { margin-bottom: 0; }

/* FAQs: topics are H2s with an anchor, questions are Details blocks */
.faq-body > h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--ink); margin: 56px 0 8px; scroll-margin-top: 110px; }
.faq-body > h2:first-child { margin-top: 0; }
.faq-body > p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.faq-body details { border-bottom: 1px solid var(--line); }
.faq-body summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 12px 0; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq-body summary::-webkit-details-marker { display: none; }
.faq-body summary::after { content: '+'; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--year-deep); }
.faq-body details[open] summary::after { content: '−'; }
.faq-body summary:focus-visible { outline: 2px solid var(--year-deep); outline-offset: 2px; }
.faq-body details > :not(summary) { max-width: 760px; margin: 0 0 .7em; }
.faq-body details > :last-child { margin-bottom: 22px; }
.faq-body details ul { padding-left: 20px; }

/* Klaviyo's embedded sign-up form on the dark footer */
.footer .klaviyo-form-SSBu84 { min-height: 56px; }
