.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}
.skeleton-card .skeleton-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 0.3125rem;
    background: #ebebeb;
    position: relative;
    overflow: hidden;
}
.skeleton-card .skeleton-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-card .skeleton-line {
    height: 0.875rem;
    border-radius: 0.25rem;
    background: #ebebeb;
    position: relative;
    overflow: hidden;
}
.skeleton-card .skeleton-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-card .skeleton-line--short {
    width: 40%;
}
.skeleton-card .skeleton-line--medium {
    width: 65%;
}
.skeleton-card .skeleton-line--title {
    height: 1.25rem;
    width: 80%;
}
.skeleton-card .skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
@keyframes skeleton-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
.catalog-pagination {
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0 0;
}
.catalog-pagination__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #ebebeb;
    border-radius: 0.25rem;
    background: transparent;
    cursor: pointer;
    font-family: Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #000;
    transition: all 0.2s ease;
}
.catalog-pagination__btn:hover {
    border-color: #000;
}
.catalog-pagination__btn--active {
    background: #000;
    border-color: #000;
    color: #fff;
}
.catalog-pagination__btn--arrow {
    border-color: transparent;
}
.catalog-pagination__btn--arrow:hover {
    border-color: #ebebeb;
}
.catalog-pagination__btn--arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.catalog-pagination__btn--arrow:disabled:hover {
    border-color: transparent;
}
.catalog-pagination__btn--arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}
.catalog-pagination__ellipsis {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-family: Roboto, sans-serif;
    font-size: 0.875rem;
    color: #767676;
}
.neighborhoods-catalog-head .search-container {
    grid-template-columns: repeat(5, 1fr);
}
.neighborhoods-catalog-head .switch-type-result .switch-btn {
    border: none;
    padding: 0;
}
.neighborhoods-list-content .map-view.map-view--neighborhood {
    grid-column: 1 / -1;
    display: block;
    position: relative;
    border: none;
}
.neighborhoods-list-content .map-view--neighborhood .map-container {
    position: relative;
    width: 100%;
    height: 42rem;
    min-height: 42rem;
}
.neighborhoods-list-content .map-view--neighborhood .neighbourhoods-card-overlay {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    z-index: 1000;
    pointer-events: auto;
    height: calc(42rem - 0.75rem);
    width: 22rem;
    display: flex;
    flex-direction: column;
}
.neighborhoods-list-content .map-view--neighborhood .neighbourhoods-card-overlay.empty {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0.3125rem;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}
.neighborhoods-list-content .map-view--neighborhood .neighbourhoods-card-overlay.empty .list-empty {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
.neighborhoods-list-content .map-view--neighborhood .neighbourhood-map-card {
    width: 100%;
    height: 100%;
    border-radius: 0;
}
.leaflet-interactive.neighbourhood-poly {
    cursor: pointer;
}
@media (max-width: 1024px) {
    .neighborhoods-catalog-head .search-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .neighborhoods-catalog-head .search-container .cf-filter {
        display: block;
    }
    .neighborhoods-catalog-head .search-container .btn-search {
        max-width: none;
    }
    .neighborhoods-list-content .map-view--neighborhood .map-container {
        height: 26.9375rem;
        min-height: 26.9375rem;
    }
    .neighborhoods-list-content .map-view.map-view--neighborhood {
        margin-bottom: 42rem;
    }
    .neighborhoods-list-content .map-view--neighborhood .neighbourhoods-card-overlay {
        top: calc(100% - 8.125rem);
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 1rem;
        height: 41.25rem;
        width: 100%;
        max-width: 48rem;
    }
    .neighborhoods-list-content .map-view--neighborhood .neighbourhood-map-card {
        width: 100%;
        max-width: 46rem;
        margin: 0 auto;
    }
}
@media (max-width: 640px) {
    .neighborhoods-catalog-head .search-container {
        grid-template-columns: 1fr;
    }
    .neighborhoods-list-content .map-view--neighborhood .neighbourhoods-card-overlay {
        padding: 0;
    }
}
.neighborhoods-archive {
    padding-top: 9rem;
    padding-bottom: 6rem;
}
@media (max-width: 1024px) {
    .neighborhoods-archive {
        padding-top: 0;
        padding-bottom: 4rem;
    }
}
@media (max-width: 430px) {
    .neighborhoods-archive {
        padding-bottom: 3rem;
    }
}
.neighborhoods-head {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}
@media (max-width: 1024px) {
    .neighborhoods-head {
        position: static;
    }
}
.neighborhoods-head-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.neighborhoods-search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (max-width: 430px) {
    .neighborhoods-search-bar {
        flex-wrap: wrap;
    }
}
.nb-filter--search {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 28rem;
}
@media (max-width: 640px) {
    .nb-filter--search {
        max-width: 100%;
    }
}
.nb-filter__input {
    width: 100%;
    height: 2.5rem;
    padding: 0 2.25rem 0 0.875rem;
    border: 1px solid #dedede;
    border-radius: 0.1875rem;
    background: rgba(0, 0, 0, 0);
    font-family: Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #000;
    outline: none;
    transition: border-color 0.2s;
}
.nb-filter__input::placeholder {
    color: #767676;
    text-transform: uppercase;
}
.nb-filter__input:focus {
    border-color: #000;
}
.nb-filter__search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.nb-filter__submit {
    flex-shrink: 0;
}
.nb-filter__clear {
    flex-shrink: 0;
    font-family: Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #767676;
    text-decoration: none;
    transition: color 0.2s;
}
.nb-filter__clear:hover {
    color: #000;
}
.neighborhoods-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.neighborhoods-found-count {
    font-family: Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #767676;
}
.neighbourhood-map-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    border-radius: 0.3125rem;
    overflow: hidden;
}
.neighbourhood-map-card__image {
    width: 100%;
    height: 14.125rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.neighbourhood-map-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    overflow: hidden;
    padding-bottom: 0.75rem;
}
.neighbourhood-map-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 0;
    gap: 1.5rem;
    overflow: hidden;
    flex: 1;
}
.neighbourhood-map-card__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
    pointer-events: none;
}
.neighbourhood-map-card__title {
    color: #000;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03rem;
    margin: 0;
}
.neighbourhood-map-card__btn {
    margin: 0.75rem 0.75rem 0;
    text-align: center;
    width: calc(100% - 1.5rem);
    flex-shrink: 0;
}
.neighbourhood-accordion {
    display: flex;
    flex-direction: column;
}
.neighbourhood-accordion__item {
    border-bottom: 0.5px solid #d0d0d0;
}
.neighbourhood-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 105%;
    letter-spacing: -0.0375rem;
    text-transform: uppercase;
}
.neighbourhood-accordion__trigger svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    transform: rotate(180deg);
}
.neighbourhood-accordion__body {
    display: none;
    padding-bottom: 0.75rem;
}
.neighbourhood-accordion__body p {
    color: #767676;
    font-family: Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 120%;
    margin: 0;
}
.neighbourhood-accordion__item.is-open .neighbourhood-accordion__trigger svg {
    transform: rotate(0deg);
}
.neighbourhood-accordion__item.is-open .neighbourhood-accordion__body {
    display: block;
}
.neighborhoods-list {
    flex: 1;
}
.neighborhoods-list-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}
@media (max-width: 1200px) {
    .neighborhoods-list-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .neighborhoods-list-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
.neighborhoods-list-content .compare-card.neighbourhood-map-card {
    width: 100%;
}
.neighborhoods-list-content.empty {
    display: block;
}
.neighborhoods-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 4rem 0;
    color: #767676;
    font-family: Roboto, sans-serif;
    font-size: 1rem;
}

.neighborhoods-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 2rem 0 3rem;
}
.neighborhoods-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #ebebeb;
    border-radius: .25rem;
    background: transparent;
    cursor: pointer;
    font-family: Roboto, sans-serif;
    font-size: .875rem;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: all .2s ease;
}
.neighborhoods-pagination .page-numbers:hover {
    border-color: #000;
}
.neighborhoods-pagination .page-numbers.current {
    background: #000;
    border-color: #000;
    color: #fff;
}
.neighborhoods-pagination .page-numbers.dots {
    border-color: transparent;
    cursor: default;
}
.neighborhoods-pagination .page-numbers.dots:hover {
    border-color: transparent;
}
.neighborhoods-pagination .page-numbers.prev,
.neighborhoods-pagination .page-numbers.next {
    border-color: transparent;
}
.neighborhoods-pagination .page-numbers.prev:hover,
.neighborhoods-pagination .page-numbers.next:hover {
    border-color: #ebebeb;
}
.neighborhoods-pagination .page-numbers svg {
    width: 1.25rem;
    height: 1.25rem;
}
