.accordion {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.17);
  border-radius: 2px;
  font-size: 16px;
  margin-bottom: 2em;
  display: block;
}
.accordion__item + .accordion__item {
  border-top: 1px solid #e5e7eb;
}
.accordion__header {
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0.5em;
  padding: 0;
  background: #fff;
  position: relative;
}
.accordion__header:hover,
.accordion__header:focus {
  background: #e5eff5;
}
.accordion__title {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 1em 1em 1em 1.25em;
  color: #777777;
  text-decoration: none;
  line-height: 1.3;
  z-index: 2;
}
.accordion__title:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
  border-radius: 8px;
}
.accordion__toggle {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0 1em;
  border: 0;
  background: transparent !important;
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.accordion__toggle:hover {
  background-color: transparent;
}
.accordion__toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
  border-radius: 8px;
}
.accordion__toggle[aria-expanded="true"] .accordion__chev {
  transform: rotate(180deg);
  color: #111827;
}
.accordion__chev {
  width: 1.1em;
  height: 1.1em;
  transform: rotate(0deg);
  transition: transform 160ms ease;
  fill: currentColor;
  color: #6b7280;
}
.accordion__panel {
  color: #374151;
  line-height: 1.6;
}
.accordion__panel .accordion__children {
  margin: 0;
  padding: 0;
  list-style: none;
}
.accordion__panel .accordion__children li {
  border-top: 1px solid #e5e7eb;
}
.accordion__panel .accordion__children a {
  padding: 1em 1em 1em 3em;
  display: block;
  color: #777777;
  text-decoration: none;
}
.accordion__panel .accordion__children a:hover {
  background-color: #e5eff5;
}
/* Utility: Visually hidden text for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/*mobile accordion*/
@media (min-width: 801px) {
    aside .menu-toggle {
        display: none;
    }
}

@media (max-width: 800px) {
  :root {
    --accordion-max: 9999px;
  }

  #mobile-menu {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  aside .menu-toggle {
    display: block;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    float: none;
    background: #f9f9f9;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.17);
    color: #757575;
    font-weight: bold;
  }
  .menu-toggle:before {
      margin-right: 0.2em;
  }

  .accordion {
    margin-top: 1.5em;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
    will-change: max-height;
  }

  /* OPEN when checked */
  #mobile-menu:checked + .menu-toggle + .accordion {
    max-height: var(--accordion-max);
  }
  #mobile-menu:checked + .menu-toggle::after {
    transform: rotate(180deg);
  }

  @media (prefers-reduced-motion: reduce) {
    .accordion,
    .menu-toggle::after {
      transition: none !important;
    }
  }
}