.lc-gallery {
    background: #1F1F1F;
    display: flex;
    position: relative;
    height: 100vh;
    transform: scale(0.5);
    transform-origin: top;
}

.lc-gallery .lc-wrapper {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.lc-gallery .lc-wrapper .lc-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-in-out;
    overflow: hidden;
}

/* overlay */
.lc-gallery .lc-nav-item:after,
.lc-gallery .lc-slide:after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .65);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .33s ease-in;
    z-index: 1;
}

/*.lc-gallery .lc-nav-item.swiper-slide-active:hover:after,*/
.lc-gallery .lc-slide:has(.lc-hover:hover):after {
    opacity: 1;
    visibility: visible;
}

.lc-gallery .lc-wrapper .lc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-gallery .lc-nav {
    flex: 0 0 40%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* shadow */
.lc-gallery .lc-nav:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    box-shadow: 0 0 50px 100px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.lc-gallery .lc-nav:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    box-shadow: 0 0 50px 100px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.lc-gallery .lc-nav .lc-nav-item {
    aspect-ratio: 100 / 100;
    width: auto;
    opacity: 0.5;
    transition: all .25s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-gallery .lc-nav .swiper-wrapper {
    align-items: center;
}

.lc-gallery .lc-nav .lc-nav-item.swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
}

.lc-nav-item.swiper-slide-active[data-cat="0"] {
    outline: 3px #0A3A6E solid;
}

.lc-nav-item.swiper-slide-active[data-cat="1"] {
    outline: 3px #C5A76D solid;
}

.lc-nav-item.swiper-slide-active[data-cat="2"] {
    outline: 3px #AB9C8F solid;
}

.lc-gallery .lc-nav-inner {
    transition: all .4s cubic-bezier(.45, .05, .55, .95);
}

.lc-gallery .lc-nav .lc-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.lc-gallery .lc-menu {
    position: absolute;
    bottom: 50px;
    left: 50px;
    display: flex;
    background: white;
    clip-path: inset(0 round 35px);
    z-index: 3;
}

.lc-menu-item {
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
}

.lc-menu-item.current {
    color: white;
}

.lc-menu-item[data-cat="0"].current {
    background: #0A3A6E;
    color: white;
    border-radius: 0 30px 30px 0;
}

.lc-menu-item[data-cat="1"].current {
    background: #C5A76D;
    border-radius: 30px;
}

.lc-menu-item[data-cat="2"].current {
    background: #AB9C8F;
    border-radius: 30px 0 0 30px;
}

.lc-gallery .lc-wrapper .lc-slide.current {
    opacity: 1;
    visibility: visible;
}

.lc-gallery .lc-wrapper .lc-slide.current img {
    animation: kenburns 25s infinite;
}

/* Hover circle on the nav item and the main image */

.lc-gallery .lc-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    aspect-ratio: 100 / 100;
    text-align: center;
    white-space: nowrap;
}

.lc-gallery .lc-slide .lc-hover {
    min-width: 40%;
    max-width: 50%;
}

.lc-gallery .lc-nav-item .lc-hover {
    max-width: 90%;
    min-width: 66%;
}

.lc-gallery .lc-slide .lc-hover-inner {
    background: rgba(197, 167, 109, 0.2);
    font-size: 28px;
    gap: 5px;
}

.lc-gallery .lc-nav-item .lc-hover-inner {
    background: rgba(197, 167, 109, 0.2);
    font-size: 19px;
    gap: 10px;
}

.lc-gallery .lc-hover:after {
    content: "";
    padding-bottom: 100%;
    display: block;
}

.lc-gallery .lc-hover .lc-hover-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px white solid;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all .3s cubic-bezier(.55, .09, .68, .53);
    transform: scale(0.9);
}

/* when it comes to nav, you can hover anywhere
but for actual slides, you'll have to hover in the middle
 */
/*.lc-gallery .lc-nav-item.swiper-slide-active:hover .lc-hover-inner,*/
.lc-gallery .lc-slide .lc-hover:hover .lc-hover-inner {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.lc-title,
.lc-subtitle {
    padding: 0;
    margin: 0;
}

.lc-title {
    font-family: var(--font-stack-heading-secondary);
    font-size: 1.4rem;
}

@media screen and (max-width: 1599px) {
    .lc-title {
        font-size: 1.1rem;
    }
}

.lc-subtitle {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .lc-gallery {
        display: none;
    }
}

#ls-gallery-swiper {
    height: 100vh;
    overflow: visible;
}

#elementor-lightbox-slideshow-gallery .swiper-slide::before,
#elementor-lightbox-slideshow-gallery2 .swiper-slide::before,
#elementor-lightbox-slideshow-gallery3 .swiper-slide::before {
    content: attr(aria-label);
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10;
}