/* Grid Layout */
.gallery-widget-container-db06eb67 {
    width: 100%;
}

.gallery-filters-db06eb67 {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn-db06eb67 {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn-db06eb67:hover,
.filter-btn-db06eb67.active-db06eb67 {
    color: #111;
    border-bottom-color: #111;
}

.gallery-grid-db06eb67 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 15px;
    width: 100%;
}

.gallery-item-db06eb67 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #f5f5f5;
    aspect-ratio: 1 / 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item-db06eb67.hide-item-db06eb67 {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Asymmetrical Masonry Grid sizes */
.gallery-item-db06eb67.size-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.gallery-item-db06eb67.size-tall {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
}

.gallery-item-db06eb67.size-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

.gallery-image-wrapper-db06eb67 {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img-db06eb67 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-db06eb67:hover .gallery-img-db06eb67 {
    transform: scale(1.08);
}

/* Play Icon for Videos */
.gallery-play-icon-db06eb67 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-item-db06eb67:hover .gallery-play-icon-db06eb67 {
    transform: translate(-50%, -50%) scale(1.15);
    background: #0073aa;
}

/* Hover Overlay & Info */
.gallery-overlay-db06eb67 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-item-db06eb67:hover .gallery-overlay-db06eb67 {
    opacity: 1;
}

.gallery-info-db06eb67 {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.gallery-item-db06eb67:hover .gallery-info-db06eb67 {
    transform: translateY(0);
}

.gallery-category-badge-db06eb67 {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0;
    margin-bottom: 6px;
}

.gallery-info-db06eb67 h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

/* Built-In Lightbox Styling */
.gallery-lightbox-overlay-db06eb67 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

body.admin-bar .gallery-lightbox-overlay-db06eb67 {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .gallery-lightbox-overlay-db06eb67 {
        top: 46px;
    }
}

.lightbox-content-wrapper-db06eb67 {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1000px;
    height: 85%;
    justify-content: center;
}

.lightbox-media-container-db06eb67 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-media-db06eb67 {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption-db06eb67 {
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

.lightbox-title-db06eb67 {
    margin: 5px 0 0;
    font-size: 20px;
    font-weight: 500;
}

.lightbox-subtitle-db06eb67 {
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
}

.lightbox-close-db06eb67 {
    position: absolute;
    top: 25px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 100000;
}

/* Responsive Grid Adaptation */
@media (max-width: 1024px) {
    .gallery-grid-db06eb67 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid-db06eb67 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid-db06eb67 {
        grid-template-columns: 1fr;
    }
    .gallery-item-db06eb67.size-wide,
    .gallery-item-db06eb67.size-tall,
    .gallery-item-db06eb67.size-large {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }
}
