/* WordPress-specific additions on top of the original site styles. */

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

.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;
}

/* Block content inside the theme's containers */
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .wp-block-image { margin: 0 0 1.5rem; }
.entry-content .wp-block-image img { border-radius: var(--r-lg, 20px); }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.entry-content blockquote:not(.philosophy) { border-left: 4px solid var(--teal, #0fa3a3); padding: .4rem 0 .4rem 1.2rem; margin: 1.5rem 0; }
.entry-content .wp-block-list { padding-left: 1.2rem; }
.doctor-bio > p:last-child { margin-bottom: 0; }

/* Pagination */
.efd-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.efd-pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; display: inline-grid; place-items: center;
  border: 1px solid rgba(16, 42, 92, .15); color: var(--navy, #102a5c); font-weight: 600; text-decoration: none;
}
.efd-pagination .page-numbers.current, .efd-pagination .page-numbers:hover { background: var(--navy, #102a5c); color: #fff; }

/* Form error message (appointment form) */
.appt-form .form-error { font-size: .92rem; border-radius: 12px; }
