.faq-section {
  margin-block: 40px;
  @media (max-width: 768px) {
    margin-block: 20px;
  }
}
.faq-mobile-title {
  display: none;
  @media (max-width: 768px) {
    display: block;
  }
}
.faq-section .faq-wrapper {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: stretch;
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 16px;
  }
}
.faq-section .faq-sidebar {
  flex-shrink: 0;
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}
.faq-section .faq-title-wrapper {
  display: flex;
  align-items: start;
  flex-direction: column;
  @media (max-width: 768px) {
      display: none;
      align-items: center;
  }
}
.faq-section .faq-title-header {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
  @media (max-width: 768px) {
    justify-content: center;
  }
}
.faq-section .faq-title-header span {
  width: 32px;
  height: 0;
  border: 1px solid;
  border-color: var(--border-color);
}
body.dark .faq-section .faq-title-header span {
  border-color: var(--border-color-dark);
}
.faq-section .faq-title-header .faq-main-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--main-text-color);
  @media (max-width: 768px) {
    font-size: 20px;
  }
}
body.dark .faq-section .faq-title-header .faq-main-title {
  color: var(--main-text-color-dark);
}

.faq-section .faq-sub-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--sub-text-color);
  @media (max-width: 768px) {
    font-size: 13px;
  }
}
body.dark .faq-section .faq-sub-title {
  color: var(--sub-text-color-dark);
}

.faq-section .faq-image {
  flex: 1 1 0%;
}
.faq-section .faq-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.faq-section .faq-content {
  flex: 1 1 0%;
  width: 60%;
  @media (max-width: 768px) {
    width: 100%;
  }
}
.faq-section .faq-question-item {
  border-bottom: 1px solid #e5e7eb80;
}
.faq-section .faq-question-header {
  color: var(--ques-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-top: 26px;
  padding-bottom: 11px;
}
.faq-section .faq-question-header .faq-question-title {
  font-size: 18px;
  font-weight: 500;
  user-select: none;
  @media (max-width: 768px) {
    font-size: 16px;
  }
}
.faq-section .faq-question-header .faq-icon {
  font-size: 16px;
  font-weight: 300;
  padding: 4px;
    aspect-ratio: 1 / 1;
        display: flex;
    justify-content: center;
    align-items: center;
    height: 27px;
  transition: transform 0.3s ease;
  border: 1px solid;
  @media (max-width: 768px) {
    font-size: 16px;
  }
}
body.dark .faq-section .faq-question-header {
  color: var(--ques-color-dark);
}
.faq-section .faq-question-item .faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  color: var(--answer-color);
  font-size:13px;
    @media (max-width: 768px) {
    font-size: 12px;
  }
}
body.dark .faq-section .faq-question-item .faq-answer {
  color: var(--answer-color-dark);
}
.faq-section .faq-question-item .faq-answer.open {
  opacity: 1;
}
