#members article,
#coaches article {
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
#members article[role=button],
#coaches article[role=button] {
  cursor: pointer;
}
#members article .details,
#coaches article .details {
  position: relative;
  z-index: 3;
}
#members article .details .heading2,
#coaches article .details .heading2 {
  line-height: 1.4em;
  color: var(--white);
}
#members article .details .name,
#coaches article .details .name {
  font-family: var(--headings);
  text-transform: capitalize;
  font-weight: 600;
}
#members article .details .position,
#coaches article .details .position {
  font-weight: 200;
  text-transform: uppercase;
}
#members article .details .button,
#coaches article .details .button {
  margin-top: 20px;
}
#members article::after,
#coaches article::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46.75%, #000000 100%);
}
#members article img,
#coaches article img {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#trials #trials-carousel {
  --slide-height: max(32vw, 400px);
}

#member-popup {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.25);
}
#member-popup.active {
  opacity: 1;
  pointer-events: all;
}
#member-popup #content {
  width: auto;
  max-width: 75%;
  height: auto;
  max-height: 90vh;
  padding: var(--medium);
  background-color: var(--white);
  box-shadow: 0px 5px 20px 10px rgba(0, 0, 0, 0.3019607843);
  overflow: auto;
}
#member-popup #content #close {
  display: block;
  font-size: 40px;
  line-height: 0.6em;
  color: var(--primary);
  transition: color 0.3s;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: var(--medium);
}
#member-popup #content #close:hover {
  color: var(--secondary);
}
#member-popup #content #container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--medium);
}
#member-popup #content #container.animate {
  animation: fade 1s linear;
}
@keyframes fade {
  0% {
    opacity: 1;
    pointer-events: none;
  }
  48% {
    opacity: 0;
    pointer-events: none;
  }
  52% {
    opacity: 0;
    pointer-events: all;
  }
  100% {
    opacity: 1;
    pointer-events: all;
  }
}
#member-popup #content #container #details-column #player-name {
  font-size: 24px;
  color: var(--black);
}
#member-popup #content #container #details-column #player-position {
  font-family: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  color: var(--black);
}
#member-popup #content #container #details-column #player-bio {
  font-size: 14px;
  line-height: 1.9em;
  color: var(--black);
  margin-top: var(--small);
}
#member-popup #content #container #details-column #player-bio p {
  margin-bottom: var(--x-small);
}
#member-popup #content #container #details-column #player-bio p:last-of-type {
  margin-bottom: 0px;
}
#member-popup #content #container #image-column #player-photo {
  width: 100%;
  height: auto;
}
#member-popup #content #button-container {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: var(--large);
}
#member-popup #content #button-container button {
  background-color: transparent;
  border: none;
  width: 55px;
  height: 55px;
  cursor: pointer;
}
#member-popup #content #button-container button:disabled {
  cursor: default;
  opacity: 0.5;
}
#member-popup #content #button-container button:disabled img {
  left: 0px !important;
}
#member-popup #content #button-container button img {
  width: 100%;
  height: auto;
  position: relative;
  left: 0px;
  transition: left 0.3s;
}
#member-popup #content #button-container button.prev:hover img {
  left: -10px;
}
#member-popup #content #button-container button.next:hover img {
  left: 10px;
}
#member-popup #content #button-container .logo {
  width: 35px;
  height: auto;
}

#coach-popup {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.25);
}
#coach-popup.active {
  opacity: 1;
  pointer-events: all;
}
#coach-popup #content {
  width: auto;
  max-width: 75%;
  height: auto;
  max-height: 90vh;
  padding: var(--medium);
  background-color: var(--white);
  box-shadow: 0px 5px 20px 10px rgba(0, 0, 0, 0.3019607843);
  overflow: auto;
}
#coach-popup #content #close {
  display: block;
  font-size: 40px;
  line-height: 0.6em;
  color: var(--primary);
  transition: color 0.3s;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: var(--medium);
}
#coach-popup #content #close:hover {
  color: var(--secondary);
}
#coach-popup #content #container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--medium);
}
#coach-popup #content #container.animate {
  animation: fade 1s linear;
}
@keyframes fade {
  0% {
    opacity: 1;
    pointer-events: none;
  }
  48% {
    opacity: 0;
    pointer-events: none;
  }
  52% {
    opacity: 0;
    pointer-events: all;
  }
  100% {
    opacity: 1;
    pointer-events: all;
  }
}
#coach-popup #content #container #details-column #coach-name {
  font-size: 24px;
  color: var(--black);
}
#coach-popup #content #container #details-column #coach-bio {
  font-size: 14px;
  line-height: 1.9em;
  color: var(--black);
  margin-top: var(--small);
}
#coach-popup #content #container #details-column #coach-bio p {
  margin-bottom: var(--x-small);
}
#coach-popup #content #container #details-column #coach-bio p:last-of-type {
  margin-bottom: 0px;
}
#coach-popup #content #container #image-column #coach-photo {
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  #member-popup #content #container,
  #coach-popup #content #container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  #member-popup #content,
  #coach-popup #content {
    max-width: calc(100% - var(--medium) * 2);
  }
}/*# sourceMappingURL=players-coaches.css.map */