.accordion {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid #eaeaea;
  background: #fff;
}

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

.accordion-header {
  width: 100%;
  padding: 18px 25px;
  text-align: left;
  background: #f8f9fa;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  font-size: 16px;
}

.accordion-header:hover {
  background: #f1f3f5;
}

.accordion-header.active {
  background: #e9ecef;
  font-weight: 600;
}

.accordion-header .question-author {
  font-size: 14px;
  color: #6c757d;
  margin-right: 15px;
  font-weight: normal;
}

.accordion-header .question-text {
  flex-grow: 1;
}

.accordion-header .icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.accordion-header.active .icon {
  transform: rotate(45deg);
}

.accordion-header .plus-vert,
.accordion-header .plus-horiz {
  position: absolute;
  background-color: #495057;
  transition: all 0.3s ease;
}

.accordion-header .plus-vert {
  width: 2px;
  height: 16px;
  left: 7px;
}

.accordion-header .plus-horiz {
  width: 16px;
  height: 2px;
  top: 7px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  background: white;
}

.accordion-content.open {
  max-height: 500px;
  padding: 20px 25px;
}

.accordion-answer {
  background: #f8f9fa;
  border-left: 3px solid #0d6efd;
  padding: 15px;
  border-radius: 0 4px 4px 0;
  margin-top: 10px;
}

.accordion-answer:before {
  content: "Ответ:";
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0d6efd;
}