.details {
  padding: 1rem;
  padding-right: 2rem;
  background-color: white;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.08);
}

.details[open] .details__summary ~ * {
  animation: open 0.3s ease-in-out;
}

@keyframes open {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.details__summary::-webkit-details-marker {
  display: none;
}

.details__summary {
  width: 100%;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  list-style: none;
  padding-right: 1.75rem;
  outline: 0;
}

.details__summary::after {
  transform: rotate(90deg);
}

.details__summary::after,
.details__summary::before {
  --size: 1.25rem;
  --h: calc(var(--size) * 0.2);

  content: "";
  position: absolute;
  left: calc(100% - var(--size));
  top: calc(50% - var(--h) / 2);

  height: var(--h);
  width: var(--size);

  border-radius: 100px;
  background-color: var(--a-title-main);

  transform-origin: center;
  transition: 200ms linear;
}

.details[open] .details__summary:after {
  transform: rotate(0deg);
}

.details[open] .details__summary::before {
  transform: rotate(180deg);
  background-color: transparent;
}

.details__content {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
}
