/*
 * Additions of the Next.js version (everything else is the original WordPress CSS).
 *
 * UIkit boots after React hydration. Scrollspy keeps every target it has not revealed yet at
 * opacity:0 (and reveals it with .uk-scrollspy-inview); this rule applies that from the first
 * paint, so animated elements don't flash before UIkit starts. All scrollspies on the site use
 * "target: .an". A <noscript> override in the layout shows them when JavaScript is off.
 */
[uk-scrollspy] .an:not(.uk-scrollspy-inview) {
  opacity: 0;
}

.site-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-mobile-toggle:focus-visible {
  outline: 2px solid #6ab11e;
  outline-offset: 2px;
}

@media (max-width: 959px) {
  .footer-menu-list ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
