.map-place-photos[hidden] { display: none; }

.map-place-photos {
    margin: 14px 0;
    color: var(--mx-text, var(--pm-ink, #17201c));
}

.map-place-photos h4 {
    margin: 0 0 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 680;
    line-height: 1.3;
}

.map-place-photos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 7px;
}

.map-place-photos__photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-width: 0;
    border: 1px solid var(--mx-border, #e1e6e3);
    border-radius: 10px;
    background: var(--mx-soft, #edf1ed);
}

.map-place-photos__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-place-photos__more {
    margin-top: 8px;
    padding: 5px 12px;
    min-height: 36px;
    border: 1px solid var(--mx-border, #e1e6e3);
    border-radius: 10px;
    background: var(--mx-soft, #edf1ed);
    color: inherit;
    font-size: 13px;
    font-weight: 680;
    cursor: pointer;
}

.map-place-photos :is(a, button):focus-visible {
    outline: 2px solid var(--mx-accent-deep, #a23c11);
    outline-offset: 2px;
}
