/* Lameyer – Galerieübersicht V3 */

.lmg-grid {
    align-items: stretch;
    row-gap: 28px;
}

.lmg-card {
    overflow: hidden;
    border: 1px solid #e4e8dc;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(15, 30, 20, .06);
    gap: 14px;
    transition: box-shadow .2s ease;
}

.lmg-card:hover {
    box-shadow: 0 14px 38px rgba(15, 30, 20, .12);
}

.lmg-card .lmg-feature img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.lmg-card .lmg-thumbs {
    gap: 10px;
}

.lmg-card .lmg-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.lmg-card .elementor-widget-heading h2 {
    margin: 4px 0 0;
    font-size: 25px;
}

.lmg-card .elementor-widget-button {
    margin-top: auto;
}

.lmg-card .elementor-button {
    border-radius: 8px;
}

.lmg-gallery-page .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lmg-gallery-page .gallery-item {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

.lmg-gallery-page .gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 0 !important;
    border-radius: 9px;
}

@media (max-width: 1024px) {
    .lmg-gallery-page .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .lmg-grid {
        gap: 20px;
    }

    .lmg-card {
        padding: 12px;
        border-radius: 12px;
    }

    .lmg-card .elementor-widget-heading h2 {
        font-size: 22px;
    }

    .lmg-gallery-page .gallery {
        gap: 10px;
    }
}
