/* WordPress-specific additions to the original stylesheet. */

/* Keep the sticky header below the admin bar when logged in. */
.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; } }

/* Block editor output inside .prose */
.prose .wp-block-heading { margin-top: 1.6em; }
.prose figure { margin: 1.5rem 0; }
.prose figure img { height: auto; }
.prose .wp-block-image figcaption { font-size: .875rem; color: var(--muted, #6b7280); margin-top: .5rem; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.prose .wp-block-embed iframe { width: 100%; border: 0; aspect-ratio: 16 / 9; height: auto; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }

.side-posts img { width: 70px; height: 56px; object-fit: cover; }

/* Pagination */
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.navigation.pagination .page-numbers { display: inline-flex; min-width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; padding: 0 .75rem; border-radius: 999px; border: 1px solid rgba(14, 31, 60, .15); color: var(--ink, #0e1f3c); text-decoration: none; }
.navigation.pagination .page-numbers.current { background: var(--ink, #0e1f3c); color: #fff; border-color: transparent; }

/* WordPress core helpers */
.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 !important; width: 1px; word-wrap: normal !important; }
.wp-caption { max-width: 100%; }
