* { box-sizing: border-box; margin: 0; padding: 0; }
/* ===== UNIFORM GRID ===== */
#header_wrapper {
        background: rgb(195 195 195 / 60%);
}
.gal_masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    float: left;
}
@media (max-width: 991px) { .gal_masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .gal_masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gal_masonry { grid-template-columns: repeat(1, 1fr); } }
@media (max-width: 480px) { 
    #header_wrapper {
               background:white;
    }
}
.gal_item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    height: 220px;
}

.gal_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Gold border flash on hover */
.gal_item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 0px solid #f0a100;
    z-index: 2;
    transition: border-width 0.3s ease;
    pointer-events: none;
}
.gal_item:hover::before { border-width: 4px; }

/* Zoom icon */
.gal_zoom {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(15deg);
    width: 48px; height: 48px;
    background: #f0a100;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 4;
}
.gal_item:hover .gal_zoom {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}
.gal_zoom svg { width: 22px; height: 22px; fill: #000; }

.gal_item:hover .gal_img { transform: scale(1.08); }

/* ===== LIGHTBOX ===== */
.lb_backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 99998;
    align-items: center;
    justify-content: center;
}
.lb_backdrop.lb_on { display: flex; }

.lb_box {
    position: relative;
    max-width: 88vw;
    max-height: 88vh;
    text-align: center;
}
.lb_box img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    border-top: 4px solid #f0a100;
    border-bottom: 4px solid #f0a100;
    animation: lbIn 0.32s ease;
}
@keyframes lbIn {
    from { opacity:0; transform: scale(0.88); }
    to   { opacity:1; transform: scale(1); }
}
.lb_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px 0;
}
.lb_title { font-family:'open_sanssemibold',sans-serif; font-size:14px; color:#f0a100; }
.lb_counter { font-family:'open_sansregular',sans-serif; font-size:12px; color:#888; }

.lb_close {
    position: fixed;
    top: 50px; right: 16px;
    width: 40px; height: 40px;
    background: #f0a100;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    line-height: 38px;
    text-align: center;
    font-family: 'open_sanssemibold',sans-serif;
    z-index: 99999;
}
.lb_close:hover { background: #fff; }

.lb_arr {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    background: #f0a100;
    border: none;
    width: 46px; height: 60px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 99999;
    font-family: 'open_sanssemibold',sans-serif;
    line-height: 60px;
    text-align: center;
}
.lb_arr:hover { background: #fff; }
.lb_prev { left: 0; }
.lb_next { right: 0; }

.lb_thumbs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
    flex-wrap: wrap;
    max-width: 88vw;
}
.lb_thumbs img {
    width: 56px; height: 40px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
}
.lb_thumbs img.lb_th_active,
.lb_thumbs img:hover {
    border-color: #f0a100;
    opacity: 1;
}

#heading_wrapper { float:left; width:100%; background:#000; border-top:2px solid #f0a100; border-bottom:2px solid #f0a100; }
.heading_block h1 { float:left; width:100%; font-size:18px; color:#fff; line-height:24px; padding:8px 0 10px; }
#inner_content_wrapper { float:left; width:100%; padding:20px 0 40px; }

.gal_count_badge {
    display:inline-block;
    background:#f0a100;
    color:#000;
    font-family:'open_sanssemibold',sans-serif;
    font-size:11px;
    padding:2px 9px;
    margin-left:6px;
    vertical-align:middle;
}