.accordion-list {
  padding: 0;
  margin: 64px auto auto auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  width: 100%;
  border-radius: 20px 0 20px 0;
  transition: padding-bottom 0.2s ease-out;
}
.accordion-item:hover {
  padding-bottom: 4px;
}
.accordion-item.active {
  padding-bottom: 0;
}

.accordion-item button {
  border-radius: 20px 0 20px 0;
  border: none;
  background-color: transparent;
  color: var(--off-white);
  width: 100%;
  text-align: left;
  display: block;
  padding: 0;
}

.accordion-item button h3 {
  padding: 0 24px;
  word-break: break-word;
  overflow: hidden;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  color: var(--white);
  cursor: pointer;
}

.accordion-panel img {
  object-fit: cover;
  width: 100%;
}

.accordion-panel-text-inner {
  padding: 24px 40px 32px 40px;
}

.accordion-panel ul {
  list-style: outside;
  padding-left: 16px;
}

.accordion-top-divider {
  border-top: 3px;
  border-color: var(--white);
  border-top-style: solid;
}

@media (min-width: 2000px) {
  /* for large screens */
  .accordion-panel-text {
    width: 50%;
  }
  .accordion-panel img {
    width: 50%;
    object-fit: cover;
  }
  .accordion-panel {
    display: flex;
  }
  .active .accordion-bottom-divider {
    border-top: 3px;
    border-color: var(--white);
    border-top-style: solid;
    margin-bottom: 24px;
  }
}
