
/* Additional pages retain the original homepage palette and typography. */
.page {
    padding-top: 38px;
    padding-bottom: 58px;
    min-height: 55vh
}

.page-heading, .detail-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px
}

    .page-heading h1, .detail-heading h1, .subhero h1 {
        font-size: clamp(27px,3.5vw,39px);
        line-height: 1.5;
        margin: 7px 0
    }

    .page-heading p, .subhero p {
        color: var(--muted);
        font-size: 12px;
        margin: 0
    }

.result-counter {
    background: #e9f8f7;
    border-radius: 9px;
    min-width: 82px;
    padding: 10px;
    text-align: center
}

    .result-counter b, .result-counter span {
        display: block
    }

    .result-counter b {
        font-size: 22px;
        color: var(--teald)
    }

    .result-counter span {
        font-size: 10px;
        color: var(--muted)
    }

.search-shell {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 24px;
    align-items: start
}

.filter-panel {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 18px;
    background: #fff;
    position: sticky;
    top: 100px
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px
}

    .filter-title h2 {
        font-size: 16px;
        margin: 0;
        flex: 1
    }

    .filter-title button {
        border: 0;
        background: none;
        color: var(--teald);
        font-size: 11px
    }

    .filter-title .close-filter {
        display: none;
        font-size: 25px;
        color: var(--ink)
    }

.filter-panel > label, .contact-form > label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #667375;
    margin-bottom: 13px
}

.filter-panel input:not([type=checkbox]), .filter-panel select, .contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    border: 1px solid #e1e8e8;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    padding: 10px;
    font: inherit;
    font-size: 11px;
    outline-color: var(--teal)
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

    .filter-row label {
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 10px;
        color: #667375;
        margin-bottom: 13px
    }

.check-filters {
    display: grid;
    gap: 8px;
    margin: 4px 0 16px
}

    .check-filters label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        color: #647173;
        flex-direction: row;
    }

    .check-filters input {
        accent-color: var(--teald)
    }

.primary.full, .secondary.full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none
}

.results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 11px;
    flex-wrap: wrap
}

.sort-controls {
    display: flex;
    gap: 10px
}

    .sort-controls label {
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap
    }

    .sort-controls select {
        height: 36px;
        max-width: 145px;
        padding: 0 7px
    }

.filter-mobile {
    display: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    padding: 7px 10px;
    color: var(--ink);
    font-size: 11px
}

.property-results {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px
}

.result-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    min-width: 0;
    transition: .2s
}

    .result-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 35px #1c38381c
    }

.result-image {
    height: 190px;
    display: block;
    position: relative;
    background: #edf3f2;
    overflow: hidden
}

    .result-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block
    }

.no-image {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--teald);
    background: #eaf8f7
}

.result-tag, .result-image > small {
    position: absolute;
    top: 12px;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px
}

.result-tag {
    right: 12px;
    background: var(--teal);
    color: var(--ink)
}

.result-image > small {
    left: 12px;
    background: #ffffffed;
    color: #536163
}

.result-body {
    padding: 14px
}

    .result-body h2 {
        font-size: 13px;
        line-height: 1.7;
        margin: 5px 0 12px
    }

.result-spec {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f1;
    color: #718082;
    font-size: 10px
}

.result-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 12px
}

    .result-bottom b {
        font-size: 11px
    }

    .result-bottom a {
        font-size: 10px;
        color: var(--teald);
        font-weight: 700;
        white-space: nowrap
    }

.property-kind {
    display: block;
    color: #9aa4a5;
    font-size: 9px;
    margin-top: 7px
}

.loading, .empty-result, .error-message {
    border-radius: 8px;
    background: #f5f8f7;
    padding: 28px;
    text-align: center;
    color: #6e7c7d;
    font-size: 12px
}

    .empty-result p {
        margin-bottom: 0
    }

.error-message {
    background: #fff3f1;
    color: #9a4239
}

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
    flex-wrap: wrap
}

    .pager button {
        height: 35px;
        min-width: 35px;
        padding: 0 10px;
        border: 1px solid var(--line);
        border-radius: 5px;
        background: #fff;
        color: #657274;
        font: inherit;
        font-size: 11px
    }

        .pager button.active {
            background: var(--teal);
            border-color: var(--teal);
            color: var(--ink);
            font-weight: 700
        }

        .pager button:disabled {
            opacity: .35;
            cursor: not-allowed
        }

    .pager span {
        padding: 0 4px
    }

.crumb {
    display: flex;
    gap: 9px;
    font-size: 11px;
    color: #879394;
    margin-bottom: 20px
}

    .crumb a {
        color: var(--teald)
    }

.muted {
    color: var(--muted);
    font-size: 12px
}

.detail-heading {
    align-items: flex-end
}

    .detail-heading .eyebrow {
        font-size: 11px
    }

.secondary {
    display: inline-block;
    border: 1px solid #dce8e8;
    background: #fff;
    color: var(--teald);
    padding: 10px 16px;
    border-radius: 5px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer
}

.detail-gallery {
    height: 370px;
    position: relative;
    border-radius: 9px;
    overflow: hidden;
    background: #eef3f2;
    margin-bottom: 24px
}

    .detail-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.gallery-note {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #1d2b2cbb;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px
}

.detail-columns {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 22px;
    align-items: start
}

.detail-main-col {
    display: grid;
    gap: 16px
}

.detail-box, .detail-price, .contact-form, .contact-info {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 21px;
    background: #fff
}

    .detail-box h2, .contact-info h2, .contact-form h2 {
        font-size: 17px;
        margin: 0 0 16px
    }

