.mg-5010e1cb-gallery-container {
    width: 100%;
}

.mg-5010e1cb-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.3s ease;
}

.mg-5010e1cb-filter-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mg-5010e1cb-grid {
    display: grid;
    transition: all 0.3s ease;
}

.mg-5010e1cb-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.mg-5010e1cb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.mg-5010e1cb-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mg-5010e1cb-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.mg-5010e1cb-card-content {
    padding: 20px;
}

.mg-5010e1cb-card-author {
    font-size: 13px;
    font-style: italic;
    color: #777;
    margin-bottom: 12px;
}

.mg-5010e1cb-card-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    line-height: 1.4;
}

.mg-5010e1cb-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
}

.mg-5010e1cb-no-term,
.mg-5010e1cb-no-posts {
    padding: 30px;
    border: 1px dashed #ccc;
    text-align: center;
    color: #666;
    border-radius: 8px;
}

/* Fallback Responsive column overrides if not specified by Elementor */
@media screen and (max-width: 767px) {
    .mg-5010e1cb-grid {
        grid-template-columns: 1fr !important;
    }
}
