/*!************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./pivot-blocks/team-grid/style.scss ***!
  \************************************************************************************************************************************************************************************/
.team-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  justify-content: center;
  padding-bottom: 50px;
}
.team-grid > .team-grid-item {
  color: var(--wp--preset--color--dark-gray);
  width: 25%;
  flex-grow: 0;
  min-width: 260px;
  padding: 10px 30px 25px;
}
.team-grid > .team-grid-item.hidden {
  display: none !important;
}
@media (max-width: 767px) {
  .team-grid > .team-grid-item {
    width: 33.33%;
  }
}
@media (max-width: 520px) {
  .team-grid > .team-grid-item {
    width: 50%;
  }
  .team-grid > .team-grid-item.replacement-image {
    max-width: 50% !important;
  }
}

.replacement-image {
  align-items: center;
  display: flex;
  width: unset !important;
}
.replacement-image.quarter {
  max-width: 25%;
}
.replacement-image.half {
  max-width: 50%;
}
.replacement-image.three-fourths {
  max-width: 75%;
}
.replacement-image > img {
  max-height: 480px;
  object-fit: contain;
  object-position: center center;
}

.team-grid-item {
  margin-top: 50px;
  text-align: center;
}
.team-grid-item .bio {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 20px;
}
.team-grid-item .popup-link-container {
  font-weight: normal;
  font-size: 18px;
  line-height: 24px;
}
.team-grid-item .popup-link-container a {
  align-items: center;
  display: flex;
  font-weight: normal;
  justify-content: center;
  position: relative;
  text-decoration: none;
}
.team-grid-item .popup-link-container a:after {
  border-bottom: solid 4px var(--wp--preset--color--blue);
  border-left: solid 4px var(--wp--preset--color--blue);
  content: "";
  display: block;
  height: 12px;
  left: 75%;
  margin-left: -10px;
  margin-top: 5px;
  position: absolute;
  top: 0;
  transform: rotate(-135deg);
  width: 12px;
}
.team-grid-item .location {
  font-size: 20px;
  text-align: center;
}

.team-grid .image,
.popup .image {
  position: relative;
  margin: 0 auto 40px;
  display: flex;
  width: 180px;
  max-width: 100%;
}
.team-grid .image .image-inner,
.popup .image .image-inner {
  border-radius: 100%;
  background: var(--wp--preset--color--light-gray);
  border: solid 2px var(--wp--preset--color--blue);
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}
.team-grid .image img,
.popup .image img {
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.team-grid .name,
.popup .name {
  color: var(--wp--preset--color--dark-gray);
  text-align: center;
  font-weight: bold;
  margin: 0.33em 0;
  font-size: 36px;
  line-height: 40px;
}
.team-grid .position,
.popup .position {
  color: var(--wp--preset--color--dark-gray);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.team-member-popup .popup {
  background: #fff;
  border-radius: 0;
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.1607843137);
  display: flex !important;
  flex-wrap: wrap;
}
.team-member-popup .popup .content {
  max-width: 500px;
  padding: 0;
}
.team-member-popup .popup .content .name {
  margin-bottom: 0;
}
.team-member-popup .popup .content .name,
.team-member-popup .popup .content .position {
  text-align: left;
}
.team-member-popup .popup .content .team-member-description {
  color: var(--wp--preset--color--black);
  font-size: 18px;
  margin-top: 20px;
}
.team-member-popup .popup .image {
  margin-left: 0;
  margin-right: 50px;
}
.team-member-popup .popup .mfp-close {
  color: var(--wp--preset--color--dark-gray);
}
.team-member-popup .popup .mfp-close:hover {
  color: var(--wp--preset--color--light-gray);
}

a.display-posts {
  background: transparent;
  border: 2px solid var(--wp--preset--color--dark-gray) !important;
  border-radius: 25px;
  color: var(--wp--preset--color--dark-gray) !important;
  display: block;
  margin-bottom: 100px;
  text-decoration: none !important;
  width: fit-content;
}
a.display-posts:hover {
  background: var(--wp--preset--color--dark-gray);
  color: #fff !important;
}
