/* WordPress compatibility. Coming-soon section styles (box, form, CF7 states) live in the plugin under .bvcs. */

/* Anything else printed in body (plugin footer output) must not take a design row. */
body>.top{grid-row:1}
body>main{grid-row:2}
body>.bot{grid-row:3}
/* Footer widget band (only printed when filled) takes row 3 and pushes the footer line to row 4. */
body:has(>.bv-footer-widgets){grid-template-rows:auto 1fr auto auto}
body>.bv-footer-widgets{grid-row:3;position:relative;z-index:1}
body:has(>.bv-footer-widgets)>.bot{grid-row:4}

/* Admin bar: keep the page inside one viewport. */
body.admin-bar{min-height:calc(100svh - var(--wp-admin--admin-bar--height,32px))}

/* Accessible hidden text and skip link (absolute, so it never takes a body grid row). */
.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}
.bv-skip:focus{clip:auto;width:auto;height:auto;margin:0;overflow:visible;white-space:normal;top:8px;left:8px;z-index:100;padding:10px 14px;background:var(--bv-color-ink);color:var(--bv-color-on-ink);font:700 14px var(--bv-font-body)}

/* Focus states. */
.mlhead:focus-visible,.bv-logo:focus-visible,.bv-menu a:focus-visible{outline:var(--bv-border) solid var(--bv-color-ink);outline-offset:3px}
