/* AppStudio Naphat runtime overrides. */
.nph-hero-slider:not(.swiper-initialized) .swiper-wrapper {
    display: block !important;
    transform: none !important;
}

/* House detail gallery uses Fancybox for loading, swipe, zoom, and error states. */
.nph-house-gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: inherit;
    cursor: zoom-in;
    text-decoration: none;
}

.nph-house-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nph-house-gallery-item:focus-visible,
.nph-house-gallery-open:focus-visible {
    outline: 3px solid #f2c400;
    outline-offset: 3px;
}

.fancybox__container {
    --fancybox-zIndex: 12000;
    --fancybox-bg: rgba(2, 28, 25, .96);
    z-index: 12000 !important;
}

.fancybox__spinner {
    color: #fff;
}

.fancybox__caption {
    color: #fff;
    font-family: inherit;
    letter-spacing: 0;
}

/* House detail facts and reviewable runtime-generated SEO copy. */
.nph-house-info {
    margin-bottom: 42px;
    color: #303a37;
    font-size: 16px;
    line-height: 1.78;
}

.nph-house-info > h2 {
    margin: 0 0 18px;
    color: #17201e;
    font-size: 23px;
    line-height: 1.25;
}

.nph-house-detail-copy > .nph-house-admin-title {
    margin: 8px 0 12px;
    color: #334641;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.nph-house-info-table {
    display: grid;
    gap: 1px;
    margin: 0 0 22px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(4, 77, 68, .16);
    border-radius: 8px;
    background: rgba(4, 77, 68, .12);
}

.nph-house-info-table-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 13px 18px;
    background: #fff;
}

.nph-house-info-table-row:nth-child(even) {
    background: #f3faf7;
}

.nph-house-info-table-row dt,
.nph-house-info-table-row dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.nph-house-info-table-row dt {
    color: #00786d;
    font-weight: 800;
}

.nph-house-info-table-row dd {
    color: #25312e;
}

.nph-house-seo-generated {
    margin: 0 0 22px;
    padding: 15px 18px;
    border: 1px solid rgba(0, 120, 109, .3);
    border-left: 4px solid #078b7b;
    border-radius: 4px;
    background: #eef8f5;
    color: #25312e;
}

.nph-house-seo-generated p {
    margin: 0;
}

.nph-house-entry .entry-body p {
    margin-bottom: 3px;
}

@media (max-width: 767px) {
    .nph-house-info-table-row {
        gap: 12px;
        padding: 12px;
    }

    .nph-house-seo-generated {
        padding: 13px 14px;
    }

    .fancybox__slide {
        padding-top: calc(52px + env(safe-area-inset-top));
        padding-right: 0;
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
        padding-left: 0;
    }

    .fancybox__toolbar {
        padding-top: env(safe-area-inset-top);
    }

    .fancybox__caption {
        padding-right: 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        padding-left: 16px;
        font-size: 14px;
        line-height: 1.45;
    }
}

.nph-hero-slider:not(.swiper-initialized) .nph-hero-slide {
    display: none !important;
}

.nph-hero-slider:not(.swiper-initialized) .nph-hero-slide:first-child {
    display: block !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}

.nph-project-page-title .nph-location-hero-copy {
    min-width: 0;
}

