/* WordPress-only additions to the design CSS (style.css = site/css/styles.css, generated). Hand-written. */

/* Logged-in admin bar: keep the sticky header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } #wpadminbar { position: fixed; } }

/* Forms: honeypot + notices */
.ec-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__notice { margin: 0 0 1rem; padding: .8rem 1rem; background: var(--orange); color: var(--ink); font-weight: 600; }
.form__notice--error { background: #fff; color: #9b1c1c; border: 2px solid #9b1c1c; }
.join .form__notice { flex-basis: 100%; }

/* Blog paging */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pager .page-numbers { min-width: 2.8rem; padding: .7rem .9rem; border: 2px solid var(--ink); text-align: center; text-decoration: none; font: 700 .76rem/1 var(--display); font-stretch: 110%; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.pager a.page-numbers:hover { background: var(--paper-2); }
.pager .page-numbers.current { background: var(--ink); color: #fff; }
.pager .page-numbers.dots { border-color: transparent; }

/* Post bodies written in the block editor (the design only styled p, h2, a) */
.article h3 { font: 800 clamp(1.3rem, 2vw, 1.6rem)/1.1 var(--display); font-stretch: 78%; margin: 2rem 0 .7rem; }
.article h4 { font: 700 1.15rem/1.2 var(--display); margin: 1.6rem 0 .5rem; }
.article ul, .article ol { margin: 0 0 1.3em 1.3rem; padding: 0; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { font-size: 1.12rem; line-height: 1.65; margin-bottom: .45em; }
.article li::marker { color: var(--orange); }
.article blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--orange); }
.article blockquote p { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
.article blockquote cite { display: block; color: var(--stone); font-style: normal; font-size: .95rem; }
.article figure { margin: 2rem 0; }
.article img { max-width: 100%; height: auto; display: block; }
.article figcaption { margin-top: .6rem; color: var(--stone); font-size: .92rem; line-height: 1.45; }
.article hr { border: 0; border-top: 2px solid var(--line-l, #e2e2e2); margin: 2.4rem 0; }
.article .wp-block-image.aligncenter, .article .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.article .wp-block-embed { margin: 2rem 0; }
.article .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.article .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article .wp-block-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.article .wp-block-gallery figure { margin: 0; }
.article strong { font-weight: 700; }
@media (max-width: 720px) {
  .article li { font-size: 1.05rem; }
  .article .wp-block-gallery { grid-template-columns: 1fr; }
}
.article .wp-block-table { overflow-x: auto; }
.article table { border-collapse: collapse; width: 100%; max-width: 28rem; font-size: 1rem; }
.article th, .article td { padding: .55rem .8rem; border-bottom: 1px solid var(--line-l, #e2e2e2); text-align: left; }
.article thead th { border-bottom: 2px solid var(--ink); font-family: var(--display); }
