/* Doina Vin House · assets/css/wp.css (core-chrome)
   WordPress glue only: what the kit cannot know about WordPress (admin bar, core classes). Kit tokens only. */

/* Logged-in visitors: the sticky (and the home page's fixed) header sits under the admin bar. */
.admin-bar .dvh-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .dvh-header { top: 0; } }
/* The home page's fixed header (pages/home.css: .pg-home .dvh-header { top: 0 }) loads after this file and
   would sit under the admin bar, which then swallows clicks on the nav links: more specific, so it wins. */
.admin-bar.pg-home .dvh-header { top: var(--wp-admin--admin-bar--height, 32px); }

/* Core and WooCommerce markup use .screen-reader-text; same as the kit's .dvh-sr. */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; white-space: normal; }
