.header-bg {
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 50%)), var(--project-first-image);
    background-size: cover;
}
.module.module-project-description {
    background: rgb(0 0 0 / 40%);
    padding: 2em 3em;
    border-radius: 0;
    margin-bottom: 1em;
}
.module.module-project-description .project-description-content {
    aspect-ratio: 3 / 2;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: rgb(255 255 255 / 30%) transparent;
    padding-right: 1em;
}
.project-description-content p {
    font-size: small;
}

@media (min-width: 768px) {
    .module.module-project-description {
        border-radius: 5px;
    }
}

@media (min-width: 576px) {
    .project-description-content p {
        font-size: initial;
    }
}

.module.module-project-description .project-description-content::-webkit-scrollbar-button {
    display: none;
}
.lead-gen-header {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.project-map {
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 50%)), var(--project-second-image);
}
.project-slides, .project-houses h2, .project-flats h2 {
    background: linear-gradient(rgba(0 0 0 / 50%), rgba(0 0 0 / 50%)), var(--project-last-image);
}
.project-map h2, .project-slides h2, .project-houses h2, .project-flats h2 {
    padding-top: 1em;
    padding-bottom: 1em;
    margin: 0;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
}
.project-houses h2, .project-flats h2 {
    background-position: center;
}
.project-flats h4 {
    padding-bottom: .5em;
    border-bottom: 2px solid var(--bg-color);
    color: var(--bg-color);
}
.slideshow-track {
    border-radius: 0;
    border-bottom: 2px solid var(--text-color);
    border-top: 2px solid var(--text-color);
}
.slideshow-main {
    margin-bottom: 0;
}
.slideshow-thumbs {
    padding: 0.5rem;
}
div[data-picker-name="house"] .w-img.form-check {
    padding: 0;
}
div[data-picker-name="house"] .w-img input[type="checkbox"] {
    position: absolute;
    bottom: 5px;
    left: 5px;
    float: none;
    margin: 0;
    opacity: 0.5;
}
.flats-empty {
    text-align: center;
    padding: 3em 1em;
    opacity: .8;
}

.form-check-input {
    margin-top: 0;
}
.picker-range-fields {
    gap: 0;
}
input.picker-range-input {
    width: 100%;
    border-radius: 50vh;
    border: none;
    padding: .2em .5em;
    text-align: center;
}
span.picker-range-label {
    color: var(--bg-color);
    font-family: var(--cgr);
    font-weight: 400;
}
ul.flat-tags li {
    background: var(--hover-light);
    padding: 0 1em;
    border-radius: 50vh;
    margin-bottom: .3em;
}
.flat-price-sum {
    font-size: larger;
    font-weight: 700;
    color: var(--bg-color);
}
.flat-price-per-m2 {
    font-size: small;
    opacity: .8;
    margin-top: .2em;
}
img.img-contain {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    width: 100%;
}

.modal-thumbs button.modal-thumb {
    max-width: 40%;
}