.przestrzenie-container {
    max-width: 1600px;
    margin: auto;

}
.przestrzenie-interactive-block {
    padding: 50px var(--padding);
}
.przestrzenie-container {
    position: relative;
    display: flex;
}

.space-point {
    position: absolute;
    z-index: 3;
    cursor: pointer;
    transform: translate(-50%, -100%); 
    display: flex;
    width: fit-content;
}

.space-point svg {
    height: 60px;
}

span.space-number {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    color: #b48796
}
.przestrzenie-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    background: #020203d0;
    width: 100%;
    height: 100vh;
}

.modal-content {
    height: 100%;
    width: 100%;
    display: flex
;
    justify-content: center;
    overflow-y: auto;
    align-items: start;
    padding: 100px var(--padding);
}

.gallery-container {
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-radius: 10px;
}

@media screen and (max-width: 786px){
    .gallery-container {
    display: grid
;
    grid-template-columns: 1fr;
    gap: 15px;
    border-radius: 7px;
}
.space-point svg {
    width: 40px;
    height: auto;
}
span.space-number {
        top:8px;
        font-size: 12px;
}
}

@media screen and (max-width: 400px){
    .space-point svg {
    width: 30px;
    height: auto;
}
span.space-number {
        top:5px;
        font-size: 10px;
}
}


.przestrzenie-index-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
    justify-items: stretch;
    width: 100%;
    max-width: 1600px;
    margin: auto;
    grid-auto-rows: auto;
    margin-top: 20px;
}

.przestrzenie-index-grid-inner > * {
    width: 100%;
}

    .przestrzenie-index-grid-inner {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
        row-gap: 10px;
    }
    .przestrzenie-index-item {
    font-size: var(--h6-size);
    color: #d5a0b2;
    font-weight: 600;
}
.przestrzenie-index-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #d5a0b2;
}
.no-gallery {
    color: white;
    opacity: 0.7;
    text-align: center;
    font-size: var(--h6-size);
}
.przestrzenie-text-under-map {
    color: white;
    font-size: var(--h6-size);
    margin-top: var(--padding) !important;
        max-width: 1600px;
    margin: auto;
}