

/* Start:/bitrix/templates/yv2025/components/bitrix/news.list/faq/style.css?17805560762253*/
/* Основной аккордеон (как в вашем референсе) */
.accordion {
  width: 100%;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fff;
  padding: 0;
}

.accordion-item.active .accordion-content {
  transition: max-height 0.5s ease-in;
  padding: 20px;
}

/* Вложенный аккордеон для вопросов-ответов */
.faq-subitem {
  border-bottom: 1px solid #f0f0f0;
}

.faq-subitem:last-child {
  border-bottom: none;
}

.faq-subquestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 24px;
  color: #333;
  transition: color 0.2s ease;
}

.faq-subquestion:hover {
  color: #0066cc;
}

.faq-subicon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-subicon::before,
.faq-subicon::after {
  content: "";
  position: absolute;
  background-color: #999;
  transition: all 0.3s ease;
}

.faq-subicon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-subicon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-subitem.active .faq-subicon {
  transform: rotate(45deg);
}

.faq-subitem.active .faq-subicon::before,
.faq-subitem.active .faq-subicon::after {
  background-color: rgb(0, 144, 210);
}

.faq-subanswer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-subanswer-inner {
  padding-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.faq-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.faq-image {
  margin: 10px 0;
}

.faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.faq-text {
  margin-bottom: 10px;
}

.faq-text p {
  margin: 0 0 10px;
}

.faq-properties {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.faq-property {
  font-size: 14px;
  margin-bottom: 5px;
}

.faq-more-link {
  display: inline-block;
  margin-top: 10px;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
}

.faq-more-link:hover {
  text-decoration: underline;
}

/* End */
/* /bitrix/templates/yv2025/components/bitrix/news.list/faq/style.css?17805560762253 */
