/*gallery_3*/
.simple_3col_image_gallery.gallery_3 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.simple_3col_image_gallery.gallery_3{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin: 112px 0;
}
.simple_3col_image_gallery.gallery_3 .heading_wrap{
    text-align: center;
}
.simple_3col_image_gallery.gallery_3 .heading_wrap h2{
    margin-bottom: 24px;
}
.simple_3col_image_gallery.gallery_3 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.simple_3col_image_gallery.gallery_3 .gallery_wrap{
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
}
.simple_3col_image_gallery.gallery_3 .gallery_item {
    line-height: 0;        
    height: auto;       
}
@media (max-width: 768px){
    .simple_3col_image_gallery.gallery_3 .gallery_wrap{
        gap: 24px;
        grid-template-columns: 1fr;
    }
    .simple_3col_image_gallery.gallery_3 .heading_wrap h2{
        margin-bottom: 20px;
    }
    .simple_3col_image_gallery.gallery_3 .heading_wrap p{
        font-size: 16px;
    }
    .simple_3col_image_gallery.gallery_3{
        gap: 24px;
        margin: 64px 0;
    }
}

/*gallery_5*/
.classic_3col_image_gallery.gallery_5 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.classic_3col_image_gallery.gallery_5{
    display: flex;
    gap: 40px;
    flex-direction: column;
     margin: 112px 0;
}
.classic_3col_image_gallery.gallery_5 .heading_wrap{
    text-align: center;
}
.classic_3col_image_gallery.gallery_5 .heading_wrap h2{
    margin-bottom: 24px;
}
.classic_3col_image_gallery.gallery_5 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.classic_3col_image_gallery.gallery_5 .gallery_wrap{
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
}
.classic_3col_image_gallery.gallery_5 .gallery_item {
    line-height: 0;        
    height: auto;          
}
@media (max-width: 768px){
    .classic_3col_image_gallery.gallery_5 .gallery_wrap{
        gap: 24px;
        grid-template-columns: 1fr 1fr;
    }
    .classic_3col_image_gallery.gallery_5 .heading_wrap h2{
        margin-bottom: 20px;
    }
    .classic_3col_image_gallery.gallery_5 .heading_wrap p{
        font-size: 16px;
    }
    .classic_3col_image_gallery.gallery_5{
        gap: 24px;
        margin: 64px 0;
    }
}
/*gallery_8*/
.modern_2col_image_gallery.gallery_8{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin: 112px 0;
}
.modern_2col_image_gallery.gallery_8 .heading_wrap{
    text-align: center;
}
.modern_2col_image_gallery.gallery_8 .heading_wrap h2{
    margin-bottom: 24px;
}
.modern_2col_image_gallery.gallery_8 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.modern_2col_image_gallery.gallery_8 .gallery_item img{
    width: 100%;
    display: block
}
.modern_2col_image_gallery.gallery_8 .gallery_wrap{
    position: relative;
}
.modern_2col_image_gallery.gallery_8 .gallery_item {
    line-height: 0;        
    height: auto;  
    width: calc(50% - 16px); 
    margin-bottom: 32px;       
}
@media (max-width: 768px){
    .modern_2col_image_gallery.gallery_8 .gallery_item{
        width: 100%;
        margin-bottom: 24px;
    }

    .modern_2col_image_gallery.gallery_8 .heading_wrap h2{
        margin-bottom: 20px;
    }
    .modern_2col_image_gallery.gallery_8 .heading_wrap p{
        font-size: 16px;
    }
    .modern_2col_image_gallery.gallery_8{
        gap: 24px;
        margin: 64px 0;
    }
}
/*gallery_10*/
.grid_3col_image_gallery.gallery_10{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin: 112px 0;
}
.grid_3col_image_gallery.gallery_10 .heading_wrap{
    text-align: center;
}
.grid_3col_image_gallery.gallery_10 .heading_wrap h2{
    margin-bottom: 24px;
}
.grid_3col_image_gallery.gallery_10 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.grid_3col_image_gallery.gallery_10 .gallery_item img{
    width: 100%;
    display: block;
}
.grid_3col_image_gallery.gallery_10 .gallery_wrap{
    position: relative;
}
.grid_3col_image_gallery.gallery_10 .gallery_item {
    line-height: 0;        
    height: auto;  
    width: calc((100% / 3) - 21.33px); 
    margin-bottom: 32px;        
}
@media (max-width: 768px){
    .grid_3col_image_gallery.gallery_10 .gallery_item{
          width: 100%;
          margin-bottom: 24px;
    }
    .grid_3col_image_gallery.gallery_10 .heading_wrap h2{
        margin-bottom: 20px;
    }
    .grid_3col_image_gallery.gallery_10 .heading_wrap p{
        font-size: 16px;
    }
    .grid_3col_image_gallery.gallery_10{
        gap: 24px;
        margin: 64px 0;
    }
}

