/* #region Person */
.person__image {
  object-fit: contain;
  max-height: 50vh;
}

.person__text {
  padding-top: 1em;
}

@media (min-width: 880px) {
  .person {
    flex-direction: row;
    max-width: 120ch;
    max-width: calc(120ch + 2em);
    gap: 2em;
  }

  .person__image {
    flex: 1 1 auto;
    align-self: flex-start;
    width: 40ch;
    height: auto;
    max-height: initial;
  }

  .person__text {
    flex: 2 1 auto;
    width: 80ch;
    padding-top: 0;
  }

  .person:nth-child(even) .person__image {
    order: 2;
  }
  
  .person:nth-child(even) .person__text {
    order: 1;
  }
}
/* #endregion */

/* #region Details/Summary */
details summary {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
details summary > * {
  display: inline;
  padding-left: 1.5em;
}

details summary {
  list-style-type: none;
}
details summary::-webkit-details-marker {
  display: none;
}

details summary:before {
  content: '';
  border: .5em solid transparent;
  border-left-color: black;
  position: absolute;
  top: 0.4em;
  left: 0.5em;
  transform: rotate(0);
  transform-origin: .2rem 50%;
}
details[open] > summary:before {
  transform: rotate(90deg);
}
@media (prefers-reduced-motion: no-preference) {
  details summary:before {
    transition: .25s transform ease;
  }
}
/* #endregion */
