  .accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 51, 153, .4);
  margin-bottom: 0 !important;
  margin-left: 0;
  margin-top: 0 !important;
}

* > .accordion:first-of-type {
  margin-top: 32px !important;
}

* > .accordion:last-of-type {
  margin-top: 0;
  margin-bottom: 32px !important;
  border-bottom: 1px solid rgba(0, 51, 153, .4);
}

.accordion > .header {
  display: flex;
  align-items: center;
  padding: 16px 0;
}

.accordion .text {
  flex: 1;
  margin: 0;
  transition: color .2s linear;
}

.accordion.open .text {
  color: var(--color-primary);
}

.accordion .btntoggle {
  margin: 0 8px;
  cursor: pointer;
  transition: transform .3s linear;
  height: 30px;
  width: 30px;
  font-size: 24px;
  border: 0;
  text-align: center;
  color: var(--color-featured);
  z-index: 2;
}

.accordion.open .btntoggle {
  transform: rotate(180deg);
}

.accordion .content {
  max-height: 0;
  overflow-x: hidden;
  transition: max-height .3s linear;
}

.accordion .content > *:last-child {
  margin-bottom: 0;
}

.accordion.open .content {
  max-height: 100vh;
}

.accordion .content > *:first-child {
  margin-top: 16px;
}

@media (max-width: 700px)  {
  .accordion {
    padding: 12px 0;
    margin-top: 0 !important;
  }

  .accordion:first-of-type {
    margin-top: 28px;
  }

  .accordion:last-of-type {
    margin-bottom: 28px;
  }

  .accordion.open .content > * :first-child {
    margin-top: 12px;
  }
}
