.block-gallery-tp {
    margin: 2rem 0;
	max-height: 100vh;
}

.block-gallery-tp .gallery-title {
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

#main-slider .splide__slide img,
#splide-slider .splide__slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

#thumbnail-slider {
    margin-top: 1rem;
}

#thumbnail-slider .splide__slide {
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#thumbnail-slider .splide__slide.is-active {
    opacity: 1;
    border: 2px solid #0073aa;
    border-radius: 4px;
}

#main-slider .splide__slide {
  aspect-ratio: 1;
  overflow: hidden;
}
#main-slider .splide__slide img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1;
}

@media (max-width: 600px) {
    #thumbnail-slider .splide__slide {
        width: 66px !important;
        height: 40px !important;
    }
}

.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

