/*
* MEDIA QUERIES
* Breakpoints for responsive sites
*/
.team-posts .team-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  align-items: start;
}
@media (max-width: 1023px) {
  .team-posts .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .team-posts .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-posts .team-member {
  position: relative;
}
.team-posts .team-member[aria-expanded=true] .member-image {
  background: var(--wp--preset--color--primary);
  border-bottom: 5px solid var(--wp--preset--color--secondary);
}
.team-posts .member-image {
  background: var(--wp--preset--color--primary);
  border-bottom: 5px solid transparent;
  transition: all 0.2s ease-in-out;
}
.team-posts .member-image:hover {
  border-bottom: 5px solid var(--wp--preset--color--tertiary);
  cursor: pointer;
}
.team-posts .image {
  position: relative;
  height: 300px;
}
.team-posts .image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.team-posts .member-details {
  padding: 2rem;
  min-height: 140px;
  overflow: hidden;
}
.team-posts .member-details .name {
  margin-bottom: 10px;
  position: relative;
  font-size: 2rem;
  line-height: 1.1;
  color: white;
  font-size: var(--wp--preset--font-size--medium);
}
.team-posts .member-details .institution,
.team-posts .member-details .position {
  margin: 0;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--wp--preset--color--tertiary);
  font-size: var(--wp--preset--font-size--small);
}
.team-posts .member-bio {
  position: relative;
  z-index: 2;
  width: calc(300% + 4rem);
  display: none;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
  transition: 200ms ease-in-out;
  transform: translateX(0px);
  min-height: 0px;
}
@media (max-width: 1023px) {
  .team-posts .member-bio {
    width: calc(200% + 2rem);
  }
}
@media (max-width: 500px) {
  .team-posts .member-bio {
    width: 100%;
  }
}
.team-posts .member-bio .bio {
  margin-top: 0rem;
  padding: 2rem;
  border: 1px solid var(--wp--preset--color--tertiary);
}
.team-posts .member-bio .bio p:first-of-type {
  font-size: 2rem;
  font-weight: 600;
}
.team-posts .member-bio .bio ul {
  margin: 0;
}
.team-posts .team-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.team-posts .team-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.team-posts .team-modal.visible .modal-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: auto;
}
.team-posts .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}
.team-posts .modal-content {
  background: white;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1001;
  pointer-events: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.team-posts .team-modal.visible .modal-content {
  transform: translateY(0);
  opacity: 1;
}
.team-posts .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.2s ease;
  color: #575757;
}
.team-posts .close-modal:hover {
  color: #666;
}
.team-posts .modal-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}
.team-posts .modal-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #f5f5f5;
}
.team-posts .modal-header-text {
  flex: 1;
}
.team-posts .modal-header-text h3 {
  margin: 0 0 5px 0;
  color: #2D587A;
  font-size: var(--wp--preset--font-size--large);
}
.team-posts .modal-header-text {
  margin: 0;
  color: #575757;
  font-size: 0.9em;
}
.team-posts .biography {
  line-height: 1.6;
  color: #575757;
}
.team-posts .biography * {
  font-size: var(--wp--preset--font-size--small);
}
.team-posts .biography p {
  margin-bottom: 10px;
}
.team-posts body.modal-open {
  overflow: hidden;
}
.team-posts .team-member {
  transition: transform 0.2s ease;
  cursor: pointer;
}
.team-posts .team-member:hover {
  transform: translateY(-3px);
}
@media (max-width: 767px) {
  .team-posts .modal-header {
    flex-direction: column;
    text-align: center;
  }
  .team-posts .modal-photo {
    margin-bottom: 15px;
  }
  .team-posts .modal-content {
    padding: 20px;
    width: 95%;
  }
}/*# sourceMappingURL=block-team-posts.css.map */