/* Small additions for behavior the Next.js runtime used to provide.
   Visual styles stay in style.css. */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[id] {
  scroll-margin-top: 5.5rem;
}

summary {
  cursor: pointer;
}

#mobile-nav[hidden] {
  display: none !important;
}

header button[aria-label="القائمة"] .icon-close {
  display: none;
}

header button[aria-label="القائمة"][aria-expanded="true"] .icon-open {
  display: none;
}

header button[aria-label="القائمة"][aria-expanded="true"] .icon-close {
  display: block;
}

.faq-answer[hidden] {
  display: none !important;
}
