/* intelliVersal: WordPress glue only. The prototype CSS (theme.css) stays untouched. */

/* Admin bar: keep the sticky header below it. */
.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; } }

/* Core accessibility class. */
.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; margin: 0; clip: auto; }

/* Footer offices (from Site Settings; not in the prototype). */
.footer__offices { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; font-size: .875rem; color: var(--e-global-color-muted-dark, #9FB0BF); }
.footer__offices li { display: grid; gap: 2px; }
.footer__offices strong { color: var(--e-global-color-on-dark, #F2F6FA); font-weight: 600; }
.footer__offices a { color: inherit; }
.footer__offices a:hover { color: var(--e-global-color-accent-light, #7DE0D6); }

/* Default page/post body: reading column aligned with the left-aligned hero (parts/content-intelliversal.php). */
.iv-wp-body .prose { max-width: 820px; }
.iv-wp-body .media { max-width: 820px; margin-bottom: 2em; }

/* Block content inside prototype prose. */
.prose > * + * { margin-top: 1.1em; }
.prose img, .prose video, .prose iframe { max-width: 100%; height: auto; }
.prose .wp-block-image, .prose figure { margin-block: 1.8em; }
.prose figcaption, .prose .wp-element-caption { margin-top: .6em; font-size: .875rem; color: var(--e-global-color-secondary, #4D5B6A); }
.prose .alignwide { width: min(var(--container, 1360px) - var(--gutter, 40px) * 2, 100vw - var(--gutter, 40px) * 2); max-width: none; margin-inline: calc(50% - min(var(--container, 1360px) - var(--gutter, 40px) * 2, 100vw - var(--gutter, 40px) * 2) / 2); }
.prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table td, .prose .wp-block-table th { padding: 10px 12px; border-bottom: 1px solid var(--e-global-color-line, #D6DDE4); text-align: left; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--e-global-color-line, #D6DDE4); margin-block: 2.4em; }
.prose::after { content: ""; display: table; clear: both; }
.page-links { margin-top: 2em; display: flex; gap: 10px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.4em; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--e-global-color-line, #D6DDE4); border-radius: var(--radius-sm, 8px); }
.nav-links .current { background: var(--e-global-color-primary, #0D2238); color: #fff; border-color: transparent; }

