/* main content */
.faq-section {
  background: var(--white1);
  padding: 100px 0;
  color: var(--black1);
  transition: padding 0.4s ease;
}
.faq-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  transition: gap 0.4s ease;
}
.faq-page-wrapper {
  margin-top: 70px;
  display: flex;
  justify-content: center;
}
/* left side */
.faq-page-wrapper .faq-left-part {
  width: 600px;
}
.faq-left-part .h2 {
  margin-bottom: 16px;
  transition: margin-bottom 0.4s ease;
}
.faq-left-part .faq-left-decription {
  margin-bottom: 16px;
  color: var(--grey1);
  transition: margin-bottom 0.4s ease;
}
.faq-left-part .faq-left-list {
  margin-bottom: 40px;
  color: var(--grey1);
  transition: margin-bottom 0.4s ease;
}
.faq-left-part .faq-left-list li {
  list-style: decimal;
  margin-left: 20px;
}
.faq-left-part .h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.faq-help-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-help-part .faq-help-inner {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 24px;
  column-gap: 24px;
  row-gap: 12px;
}
.faq-help-part .faq-help-inner a {
  display: flex;
  gap: 10px;
  color: var(--grey1);
  transition: color 0.4s ease;
}
.faq-help-part .faq-help-inner a:hover {
  color: var(--blue1);
}
/* right side */
.faq-section .how-it-works-page {
  margin-right: -100px;
  border-radius: 30px;
  padding: 70px 100px 70px 70px;
  transition: padding 0.4s ease;
}

/* single question */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  transition: gap 0.4s ease;
}
.faq-item {
  border: 1px solid var(--border1);
  padding: 14px 16px;
  border-radius: 8px;
  transition: border-color 0.4s ease;
}
.faq-item:hover {
  border-color: var(--blue1);
}
.faq-item.open {
  border-color: var(--blue1);
  background: unset;
}
.faq-item.open .faq-question {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  font-family: "OpenSans";
  margin-bottom: 12px;
}
.faq-item .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-item .faq-question::after {
  content: "";
  background-image: url(../../icons/plus_silver.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
  display: block;
}
.faq-item.open .faq-question::after {
  background-image: url(../../icons/minus_blue.svg);
}
.faq-item .faq-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item .faq-answer p:not([class]):has(> img) {
  display: flex;
  gap: 8px;
  align-items: center;
}
.faq-item .faq-answer.body3 p {
  display: block;
}

.faq-item .faq-answer p img {
  height: 14px;
  width: 14px;
}
.faq-item .faq-answer ul li {
  list-style: disc;
  margin-left: 20px;
}
.faq-item .faq-answer ul li::marker {
  font-size: 8px;
}
.faq-item .faq-answer table {
  border: none;
  width: 100%;
  table-layout: fixed;
}
.faq-item .faq-answer table td {
  padding: 12px;
  border: none;
}
.faq-item .faq-answer table tbody tr:first-child {
  color: var(--white1);
  background: var(--blue1);
  border-bottom: none;
}
.faq-item .faq-answer table tr td {
  border-bottom: 1px solid var(--border1);
}

.faq-answer {
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* FAQ page */
.faq-page-wrapper ul,
.faq-section-wrapper ul {
  padding-top: 12px;
  padding-bottom: 24px;
}
.faq-page-wrapper ul:last-child,
.faq-section-wrapper ul:last-child {
  padding-bottom: 0px;
}
.faq-page-wrapper table,
.faq-section-wrapper table {
  margin-top: 12px;
  margin-bottom: 24px;
}
/* Responsive */
@media (max-width: 1440px) {
  /* right side */
  .faq-section .how-it-works-page {
    border-radius: 30px 0 0 30px;
  }
}
@media (max-width: 1050px) {
  .faq-section {
    padding: 70px 0 0;
  }
  .faq-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-left-part .h2 {
    margin-bottom: 12px;
  }
  .faq-left-part .faq-left-decription {
    margin-bottom: 12px;
  }
  .faq-left-part .faq-left-list {
    margin-bottom: 32px;
  }
  /* right part */
  .faq-section .how-it-works-page {
    margin-right: -100px;
    margin-left: -100px;
    border-radius: unset;
    padding: 70px 100px;
  }
}
@media (max-width: 768px) {
  .faq-list {
    gap: 8px;
  }
  .faq-item.open .faq-question {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    font-family: "OpenSans";
    margin-bottom: 8px;
  }
  .faq-page-wrapper {
    margin-top: 32px;
  }
  /* left side */
  .faq-page-wrapper .faq-left-part {
    width: 100%;
  }
  /* right side */
  .faq-section .how-it-works-page {
    margin-left: -20px;
    margin-right: -20px;
    padding: 32px 16px;
  }
}
