/*!
 * Start Bootstrap - Clean Blog v5.0.9 (https://startbootstrap.com/themes/clean-blog)
 * Copyright 2013-2026 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-clean-blog/blob/master/LICENSE)
 */

.talent-images-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.talent-images-wrapper .talent-gallery__item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.talent-images-wrapper .talent-gallery__item .talent-gallery__thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.talent-images-wrapper .talent-gallery__item .talent-gallery__thumb::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: inherit;
  filter: blur(10px);
  z-index: -1;
}
.talent-images-wrapper .talent-gallery__item .talent-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.talent-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(51, 51, 51, 0.75);
}
.talent-gallery-modal--open {
  display: flex;
}
.talent-gallery-modal__stage {
  position: relative;
  display: flex;
  align-items: center;
}
.talent-gallery-modal__image {
  max-width: min(76vw, 1200px);
  max-height: 80vh;
  -o-object-fit: contain;
  object-fit: contain;
}
.talent-gallery-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 63px;
  height: 50px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.talent-gallery-modal__close::before, .talent-gallery-modal__close::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 9px;
  width: 45px;
  height: 1px;
  border-radius: 2px;
  background: #ffffff;
}
.talent-gallery-modal__close::before {
  transform: rotate(18deg);
}
.talent-gallery-modal__close::after {
  transform: rotate(-18deg);
}
.talent-gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.talent-gallery-modal__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
  background: #ffffff;
}
.talent-gallery-modal__nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: #ffffff;
}
.talent-gallery-modal__nav--prev {
  right: 100%;
}
.talent-gallery-modal__nav--prev::after {
  left: 8px;
  transform: rotate(-45deg);
  transform-origin: left center;
}
.talent-gallery-modal__nav--next {
  left: 100%;
}
.talent-gallery-modal__nav--next::after {
  right: 8px;
  transform: rotate(45deg);
  transform-origin: right center;
}

@media screen and (max-width: 912px) {
  .talent-images-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .talent-gallery-modal__image {
    max-width: 86vw;
  }
  .talent-gallery-modal__nav {
    width: 48px;
    height: 48px;
  }
  .talent-gallery-modal__nav--prev {
    right: auto;
    left: 0;
  }
  .talent-gallery-modal__nav--next {
    left: auto;
    right: 0;
  }
}