.accordion {
    padding: 48px 20px;
    background-color: #f8f8f8;
}

.accordion .container {
    max-width: var(--content-width);
    margin: 0 auto;
}

.accordion .item .top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: white;
  padding: 16px 32px;
}

.accordion .item .title h3 {
    margin: 0;
}

.accordion .item .arrow {
    width: 16px;
    height: auto;
}

.accordion .item .arrow svg {
    width: 100%;
    height: auto;
}

.accordion .item .text {
  background-color: white;
  padding: 8px 32px;
}

.accordion .item.is-open .text {
    margin-bottom: 16px;
}

.accordion .item .text button {
    color: white;
    text-decoration: underline;
    background-color: #222222;
    transition: all 0.3s ease;
    text-decoration: none;
}

.accordion .item .text button:hover {
    text-decoration: underline;
}

.accordion .item .text button a {
    color: white;
}

.accordion .item .arrow {
  transition: transform 0.3s ease;
}

.accordion .item.is-open .arrow {
  transform: rotate(180deg);
}

.accordion .item .text {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion .item.is-open .text {
  opacity: 1;
}

@media only screen and (min-width: 767px) {
    .accordion {
        padding: 64px 20px;
    }
}