/* Rose Marinelli Art - Filterable Gallery Styles */

.rm-gallery-container-a159ecbc {
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

/* Trigger Button */
.rm-gallery-trigger-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.rm-gallery-trigger-btn {
    display: inline-block;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s ease;
}

.rm-gallery-trigger-btn:hover {
    background: #111111;
    color: #ffffff;
}

/* Gallery Wrapper & Reveal state */
.rm-gallery-wrapper-a159ecbc.has-trigger-hidden:not(.is-revealed) {
    display: none;
}

.rm-gallery-wrapper-a159ecbc.is-revealed {
    display: block !important;
}

/* Minimal Filters Bar */
.rm-gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.rm-gallery-filter-item {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 0;
    margin-bottom: -1px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Gallery Grid */
.rm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.rm-gallery-item {
    display: flex;
    flex-direction: column;
}

/* Image Container with Elegant Fade-In */
.rm-gallery-image-wrap {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 1rem;
    aspect-ratio: 4 / 5;
}

.rm-gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.15, 1, 0.3, 1);
}

.rm-gallery-item:hover .rm-gallery-image-wrap img {
    transform: scale(1.04);
}

/* Text Meta Styles conforming to Fine Art Branding */
.rm-gallery-item-details {
    padding: 0.5rem 0 1.5rem 0;
    text-align: left;
}

.rm-gallery-item-cat {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999999;
    margin-bottom: 0.4rem;
}

.rm-gallery-item-title {
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 0.3rem 0;
    letter-spacing: 0.03em;
}

.rm-gallery-item-meta {
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .rm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .rm-gallery-grid {
        grid-template-columns: 1fr;
    }
    .rm-gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }
    .rm-gallery-filter-item {
        border-bottom: none;
        padding: 0.25rem 0;
    }
}
