

.tz-gallery {
    padding: 40px;
}

.tz-gallery .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.tz-gallery .row > div {
    padding: 10px;
}

.tz-gallery .lightbox {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tz-gallery .lightbox img {
    width: 100%;
    height: auto;
    min-height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    font-family: 'Glyphicons Halflings';
    content: '\e003';
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.tz-gallery .lightbox:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(117, 80, 53, 0.42), rgba(73, 50, 37, 0.22));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tz-gallery .lightbox:hover img,
.tz-gallery .lightbox:focus img {
    transform: scale(1.02);
    filter: brightness(0.95);
}

.tz-gallery .lightbox:hover:before,
.tz-gallery .lightbox:focus:before,
.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:focus:after {
    opacity: 1;
}

.baguetteBox-overlay {
    background: rgba(55, 37, 26, 0.78);
}

.baguetteBox-button {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #f5efe9 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.baguetteBox-button:hover {
    background: transparent !important;
    transform: scale(1.08);
    opacity: 0.95;
}

@keyframes galleryFade {
    from {
        opacity: 0;
        transform: translate3d(16px, 0, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.baguetteBox-slider .slide {
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.baguetteBox-slider .slide-current img,
.baguetteBox-slider .slide-next img,
.baguetteBox-slider .slide-prev img {
    animation: galleryFade 0.5s ease;
}

body #baguetteBox-slider {
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: left;
}

body #baguetteBox-slider.bounce-from-left,
body #baguetteBox-slider.bounce-from-right {
    animation: none !important;
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body #baguetteBox-slider .slide {
    opacity: 1 !important;
    transition: opacity 0.7s ease !important;
}

body #baguetteBox-overlay {
    transition: opacity 0.5s ease !important;
}

body .baguetteBox-button {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #f5efe9 !important;
}

body .baguetteBox-button#next-button,
body .baguetteBox-button#previous-button {
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .tz-gallery {
        padding: 20px;
    }
}