/* WordPress-only additions on top of styles.css */

/* Fixed header below the admin bar for logged-in editors */
.admin-bar .site-header { top: calc(18px + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(8px + 46px); } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Editor content on generic pages and posts */
.wp-prose { max-width: 860px; margin-inline: auto; }
.wp-prose > :first-child { margin-top: 0; }
.ap-prose img, .wp-prose img { max-width: 100%; height: auto; border-radius: 18px; }
.ap-prose figure { margin: 1.8em 0; }
.ap-prose figcaption { margin-top: .6em; color: #5b6b7c; font-size: .9rem; text-align: center; }
.ap-prose iframe, .ap-prose video { max-width: 100%; border-radius: 18px; }
.ap-prose .wp-block-buttons a, .ap-prose .wp-block-button__link { text-decoration: none; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Archive / search pagination */
.blog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.blog-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.blog-pager .page-numbers.current { background: var(--blue); color: #fff; box-shadow: none; }

/* Form sent state */
.contact-form button[disabled] { opacity: .65; cursor: progress; }
