/* WordPress-only adjustments for the ManoraTech theme. The design itself lives in site.css. */

/* When logged in, WordPress shows its admin bar at the top: keep the fixed header, the mobile menu
   and the reading bar below it instead of underneath it. */
body.admin-bar .site-header { top: 32px }
body.admin-bar .drawer { top: 110px }
body.admin-bar .progress { top: 32px }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px }
  body.admin-bar .drawer { top: 124px }
  body.admin-bar .progress { top: 46px }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed }
}

/* "Courses" (added to the menu by the theme) joins the top bar only where it fits on one line
   (1180px and wider, with room for a desktop scrollbar). Between 961 and 1179px the approved header
   stays exactly as it was and Courses is in the footer; below 961px it is in the mobile menu. */
@media (min-width: 961px) and (max-width: 1179px) {
  .nav-links .nav-courses { display: none }
}

/* Text for screen readers only, used by WordPress and plugin output. */
.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; width: 1px; word-wrap: normal !important }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000 }