.nph-project-page-title .nph-location-hero-title {
    margin: 0;
    color: var(--nph-ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.nph-project-page-title .nph-location-hero-subtitle {
    margin: 6px 0 0;
    color: var(--nph-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.nph-location-listing-head > h1 {
    margin: 0;
    color: var(--nph-green);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.28;
}

.nph-project-media {
    position: relative;
    overflow: hidden;
}

.nph-project-status-ribbon {
    position: absolute;
    left: -43px;
    top: 16px;
    z-index: 5;
    display: block;
    width: 150px;
    padding: 7px 0 6px;
    transform: rotate(-38deg);
    background: #0a766b;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    pointer-events: none;
}

.nph-project-card.icon-hot .nph-project-status-ribbon {
    background: #f2c400;
    color: #14332f;
}

.nph-project-card.icon-sold-out .nph-project-status-ribbon,
.nph-project-card.icon-soldout .nph-project-status-ribbon {
    background: #202a2d;
    color: #fff;
}

.nph-project-card,
.nph-project-media-wrap {
    position: relative;
}

.nph-project-media-link,
.nph-project-body-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nph-project-media-link:focus-visible,
.nph-project-body-link:focus-visible {
    outline: 3px solid #0a8073;
    outline-offset: 2px;
}

.nph-project-share {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 8;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 74, 66, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #075f55;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 50, 45, .2);
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.nph-project-share:hover,
.nph-project-share[aria-expanded="true"] {
    background: #006d60;
    color: #fff;
    transform: translateY(-1px);
}

.nph-project-share:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.nph-project-share-menu {
    position: absolute;
    left: 12px;
    bottom: 60px;
    z-index: 10;
    width: 180px;
    padding: 6px;
    border: 1px solid rgba(0, 74, 66, .18);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 45, 40, .24);
}

.nph-project-share-menu[hidden],
.nph-project-share-tooltip[hidden] {
    display: none !important;
}

.nph-project-share-option {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #163d38;
    font: 600 14px/1.2 inherit;
    text-align: left;
    cursor: pointer;
}

.nph-project-share-option:hover,
.nph-project-share-option:focus-visible {
    background: #edf8f6;
    color: #006d60;
    outline: 0;
}

.nph-project-share-option i {
    display: inline-flex;
    width: 20px;
    justify-content: center;
    font-size: 16px;
}

.nph-project-share-tooltip {
    position: absolute;
    left: 12px;
    bottom: 60px;
    z-index: 11;
    padding: 8px 11px;
    border-radius: 4px;
    background: #073f38;
    color: #fff;
    font: 700 13px/1.2 inherit;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 45, 40, .24);
    pointer-events: none;
}

.nph-project-share-tooltip::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 100%;
    border: 6px solid transparent;
    border-top-color: #073f38;
}

.nph-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nph-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 46px 0 72px;
    text-align: center;
}

.nph-load-more-btn {
    min-width: 188px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid #006d60;
    border-radius: 5px;
    background: #fff;
    color: #073f38;
    font: 700 18px/1.2 inherit;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 70, 62, .12);
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.nph-load-more-btn:hover {
    background: #006d60;
    color: #fff;
    box-shadow: 0 16px 34px rgba(0, 70, 62, .18);
}

.nph-load-more-btn:disabled {
    opacity: .68;
    cursor: wait;
}

.nph-load-more-status {
    min-height: 18px;
    color: #5f746f;
    font-size: 14px;
}

.nph-pagination {
    display: flex;
    height: auto !important;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 46px 0 80px;
}

.nph-pagination-link,
.nph-pagination-direction {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 109, 96, .34);
    border-radius: 5px;
    background: #fff;
    color: #073f38;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nph-pagination-link {
    min-width: 44px;
    padding: 0 10px;
}

.nph-pagination-direction {
    gap: 8px;
    min-width: 112px;
    padding: 0 16px;
}

.nph-pagination-link:hover,
.nph-pagination-direction:hover {
    border-color: #006d60;
    background: #edf8f6;
    color: #006d60;
    box-shadow: 0 8px 20px rgba(0, 70, 62, .1);
}

.nph-pagination-link.is-current {
    border-color: #006d60;
    background: #006d60;
    color: #fff;
    pointer-events: none;
}

.nph-pagination-direction.is-disabled {
    border-color: #d9e3e1;
    background: #f5f7f7;
    color: #9aa9a6;
    pointer-events: none;
}

.nph-pagination-ellipsis {
    display: inline-flex;
    width: 30px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #647a75;
    font-weight: 700;
}

.nph-project-grid.is-appstudio-pagination-loading,
.nph-pagination.is-appstudio-pagination-loading {
    opacity: .5;
    pointer-events: none;
    transition: opacity .16s ease;
}

.nph-listing-summary,
.nph-location-summary {
    margin: 8px 0 0;
    color: #526b66;
    font-size: 16px;
    line-height: 1.5;
}

