.content-page__accordion {
  position: relative;
  padding: 0 0 7px 0;
  background-color: #fff;
}

.content-page__accordion::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e2e4eb;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.content-page__accordion::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: #014898;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  transition: width 0.4s ease;
}

.content-page__accordion:hover .content-page__accordion-control {
  color: #014898;
}

.content-page__accordion:hover .content-page__accordion-control::after {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23014898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.content-page__accordion:hover::after {
  width: 100%;
}

.content-page__accordion.open .content-page__accordion-control {
  color: #014898;
}

.content-page__accordion.open::after {
  width: 100%;
}

.content-page__accordion-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 24px 0 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #53525d;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  background-color: transparent;
  outline: none;
  border: none;
}

.content-page__accordion-control::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 6px;
  margin-top: -3px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23e2e4eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease-in-out;
}

.content-page__accordion.open .content-page__accordion-control::after {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23014898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.content-page__accordion-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.content-page__accordion.open .content-page__accordion-content {
  max-height: 0;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  pointer-events: auto;
  margin: 15px 0 0 0;
}

.content-page__accordion-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #53525d;
}

.content-page__accordion-description h1,
.content-page__accordion-description h2,
.content-page__accordion-description h3,
.content-page__accordion-description h4 {
  color: #2b2b2b;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.content-page__accordion-description h1 {
  font-size: 28px;
}

.content-page__accordion-description h2 {
  font-size: 24px;
}

.content-page__accordion-description h3 {
  font-size: 20px;
}

.content-page__accordion-description h4 {
  font-size: 18px;
}

.content-page__accordion-description>*:first-child {
  margin-top: 0;
}

.content-page__accordion-description p {
  margin-top: 0;
  margin-bottom: 16px;
}

.content-page__accordion-description ul,
.content-page__accordion-description ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

.content-page__accordion-description li {
  position: relative;
  padding-left: 24px;
}

.content-page__accordion-description ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #014898;
}

.content-page__accordion-description ol {
  counter-reset: accordion-counter;
}

.content-page__accordion-description ol li {
  counter-increment: accordion-counter;
}

.content-page__accordion-description ol li::before {
  content: counter(accordion-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #014898;
}

.content-page__accordion-description>*:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .content-page__accordion-control {
    font-size: 13px;
  }

  .content-page__accordion-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .content-page__accordion-description h1 {
    font-size: 22px;
    margin-top: 20px;
  }

  .content-page__accordion-description h2 {
    font-size: 20px;
    margin-top: 18px;
  }

  .content-page__accordion-description h3 {
    font-size: 18px;
    margin-top: 16px;
  }

  .content-page__accordion-description h4 {
    font-size: 16px;
    margin-top: 14px;
  }

  .content-page__accordion-description ul,
  .content-page__accordion-description ol {
    gap: 6px;
    margin-bottom: 12px;
  }

  .content-page__accordion-description li {
    padding-left: 20px;
  }

  .content-page__accordion-description ul li::before {
    width: 5px;
    height: 5px;
    top: 6px;
  }

  .content-page__accordion-description ol li::before {
    font-size: 13px;
  }
}