div.faq-nav-wrapper {
  max-height: calc(100vh - 8em);
  position: -webkit-sticky;
  position: sticky;
  overflow-y: auto;
  margin: 0;
  align-self: start;
  top: 100px;
} 

ul.faq-nav {
  list-style-type: none; /* Removes bullet points */
  padding-left: 0;      /* Removes default left padding/indentation */
  margin: 0;            /* Removes default margin */
  line-height: 3;  
}

ul.faq-nav a {
  font-size: 22px;
  font-family: Montserrat Alternates, sans-serif;
  text-decoration: none;
  font-weight: 500;
}

ul.faq-nav a:hover {
  color: #002661;
}

ul.faq-nav a:active {
  color: #002661;
}

ul.faq-nav a.active {
  font-weight: 700;
  text-decoration: underline;
}

/* Reset some wp settings */

summary {
  content: none;
  list-style: none; /* removes marker in Firefox/Chrome */
}

summary::-webkit-details-marker {
  display: none; /* removes marker in Safari */
}

.qa-wrapper {
  max-width: 740px;
}

.qa-wrapper h2 {
  text-align: center; 
  margin-top: 2em;
  margin-bottom: 1em;
}

.wp-block-details.faq {
  margin: auto;
  background: white;
  margin-top: 20px;
  border-radius: 50px;
  padding: 1.5em 2.5em;
  transition: 0.4s;  
}

.faq-section .faq-a {
  display: grid;
  grid-template-rows: 0fr;         /* collapsed */
  overflow: hidden;
}

h3.faq-q {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h3.faq-q::after {
  content: '\002B';
  float: right;
  margin-left: 0.2em;
}

.faq-section details[open] h3.faq-q::after {
  content: "\2212";
}

.faq-a {
  margin-top: 2em;
}

@media (max-width: 768px) {

  div.faq-nav-wrapper {
    position: relative;
    grid-gap: 0;
    min-height: 0;
  } 

  .faq-nav-wrapper h1 {
    text-align: center;
  }
  
  .qa-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .qa-wrapper h2 {
    margin-top: 0;
  }

  h3.faq-q {
    font-size: 16px;
  }

  ul.faq-nav {
    line-height: 2;  
  }

}

button.faq-accordion.active:after {
  content: "\2212";
}

/* Align hash-jumps under the sticky nav */
section[id]{ scroll-margin-top: 8em; } /* match STICKY */


