/* ==========================================================================
   wp.css — styles that exist only in the WordPress build.
   Nothing here targets markup that is on the static site, so it cannot move
   a pixel of the original pages. Uses the design tokens from tokens.css.
   ========================================================================== */

/* Form honeypot: invisible to people, present for bots. Out of flow, so the
   form's flex gap is unaffected. */
.tmd-hp {
  position: absolute !important; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* --- Blog post (single.php) ---------------------------------------------- */
.post-meta {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-body-faint); margin-bottom: var(--s-5);
}
.post-cover { margin-bottom: var(--s-8); }
.post-cover img { width: 100%; height: auto; border-radius: var(--r-card); }
.post-body h2 {
  margin-top: var(--s-9); font-family: var(--font-display);
  font-size: 28px; font-weight: 600; color: var(--c-navy); line-height: 1.25;
}
.post-body h4 { margin-top: var(--s-6); font-size: 18px; font-weight: 600; color: var(--c-navy); }
.post-body ul, .post-body ol { margin-top: var(--s-4); padding-left: 1.4em; color: var(--c-body); font-size: 16px; line-height: 1.8; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: var(--s-2); }
.post-body blockquote {
  margin-top: var(--s-6); padding: var(--s-5) var(--s-6);
  border-left: 4px solid var(--c-teal); background: #F4F6F9; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.post-body blockquote p:first-child { margin-top: 0; }
.post-body figure, .post-body .wp-block-image { margin-top: var(--s-6); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.post-body figcaption { margin-top: var(--s-2); font-size: 14px; color: var(--c-body-soft); }
.post-back { margin-top: var(--s-10); }

/* --- Pagination on the Learning Center ----------------------------------- */
.blog-pagination { margin-top: var(--s-10); display: flex; justify-content: center; gap: var(--s-2); flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 var(--s-3);
  border: 1px solid #E6EAF0; border-radius: var(--r-pill);
  font-weight: 600; color: var(--c-navy);
}
.blog-pagination .page-numbers.current { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.blog-pagination a.page-numbers:hover { border-color: var(--c-teal); }
.blog-empty { text-align: center; color: var(--c-body); }
