/* team.css */

#team {
  max-width: 100%;
  width: 70em;
  text-align: center;
  height: auto;
  margin: 0 auto;
  font-size: 1.125em;
}
@media (max-width:1023px) {
  #team {
    font-size: 1.25em;
  }
}
#team .container {
  max-width: 80em;
}
#team.cast, #team.creatives {
  height: auto;
  transition-delay: 0s;
}

#team .team {
  margin: 0 auto;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  height: 0;
  z-index:1;
}
#team.cast .team.cast,
#team.creatives .team.creatives {
  position: relative;
  opacity: 1;
  pointer-events: all;
  height: auto;
  z-index:2;
  transition-delay: .4s;
  margin: 0 auto;
  padding-bottom: 5em;
}

#team.creatives .team.creatives {
  display: block;
  max-width: 64em;
  margin: 0 auto;
}

#team.cast h2 {
  color: #ffedf2;
}

#team .team .member {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  filter: saturation(0) contrast(1);
  max-width: 14em;
  margin: 1.5em 1em;
}

#team .team .member:not(.star) {
  width: 11.5em;
  margin: 1.25em 1em;
}

#team .team .member.understudy {
  width: 11em;
  margin: 1.25em 1em;
}

#team .team .member:hover {
  cursor: pointer;
  color: #ffedf2;
}
#team .team.creatives .member {
  width: 12.9125em;
  /* pointer-events: none; */
}

@media (max-width: 1023px) {
  #team .team.creatives .member {
    width: 100%;
    max-width: 100vw;
    min-width: 100%;
    margin: 1.25em auto;
  }
}

@media (min-width: 1024px) {
  #team .team.creatives .member {
    /* width: 9.85em; */
    margin-inline: auto;
  }
  #team .team.creatives .member.compact .name {
  }
  #team .team.creatives .member.x-wide {
    /* min-width: 17.5em !important; */
  }
  #team .team .member.full-width {
    width: auto!important; max-width:100%!important;
  }
}

@media (min-width: 1024px) {
  #team .team .member.full-width {
    width: auto!important; max-width:100%!important;
  }
}

@media (min-width: 768px) {
  #team .team.creatives .member .pr-4 {
    padding-right: 1.1em;
  }
}

#team .bio a {
  color: inherit;
}

#team .bio a {
  color: #111111;
}
#team .bio a:hover {
  color: #111111;
}

#team p {
  flex: 0 0 100%;
  margin: 0 auto;
}
#team p.divider {
  height: 0;
}
#team .creatives p {
  margin-bottom: .875em;
}
#team .creatives p:last-child {
  margin-bottom: 0;
}

#team .member:hover > .name, #team .member:hover > .role {
  color: #fe01da;
  transition: color .3s ease-out, filter .3s ease-out;
}

#team .member:hover * {
}

.headshot {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  margin: 0 auto;
  background-color: #181c18;
  border: 2px solid #111111;
  border-radius: .125em;
}

.overlay .headshot {
  width: auto;
  max-width: 17em;
}

.headshot img {
  position: relative;
  max-width: 334px;
  width: 100%;
  height: auto;
  transition: filter .2s ease-out;
  filter: saturate(0) brightness(1.125) contrast(.75);
  z-index:0;
}
@media (max-width:532px){
  #team .headshot img {
    max-width: 280px;
  }
}
.overlay .headshot img {
  /* filter: saturate(1) brightness(100%) contrast(100%); */
}
#team .member:hover .headshot:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 140%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index:9;
}
/* #team .member:hover .headshot.mark-box:before {
  background-image: url(../_img/mark-box.png);
}
#team .member:hover .headshot.mark-circle:before {
  background-image: url(../_img/mark-circle.png);
}
#team .member:hover .headshot.mark-x:before {
  background-image: url(../_img/mark-x.png);
  background-size: 2em;
  background-position: 88% 24%;
} */

.member .name {
  font-size: 1.125em;
  line-height: .9375;
  margin: .5em 0 0;
  color: #ffedf2;
}

.star .name {
  margin: .875em 0 0;
}

.creatives .member .name {
  margin: .25em auto;
}

.overlay .member .name {
  font-size: 1.75em;
}

.member .role {
  font-weight: 500;
  font-size: .875em;
  line-height: 1;
  padding-top: .25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.creatives .member .role {
  margin-top: .75em;
  margin-bottom: -.3125em;
  padding-top: 0;
}

.creatives .member .name {
  padding-top: .5rem;
}

.member .bio p {
  font-size: 1em;
  line-height: 1.375;
}
.overlay .bio p {
  margin: 1em auto;
  text-transform: none;
}

#team .bio {
  display: none;
}

.overlay-inner .member {
  max-width: 25em;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  font-size: 1.125em;
}

.overlay-inner {
    -ms-overflow-style: none; /* IE 10+ */
    scrollbar-width: none;  /* Firefox */
}
.overlay-inner::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

@media (max-width:768px) {
  #team {
    width: 100%;
  }

  .member .name {
    font-size: 1.5em;
  }
}

#content nav {
  font-size: 1rem;
  margin-bottom: 1.5em;
}
#content nav li {
  display: inline-block;
}
#content nav li .btn {
  min-width: 6.875em;
  font-size: 2.125em;
  margin: 0;
}
#content nav li .btn:hover,
#content nav li .btn.active {
  background-color: #ffedf2;
  color: #111111;
}
#content nav li .btn.active {
  pointer-events: none;
}

@media (min-width: 768px) {
  #team.creatives .team.creatives.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    margin-inline: auto;
    max-width: 42em;

    & .full-width {
      grid-column: 1/-1;
    }
  }

  .three-items-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    grid-column: 1 / -1;
  }

  #team .team.creatives .member {
    margin-inline: auto;
  }
}

@media (min-width: 1120px) {
  #team.creatives .team.creatives.grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: unset;
  }

  .centered-left {
    grid-column: 1;
  }

  .three-items-wrapper {
    grid-template-columns: repeat(3, 1fr);
    width: 75%;
    margin: 0 auto;
  }
}