/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jul 16 2026 | 14:06:29 */
.realman-agent-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
	max-height: 220px!important;
}
.realman-makler-box a {
	color: var(--orange);
	font-weight: 600;
}

.realman-map-wrap {
    width: 100%;
    margin-top: 32px;
}
.realman-map-wrap iframe,
.realman-map-wrap .rms-location-map,
.realman-map-wrap > div {
    width: 100%;
    min-height: 420px;
    display: block;
}
.realman-single-map {
    width: 100%;
    height: 400px;
    min-height: 400px;
}
.realman-map-pin {
    filter:
        drop-shadow(0 0 1px #000) /* обводка */
        drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35)); /* тень */
}

.realman-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.realman-gallery__link {
    display: block;
    cursor: zoom-in;
    text-decoration: none;
	overflow: hidden;
}

.realman-gallery__img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
	transition: all .5s ease-out;
}
.realman-gallery__img:hover {
	transform: scale(1.1);
}

@media screen and (max-width: 991px) {
    .realman-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .realman-gallery__img {
        height: 220px;
    }
}

@media screen and (max-width: 767px) {
    .realman-gallery {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Скрытие полосы прокрутки */
    .realman-gallery::-webkit-scrollbar {
        display: none;
    }

    .realman-gallery {
        scrollbar-width: none;
    }

    .realman-gallery__link {
        flex: 0 0 83%;
        scroll-snap-align: start;
    }

    .realman-gallery__img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

.realman-lightbox[hidden] {
    display: none;
}

.realman-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
}

.realman-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.realman-lightbox__content {
    position: relative;
    z-index: 2;
    width: min(92vw, 1280px);
    height: min(90vh, 900px);
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.realman-lightbox-open,
body.realman-lightbox-open {
    overflow: hidden !important;
}

.realman-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.realman-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 3;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.realman-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 52px;
    height: 52px;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realman-lightbox__nav--prev {
    left: 24px;
}

.realman-lightbox__nav--next {
    right: 24px;
}

.realman-lightbox-open {
    overflow: hidden;
}
