.accordion__trigger {
  align-items: center;
  appearance: none;
  background-color: initial;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-flow: row nowrap;
  font-weight: bolder;
  gap: 2rem;
  justify-content: space-between;
  margin: 0;
  padding: 1rem 0;
  text-align: inherit;
  width: 100%;
}

.accordion__trigger:hover,
.accordion__trigger:focus {
  color: var(--accent-1);
}

.accordion__item {
  display: flex;
  font-family: inherit;
  font-size: 1.125em;
  margin: 0.5rem 0;
}

.accordion__item:not(:last-of-type) {
  border-bottom: 1px solid var(--primary-shade-2);
}

.accordion__item-active .accordion__trigger {
  color: var(--accent-1);
}

.accordion__item-active .accordion__icon {
  transform: rotate(180deg);
}

.accordion__item-active .accordion__icon--minus {
  opacity: 1;
}

.accordion__item-active .accordion__icon--plus {
  opacity: 0;
}

.accordion__icon {
  display: inline-flex;
  font-size: 1em;
  height: 1em;
  justify-content: center;
  position: relative;
  transition: transform 0.5s ease;
  width: 1em;
}

.accordion__icon--minus,
.accordion__icon--plus,
.accordion__icon--arrow {
  position: absolute;
  transition: opacity 0.5s ease;
}

.accordion__icon--minus {
  opacity: 0;
}

.accordion__icon--plus {
  opacity: 1;
}

.accordion__title {
  display: inline-flex;
  margin: 0;
  flex-grow: 1;
}

.accordion__content {
  font-family: var(--body-font);
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion__content-active {
  max-height: 100rem;
}