/* Lightbox Modal Styles */
.photo-carousel-lightbox {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.photo-carousel-lightbox-overlay {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33, 43, 49, 0.85);
  z-index: 1;
}
.photo-carousel-lightbox-content {
  position: relative;
  z-index: 2;
  border-radius: 4px;
  padding: 0;
  max-width: 1110px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.photo-carousel-lightbox-image {
    border-radius: 4px;
    width: calc(1030px - 130px);
    max-width: 90vw;
    max-height: 50vw;
}
.photo-carousel-lightbox-close {
  background: transparent;
  border: none;
  font-size: 47px;
  cursor: pointer;
  color: var(--silver);
}
.photo-carousel-lightbox-nav {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}
.photo-carousel-lightbox-prev,
.photo-carousel-lightbox-next {
  border: none;
  border-radius: 4px;
  font-size: 64px;
  cursor: pointer;
  padding: 0px 32px;
  transition: background 0.2s;
  background: transparent;
  color:var(--white);
  display: flex;
  align-items: center;
  gap: var(--micro);
}
.photo-carousel-lightbox-prev i, 
.photo-carousel-lightbox-next i {
    width: 40px;
}
.photo-carousel-lightbox-prev:hover,
.photo-carousel-lightbox-next:hover {
  background: transparent;
}
body.photo-carousel-lightbox-open {
  overflow: hidden;
}
.photo-carousel-lightbox-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    position: relative;
    z-index: 3;
    max-width: unset;
    margin: auto auto 60px auto;
    width: 1300px;
    max-width: 90vw;
}

.lightbox-wrapper-inner{
    max-width: 90vw;
    max-height: 90vh;
}
.photo-carousel-lightbox-prev span, 
.photo-carousel-lightbox-next span{
    display: none;
}
.lightbox-mobile-close{
    display: none;
}
@media (min-width: 1600px) {
    .photo-carousel-lightbox-image {
        max-width: 32vw;
    }
}

@media (max-width: 1600px) {
    .lightbox-wrapper-inner {
        max-height: 100vh;
        padding: 20px 0px;
    }
    .photo-carousel-lightbox-content {
        max-width: 80vw;
        max-height: 100vh;
    }
    .photo-carousel-lightbox-image {
        max-width: 30vw;
    }
    .photo-carousel-lightbox-nav {
        max-width: 820px;
    }
    .photo-carousel-lightbox-prev, .photo-carousel-lightbox-next{
        font-size: 44px;
        padding: 0px 15px;
    }
    .photo-carousel-lightbox-prev i, .photo-carousel-lightbox-next i {
        width: 25px;
    }
    .lightbox-header{
        margin-bottom: 30px;
    }
}
@media (max-width: 1024px) {
    .lightbox-logo{
        width: 70px;
    }
    .photo-carousel-lightbox-close{
        font-size: 37px;
    }
    .photo-carousel-lightbox-image {
        max-width: 420px;
        max-height: 100%;
    }
}
@media (max-width: 767px) {
    .photo-carousel-lightbox-close {
        font-size: 27px;
    }
    .lightbox-logo {
        width: 50px;
    }
    .photo-carousel-lightbox-image {
        max-width: 300px;
        width: 580px;
    }
}
@media (max-width: 580px) {
    .photo-carousel-lightbox-prev {
        cursor: pointer;
        padding: 16px 0px 16px 24px;
        font-size: 24px;
    }
    .photo-carousel-lightbox-next {
        cursor: pointer;
        padding: 16px 24px 16px 0px;
        font-size: 24px;
    }
    .photo-carousel-lightbox-nav {
        position: relative;
        background-color: var(--blue);
    }
    .photo-carousel-lightbox-content {
        max-width: 100%;
        height: 450px;
    }
    .photo-carousel-lightbox-prev span, 
    .photo-carousel-lightbox-next span{
        display: inline-block;
        color: var(--white);
        font-family: Blinker;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 14px */
        letter-spacing: 0.7px;
        text-transform: uppercase;
    }
    .lightbox-header{
        display: none
    }
    .lightbox-mobile-close {
        grid-column: span 2;
        display: block;
        padding: var(--s, 16px) var(--m, 24px);
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        background-color: transparent;

        color: var(--silver);
        font-family: Blinker;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 14px */
        letter-spacing: 0.7px;
        text-transform: uppercase;
        border: 0px solid transparent;
        display: flex;
        align-items: center;
        width: auto;
        position: fixed;
        bottom: 60px;
        align-self: flex-end;
    }
    .lightbox-mobile-close i{
        font-size: 24px;
        color: var(--silver);
        text-align: center;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
    }
    .photo-carousel-lightbox-nav {
        display: flex;
        gap:16px;
        margin-top: 0px;
    }
    .photo-carousel-lightbox-image {
        max-width: calc(100% - 22px);
        max-height: 100%;
    }
    .photo-carousel-lightbox-nav{
        max-width: 100%;
    }
    .lightbox-wrapper-inner {
        max-width: 100%;
    }
    .photo-carousel-lightbox-nav {
        height: unset;
        max-height: unset;
        position: fixed;
        bottom: 0px;
    }
    .lightbox-wrapper-inner{
        height: 100%;
    }
}