body {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
    min-height: 100vh;
    font: normal 16px sans-serif;
}

.gallery-container h1 {
    text-align: center;
    margin-top: 70px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
    color: #58595a;
}

.gallery-container p.page-description {
    text-align: center;
    margin: 30px auto;
    font-size: 18px;
    color: #85878c;
}

.tz-gallery {
    padding: 4px;
}

.tz-gallery .thumbnail {
    padding: 0;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 4px;
    border: none;
    transition: 0.15s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.tz-gallery .thumbnail:hover {
    transform: translateY(-10px) scale(1.02);
}

.tz-gallery .lightbox img {
    border-radius: 4px 4px 0 0;
}

.tz-gallery .caption{
    padding: 26px 30px;
    text-align: center;
}
.tz-gallery .caption2{
    padding: 10px 5px;
    text-align: center;
}

.tz-gallery .caption h3 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
}
.tz-gallery .caption2 h3 {
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
    
}

.tz-gallery .caption p {
    font-size: 12px;
    color: #7b7d7d;
    margin: 0;
}

.baguetteBox-button {
    background-color: transparent !important;
}
/* Fix gallery grid: use flexbox so unequal image heights don't break rows
   flex-basis ensures columns fill row at ALL viewports (Bootstrap col-sm-6 width:50%
   only fires at min-width:768px, leaving items frozen at content width below that) */
.tz-gallery .row {
    display: flex;
    flex-wrap: wrap;
}
.tz-gallery .col-sm-6 {
    display: flex;
    flex-direction: column;
}
.tz-gallery .thumbnail {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tz-gallery .thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

/* === GALLERY COLUMN SIZING FIX ===
   Without this, col-sm-6 items freeze at ~297px intrinsic width between 480-767px,
   leaving a growing gap on the right side of the gallery row */
.tz-gallery .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
@media(max-width:479px){
    .tz-gallery .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media(min-width:992px){
    .tz-gallery .col-sm-6.col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}
