/* WordPress-only additions. main.css is the HTML site's stylesheet, unchanged. */

/* Admin bar: keep the sticky header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Blog topic chips are links in WordPress (category archives) */
a.chip { display: inline-flex; align-items: center; text-decoration: none; }

/* Pagination */
.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.navigation.pagination .page-numbers.current, .navigation.pagination a.page-numbers:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.no-posts { margin-top: 28px; color: var(--muted); }

/* Post content written in the editor */
.article img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.article figure { margin: 24px 0; }
.article figcaption, .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Search form on the 404 and search pages */
.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 18px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); }
.search-form .search-submit { font: 600 15px var(--font-body); padding: 0 22px; min-height: 48px; border-radius: 999px; border: 0; background: var(--brand-700); color: #fff; cursor: pointer; }
