/* Basic Setup & Variables */
:root {
  --black: #000000;
  --white: #ffffff;
  --dark-teal: #00A99F;
  --grey: #F0F5F7;
}


/* ---------------------------------- */
/* Block: FAQ */
/* ---------------------------------- */

.faq {
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.faq__container {
  max-width: 900px;
  width: 100%;
}

/* ---------------------------------- */
/* Elements: Header */
/* ---------------------------------- */

.faq__header {
  text-align: center;
  margin-bottom: 50px;
}


.faq__intro {
  font-size: 24px;
  color: var(--black);
  font-weight: 400;
  line-height: 120%;
  margin-top: 24px;
}

.faq__intro a {
  color: var(--dark-teal);
  text-decoration: none;
}

.faq__intro a:visited{
  color: var(--dark-teal);
}

.faq__intro a:hover {
  text-decoration: underline;
}

/* ---------------------------------- */
/* Element: List */
/* ---------------------------------- */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------------------------- */
/* Element: Item */
/* ---------------------------------- */

.faq__item {
  background-color: var(--color-item-bg);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Modifier: Open State */
.faq__item[open] {
  border: 1px solid rgb(0 0 0 / 12%);
  overflow: hidden;
}
.faq__item.glass-white-bg{
  border: 1px solid #FFFFFF1F;
}
.faq__item.white-bg:not([open]) {
    background: transparent;
}

.faq__question h3 {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 24px;
  padding: 16px 20px;
  font-weight: 600;
  /* Hide default arrow in some browsers */
  transition: background-color 0.2s;
  border-radius: 5px;
  text-transform: none;
}

/* .faq__item:not([open]) .faq__question h3 {
  opacity: 0.5;
} */

.faq__item[open] .faq__question h3 {
  padding: 16px 20px 0;
  opacity: 1;
}


/* Hide native details marker */
.faq__question h3::-webkit-details-marker,
.faq__question h3::marker {
  display: none;
}

/* Custom arrow for closed state */
.faq__question h3::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
  transform: rotate(0deg);
  transition: transform 0.2s;
  margin-left: 10px;
  height: 24px;
  width: 24px;
  opacity: 50%;
}

.faq__item[open] .faq__question h3.tc--white::after{
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
}

.faq__item .faq__question h3.tc--white::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
}

.faq__item.white-bg:not([open]) .faq__question h3 {
    background: #0000000A;
    color: #00000080 !important;
}

.faq__item.glass-white-bg:not([open]) .faq__question h3 {
  color: #FFFFFF80 !important;
  background: #FFFFFF1F;
}

.callout_outer+.faq {
  padding-top: 0;
}

/* Arrow for OPEN state (when the parent details element has the [open] attribute) */
.faq__item[open] .faq__question h3::after {
  transform: rotate(-90deg);
  opacity: 1;
}

/* ---------------------------------- */
/* Element: Answer */
/* ---------------------------------- */

.faq__answer {
  padding: 12px 20px 20px;
  /* background-color: var(--white); */
}

.faq__answer p {
  margin: 0;
  font-size: 18px;
  /* color: var(--black); */
}

.faq__answer a {
  color: #0BC5BA;
}

.callout_outer.grey-bg+.faq.grey-bg {
  padding-top: 0;
}
.faq .faq__container .faq__list .faq__item .faq__answer p+ul {
  margin-top: 15px;
  margin-bottom: 0;
}
.faq .faq__container .faq__list .faq__item .faq__answer ul li:last-child {
    margin-bottom: 0;
}
.faq .faq__container .faq__list .faq__item .faq__answer p+ul {
  margin-top: 15px;
  margin-bottom: 0;
}
.faq .faq__container .faq__list .faq__item .faq__answer ul{
  margin: 0 0 30px;
  line-height: 1.56;
  padding-left: 30px;
  font-size: 18px;
}
@media(max-width: 1250px) {

  .faq,
  .callout_outer.grey-bg+.faq.grey-bg {
    padding: 60px 24px;
  }
}

@media(max-width: 991px) {

  .faq,
  .callout_outer.grey-bg+.faq.grey-bg {
    padding: 40px 24px;
  }

  .faq__header {
    font-size: 40px;
    font-weight: 700;
  }

  .faq__intro {
    font-size: 18px
  }

  .faq__question h3 {
    font-size: 24px;
    font-weight: 600;
  }
}

.faq .faq__container .faq__list .faq__item .faq__answer ol {
  margin: 0 0 30px;
  line-height: 1.56;
  padding-left: 30px;
  font-size: 18px;
}

.faq .faq__container .faq__list .faq__item .faq__answer p+ol {
  margin-top: 15px;
  margin-bottom: 0;
}