.nph-listing-seo-intro {
    margin: 14px 0 26px;
    padding: 13px 18px 14px;
    border-top: 1px solid rgba(0, 109, 96, .2);
    border-bottom: 1px solid rgba(0, 109, 96, .2);
    background: #f2f8f6;
    color: #334f4a;
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.nph-listing-seo-intro p {
    margin: 0;
}

.nph-listing-seo-keyword {
    color: #006d60;
    font-weight: 800;
    text-decoration-line: underline;
    text-decoration-color: #45a99e;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nph-listing-empty,
.nph-location-empty {
    grid-column: 1/-1;
    padding: 48px 20px;
    border: 1px solid rgba(5, 69, 59, .16);
    background: #fff;
    color: #526b66;
    font-size: 18px;
    text-align: center;
}

.nph-search-client-state {
    grid-column: 1/-1;
    width: 100%;
}

.nph-search-state-message {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #526b66;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.nph-search-client-state.is-error,
.nph-search-client-state.is-empty {
    padding: 42px 20px;
    border: 1px solid rgba(5, 69, 59, .16);
    border-radius: 4px;
    background: #fff;
    text-align: center;
}

.nph-search-client-state.is-error .nph-search-state-message {
    color: #8a2e26;
}

.nph-search-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.nph-search-skeleton-card {
    display: block;
    min-height: 338px;
    overflow: hidden;
    border: 1px solid #e3e8e6;
    background: #fff;
    box-shadow: 0 12px 24px rgba(17, 45, 40, .08);
}

.nph-search-skeleton-card i,
.nph-search-skeleton-card b {
    display: block;
    background: #e8edeb;
    animation: nph-search-pulse 1.2s ease-in-out infinite alternate;
}

.nph-search-skeleton-card i {
    height: 190px;
}

.nph-search-skeleton-card b {
    width: calc(100% - 32px);
    height: 14px;
    margin: 18px 16px 0;
}

.nph-search-skeleton-card b:nth-child(3) {
    width: 68%;
}

.nph-search-skeleton-card b:nth-child(4) {
    width: 45%;
}

.nph-search-retry {
    min-width: 132px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #086d60;
    border-radius: 4px;
    background: #086d60;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.nph-search-retry:hover,
.nph-search-retry:focus-visible {
    border-color: #064f47;
    background: #064f47;
}

.nph-search-pagination-mount:empty {
    display: none;
}

.nph-search-pagination button {
    cursor: pointer;
    font: inherit;
}

.nph-search-pagination button:disabled {
    cursor: default;
}

.nph-project-image.is-image-error {
    background: #edf1f0;
}

.nph-search-noscript {
    margin: 18px 0 0;
    color: #8a2e26;
    text-align: center;
}

@keyframes nph-search-pulse {
    from { opacity: .55; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .nph-search-skeleton-card i,
    .nph-search-skeleton-card b {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .nph-search-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .nph-search-skeleton-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .nph-search-skeleton-card {
        min-height: 320px;
    }

    .nph-search-client-state.is-error,
    .nph-search-client-state.is-empty {
        padding: 34px 16px;
    }

    .nph-search-state-message {
        font-size: 15px;
    }
}

.nph-house-map-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.nph-related-houses {
    position: relative;
    margin: 36px 0 64px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(5, 69, 59, .14);
}

.nph-related-houses-head {
    position: static;
    left: auto;
    z-index: auto;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0 0 28px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    text-align: center;
}

.nph-related-houses-head h2 {
    margin: 0;
    color: #073f38;
    font-size: 30px;
    line-height: 1.25;
}

.nph-related-houses-head p {
    margin: 9px 0 0;
    color: #5f746f;
    font-size: 16px;
    line-height: 1.55;
}

.nph-related-houses .nph-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.nph-related-houses .nph-load-more-wrap {
    margin-bottom: 0;
}

.nph-related-lazy-status[hidden],
.nph-related-houses .nph-load-more-wrap[hidden] {
    display: none !important;
}

.nph-related-lazy-status {
    padding: 2px 0 10px;
    text-align: center;
}

.nph-related-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.nph-related-skeleton-card {
    display: block;
    min-height: 340px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e8e6;
    box-shadow: 0 12px 24px rgba(17, 45, 40, .08);
}

.nph-related-skeleton-card span,
.nph-related-skeleton-card i {
    display: block;
    background: #e8edeb;
    animation: nph-related-pulse 1.2s ease-in-out infinite alternate;
}

.nph-related-skeleton-card span {
    height: 190px;
}

.nph-related-skeleton-card i {
    width: calc(100% - 32px);
    height: 14px;
    margin: 18px 16px 0;
}

.nph-related-skeleton-card i:nth-child(3) {
    width: 68%;
}

.nph-related-skeleton-card i:nth-child(4) {
    width: 45%;
}

.nph-related-lazy-status p {
    margin: 18px 0 0;
    color: #5f746f;
    font-size: 15px;
}

.nph-related-retry {
    min-width: 132px;
    margin: 14px auto 0;
    padding: 11px 20px;
    border: 1px solid #086d60;
    background: #fff;
    color: #075e53;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.nph-related-houses[data-appstudio-related-state="error"] .nph-related-skeleton-grid {
    display: none;
}

.nph-related-noscript {
    margin: 20px 0 0;
    text-align: center;
}

@keyframes nph-related-pulse {
    from { opacity: .55; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .nph-related-skeleton-card span,
    .nph-related-skeleton-card i {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .nph-related-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .nph-related-skeleton-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .nph-related-skeleton-card {
        min-height: 320px;
    }
}

.nph-article-video-iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 24px 0;
    border: 0;
}

.nph-article-video-iframe.is-facebook.is-portrait {
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    margin-right: auto;
    margin-left: auto;
}

.nph-featured-locations {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto 72px;
    padding-top: 10px;
}

.nph-featured-locations-head {
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    margin-bottom: 22px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.nph-featured-locations-head p {
    margin: 0 0 5px;
    color: #087665;
    font-size: 14px;
    font-weight: 700;
}

.nph-featured-locations-head h2 {
    margin: 0;
    color: #073f38;
    font-size: 30px;
    line-height: 1.25;
}

.nph-featured-locations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nph-featured-location {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 5px;
    background: #dfeae7;
    color: #fff;
    box-shadow: 0 12px 28px rgba(4, 54, 47, .13);
    text-decoration: none;
}

.nph-featured-location img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.nph-featured-location::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(3, 41, 36, .88));
}

.nph-featured-location:hover img,
.nph-featured-location:focus-visible img {
    transform: scale(1.035);
}

.nph-featured-location:focus-visible {
    outline: 3px solid #0a8073;
    outline-offset: 3px;
}

.nph-featured-location-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.nph-featured-location-copy strong {
    min-width: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
}

.nph-featured-location-copy i {
    flex: 0 0 auto;
    margin-bottom: 3px;
    color: #fff;
    font-size: 16px;
}

.nph-trending-cards[data-appstudio-trending-slider="1"] {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 24px;
    overflow-x: auto;
    padding: 0 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.nph-trending-cards[data-appstudio-trending-slider="1"]::-webkit-scrollbar {
    height: 6px;
}

.nph-trending-cards[data-appstudio-trending-slider="1"]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 102, 85, .45);
}

.nph-trending-cards[data-appstudio-trending-slider="1"] .nph-trending-card {
    flex: 0 0 calc((100% - 48px)/3);
    min-width: 260px;
    scroll-snap-align: start;
}

.nph-trending-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.nph-trending-slider-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 102, 85, .42);
    background: #fff;
    color: #006655;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.nph-trending-slider-controls button:hover {
    background: #006655;
    color: #fff;
}

.nph-thankyou-page {
    background: #f3f8f6;
    color: #17332e;
}

.nph-thankyou-section {
    display: flex;
    min-height: calc(100vh - 150px);
    align-items: center;
    justify-content: center;
    padding: 96px 24px 72px;
}

.nph-thankyou-inner {
    width: min(720px, 100%);
    text-align: center;
}

.nph-thankyou-icon {
    display: block;
    margin-bottom: 24px;
    color: #087665;
    font-size: 64px;
    line-height: 1;
}

.nph-thankyou-inner h1 {
    margin: 0 0 16px;
    color: #0b463c;
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: 0;
}

.nph-thankyou-inner p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: #49645f;
    font-size: 18px;
    line-height: 1.75;
}

.nph-thankyou-inner a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid #087665;
    border-radius: 4px;
    background: #087665;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.nph-thankyou-inner a:hover {
    background: #fff;
    color: #087665;
}

.nph-site-map-page,
.nph-site-map-page * {
    box-sizing: border-box;
}

.nph-site-map-page {
    margin: 0;
    background: #f4f7f6;
    color: #17332e;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.nph-site-map-page a {
    color: #087665;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.nph-site-map-page a:hover {
    color: #064e43;
}

.nph-site-map-page .site-map-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nph-site-map-page .site-map-header {
    border-bottom: 4px solid #16a085;
    background: #0b463c;
    color: #fff;
}

.nph-site-map-page .site-map-header .site-map-shell {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nph-site-map-page .site-map-brand {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.nph-site-map-page .site-map-header span {
    color: #bfe4dc;
    font-size: 14px;
}

.nph-site-map-page main {
    padding: 44px 0 64px;
}

.nph-site-map-page .site-map-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #bfd0cc;
}

.nph-site-map-page .site-map-title p {
    margin: 0 0 4px;
    color: #58716c;
}

.nph-site-map-page .site-map-title h1 {
    margin: 0;
    color: #0b463c;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: 0;
}

.nph-site-map-page .site-map-title strong {
    flex: 0 0 auto;
    color: #087665;
    font-size: 18px;
}

.nph-site-map-page .site-map-note {
    max-width: 820px;
    margin: 20px 0 42px;
    color: #58716c;
}

.nph-site-map-page .site-map-group {
    margin-top: 38px;
}

.nph-site-map-page .site-map-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.nph-site-map-page .site-map-group-heading h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: 0;
}

.nph-site-map-page .site-map-group-heading span {
    color: #6b817d;
    font-size: 14px;
}

.nph-site-map-page .site-map-group-featured .site-map-group-heading {
    padding: 10px 12px;
    border-left: 4px solid #087665;
    background: #e4f2ee;
}

.nph-site-map-page .site-map-group-featured .site-map-group-heading h2 {
    color: #065f50;
}

.nph-site-map-page .site-map-group-featured thead th {
    background: #dcefe9;
}

.nph-site-map-page .site-map-table-wrap {
    overflow-x: auto;
    border: 1px solid #c7d6d2;
    background: #fff;
}

.nph-site-map-page table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.nph-site-map-page th,
.nph-site-map-page td {
    padding: 14px 16px;
    border-bottom: 1px solid #dce6e3;
    font-size: 13px;
    text-align: left;
    vertical-align: top;
}

.nph-site-map-page thead th {
    background: #e9f2ef;
    color: #274b45;
    font-size: 13px;
}

.nph-site-map-page thead th:first-child {
    width: 38%;
}

.nph-site-map-page tbody th {
    color: #203d38;
    font-weight: 600;
}

.nph-site-map-page tbody tr:last-child th,
.nph-site-map-page tbody tr:last-child td {
    border-bottom: 0;
}

.nph-site-map-page code {
    display: inline-block;
    max-width: 100%;
    padding: 2px 6px;
    overflow-wrap: anywhere;
    border: 1px solid #d4dfdc;
    background: #f5f8f7;
    color: #4a5f5b;
    font-family: Consolas, monospace;
    white-space: normal;
}

.nph-site-map-page .site-map-status {
    display: inline-block;
    margin-left: 8px;
    color: #9a5b00;
    font-size: 13px;
    font-weight: 700;
}

.nph-site-map-page footer {
    border-top: 1px solid #c7d6d2;
    background: #fff;
    color: #6b817d;
}

.nph-site-map-page footer .site-map-shell {
    padding: 24px 0;
    font-size: 13px;
}

.nph-site-map-page footer strong {
    display: block;
    color: #274b45;
}

.nph-site-map-page .nph-footer-address {
    margin: 8px 0 0;
}

@media (max-width: 1100px) {
    .nph-related-houses .nph-project-grid,
    .nph-featured-locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nph-project-page-title .nph-location-hero-title {
        font-size: 26px;
    }

    .nph-trending-cards[data-appstudio-trending-slider="1"] .nph-trending-card {
        flex-basis: min(82vw, 340px);
    }
}

@media (max-width: 680px) {
    .nph-site-map-page .site-map-shell {
        width: min(calc(100% - 28px), 1120px);
    }

    .nph-site-map-page main {
        padding-top: 30px;
    }

    .nph-site-map-page .site-map-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nph-site-map-page .site-map-title h1 {
        font-size: 30px;
    }

    .nph-site-map-page .site-map-note {
        margin-bottom: 32px;
    }

    .nph-site-map-page .site-map-group {
        margin-top: 30px;
    }

    .nph-site-map-page table,
    .nph-site-map-page thead,
    .nph-site-map-page tbody,
    .nph-site-map-page tr,
    .nph-site-map-page th,
    .nph-site-map-page td {
        display: block;
        width: 100%;
    }

    .nph-site-map-page thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .nph-site-map-page tbody tr {
        padding: 13px 14px;
        border-bottom: 1px solid #dce6e3;
    }

    .nph-site-map-page tbody tr:last-child {
        border-bottom: 0;
    }

    .nph-site-map-page tbody th,
    .nph-site-map-page tbody td {
        padding: 3px 0;
        border: 0;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .nph-thankyou-section {
        min-height: calc(100vh - 110px);
        padding: 72px 20px 56px;
    }

    .nph-thankyou-icon {
        font-size: 52px;
    }

    .nph-thankyou-inner h1 {
        font-size: 38px;
    }

    .nph-thankyou-inner p {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .nph-project-page-title .nph-location-hero-title {
        font-size: 23px;
    }

    .nph-project-page-title .nph-location-hero-subtitle {
        font-size: 13px;
    }

    .nph-location-listing-head > h1 {
        font-size: 24px;
    }

    .nph-project-status-ribbon {
        left: -39px;
        top: 13px;
        width: 136px;
        padding: 6px 0 5px;
        font-size: 12px;
    }

    .nph-project-share {
        left: 10px;
        bottom: 10px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .nph-project-share-menu,
    .nph-project-share-tooltip {
        left: 10px;
        bottom: 56px;
    }

    .nph-project-share-menu {
        width: 172px;
    }

    .nph-load-more-wrap {
        margin: 32px 0 52px;
    }

    .nph-load-more-btn {
        min-width: 168px;
        min-height: 46px;
        font-size: 16px;
    }

    .nph-pagination {
        min-height: 40px;
        gap: 6px;
        margin: 32px 0 56px;
    }

    .nph-pagination-link {
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
    }

    .nph-pagination-direction {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
    }

    .nph-pagination-direction span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .nph-pagination-ellipsis {
        width: 22px;
        height: 40px;
    }

    .nph-listing-summary,
    .nph-location-summary {
        font-size: 14px;
    }

    .nph-listing-seo-intro {
        margin: 10px 0 20px;
        padding: 11px 13px 12px;
        font-size: 15px;
        line-height: 1.6;
        text-align: left;
    }

    .nph-listing-empty,
    .nph-location-empty {
        padding: 36px 16px;
        font-size: 16px;
    }

    .nph-related-houses {
        margin: 28px 0 46px;
        padding: 22px 0 0;
    }

    .nph-related-houses-head {
        margin-bottom: 22px;
        text-align: left;
    }

    .nph-related-houses-head h2,
    .nph-featured-locations-head h2 {
        font-size: 24px;
    }

    .nph-related-houses-head p {
        font-size: 14px;
    }

    .nph-related-houses .nph-project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .nph-featured-locations {
        width: min(100% - 28px, 1240px);
        margin-bottom: 52px;
    }

    .nph-featured-locations-head {
        text-align: left;
    }

    .nph-featured-locations-grid {
        gap: 12px;
    }

    .nph-featured-location-copy {
        left: 12px;
        right: 12px;
        bottom: 11px;
    }

    .nph-featured-location-copy strong {
        font-size: 16px;
    }
}

/* Mobile house-detail inquiry toolbar and modal. */
.nph-mobile-inquiry-bar,
.nph-mobile-inquiry-modal {
    display: none;
}

@media (max-width: 767px) {
    .nph-header {
        transition: transform 220ms ease, opacity 180ms ease;
        will-change: transform;
    }

    .nph-header.nph-mobile-header-hidden {
        transform: translate3d(0, -110%, 0) !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    .nph-mobile-inquiry-bar {
        position: fixed;
        z-index: 9990;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: center;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: #075f54;
        box-shadow: 0 -8px 24px rgba(0, 48, 42, .2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(110%);
        transition: transform 220ms ease, opacity 180ms ease, visibility 220ms;
    }

    .nph-mobile-inquiry-bar-inner {
        display: flex;
        width: min(100%, 520px);
        gap: 8px;
        align-items: stretch;
    }

    .nph-mobile-inquiry-trigger {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 44px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 4px;
        background: transparent;
        color: #fff;
        font: inherit;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
        cursor: pointer;
    }

    .nph-mobile-inquiry-action {
        display: grid;
        flex: 0 0 44px;
        width: 44px;
        min-height: 44px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 4px;
        color: #075f54;
        background: #fff;
        font-size: 20px;
        line-height: 1;
        text-decoration: none;
    }

    .nph-mobile-inquiry-action.is-line {
        border-color: #06c755;
        background: #06c755;
        color: #fff;
        font-size: 23px;
    }

    .nph-mobile-inquiry-action:hover,
    .nph-mobile-inquiry-action:focus {
        color: #075f54;
        text-decoration: none;
    }

    .nph-mobile-inquiry-action.is-line:hover,
    .nph-mobile-inquiry-action.is-line:focus {
        color: #fff;
    }

    .nph-mobile-inquiry-trigger:focus-visible,
    .nph-mobile-inquiry-action:focus-visible,
    .nph-mobile-inquiry-close:focus-visible {
        outline: 3px solid #f2c400;
        outline-offset: 2px;
    }

    body.nph-mobile-inquiry-active {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    body.nph-mobile-inquiry-active .nph-mobile-inquiry-bar {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.nph-mobile-inquiry-modal-open {
        overflow: hidden;
    }

    body.nph-mobile-inquiry-modal-open .nph-mobile-inquiry-bar {
        opacity: 0;
        visibility: hidden;
        transform: translateY(110%);
    }

    .nph-mobile-inquiry-modal {
        position: fixed;
        z-index: 10000;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 16px;
        background: rgba(2, 28, 25, .72);
    }

    .nph-mobile-inquiry-modal[hidden] {
        display: none;
    }

    .nph-mobile-inquiry-dialog {
        position: relative;
        width: min(100%, 520px);
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow: auto;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
        overscroll-behavior: contain;
    }

    .nph-mobile-inquiry-close {
        position: absolute;
        z-index: 1;
        top: 10px;
        right: 10px;
        display: grid;
        width: 38px;
        height: 38px;
        padding: 0;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #123f39;
        font: inherit;
        font-size: 31px;
        font-weight: 400;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
    }

    .nph-mobile-inquiry-form-mount {
        padding: 20px;
    }

    .nph-mobile-inquiry-form-mount .nph-house-contact-card {
        display: grid;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 24px 14px 14px;
        background: #d7ebe8;
        box-shadow: none;
    }

    .nph-mobile-inquiry-form-mount .nph-house-contact-card h2 {
        margin: 0 48px 10px 0;
        color: #075f54;
        font-size: 21px;
        line-height: 1.35;
    }

    .nph-mobile-inquiry-form-mount .nph-house-contact-card input,
    .nph-mobile-inquiry-form-mount .nph-house-contact-card textarea,
    .nph-mobile-inquiry-form-mount .nph-house-contact-card select {
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 10px 12px;
        border: 1px solid #c8d7d4;
        border-radius: 0;
        background: #fff;
        color: #173d38;
        font: inherit;
        font-size: 16px;
    }

    .nph-mobile-inquiry-form-mount .nph-house-consent {
        display: flex;
        gap: 8px;
        align-items: flex-start;
        margin: 8px 0;
        color: #284843;
        font-size: 12px;
        line-height: 1.5;
    }

    .nph-mobile-inquiry-form-mount .nph-house-consent input {
        flex: 0 0 16px;
        width: 16px;
        min-height: 16px;
        margin-top: 1px;
        padding: 0;
    }

    .nph-mobile-inquiry-form-mount .nph-house-contact-card > button {
        width: 100%;
        min-height: 48px;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #078b7b;
        color: #fff;
        font: inherit;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(0, 77, 68, .18);
    }
}
