/* Nice Homes Realtors — locations listing & detail */
.nhr-locations-intro {
    max-width: 820px;
}
.nhr-locations-intro p {
    line-height: 1.75;
}

.nhr-location-card {
    height: 100%;
}
.nhr-location-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
}
.nhr-location-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 280px;
    overflow: hidden;
    border-radius: 16px;
    background: #1a1a1a;
}
.nhr-location-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.nhr-location-card:hover .nhr-location-card-media img {
    transform: scale(1.05);
}
.nhr-location-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.82) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.nhr-location-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}
.nhr-location-count {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.nhr-location-name {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
    width: 100%;
}
.nhr-location-city {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    margin: 0 0 8px;
    line-height: 1.4;
    width: 100%;
}
.nhr-location-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 14px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nhr-location-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    pointer-events: none;
    padding: 11px 22px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff !important;
    background-color: var(--theme-color, #c62828) !important;
    border: 2px solid var(--theme-color, #c62828) !important;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    text-shadow: none;
}
.nhr-location-cta::before,
.nhr-location-cta::after {
    display: none !important;
}
.nhr-location-card-link:hover .nhr-location-cta {
    color: var(--theme-color, #c62828) !important;
    background-color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .nhr-location-card-media {
        min-height: 260px;
    }
    .nhr-location-card-body {
        padding: 16px 18px 18px;
    }
    .nhr-location-name {
        font-size: 1.2rem;
    }
}

.nhr-location-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.nhr-location-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--th-border-color, #e5e5e5);
    background: #fff;
    color: var(--title-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nhr-location-tabs a:hover,
.nhr-location-tabs a.active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}
.nhr-location-tabs .tab-count {
    opacity: 0.85;
    font-weight: 500;
}

.nhr-location-detail-intro {
    max-width: 860px;
    margin-bottom: 28px;
}
.nhr-location-detail-intro p {
    line-height: 1.75;
}

.nhr-location-empty {
    padding: 48px 24px;
    text-align: center;
    border-radius: 16px;
    background: var(--smoke-color, #f8f8f8);
    border: 1px solid var(--th-border-color, #e5e5e5);
}
.nhr-location-empty .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.nhr-location-sidebar .widget_banner .widget-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}
.nhr-location-sidebar .nhr-location-cat-menu li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.nhr-location-sidebar .nhr-location-cat-menu li.active a {
    color: var(--theme-color);
    font-weight: 600;
}

@media (max-width: 767px) {
    .breadcumb-wrapper.nhr-page-hero {
        --space: 88px;
    }
    .breadcumb-wrapper.nhr-page-hero .breadcumb-subtitle {
        font-size: 16px;
    }
}
