/* WordPress-only additions to assets/css/site.css (which is shared with the static build). */

/* the admin bar sits above the sticky header for signed-in users */
.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; } }

/* page numbers of the article lists */
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.pagination { flex-wrap: wrap; }

/* article text written in the WordPress editor */
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .85rem; color: var(--muted); margin-top: .5em; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.prose .wp-caption { max-width: 100%; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--red); color: var(--ink); font-style: italic; }
.prose ol { padding-left: 1.4em; }
.prose ol > li { margin-bottom: .55em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose iframe, .prose video { max-width: 100%; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) { .prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; } }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* form result message */
.form-status.is-ok { background: #e9f6ec; color: #14532d; }
