/* ─────────────────────────────────────────
   WordPress adjustments. Loaded after the design's own CSS; it never
   restyles the design, only covers what WordPress adds or changes:
   the admin bar, form spam traps, and journal/privacy text that now
   comes from the editor as blocks.
───────────────────────────────────────── */

/* Admin bar (signed-in editors only): keep the fixed nav below it */
body.admin-bar #nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #nav { top: 46px; }
  #wpadminbar { position: fixed; }
}

/* Honeypot field on both forms: off screen, never seen by people */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Journal story text from the block editor ──
   The importer gives blocks the static site's classes (article-lead,
   article-text, article-h2, article-pullquote, article-image); these rules
   cover blocks written later without them, and the editor's own markup. */
.article-content > p:not([class]) {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.92;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-content > p strong { color: var(--ink); font-weight: 400; }
.article-content > h2:not([class*="article-h2"]),
.article-content > h2.wp-block-heading {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 300;
  color: var(--ink);
  margin: 44px 0 20px;
  line-height: 1.2;
}
.article-content > blockquote {
  margin: 44px 0;
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-content > blockquote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
}
.article-content > blockquote cite { display: none; }
.article-content > figure { margin: 44px 0; overflow: hidden; }
.article-content > figure img { width: 100%; height: 500px; display: block; object-fit: cover; }
.article-content > figure figcaption {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(122,116,108,0.65);
  margin: 12px 0 0;
  text-transform: uppercase;
}

/* ── Privacy text from the block editor ── */
.privacy-section ul:not(.privacy-list) { margin: 12px 0 20px 18px; }
.privacy-section ul:not(.privacy-list) li { font-size: 14px; line-height: 1.88; color: var(--muted); }
.privacy-section h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); margin: 28px 0 12px; }

/* Story page related links (the static page used inline hover handlers) */
.article-related-link:hover { opacity: 0.7; }

/* Journal pagination, only shown past thirteen stories */
.journal-pages a, .journal-pages span { color: var(--ink); text-decoration: none; }
.journal-pages .current { border-bottom: 1px solid currentColor; }

/* Plain pages and the 404 use the privacy layout without its watermark */
.privacy-hero.plain::after { content: none; }
