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

/* Sticky header sits 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; } }

/* WordPress's own screen-reader class (used by core and plugins). */
.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; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; margin: 0; }

/* Pages and posts written with regular blocks (standard hero + text column). */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content a { color: var(--red-text); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: var(--fs-small); color: var(--text-secondary); margin-top: 6px; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-button__link { background: var(--bni-red); color: #fff; border-radius: 999px; padding: 12px 22px; text-decoration: none; font-weight: 600; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.entry-date { color: var(--text-secondary); font-size: var(--fs-small); }
.entry-list { list-style: none; padding: 0; }
.entry-list li { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
