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

/* Keep the sticky header and filters below the admin bar when logged in */
.admin-bar .site-header { top: 32px; }
.admin-bar .dir-tools { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .dir-tools { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .dir-tools { top: var(--header-h); }
}

/* Blog pagination (paginate_links output) */
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers.dots { border: 0; }

/* Content written in the WordPress editor */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prose figure { margin: 1.5em 0; }
.prose figcaption, .wp-caption-text, .wp-element-caption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image img { border-radius: var(--r-md); }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; background: var(--sky); color: var(--navy-900); font-weight: 700; text-decoration: none; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose::after { content: ""; display: table; clear: both; }
.split__body > p { color: var(--text); }
