/*-- -------------------------- -->
<---             FAQ             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #faq {
    padding: var(--sectionPadding);
    background-color: var(--navy);
    scroll-margin-top: 6rem;
    position: relative;
    overflow: hidden;
  }
  #faq .cs-container {
    width: 100%;
    max-width: 48rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  #faq .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }
  #faq .cs-topper {
    color: var(--secondary);
  }
  #faq .cs-title {
    color: #fff;
  }
  #faq .cs-text {
    color: rgba(255, 255, 255, 0.7);
  }
  #faq .cs-text a {
    color: var(--secondary);
  }
  #faq .cs-faq-group {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  #faq .cs-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  #faq .cs-faq-question {
    width: 100%;
    padding: 1.25rem 0.25rem;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
  }
  #faq .cs-faq-question-text {
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
  }
  #faq .cs-faq-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
    position: relative;
  }
  #faq .cs-faq-icon:before,
  #faq .cs-faq-icon:after {
    content: "";
    background-color: var(--secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, opacity 0.3s;
  }
  #faq .cs-faq-icon:before {
    width: 100%;
    height: 2px;
  }
  #faq .cs-faq-icon:after {
    width: 2px;
    height: 100%;
  }
  #faq .cs-faq-item.cs-active .cs-faq-icon:after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }
  #faq .cs-faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  #faq .cs-faq-answer-text {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.6em;
    margin: 0;
    padding: 0 0.25rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
  }

  /* Paper-cutout accents in the corners. */
  #faq .cs-shape-a,
  #faq .cs-shape-b {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    background-repeat: repeat;
    background-size: 120px 120px;
    background-blend-mode: overlay;
    filter: url(#cs-paint-edge);
  }
  #faq .cs-shape-a {
    width: clamp(6rem, 13vw, 9rem);
    height: clamp(6rem, 13vw, 9rem);
    background-color: var(--accentBlue);
    background-image: var(--cs-paint-grain);
    border-radius: 1.25rem;
    top: 6%;
    right: -2.5rem;
    opacity: 0.6;
  }
  #faq .cs-shape-b {
    width: clamp(5rem, 11vw, 7rem);
    height: clamp(5rem, 11vw, 7rem);
    background-color: var(--secondary);
    background-image: var(--cs-paint-grain);
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%);
    bottom: 4%;
    left: -2rem;
    opacity: 0.5;
  }
}
