/*
 * Almanaut — WordPress compatibility.
 * Loaded after theme.css and before custom.css.
 */

/* Keep the sticky / fixed header clear of the admin toolbar */
body.admin-bar.header-fixed #header,
body.admin-bar.header-transparent:has(.hero-top) #header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar.header-fixed #header,
  body.admin-bar.header-transparent:has(.hero-top) #header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  /* The toolbar scrolls away below 600px */
  body.admin-bar.header-fixed #header,
  body.admin-bar.header-transparent:has(.hero-top) #header {
    top: 0;
  }
}

/* WordPress core helper classes */
.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;
}
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875em; opacity: 0.75; }

/* Nav menu items from Appearance > Menus use WP's .sub-menu lists */
.dropmenu ul.navigation li.menu-item { list-style: none; }