.spec-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 17px
}

    .spec-list div {
        display: flex;
        flex-direction: column;
        gap: 3px
    }

    .spec-list small {
        font-size: 10px;
        color: var(--muted)
    }

    .spec-list b {
        font-size: 12px
    }

.description {
    font-size: 12px;
    line-height: 2.2;
    color: #657274;
    white-space: pre-line
}

.feature-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

    .feature-chips span {
        background: #eff9f8;
        color: #3b7778;
        border-radius: 5px;
        padding: 5px 10px;
        font-size: 11px
    }

.detail-price {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 11px
}

    .detail-price > small {
        color: var(--muted);
        font-size: 11px
    }

    .detail-price > b {
        font-size: 20px;
        overflow-wrap: anywhere
    }

    .detail-price > span {
        font-size: 11px;
        color: var(--muted)
    }

    .detail-price p {
        font-size: 10px;
        color: #9aa4a5;
        margin: 4px 0 0;
        line-height: 1.9
    }

.related {
    padding-top: 40px
}

.subhero {
    background: var(--ink);
    color: white;
    padding: 54px 0 58px;
    position: relative;
    overflow: hidden
}

    .subhero:after {
        content: "";
        position: absolute;
        left: -70px;
        top: -130px;
        width: 370px;
        height: 370px;
        border: 1px solid #5fc8c93d;
        border-radius: 50%;
        box-shadow: 0 0 0 35px #5fc8c915,0 0 0 70px #5fc8c90a
    }

    .subhero .wrap {
        position: relative;
        z-index: 1
    }

    .subhero h1 em {
        font-style: normal;
        color: var(--teal)
    }

    .subhero p {
        color: #c5d0d0
    }

.about-page {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 55px
}

.about-page-image {
    height: 400px;
    border-radius: 8px;
    background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1100&q=85') center/cover
}

.about-page h2 {
    font-size: 28px;
    line-height: 1.7;
    margin: 8px 0
}

.about-page p, .contact-info > p {
    font-size: 12px;
    line-height: 2.3;
    color: #7c898a
}

.points {
    display: grid;
    gap: 14px;
    margin: 20px 0
}

    .points > div {
        display: flex;
        gap: 14px
    }

        .points > div > b {
            color: var(--teald)
        }

    .points span {
        display: flex;
        flex-direction: column
    }

    .points strong {
        font-size: 12px
    }

    .points small {
        font-size: 10px;
        color: var(--muted)
    }

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: start
}

.contact-info {
    background: #f6f9f8
}

    .contact-info h2 {
        font-size: 26px;
        margin: 7px 0
    }

.contact-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid #e2eaea
}

    .contact-item > span {
        width: 39px;
        height: 39px;
        border-radius: 8px;
        background: #e1f6f5;
        color: var(--teald);
        display: grid;
        place-items: center;
        font-size: 20px
    }

    .contact-item div {
        display: flex;
        flex-direction: column;
        gap: 3px
    }

    .contact-item small {
        font-size: 10px;
        color: var(--muted)
    }

    .contact-item b {
        font-size: 13px
    }

    .contact-item a {
        font-size: 10px;
        color: var(--teald)
    }

.contact-form > p {
    font-size: 11px;
    color: var(--muted);
    margin-top: -10px
}

.contact-form textarea {
    resize: vertical
}

.contact-form .primary {
    margin-top: 3px
}

.form-notice {
    font-size: 11px;
    color: var(--teald);
    margin-top: 10px
}

.form-help {
    display: block;
    color: #929d9e;
    font-size: 10px;
    margin-top: 10px
}

@media(max-width:900px) {
    .search-shell {
        grid-template-columns: 230px minmax(0,1fr);
        gap: 15px
    }

    .property-results {
        gap: 12px
    }

    .result-image {
        height: 160px
    }

    .detail-columns {
        grid-template-columns: minmax(0,1fr) 260px
    }

    .spec-list {
        grid-template-columns: repeat(2,1fr)
    }

    .about-page {
        gap: 30px
    }
}

@media(max-width:680px) {
    .page {
        padding-top: 25px
    }

    .page-heading {
        align-items: flex-start
    }

        .page-heading h1, .detail-heading h1, .subhero h1 {
            font-size: 26px
        }

        .page-heading p {
            max-width: 260px
        }

    .search-shell {
        display: block
    }

    .filter-panel {
        display: none;
        position: fixed;
        z-index: 30;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw,360px);
        height: 100dvh;
        overflow: auto;
        border-radius: 0;
        box-shadow: -15px 0 45px #0002
    }

        .filter-panel.opened {
            display: block
        }

    .filter-title {
        position: sticky;
        top: -18px;
        background: white;
        padding: 6px 0 12px;
        z-index: 2
    }

        .filter-title .close-filter {
            display: block
        }

    .filter-mobile {
        display: block
    }

    .results-top {
        align-items: center
    }

    .sort-controls {
        width: 100%;
        justify-content: space-between
    }

        .sort-controls label {
            flex: 1
        }

        .sort-controls select {
            max-width: none;
            min-width: 0;
            flex: 1
        }

    .property-results {
        grid-template-columns: 1fr
    }

    .result-image {
        height: 220px
    }

    .detail-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .detail-gallery {
        height: 250px
    }

    .detail-columns {
        grid-template-columns: 1fr
    }

    .detail-price {
        position: static;
        grid-row: 1
    }

    .spec-list {
        grid-template-columns: repeat(2,1fr)
    }

    .about-page, .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .about-page-image {
        height: 260px;
        order: 2
    }

    .about-page h2 {
        font-size: 24px
    }

    .subhero {
        padding: 40px 0
    }

    .contact-info h2 {
        font-size: 23px
    }

    .detail-box, .detail-price, .contact-form, .contact-info {
        padding: 17px
    }
}
