/* Keep the established page layout while exposing structure to assistive tools. */
.ML-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ML-skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 10000;
  box-sizing: border-box;
  max-width: calc(100% - 16px);
  padding: 10px 14px;
  background: #fff4a8;
  color: #111;
  font: 700 16px/24px Arial, sans-serif;
  text-decoration: underline;
}

.ML-skip-link:focus {
  top: 8px;
  outline: 3px solid #111;
  outline-offset: 2px;
}

.main a:focus-visible,
.ML-slideshow-controls button:focus-visible {
  outline: 3px solid #1b1b1b;
  outline-offset: 3px;
}

.footer a:focus-visible {
  outline: 3px solid #fff4a8;
  outline-offset: 3px;
}

.ML-carousel .mySlides {
  display: none;
}

.ML-carousel .mySlides:first-child {
  display: block;
}

.ML-slideshow-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 6px auto 0;
}

.ML-slideshow-controls[hidden] {
  display: none;
}

.ML-slideshow-controls button {
  min-width: 64px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #333;
  border-radius: 3px;
  background: #fff4a8;
  color: #111;
  font: 14px/22px Arial, sans-serif;
  cursor: pointer;
}

.ML-slideshow-controls button:hover {
  background: #faed93;
}

@media (prefers-reduced-motion: reduce) {
  .ML-carousel .fade {
    animation: none;
  }
}
