.accordion {
  margin-bottom: 1em;
}

.accordion .spoiler + .spoiler {
  margin-top: 11px;
}

.spoiler__title {
  display: block;
  position: relative;
  width: 100%;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  padding: 10px 30px 10px 0;
  border-bottom: 1px solid rgba(195, 214, 237, .2);
  text-decoration: none;
  cursor: pointer;
}

.spoiler__title::before {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transition: transform .3s ease, color .2s ease;
  transform: translateY(-50%);
  font-size: 14px;
}

.spoiler.is-open .spoiler__title::before {
  transform: translateY(-50%) rotate(45deg);
}

.spoiler__title:hover::before {
  color: #0572FF;
}

.spoiler__title:hover,
.spoiler__title:focus,
.spoiler__title:active {
  outline: none;
  color: #fff;
}

.spoiler__text {
  padding-top: 18px;
  padding-bottom: 0;
}

.spoiler--secondary {
  margin-bottom: 10px;
}

.spoiler--secondary .spoiler__title {
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  background-color: #0572FF;
  border: none;
  padding: 8px 45px 9px 20px;
  margin-bottom: 0;
  position: relative;
}

.spoiler--secondary .spoiler__title::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 20px;
  right: 20px;
  transform-origin: center 5px;
  transition: all .3s ease;
}

.spoiler--secondary .spoiler__title.is-active::after {
  transform: translateY(-5px);
  border-color: transparent transparent #fff transparent;
}

.spoiler--secondary .spoiler__text {
  padding-top: 5px;
}

.spoiler--sections {
  margin-bottom: 0;
}

.spoiler--sections .spoiler__text {
  padding-bottom: 18px;
}

.spoiler--sections .list-unstyled {
  margin: 0;
}

.spoiler--sections:not(.is-open) .spoiler__title {
  background-color: #171717;
}

.spoiler--sections:not(.is-open) .spoiler__title:hover {
  background-color: #0572FF;
}

.accordion .spoiler--sections + .spoiler--sections {
  margin-top: 5px;
}
