.tb-gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.tb-gallery-lightbox-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.9);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tb-gallery-lightbox-content {
  position: relative;
  z-index: 9999;
  max-width: 90vw;
  max-height: 90vh;
}
.tb-gallery-lightbox-content img {
  max-height: 80vh;
  max-width: 80vw;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.tb-gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  padding: 7px;
  background-color: white; /* Needed to show the SVG via masking */
  background-repeat: no-repeat;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMwIDEzMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Im01LjM0Mzc1IDk5LjA5Mzc1LTQuNDM3NS00LjQzNzUgNDQuNjg3NS00NC42NTYyNS00NC42ODc1LTQ0LjY1NjI1IDQuNDM3NS00LjQzNzUgNDYuODc1IDQ2Ljg3NWMxLjIxMTYzNjIgMS4yMTg4NjcgMS4yMTE2MzYyIDMuMTg3MzgzIDAgNC40MDYyNXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1LjM3NSAxNSkiLz48cGF0aCBkPSJtNTAuOTA2MjUgOTkuMDkzNzUtNDYuODc1LTQ2Ljg3NWMtMS4yMTE2MzYyMy0xLjIxODg2Ny0xLjIxMTYzNjIzLTMuMTg3MzgzIDAtNC40MDYyNWw0Ni44NzUtNDYuODc1IDQuNDA2MjUgNC40MDYyNS00NC42NTYyNSA0NC42NTYyNSA0NC42ODc1IDQ0LjY1NjI1eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTguMzc1IDE1KSIvPjwvZz48L3N2Zz4=);
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMwIDEzMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Im01LjM0Mzc1IDk5LjA5Mzc1LTQuNDM3NS00LjQzNzUgNDQuNjg3NS00NC42NTYyNS00NC42ODc1LTQ0LjY1NjI1IDQuNDM3NS00LjQzNzUgNDYuODc1IDQ2Ljg3NWMxLjIxMTYzNjIgMS4yMTg4NjcgMS4yMTE2MzYyIDMuMTg3MzgzIDAgNC40MDYyNXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1LjM3NSAxNSkiLz48cGF0aCBkPSJtNTAuOTA2MjUgOTkuMDkzNzUtNDYuODc1LTQ2Ljg3NWMtMS4yMTE2MzYyMy0xLjIxODg2Ny0xLjIxMTYzNjIzLTMuMTg3MzgzIDAtNC40MDYyNWw0Ni44NzUtNDYuODc1IDQuNDA2MjUgNC40MDYyNS00NC42NTYyNSA0NC42NTYyNSA0NC42ODc1IDQ0LjY1NjI1eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTguMzc1IDE1KSIvPjwvZz48L3N2Zz4=);
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.15s linear;
  cursor: pointer;
  z-index: 10000;
  display: inline-block;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.tb-gallery-lightbox-close:hover {
  transform: scale(1.125);
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.tb-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 98%;
  display: flex;
  justify-content: space-between;
  z-index: 10000;
}
.tb-gallery-lightbox-nav button {
  background: rgba(0,0,0,0);
  border: 2px solid #ffffff;
  box-shadow: none;
  color: white;
  padding: 0!important;
  font-size: 20px;
  cursor: pointer;
  margin: 0 20px;
}
.tb-gallery-lightbox-nav button img {
    display: inline-block;
    width: 22px;
}
.tb-gallery-lightbox-prev,
.tb-gallery-lightbox-next {
  width: 48px;
  height: 48px;
  border: 2px solid black;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, transform 0.2s;

  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.tb-gallery-lightbox-prev:hover,
.tb-gallery-lightbox-next:hover {
  transform: scale(1.125);
  box-shadow: none!important;
  background: none!important;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.tb-gallery-lightbox-prev:focus,
.tb-gallery-lightbox-next:focus {
  box-shadow: none!important;
  background: none!important;
}

.tb-gallery-lightbox-prev path,
.tb-gallery-lightbox-next path,
.tb-gallery-lightbox-prev svg,
.tb-gallery-lightbox-next svg {
  width: 25px;
  height: 25px;
  fill: white;
  transition: fill 0.2s;
}

.tb-gallery-lightbox-prev:hover svg,
.tb-gallery-lightbox-next:hover svg {
  fill: white;
}

.sig-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.sig-image-grid a {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.sig-image-grid img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  display: block;
}
