/*-- -------------------------- -->
<---            FAQ             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #faq {
    padding: var(--sectionPadding);
    margin-top: 1.5rem;
  }
  #faq .cs-color {
    color: var(--primary);
  }
  #faq .cs-wave {
    width: 110%;
    height: 400px;
    position: absolute;
    overflow: hidden;
    top: 0px;
    transform: translateX(-20px);
    transition: filter 0.3s;
    z-index: -1;
  }
  #faq .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #faq .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #faq .cs-faq-group {
    padding: 0;
    margin: 0;
    margin-bottom: 3rem;
  }
  #faq .cs-faq-item {
    list-style: none;
    border-bottom: 1px solid #dad9e3;
    transition: border-bottom 0.3s;
  }
  #faq .cs-faq-item.active {
    border-bottom: 1px solid var(--primary);
  }
  #faq .cs-faq-item.active .cs-button:before {
    transform: rotate(180deg);
  }
  #faq .cs-faq-item.active .cs-button:after {
    opacity: 0;
    transform: rotate(360deg);
  }
  #faq .cs-faq-item.active .cs-item-p {
    height: auto;
    /* 12px - 16px */
    margin-bottom: clamp(0.75rem, 1.3vw, 1rem);
    opacity: 1;
  }
  #faq .cs-button {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.2em;
    text-align: left;
    font-weight: bold;
    /* 12px - 16px */
    padding: clamp(0.75rem, 1.3vw, 1rem) 0;
    background: transparent;
    border: none;
    color: var(--bodyTextColor);
    display: block;
    width: 100%;
    position: relative;
  }
  #faq .cs-button .span-text {
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    max-width: 90% !important;
    white-space: normal !important;
    display: block;
  }
  #faq .cs-button:hover {
    cursor: pointer;
  }
  #faq .cs-button:before {
    /* plus sign */
    content: "";
    width: 0.75rem;
    height: 0.125rem;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    top: 50%;
    right: 0.25rem;
    transition: transform 0.3s;
  }
  #faq .cs-button:after {
    /* plus sign */
    content: "";
    width: 0.75rem;
    height: 0.125rem;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    top: 50%;
    right: 0.25rem;
    transform: rotate(90deg);
    transform-origin: center;
    transition: opacity 0.5s, transform 0.3s;
  }
  #faq .cs-item-p {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    width: 90%;
    height: 0;
    margin: 0;
    opacity: 0;
    color: var(--bodyTextColor);
    /* clips the text so it doesn't show up */
    overflow: hidden;
    transition: opacity 0.3s, margin-bottom 0.3s;
  }
  #faq .cs-cta {
    text-align: center;
    /* 48px - 64px top & bottom */
    /* 40px - 56px left & right */
    padding: clamp(3rem, 4.9vw, 4rem) clamp(2.5rem, 4vw, 3.5rem);
    background: var(--primaryLight);
    border-radius: 1rem;
    /* prevents padding from adding to width and height */
    box-sizing: border-box;
  }
  #faq .cs-h3 {
    /* 25px - 31px */
    font-size: clamp(1.5625rem, 3vw, 1.9375rem);
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    line-height: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 0;
    margin-bottom: 1rem;
    color: var(--bodyTextColor);
  }
  #faq .cs-cta-p {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    line-height: 1.5em;
    margin: 0;
    /* 32px - 48px */
    margin-bottom: clamp(2rem, 3.9vw, 3rem);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  #faq .cs-container {
    max-width: 67.5rem;
  }
  #faq .cs-flex-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 16px - 48px */
    gap: clamp(1rem, 3.5vw, 3rem);
  }
  #faq .cs-faq-group {
    margin: 0;
  }
  #faq .cs-cta {
    width: 38.5%;
    max-width: 25.8125rem;
    /* prevents flexbox from squishing it */
    flex: none;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #faq {
    background-color: transparent;
  }
  body.dark-mode #faq .cs-wave {
    filter: grayscale(1) brightness(10%);
  }
  body.dark-mode #faq .cs-topper {
    color: var(--primaryLight);
  }
  body.dark-mode #faq .cs-title,
  body.dark-mode #faq .cs-text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #faq .cs-button {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #faq .cs-h3,
  body.dark-mode #faq .cs-item-p {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #faq .cs-text,
  body.dark-mode #faq .cs-faq-item.active .cs-item-p {
    opacity: 0.8;
  }
  body.dark-mode #faq .cs-cta {
    background: var(--medium);
  }
}
