.wp-block-pooka-people__person {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: var(--wp--preset--spacing--70);
}
.wp-block-pooka-people__person__image {
  flex: 0 0 15%;
  margin-right: var(--wp--preset--spacing--70);
  margin-bottom: var(--wp--preset--spacing--50);
}

.wp-block-pooka-people__person__image.fallback-image img {
  object-fit: contain;
  padding: 0 1rem 0 1.5rem;
}
.wp-block-pooka-people__person__details {
  max-width: 100%;
  width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}
.wp-block-pooka-people__person__details p {
  margin-top: 0;
  margin-bottom: 0.2rem;
}
.wp-block-pooka-people__person__contact_details {
  display: flex;
  flex-wrap: wrap;
  font-family: "Chap Semibold", sans-serif;
}
.wp-block-pooka-people__person__contact_details p:first-child {
  padding-right: var(--wp--preset--spacing--30);
}
.wp-block-pooka-people__person__contact_details p:last-child {
  padding-left: var(--wp--preset--spacing--30);
}
.wp-block-pooka-people__person__expanded_biography {
  position: relative;
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons {
  display: inline-block;
  position: relative;
  margin: var(--wp--preset--spacing--50) 0;
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__open {
  display: inline-block;
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__close {
  display: none;
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons .wp-block-button::before {
  width: 1rem;
  display: block;
  position: absolute;
  right: 0.8em;
  top: calc( 50% + 1px / 2 );
  transform: translateY(-50%);
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__open::before {
  content: url('../../images/itc-icon-dropdown-arrow-white.svg');
}
.wp-block-pooka-people__person__expanded_biography .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__close::before {
  content: url('../../images/itc-icon-dropdown-arrow-white-up.svg');
}
.wp-block-pooka-people__person__expanded_biography input[type=checkbox]:checked ~ .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__close {
  display: inline-block;
}
.wp-block-pooka-people__person__expanded_biography input[type=checkbox]:checked ~ .wp-block-buttons .wp-block-pooka-people__person__expanded_biography__open {
  display: none;
}
.wp-block-pooka-people__person__expanded_biography__text {
  display: none;
}
.wp-block-pooka-input {
  position: absolute;
  bottom: var(--wp--preset--spacing--50);
  left: 0;
  cursor: pointer;
  width: 6em;
  height: 1.8em;
  z-index: 1;
  opacity: 0;
}
.wp-block-pooka-input:checked {
  width: 4em;
}
.wp-block-pooka-input:hover ~ .wp-block-buttons .wp-block-button a,
.wp-block-pooka-input:focus-visible ~ .wp-block-buttons .wp-block-button a {
  box-shadow: var(--wp--preset--shadow--medium);
  transition: all 0.3s ease-in-out;
}
.wp-block-pooka-people__person__expanded_biography input[type=checkbox]:checked ~ .wp-block-pooka-people__person__expanded_biography__text {
  display: block;
}

/* Medium devices (tablets, 782px and up)  -md */
@media (min-width: 782px) {
  .wp-block-pooka-people__person {
    flex-direction: row;
  }
  .wp-block-pooka-people__person__image {
    margin-bottom: 0;
  }
  .wp-block-pooka-people__person__details {
    max-width: 80vw;
    width: inherit;
    text-align: left;
  }
}

@media (max-width: 782px) {
  .wp-block-pooka-people__person__image {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .wp-block-pooka-people__person__contact_details {
      display: block;
  }
  .wp-block-pooka-people__person__contact_details span {
        display: none;
  }
  .wp-block-pooka-people__person__expanded_biography .wp-block-pooka-input {
    left: 50%;
    transform: translateX(-50%);
  }
}
