/* block_faq */
.block_faq {
  width: 100%;
  padding: 0 15px;
}
.block_faq h2 {
  margin-bottom: 40px;
}
.block_faq .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 0;
}
.block_faq_content_wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.block_faq_btn {
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #ab885d;
  height: 45px;
  border: none;
  padding-left: 0;
  cursor: pointer;
  width: 100%;
  max-width: 230px;
  margin-top: 35px;
  transition: all linear 0.2s;
}
.block_faq_questions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.block_faq_question {
  height: fit-content;
  width: 100%;
}
.block_faq_question svg {
  opacity: 0;
  visibility: hidden;
  display: none;
}
.block_faq_question span {
  width: 40%;
  max-width: 380px;
  display: block;
  font-weight: 600;
  font-size: calc(15px + 3 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #243d3a;
  padding: 20px;
  cursor: pointer;
  transition: 0.5s all;
}
.block_faq_answer {
  width: 60%;
  font-weight: 400;
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #39464a;
  padding: 20px;
  border-left: 2px solid #967340;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  right: 0;
  top: 0;
  height: 100%;
  overflow-y: scroll;
}

/* полоса прокрутки (скроллбар) */
.block_faq_answer::-webkit-scrollbar {
  width: 3px; /* ширина для вертикального скролла */
  height: 3px;
  background-color: transparent;
}

/* ползунок скроллбара */
.block_faq_answer::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 16px;
}

.block_faq_answer::-webkit-scrollbar-thumb:hover {
  background: #c1c1c1;
}

/* Стрелки */
.block_faq_answer::-webkit-scrollbar-button:vertical:start:decrement,
.block_faq_answer::-webkit-scrollbar-button:vertical:end:increment,
.block_faq_answer::-webkit-scrollbar-button:horizontal:start:decrement,
.block_faq_answer::-webkit-scrollbar-button:horizontal:end:increment {
  background-color: transparent;
}

.block_faq_answer_active {
  visibility: visible;
  opacity: 1;
  right: 0;
  top: 0;
}
.block_faq_question_active span {
  background: #3e635f;
  color: white;
}
/* block_faq */
@media (hover: hover) {
  .block_faq_question span:hover {
    background: #f5f5f5;
    transition: 0.5s all;
  }
  .block_faq_question_active span:hover {
    background: #3e635f;
    color: white;
  }
  .block_faq_btn:hover {
    background-color: #7e6546;
  }
}
@media screen and (max-width: 1000px) {
  .block_faq_answer {
    width: 50%;
    padding: 10px 0 10px 15px;
  }
  .block_faq_question span {
    width: calc(50% - 15px);
    max-width: none;
  }
  .block_faq_questions {
    min-height: 450px;
  }
}
@media screen and (max-width: 900px) {
  .block_faq_answer {
    position: relative;
    opacity: 1;
    visibility: visible;
    height: fit-content;
    border: none;
    border-bottom: 2px solid #96744000;
    width: 100%;
    padding: 0;
    max-height: 0px;
    overflow: hidden;
  }
  .block_faq_answer_active {
    max-height: 1000px;
    padding: 15px 0 20px 0;
    border-bottom: 2px solid #967340;
  }

  .block_faq_question span {
    width: 100%;
    padding: 15px 40px 15px 10px;
  }
  .block_faq_question {
    position: relative;
  }
  .block_faq_question svg {
    opacity: 1;
    visibility: visible;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
  }
  .block_faq_question_active svg {
    transform: rotate(180deg) translateY(25%);
  }
  .block_faq_question_active svg path {
    stroke: white;
  }
  .block_faq h2 {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 600px) {
  .block_faq .container {
    padding: 30px 0;
  }
}
@media screen and (max-width: 400px) {
  .block_faq_btn {
    width: 100%;
    max-width: 100%;
  }
}
