.fm-container-1e7f4918 {
    width: 100%;
}

.fm-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.fm-filter-item {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: all 0.3s ease;
}

.fm-filter-item:hover,
.fm-filter-item.active {
    color: #000;
}

.fm-gallery {
    column-count: 3;
    column-gap: 20px;
}

.fm-gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fm-container-1e7f4918.has-lightbox .fm-gallery-item {
    cursor: pointer;
}

.fm-container-1e7f4918.has-lightbox .fm-gallery-item:hover .fm-gallery-image img {
    opacity: 0.8;
}

.fm-gallery-item.hidden {
    display: none;
}

.fm-gallery-item.animating {
    opacity: 0;
    transform: scale(0.9);
}

.fm-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Lightbox Styles */
.fm-lightbox-overlay-1e7f4918 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fm-lightbox-overlay-1e7f4918.active {
    opacity: 1;
    visibility: visible;
}

.fm-lightbox-content-1e7f4918 {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fm-lightbox-content-1e7f4918 img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.fm-lightbox-overlay-1e7f4918.active .fm-lightbox-content-1e7f4918 img {
    transform: scale(1);
}

.fm-lightbox-close-1e7f4918 {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.fm-lightbox-close-1e7f4918:hover {
    opacity: 1;
}

.fm-lightbox-nav-1e7f4918 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.fm-lightbox-nav-1e7f4918:hover {
    background: rgba(255,255,255,0.3);
}

.fm-lightbox-prev-1e7f4918 {
    left: 20px;
}

.fm-lightbox-next-1e7f4918 {
    right: 20px;
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
    .fm-gallery {
        column-count: 2;
    }
    
    .fm-lightbox-close-1e7f4918 {
        top: 10px;
        right: 10px;
        z-index: 10;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .fm-lightbox-nav-1e7f4918 {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .fm-lightbox-prev-1e7f4918 {
        left: 10px;
    }

    .fm-lightbox-next-1e7f4918 {
        right: 10px;
    }
}

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