/* Preserve archived content without the inherited WordPress runtime. */
html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; }
.top-navbar { position: relative !important; }
img, video { max-width: 100%; }
.archive-media { padding: 1rem; border: 1px solid #ccc; background: #f7f7f7; color: #222; }
.archive-media a { text-decoration: underline; }
[data-archive-href] { cursor: pointer; }
[data-archive-href]:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #1565c0; outline-offset: 3px; }
.sh-content, .sh-hide, .bit-collapsible-content { display: block !important; height: auto !important; }
.slick-slider:not(.slick-initialized) > * { display: block; }
.qsm-quiz-form input, .qsm-quiz-form button, .qsm-quiz-form select { pointer-events: none; }
@media (max-width: 767px) {
  #main-nav { display: none; }
  #main-nav.menu-active { display: block !important; position: relative; }
  .em_navbar { display: none !important; }
  .top-navbar .logo img { max-width: 200px; height: auto; }
  table { max-width: 100%; }
  .archive-media { margin: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Bootstrap's negative row gutters must stay inside the viewport. */
body > .row, .top-navbar > .container > .container { margin-left: 0; margin-right: 0; }
html, body { max-width: 100%; }
.top-navigation { width: auto !important; display: flex !important; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.top-navigation .em_social_icon, .top-navigation .em_social_icon a { width: auto !important; min-width: 0; white-space: nowrap; padding: 0; }
.slideshow-container { width: 100%; max-width: 100%; }
.row:has(> .slideshow-container), .row:has(> .sidebar-news-categories) { margin-left: 0; margin-right: 0; }
@media (max-width: 767px) {
  .top-navigation { justify-content: center; }
  .container-fluid > .row { margin-left: 0; margin-right: 0; }
  .sliderfade { height: 250px !important; }
  .slideruppertitle { font-size: 2rem !important; }
  .sliderlowertitle { font-size: 1.3rem !important; }
}

.bit-collapsible-content { max-height: none !important; overflow: visible !important; }
.menu__handle { font-size: 26px; color: #777; line-height: 1; }
.menu__handle::before, .menu__handle::after { display: none !important; }
@media (max-width: 767px) {
  .row { margin-left: 0 !important; margin-right: 0 !important; }
  .slideshow-container, .slideshow-container .mySlides { height: 250px !important; }
  .sliderjumpnavbutton { top: auto !important; bottom: 8px !important; }
}
@media (max-width: 767px) { .sliderjumpnavbutton { display: none !important; } }