/*gallery_16*/
.carousel_2col_image_gallery.gallery_16 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.carousel_2col_image_gallery.gallery_16{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin-bottom: 112px;
    margin-top: 112px;
}
.carousel_2col_image_gallery.gallery_16 .heading_wrap{
    text-align: center;
}
.carousel_2col_image_gallery.gallery_16 .heading_wrap h2{
    margin-bottom: 24px;
}
.carousel_2col_image_gallery.gallery_16 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.carousel_2col_image_gallery.gallery_16 .gallery_item {
    line-height: 0;        
    height: auto;   
    padding: 0 16px 0 16px;    
}
.carousel_2col_image_gallery .slick-list {
    padding: 0 calc((100% - 1280px - 32px) / 2);
}
.carousel_2col_image_gallery .slick-prev {
    left: calc(((100% - 1280px) / 2) - 24px);
}
.carousel_2col_image_gallery .slick-next {
    right: calc(((100% - 1280px) / 2) - 24px);
}
.carousel_2col_image_gallery .slick-dots{
    bottom: -65px;
}
.carousel_2col_image_gallery.gallery_16 .slick-dots li,
.carousel_2col_image_gallery.gallery_16 .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.carousel_2col_image_gallery.gallery_16 .slick-dots li{
    margin: 0 4.5px;
}
.carousel_2col_image_gallery.gallery_16 .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.carousel_2col_image_gallery.gallery_16 .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.carousel_2col_image_gallery.gallery_16 .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.carousel_2col_image_gallery.gallery_16 .slick-next::before,
.carousel_2col_image_gallery.gallery_16 .slick-prev::before{
    display: none;
}
@media(max-width:1280px){
    .carousel_2col_image_gallery .slick-list {
        padding: 0 8px;
    }
    .carousel_2col_image_gallery .slick-prev {
        display: none !important;
    }
    .carousel_2col_image_gallery .slick-next {
        display: none !important;
    }
    .carousel_2col_image_gallery .slick-dots{
        bottom: -65px;
    }
}
@media(max-width:767px){
    .carousel_2col_image_gallery.gallery_16 .gallery_item {  
        padding: 0 12px;    
    }
    .carousel_2col_image_gallery.gallery_16{
        margin-top: 64px;
        margin-bottom: 64px;
    }
    .carousel_2col_image_gallery.gallery_16 .heading_wrap p{
        font-size: 16px;
    }
}
/*gallery_19*/
.carousel_4col_image_gallery.gallery_19 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.carousel_4col_image_gallery.gallery_19{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin-top: 112px;
    margin-bottom: 112px;
}
.carousel_4col_image_gallery.gallery_19 .heading_wrap{
    text-align: center;
}
.carousel_4col_image_gallery.gallery_19 .heading_wrap h2{
    margin-bottom: 24px;
}
.carousel_4col_image_gallery.gallery_19 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.carousel_4col_image_gallery.gallery_19 .gallery_item {
    line-height: 0;        
    height: auto;  
     padding: 0 16px 0 16px;        
}
.carousel_4col_image_gallery.gallery_19 .slick-list {
    padding: 0 calc((100% - 1280px - 32px) / 2);
}
.carousel_4col_image_gallery.gallery_19 .slick-prev {
    left: calc(((100% - 1280px) / 2) - 24px);
}
.carousel_4col_image_gallery.gallery_19 .slick-next {
    right: calc(((100% - 1280px) / 2) - 24px);
}
.carousel_4col_image_gallery.gallery_19 .slick-dots{
    bottom: -65px;
}
.carousel_4col_image_gallery.gallery_19 .slick-dots li,
.carousel_4col_image_gallery.gallery_19 .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.carousel_4col_image_gallery.gallery_19 .slick-dots li{
    margin: 0 4.5px;
}
.carousel_4col_image_gallery.gallery_19 .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.carousel_4col_image_gallery.gallery_19 .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.carousel_4col_image_gallery.gallery_19 .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.carousel_4col_image_gallery.gallery_19 .slick-next::before,
.carousel_4col_image_gallery.gallery_19 .slick-prev::before{
    display: none;
}
@media(max-width:1280px){
    .carousel_4col_image_gallery.gallery_19 .slick-list {
        padding: 0 8px;
    }
    .carousel_4col_image_gallery.gallery_19 .slick-prev {
        display: none !important;
    }
    .carousel_4col_image_gallery.gallery_19 .slick-next {
        display: none !important;
    }
    .carousel_4col_image_gallery.gallery_19 .slick-dots{
        bottom: -65px;
    }
}
@media(max-width:767px){
    .carousel_4col_image_gallery.gallery_19 .gallery_item {  
        padding: 0 12px;    
    }
    .carousel_4col_image_gallery.gallery_19{
        margin-top: 64px;
        margin-bottom: 64px;
    }
    .carousel_4col_image_gallery.gallery_19 .heading_wrap p{
        font-size: 16px;
    }
}
/*gallery_26*/
.left_content_2slide_gallery.gallery_26 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.left_content_2slide_gallery.gallery_26{
    display: flex;
    gap: 80px;
    margin-top: 112px;
    margin-bottom: 112px;
}
.left_content_2slide_gallery.gallery_26 .heading_wrap,
.left_content_2slide_gallery.gallery_26 .gallery_wrap{
    width: 50%;
}
.left_content_2slide_gallery.gallery_26 .heading_wrap{
    display: flex;
    flex-direction: column;
    padding: 85px 0 85px calc((100% - 1280px) / 2);
}
.left_content_2slide_gallery.gallery_26 .heading_wrap h2{
    margin-bottom: 16px;
}
.left_content_2slide_gallery.gallery_26 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.left_content_2slide_gallery.gallery_26 .gallery_item {
    line-height: 0;        
    height: auto;   
     padding: 0 16px 0 16px;        
}
.left_content_2slide_gallery.gallery_26 .slick-dots li,
.left_content_2slide_gallery.gallery_26 .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.left_content_2slide_gallery.gallery_26 .slick-dots li{
    margin: 0 4px;
}
.left_content_2slide_gallery.gallery_26 .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.left_content_2slide_gallery.gallery_26  .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.left_content_2slide_gallery.gallery_26  .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.left_content_2slide_gallery.gallery_26  .slick-next::before,
.left_content_2slide_gallery.gallery_26  .slick-prev::before{
    display: none;
}
.left_content_2slide_gallery.gallery_26  .slick-prev {
    left: 16px;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.left_content_2slide_gallery.gallery_26  .slick-next {
    left: 82px;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.left_content_2slide_gallery.gallery_26 .slick-list {
    padding-right:  calc((100vw - 1280px - 32px) / 2);
}
.left_content_2slide_gallery.gallery_26 .slick-dots{
    bottom: -56px;
    right: 0;
    width: auto;
    padding-right: calc((100vw - 1280px) / 2);
}
@media (max-width:1280px){
    .left_content_2slide_gallery.gallery_26 .heading_wrap {
        padding: 65px 0 65px 20px;
    }
}
@media(max-width:767px){
    .left_content_2slide_gallery.gallery_26{
        margin-top: 64px;
        margin-bottom: 64px;
        flex-direction: column;
        gap: 24px;
    }
    .left_content_2slide_gallery.gallery_26 .heading_wrap,
    .left_content_2slide_gallery.gallery_26 .gallery_wrap{
        width: 100%;
    }
    .left_content_2slide_gallery.gallery_26 .gallery_item {
        padding: 0 12px 0 12px;       
    }
    .left_content_2slide_gallery.gallery_26 .slick-dots{
        padding-right: 20px;
    }
    .left_content_2slide_gallery.gallery_26 .slick-list {
        padding-right:  20px;
    }
    .left_content_2slide_gallery.gallery_26 .heading_wrap{
        padding: 0px 20px;
    }
    .left_content_2slide_gallery.gallery_26 .heading_wrap p{
        font-size: 16px;
    }
}
/*gallery_27*/
.left_content_4slide_gallery.gallery_27 .gallery_item img{
    display: block;
    height: inherit;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.left_content_4slide_gallery.gallery_27{
    display: flex;
    gap: 80px;
    margin-top: 112px;
    margin-bottom: 112px;
}
.left_content_4slide_gallery.gallery_27 .heading_wrap,
.left_content_4slide_gallery.gallery_27 .gallery_wrap{
    width: 50%;
}
.left_content_4slide_gallery.gallery_27 .heading_wrap{
    display: flex;
    flex-direction: column;
    padding: 39px 0 39px calc((100% - 1280px) / 2);
}
.left_content_4slide_gallery.gallery_27 .heading_wrap h2{
    margin-bottom: 16px;
}
.left_content_4slide_gallery.gallery_27 .heading_wrap p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}
.left_content_4slide_gallery.gallery_27 .gallery_item {
    line-height: 0;        
    height: auto;  
    padding: 0 16px 0 16px;       
}
.left_content_4slide_gallery.gallery_27 .slick-dots li,
.left_content_4slide_gallery.gallery_27 .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.left_content_4slide_gallery.gallery_27 .slick-dots li{
    margin: 0 4.5px;
}
.left_content_4slide_gallery.gallery_27 .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.left_content_4slide_gallery.gallery_27  .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.left_content_4slide_gallery.gallery_27  .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.left_content_4slide_gallery.gallery_27  .slick-next::before,
.left_content_4slide_gallery.gallery_27  .slick-prev::before{
    display: none;
}
.left_content_4slide_gallery.gallery_27  .slick-prev {
    left: 16px;
    bottom: 0;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.left_content_4slide_gallery.gallery_27  .slick-next {
    left: 82px;
    bottom: 0;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.left_content_4slide_gallery.gallery_27 .slick-list {
    padding-right:  calc((100vw - 1280px - 32px) / 2);
}
.left_content_4slide_gallery.gallery_27 .slick-dots{
    bottom: -56px;
    right: 0;
    width: auto;
    padding-right: calc((100vw - 1280px) / 2);
}
@media (max-width:1280px){
    .left_content_4slide_gallery.gallery_27 .heading_wrap {
        padding: 65px 0 65px 20px;
    }
}
@media(max-width:767px){
    .left_content_4slide_gallery.gallery_27{
        margin-top: 64px;
        margin-bottom: 64px;
        flex-direction: column;
        gap: 24px;
    }
    .left_content_4slide_gallery.gallery_27 .heading_wrap,
    .left_content_4slide_gallery.gallery_27 .gallery_wrap{
        width: 100%;
    }
    .left_content_4slide_gallery.gallery_27 .gallery_item {
        padding: 0 12px 0 12px;       
    }
    .left_content_4slide_gallery.gallery_27 .slick-dots{
        padding-right: 20px;
    }
    .left_content_4slide_gallery.gallery_27 .slick-list {
        padding-right:  20px;
    }
    .left_content_4slide_gallery.gallery_27 .heading_wrap{
        padding: 0px 20px;
    }
    .left_content_4slide_gallery.gallery_27 .heading_wrap p{
        font-size: 16px;
    }
}


/* Lightbox Styles */
#lightboxOverlay {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
}
#lightboxContainer {
    position: fixed;
    z-index: 9999;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: none;
    max-width: 90vw;
    max-height: 80vh;
}
#lightboxImage {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    max-height: calc(100vh - 300px);
    object-fit: contain;
    background: #08080880;
}
#closeBtn {
    position: absolute;
    top: -40px; 
    right: -40px;   
    width: 30px; height: 30px;
    text-align: center;
    background: url("../images/close.svg");
}
.navBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    color: white;
}
.navBtns{
    position: absolute;
    bottom: -30px;
    background: none;
    padding: 5px;
    cursor: pointer;
    color: white;
}
#prevBtns{ right: 60px; }
#nextBtns{ right: 30px; }
#prevBtn { left: -50px; }
#nextBtn { right: -50px; }
#counter {
    position: absolute;
    bottom: -30px;
    left: 10px;
    color: white;
}
#firstBtn, #lastBtn {
    position: absolute;
    bottom: -30px;
    padding: 5px;
    cursor: pointer;
    color: white;
}
#firstBtn { right: 80px; }
#lastBtn { right: 0px; }

/* Thumbnails container - fixed width for 4 thumbnails */
#thumbnails {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 5px;
    max-width: 520px; /* 4 thumbs (120px each + margins) */
}

#thumbnails::-webkit-scrollbar {
    height: 6px;
}
#thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 3px;
}

#thumbnails img {
    width: 120px;
    height: 120px;
    margin: 5px;
    cursor: pointer;
    opacity: 0.6;
    flex-shrink: 0;
    border: 2px solid transparent;
    box-sizing: border-box;
}

#thumbnails img.active {
    border: 2px solid #fff;
    opacity: 1;
}

