@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    --ink: #10243A;
    --muted: #737d79;
    --paper: #f7f7f2;
    --white: #fff;
    --line: #e2e5df;
    --green: #10243A;
    --sand: #E9DDC8;
    --serif: 'Playfair Display',Georgia,serif;
    --sans: 'DM Sans',Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,select,textarea {
    font: inherit;
}

.top {
    height: 88px;
    padding: 0 max(5vw,24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbfbf8;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .12em;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .18em;
    margin-top: 4px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #9ca99f;
    color: var(--green);
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0;
}

.top nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
}

.top nav>a:not(.nav-cta):hover,.text-link:hover {
    color: #A77A2E;
}

.nav-cta {
    padding: 11px 17px;
    border: 1px solid #c8d0c8;
}

.hero {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eeefe8;
}

.hero-copy {
    padding: 86px 8vw 72px 10vw;
    align-self: center;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 700;
    color: #627083;
    margin: 0 0 17px;
}

.hero h1,.about h2 {
    font: 500 clamp(42px,5vw,68px)/1.12 var(--serif);
    letter-spacing: -.035em;
    margin: 0 0 20px;
}

.hero h1 em,.about h2 em {
    font-weight: 500;
    color: #A77A2E;
}

.hero-text {
    max-width: 380px;
    color: #66716b;
    margin-bottom: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--green);
    color: white;
    border: 1px solid var(--green);
    padding: 13px 19px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.button:hover {
    background: #17372d;
}

.button.dark {
    background: #10243A;
}

.button.outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.hero-image {
    position: relative;
    background: linear-gradient(0deg,rgba(20,35,29,.28),transparent 40%),url('assets/trg-hero-banner.webp') center/cover;
    min-height: 440px;
}

.hero-note {
    position: absolute;
    right: 25px;
    bottom: 25px;
    background: #fbfbf7;
    padding: 16px 19px;
    font-size: 11px;
    min-width: 220px;
}

.hero-note b {
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #688b70;
    border-radius: 50%;
    margin-right: 7px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 25px 10vw;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 25px;
}

.trust-row div {
    padding-left: 20px;
    border-left: 1px solid #d4d9d1;
}

.trust-row b,.trust-row span {
    display: block;
}

.trust-row b {
    font-size: 12px;
}

.trust-row span {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.section {
    padding: 80px 8vw 90px;
    max-width: 1600px;
    margin: auto;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section h2,.contact h2,.admin-wrap h1 {
    font: 500 clamp(32px,4vw,46px)/1.2 var(--serif);
    margin: 0 0 10px;
}

.muted {
    color: var(--muted);
}

.count {
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 7px 10px;
    white-space: nowrap;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.filters input {
    flex: 1;
}

.filters input,.filters select,input,select,textarea {
    min-width: 0;
    border: 1px solid #dce1d9;
    background: #fff;
    padding: 12px 13px;
    border-radius: 0;
    color: var(--ink);
}

.filters select {
    width: 210px;
}

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

.property-card {
    background: #fff;
    border: 1px solid var(--line);
    min-width: 0;
}

.photo {
    height: 235px;
    display: block;
    position: relative;
    overflow: hidden;
    background: #e6e7e1;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.property-card:hover .photo img {
    transform: scale(1.035);
}

.status {
    position: absolute;
    left: 14px;
    top: 14px;
    background: #f9faf6;
    padding: 6px 9px;
    font-size: 10px;
}

.card-body {
    padding: 19px;
}

.project {
    color: #627083;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.card-body h3 {
    font: 500 22px/1.25 var(--serif);
    margin: 0 0 9px;
}

.location {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 18px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 15px;
}

.card-bottom strong {
    display: block;
    font-size: 15px;
    margin-top: 4px;
}

.small {
    font-size: 10px;
}

.arrow {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    font-size: 18px;
}

.specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 13px;
}

.specs span {
    background: #f3f4ef;
    padding: 5px 8px;
    font-size: 10px;
    color: #59665e;
}

.empty {
    text-align: center;
    padding: 50px 20px;
}

.about {
    padding: 90px 12vw;
    background: #F0E9DB;
    text-align: center;
}

.about h2 {
    font-size: clamp(36px,4vw,54px);
}

.about>p:not(.eyebrow) {
    max-width: 550px;
    margin: 20px auto;
    color: #627083;
}

.text-link {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 75px 10vw;
    background: #fff;
}

.contact h2 {
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
}

.contact-details>b {
    font-size: 15px;
}

.contact-details .button {
    margin-top: 12px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5vw;
    background: #f7f7f2;
    font-size: 10px;
    color: var(--muted);
    gap: 20px;
}

.footer .brand {
    color: var(--ink);
}

.detail {
    max-width: 1150px;
    margin: 45px auto 90px;
    padding: 0 24px;
}

.detail-image {
    width: 100%;
    height: min(52vw,530px);
    object-fit: cover;
    margin: 22px 0 32px;
    background: #e5e7df;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
}

.detail h1 {
    font: 500 clamp(34px,4vw,50px)/1.15 var(--serif);
    margin: 0 0 10px;
}

.detail h2 {
    font: 500 25px var(--serif);
    margin-top: 35px;
}

.description {
    white-space: normal;
    line-height: 1.8;
    color: #5e6a63;
}

.detail-specs {
    margin-bottom: 20px;
}

.price-box {
    background: #fff;
    border: 1px solid var(--line);
    padding: 25px;
    align-self: start;
}

.price-box h2 {
    margin: 8px 0;
}

.price-box .button {
    width: 100%;
    margin: 15px 0;
}

.admin-wrap {
    max-width: 1200px;
    margin: 55px auto 90px;
    padding: 0 24px;
}

.admin-wrap .section-head {
    align-items: center;
}

.admin-form,.inventory {
    background: #fff;
    border: 1px solid var(--line);
    padding: 25px;
    margin: 24px 0;
}

.admin-form h2,.inventory h2 {
    font: 500 26px var(--serif);
    margin: 0 0 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.form-grid label,.login-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
}

.form-grid input,.form-grid select,.form-grid textarea {
    width: 100%;
}

.form-grid .wide {
    grid-column: 1/-1;
}

.form-grid small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
}

.form-grid .check {
    flex-direction: row;
    align-items: center;
}

.form-grid .check input {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.notice {
    background: #eaf2e9;
    border: 1px solid #c9ddca;
    padding: 12px 15px;
    font-size: 12px;
}

.error {
    color: #9a2d2d;
    font-size: 12px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

th,td {
    border-bottom: 1px solid var(--line);
    padding: 13px 10px;
    white-space: nowrap;
}

th {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

td small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

.pill {
    padding: 5px 8px;
    background: #edf3ec;
    font-size: 10px;
}

.pill.sold {
    background: #f7e8e5;
}

.pill.unavailable {
    background: #eee;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #edf0e9;
}

.login-card {
    width: min(100%,410px);
    padding: 35px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-card h1 {
    font: 500 32px var(--serif);
    margin: 10px 0 0;
}

.login-card p {
    margin: 0;
}

.login-card input {
    width: 100%;
}

.full {
    width: 100%;
}

@media (max-width:850px) {
    .top {
        height: auto;
        min-height: 78px;
        padding: 15px 22px;
    }
    .top nav {
        gap: 12px;
    }
    .top nav>a:not(.nav-cta) {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        padding: 60px 8vw;
    }
    .hero-image {
        min-height: 330px;
    }
    .cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .section {
        padding: 60px 5vw;
    }
    .contact {
        padding: 60px 7vw;
        gap: 30px;
    }
    .trust-row {
        padding: 22px 5vw;
    }
    .detail-grid {
        gap: 25px;
    }
}

@media (max-width:560px) {
    .brand {
        font-size: 12px;
    }
    .brand-mark {
        width: 36px;
        height: 36px;
    }
    .nav-cta {
        font-size: 11px;
        padding: 9px;
    }
    .hero-copy {
        padding: 50px 7vw;
    }
    .hero h1 {
        font-size: 48px;
    }
    .trust-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .trust-row div {
        padding: 0 0 0 13px;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .filters {
        flex-direction: column;
    }
    .filters select {
        width: 100%;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .photo {
        height: 245px;
    }
    .contact {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .detail-image {
        height: 260px;
    }
    .admin-wrap {
        padding: 0 12px;
        margin-top: 35px;
    }
    .admin-form,.inventory {
        padding: 16px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .wide {
        grid-column: auto;
    }
    .admin-wrap .section-head {
        align-items: flex-start;
    }
    .admin-wrap .section-head .button {
        white-space: nowrap;
    }
    footer {
        flex-wrap: wrap;
    }
    .footer .brand {
        flex-basis: 100%;
    }
}

/*THE NEW HAUS feature additions*/

.field-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.enquiry-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.enquiry-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.enquiry-form input,.enquiry-form textarea {
    width: 100%;
    border: 1px solid #d8d8d4;
    border-radius: 8px;
    padding: 12px;
    font: inherit;
    background: #fff;
}

.contact-form-wrap {
    background: #fff;
    padding: 22px;
    border: 1px solid #e7e5e0;
    border-radius: 14px;
}

.spec-chip {
    display: inline-block;
    background: #f0eee8;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin: 4px 4px 4px 0;
}

.price-box hr {
    border: 0;
    border-top: 1px solid #e7e5e0;
    margin: 20px 0;
}

.price-box h3 {
    margin: 0;
}

.admin-form small {
    display: block;
    color: #777;
    font-size: 11px;
    margin-top: 4px;
}

@media (max-width:760px) {
    .field-pair {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 16px;
    }
}

/*THE NEW HAUS — Enquiry Form Fix*/

.enquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    width: 100%;
    max-width: 760px;
}

.enquiry-form label {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #d8ded8;
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.enquiry-form textarea {
    min-height: 110px;
    resize: vertical;
}

.enquiry-form button,
.enquiry-form input[type="submit"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 0;
    border-radius: 4px;
    background: #10243A;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.enquiry-form button:hover,
.enquiry-form input[type="submit"]:hover {
    background: #0B1A2B;
}

.enquiry-form .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .enquiry-form {
        grid-template-columns: 1fr;
    }
    .enquiry-form .full-width {
        grid-column: auto;
    }
}

/*Final fix: THE NEW HAUS enquiry form*/

.contact-form-wrap {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    padding: 28px;
    border: 1px solid #e2e5df;
}

.contact-form-wrap h3 {
    margin: 0 0 20px;
    font-size: 22px;
}

.enquiry-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.enquiry-form label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin: 0;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
}

.enquiry-form input:not([type="hidden"]),
.enquiry-form textarea,
.enquiry-form select {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #d8ded8;
    border-radius: 4px;
    background: #fff;
    color: #10243A;
    font: inherit;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
    outline: 2px solid #10243A;
    outline-offset: 1px;
}

.enquiry-form button,
.enquiry-form input[type="submit"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 0;
    border-radius: 4px;
    background: #10243A;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.enquiry-form button:hover,
.enquiry-form input[type="submit"]:hover {
    background: #17372d;
}

@media (max-width: 600px) {
    .contact-form-wrap {
        padding: 20px;
    }
}

/*Secure MagicBox additions*/

.logout-form {
    display: inline-flex;
    margin: 0;
}

.logout-form button {
    font: inherit;
    cursor: pointer;
}

.admin-image-grid,.detail-gallery,#photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
    gap: 12px;
    margin-top: 12px;
}

.admin-image-grid img,.upload-preview img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #eee;
}

.admin-image-grid small,.upload-preview small {
    display: block;
    overflow-wrap: anywhere;
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px;
}

.upload-preview {
    min-width: 0;
}

.detail-gallery {
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    margin: 0 0 30px;
}

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

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-grid input[type=file] {
    padding: 10px;
}

.admin-form .error {
    color: #9a2d2d;
}

.admin-form .notice {
    background: #fff0ed;
}

/*Admin inventory actions and homepage pagination*/

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.inline-delete {
    display: inline;
    margin: 0;
}

.danger-link {
    color: #a12828;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.browse-all {
    text-align: center;
    margin: 28px 0 0;
}

/*THE NEW HAUS brand and refined homepage enquiry layout*/

.brand {
    gap: 0;
    letter-spacing: 0;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 260px;
    height: auto;
    max-width: 100%;
}

.admin-brand-logo {
    width: 235px;
}

.top {
    gap: 24px;
}

.contact {
    grid-template-columns: minmax(180px,.8fr) minmax(190px,.8fr) minmax(300px,1.2fr);
    align-items: start;
    gap: 34px;
    padding: 68px clamp(24px,6vw,96px);
    background: #f0f1eb;
}

.contact>div:first-child {
    padding-top: 8px;
}

.contact>div:first-child h2 {
    font-size: clamp(30px,3vw,42px);
    max-width: 320px;
}

.contact>div:first-child>p:not(.eyebrow) {
    max-width: 300px;
    color: var(--muted);
}

.contact-details {
    padding: 8px 0;
}

.contact-form-wrap {
    padding: 22px;
    background: #fff;
    border: 1px solid #e1e5dc;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(25,45,35,.045);
}

.contact-form-wrap h3 {
    font: 500 25px/1.2 var(--serif);
    margin: 0 0 6px;
}

.form-intro {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 16px;
}

.contact .enquiry-form {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    max-width: none;
    margin-top: 14px;
}

.contact .enquiry-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: #3c4942;
    margin: 0;
}

.contact .enquiry-form label:nth-of-type(4),.contact .enquiry-form .hp-field,.contact .enquiry-form button {
    grid-column: 1/-1;
}

.contact .enquiry-form input:not([type=hidden]),.contact .enquiry-form textarea {
    font-size: 12px;
    padding: 11px 12px;
    border-radius: 5px;
    border: 1px solid #dce2da;
    background: #fcfcfa;
}

.contact .enquiry-form textarea {
    min-height: 76px;
    resize: vertical;
}

.contact .enquiry-form button {
    padding: 13px 16px;
    border-radius: 4px;
}

.contact .enquiry-form .hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact .notice {
    margin: 10px 0;
}

.top .brand-logo {
    width: 260px;
}

.detail~footer .brand-logo {
    width: 240px;
}

@media (max-width:1000px) {
    .contact {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .contact-form-wrap {
        grid-column: 1/-1;
    }
    .contact .enquiry-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:600px) {
    .top {
        padding: 14px 16px;
        min-height: 70px;
    }
    .top .brand-logo {
        width: 205px;
    }
    .top nav {
        gap: 8px;
    }
    .top nav .nav-cta {
        padding: 9px 10px;
        font-size: 11px;
    }
    .contact {
        grid-template-columns: 1fr;
        padding: 44px 20px;
        gap: 24px;
    }
    .contact-form-wrap {
        grid-column: auto;
        padding: 18px;
    }
    .contact .enquiry-form {
        grid-template-columns: 1fr;
    }
    .contact .enquiry-form label,.contact .enquiry-form label:nth-of-type(4),.contact .enquiry-form button {
        grid-column: 1;
    }
    .brand-logo {
        width: 205px;
    }
    footer .brand-logo {
        width: 220px;
    }
}

/*Admin photo management: select a cover and remove individual photos*/

.admin-photo-item {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

.admin-photo-item img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.photo-choice,.photo-remove {
    display: flex !important;
    align-items: center;
    gap: 7px;
    font-size: 11px !important;
    font-weight: 600;
    margin: 8px 0 4px !important;
    cursor: pointer;
}

.photo-choice input,.photo-remove input {
    width: auto !important;
    margin: 0;
    accent-color: #10243A;
}

.photo-remove {
    color: #9a2d2d;
}

#photo-preview {
    grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
}

/*Refined property gallery: one hero, three thumbnails, expandable gallery*/

.property-gallery {
    margin: 20px 0 36px;
    position: relative;
}

.gallery-hero {
    position: relative;
    background: #e7e9e2;
    overflow: hidden;
    border-radius: 3px;
}

.gallery-hero .detail-image {
    display: block;
    width: 100%;
    height: clamp(280px,48vw,570px);
    object-fit: cover;
    margin: 0;
    cursor: zoom-in;
}

.gallery-view-all {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: rgba(255,255,255,.96);
    color: #10243A;
    border: 1px solid #dce1d9;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-top: 12px;
}

.gallery-thumb {
    padding: 0;
    border: 0;
    background: #e7e9e2;
    cursor: pointer;
    overflow: hidden;
    height: clamp(90px,15vw,170px);
    border-radius: 3px;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}

.gallery-thumb:hover img {
    transform: scale(1.04);
}

.gallery-more {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    min-height: 90px;
}

.photo-lightbox {
    width: min(1000px,calc(100% - 28px));
    max-height: 90vh;
    border: 0;
    border-radius: 8px;
    padding: 22px;
    background: #f7f7f2;
    color: var(--ink);
}

.photo-lightbox::backdrop {
    background: rgba(15,24,20,.78);
}

.lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.lightbox-close {
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.lightbox-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    overflow: auto;
    max-height: calc(90vh - 90px);
}

.lightbox-photo {
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    text-align: left;
    cursor: pointer;
    min-width: 0;
}

.lightbox-photo img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.lightbox-photo span {
    display: block;
    padding: 8px 10px;
    font-size: 11px;
}

@media (max-width:600px) {
    .detail {
        margin: 22px auto 55px;
        padding: 0 16px;
    }
    .property-gallery {
        margin: 16px 0 28px;
    }
    .gallery-hero .detail-image {
        height: 250px;
    }
    .gallery-thumbnails {
        gap: 7px;
        margin-top: 7px;
    }
    .gallery-thumb {
        height: 92px;
    }
    .gallery-view-all {
        right: 9px;
        bottom: 9px;
        padding: 8px 10px;
        font-size: 11px;
    }
    .gallery-more {
        font-size: 11px;
        min-height: 92px;
    }
    .lightbox-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }
    .lightbox-photo img {
        height: 125px;
    }
    .photo-lightbox {
        padding: 14px;
    }
    .lightbox-head {
        font-size: 13px;
    }
}

/*Minimal, accessible mobile navigation additions — existing desktop layout retained*/

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    flex: 0 0 auto;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.site-nav {
    min-width: 0;
}

.blog-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px clamp(20px,6vw,80px) 80px;
}

.blog-intro {
    max-width: 760px;
    margin-bottom: 38px;
}

.blog-intro h1 {
    font: 500 clamp(38px,5vw,60px)/1.12 var(--serif);
    letter-spacing: -.03em;
    margin: 0 0 16px;
}

.blog-intro>p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
}

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

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 25px;
    min-width: 0;
}

.blog-card .eyebrow {
    margin-bottom: 12px;
}

.blog-card h2 {
    font: 500 25px/1.2 var(--serif);
    margin: 0 0 12px;
}

.blog-card p {
    color: var(--muted);
    font-size: 13px;
}

.blog-article {
    margin-top: 42px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    scroll-margin-top: 24px;
}

.blog-article h2 {
    font: 500 clamp(25px,3vw,34px)/1.2 var(--serif);
    margin: 0 0 15px;
}

.blog-article h3 {
    font-size: 16px;
    margin: 22px 0 8px;
}

.blog-article p,.blog-article li {
    color: #59665e;
    max-width: 850px;
}

.blog-article li {
    margin: 7px 0;
}

.blog-footer-link {
    display: inline-block;
    margin-top: 12px;
}

@media (max-width:760px) {
    .top {
        height: auto;
        min-height: 72px;
        position: relative;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }
    .top .brand {
        min-width: 0;
        max-width: calc(100% - 58px);
    }
    .top .brand-logo {
        width: clamp(175px,56vw,220px);
    }
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    .top nav.site-nav {
        display: none;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 2px;
        border-top: 1px solid var(--line);
        font-size: 14px;
    }
    .top nav.site-nav.is-open {
        display: flex;
    }
    .top nav.site-nav>a {
        display: block;
        padding: 12px 8px;
        border-bottom: 1px solid var(--line);
    }
    .top nav.site-nav>a.nav-cta {
        margin-top: 8px;
        text-align: center;
        border: 1px solid #c8d0c8;
    }
    .blog-page {
        padding: 42px 18px 56px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .blog-card {
        padding: 21px;
    }
    .blog-article {
        padding: 22px 18px;
        margin-top: 24px;
    }
}

@media (min-width:761px) {
    .top nav.site-nav {
        display: flex;
    }
}

/*Additive admin/social/blog controls*/

.social-links {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #d7ddd5;
    border-radius: 50%;
    font-size: 10px;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
}

.social-icon:hover {
    background: #F0E9DB;
}

.admin-photo-item .photo-remove {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-photo-item .danger-link {
    margin: 5px 0;
    display: inline-block;
}

.admin-row-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-delete {
    display: inline-block;
}

/*Property detail: clean two-column amenities grid*/

.detail .amenities-heading {
    margin-top: 32px;
    margin-bottom: 16px;
}

.detail .amenities-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px 24px;
    margin: 0;
    padding: 0;
}

.detail .amenities-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.detail .amenities-grid .amenity-mark {
    display: inline-flex;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: #16834a;
    font-size: 15px;
    font-weight: 700;
}

.detail .description {
    white-space: normal;
    line-height: 1.85;
    color: #5e6a63;
    overflow-wrap: anywhere;
}

@media (max-width:600px) {
    .detail .amenities-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/*THE NEW HAUS — property amenities grid correction*/

.detail ul.amenities-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.detail ul.amenities-grid li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    line-height: 1.5;
}

.detail ul.amenities-grid .amenity-mark {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: #16834a;
}

@media (max-width: 600px) {
    .detail ul.amenities-grid {
        grid-template-columns: 1fr !important;
    }
}

/*THE NEW HAUS: final property amenities layout override
   Keep this at the end of style.css so it wins over earlier rules.*/

.detail ul.amenities-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    list-style: none !important;
    gap: 13px 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.detail ul.amenities-grid > li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    line-height: 1.5 !important;
}

.detail ul.amenities-grid > li::marker {
    content: "" !important;
}

.detail ul.amenities-grid .amenity-mark {
    display: inline-flex !important;
    flex: 0 0 19px !important;
    width: 19px !important;
    height: 19px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1px !important;
    color: #16834a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

@media (max-width: 600px) {
    .detail ul.amenities-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }
}

/*Property configuration editor, map and favicon-related layout*/

.configuration-editor {
    border: 1px solid var(--line);
    background: #f8f9f5;
    padding: 18px;
    border-radius: 8px;
    margin: 8px 0 16px;
}

.configuration-editor-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.configuration-editor-head h3 {
    margin: 0 0 5px;
    font: 500 21px var(--serif);
}

.configuration-row {
    display: grid;
    grid-template-columns: 1.1fr .7fr .8fr 1fr 1.1fr .9fr auto;
    gap: 10px;
    align-items: end;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.configuration-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

.configuration-row input,.configuration-row select {
    min-width: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #d8d8d4;
    border-radius: 5px;
    background: #fff;
    font: inherit;
}

.remove-configuration {
    padding: 9px 2px;
    background: none;
    border: 0;
    cursor: pointer;
}

.configuration-public-table {
    margin: 14px 0 28px;
}

.property-location-map {
    margin: 55px 0 20px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.property-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.property-map-heading h2 {
    margin: 4px 0 8px;
}

.property-map-heading p {
    margin: 0;
    color: var(--muted);
}

.property-location-map iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 8px;
    background: #f0f0ed;
}

.property-location-map .small {
    margin-top: 8px;
}

@media (max-width:900px) {
    .configuration-row {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .configuration-row .remove-configuration {
        justify-self: start;
    }
    .configuration-editor-head {
        flex-direction: column;
    }
}

@media (max-width:560px) {
    .configuration-row {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .property-map-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .property-location-map iframe {
        height: 280px;
    }
}

/*THE NEW HAUS admin refinement: compact repeatable configuration rows.*/

.admin-wrap {
    max-width: 1320px;
}

.admin-form {
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(28,39,37,.035);
}

.configuration-editor {
    padding: 16px;
    border-radius: 10px;
}

.configuration-editor-head {
    align-items: center;
}

.configuration-editor-head p {
    margin: 5px 0 0;
}

#configuration-rows {
    display: grid;
    gap: 9px;
}

.configuration-row {
    display: grid;
    grid-template-columns: minmax(145px,1.25fr) minmax(90px,.75fr) minmax(90px,.72fr) minmax(130px,1fr) minmax(150px,1.1fr) minmax(115px,.85fr) auto;
    gap: 8px;
    align-items: end;
    padding: 12px;
    background: #fff;
    border: 1px solid #e3e7df;
    border-radius: 8px;
}

.configuration-row label {
    min-width: 0;
    gap: 5px;
    font-size: 10px;
    color: #5d6962;
}

.configuration-row input,.configuration-row select {
    height: 39px;
    min-height: 39px;
    padding: 8px 9px;
    border-radius: 6px;
    font-size: 12px;
}

.configuration-row .remove-configuration {
    height: 39px;
    padding: 0 8px;
    white-space: nowrap;
    border: 1px solid #ead8d4;
    border-radius: 6px;
    color: #9a3b32;
    font-size: 11px;
    text-decoration: none;
}

.configuration-row .remove-configuration:hover {
    background: #fff3f0;
}

.property-location-map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    margin: 42px 0 24px;
    box-shadow: 0 8px 26px rgba(28,39,37,.035);
}

.property-map-heading {
    margin-bottom: 18px;
}

.property-map-heading .eyebrow {
    margin-bottom: 8px;
}

.property-location-map iframe {
    display: block;
    height: 320px;
    border: 1px solid #e3e7df;
    border-radius: 10px;
    background: #f0f0ed;
}

.property-location-map .small {
    margin: 12px 2px 0;
    line-height: 1.6;
}

.login-card {
    border-radius: 12px;
    box-shadow: 0 12px 38px rgba(28,39,37,.06);
}

@media (max-width:1100px) {
    .configuration-row {
        grid-template-columns: repeat(3,minmax(0,1fr));
        padding: 12px;
    }
    .configuration-row .remove-configuration {
        justify-self: start;
    }
    .configuration-row label {
        font-size: 11px;
    }
}

@media (max-width:600px) {
    .configuration-editor {
        padding: 12px;
    }
    .configuration-row {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }
    .configuration-row label:first-child {
        grid-column: 1/-1;
    }
    .configuration-row .remove-configuration {
        grid-column: 1/-1;
        width: auto;
    }
    .property-location-map {
        padding: 16px;
        margin: 30px 0;
    }
    .property-location-map iframe {
        height: 250px;
    }
    .configuration-editor-head {
        align-items: stretch;
    }
    .configuration-editor-head .button {
        align-self: flex-start;
    }
}

/*Property detail: map occupies the blank space directly below the enquiry form.*/

.detail-grid {
    align-items: start;
    grid-template-columns: minmax(0,1.6fr) minmax(340px,1fr);
    gap: 48px;
}

.detail-grid>section {
    min-width: 0;
}

.price-box {
    min-width: 0;
}

.price-box .property-location-map {
    display: block;
    margin: 26px 0 0;
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.price-box .property-map-heading {
    display: block;
    margin-bottom: 14px;
}

.price-box .property-map-heading .eyebrow {
    margin-bottom: 6px;
}

.price-box .property-map-heading h2 {
    font-size: 23px;
    margin: 0 0 5px;
}

.price-box .property-map-heading p {
    font-size: 12px;
    overflow-wrap: anywhere;
}

.price-box .property-map-heading .button {
    width: auto;
    margin: 12px 0 0;
    padding: 10px 12px;
}

.price-box .property-location-map iframe {
    width: 100%;
    height: 300px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.price-box .property-location-map .small {
    font-size: 10px;
    line-height: 1.5;
    margin: 8px 0 0;
}

@media (max-width:850px) {
    .detail-grid {
        grid-template-columns: minmax(0,1.4fr) minmax(300px,1fr);
        gap: 24px;
    }
}

@media (max-width:700px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .price-box .property-location-map iframe {
        height: 260px;
    }
}

/*THE NEW HAUS property detail refresh — scoped to property.php only*/

.detail:has(.tnh-property-layout) {
    max-width: 1280px;
    margin: 28px auto 80px;
    padding: 0 26px;
}

.tnh-property-intro {
    padding: 22px 0 26px;
}

.tnh-property-intro .eyebrow {
    margin: 0 0 10px;
}

.tnh-property-intro h1 {
    max-width: 900px;
    margin: 0 0 10px;
}

.tnh-property-location {
    color: var(--muted);
    margin: 0 0 22px;
}

.tnh-summary-strip {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.tnh-summary-strip>div {
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.tnh-summary-strip>div:last-child {
    border-right: 0;
}

.tnh-summary-strip span,.tnh-facts-grid span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 7px;
}

.tnh-summary-strip strong {
    display: block;
    font-size: clamp(13px,1.4vw,18px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tnh-property-layout {
    grid-template-columns: minmax(0,1.55fr) minmax(330px,.9fr);
    gap: 30px;
    align-items: start;
}

.tnh-property-sections {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.tnh-info-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    margin: 0;
}

.tnh-info-panel>summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    min-height: 88px;
}

.tnh-info-panel>summary::-webkit-details-marker {
    display: none;
}

.tnh-info-panel>summary:after {
    content: '＋';
    margin-left: auto;
    color: #688274;
    font-size: 22px;
    flex-shrink: 0;
}

.tnh-info-panel[open]>summary:after {
    content: '−';
}

.tnh-panel-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    background: #edf6f0;
    color: #27825e;
    font-size: 24px;
}

.tnh-info-panel>summary strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.tnh-info-panel>summary small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}

.tnh-panel-content {
    padding: 0 20px 22px;
    min-width: 0;
}

.tnh-panel-content .description {
    margin: 0 0 20px;
}

.tnh-facts-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 20px;
}

.tnh-facts-grid>div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.tnh-facts-grid strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.tnh-panel-content .configuration-public-table {
    margin: 0;
    overflow-x: auto;
}

.tnh-panel-content table {
    font-size: 13px;
    min-width: 440px;
}

.tnh-panel-content th {
    background: #edf6f0;
    color: #29483a;
    font-size: 11px;
}

.tnh-panel-content th,.tnh-panel-content td {
    padding: 14px 12px;
}

.tnh-panel-content td small {
    font-size: 11px;
}

.tnh-availability {
    display: inline-block;
    background: #edf6f0;
    color: #28734f;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 11px;
}

.tnh-panel-content .amenities-grid {
    margin: 0;
}

.tnh-panel-content .button {
    display: inline-flex;
    width: auto;
    margin: 8px 0 0;
}

.tnh-enquiry-column {
    position: relative;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(28,39,37,.05);
}

.tnh-enquiry-heading .eyebrow {
    margin: 0 0 8px;
}

.tnh-enquiry-heading h2 {
    font-size: 25px;
    margin: 0 0 8px;
}

.tnh-enquiry-heading>p:last-child {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 15px;
}

.tnh-enquiry-column .tnh-whatsapp-button {
    margin: 0 0 8px;
}

.tnh-enquiry-column>hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 22px 0;
}

.tnh-enquiry-column>h3 {
    margin: 0 0 15px;
    font: 500 22px var(--serif);
}

.tnh-enquiry-column .enquiry-form {
    display: grid;
    gap: 12px;
}

.tnh-enquiry-column .enquiry-form label {
    font-size: 12px;
    display: grid;
    gap: 6px;
}

.tnh-enquiry-column .enquiry-form input,.tnh-enquiry-column .enquiry-form textarea {
    width: 100%;
    border-radius: 7px;
    padding: 12px;
}

.tnh-enquiry-column .property-location-map {
    display: block;
    margin: 25px 0 0;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.tnh-enquiry-column .property-map-heading {
    display: grid;
    gap: 10px;
    align-items: start;
}

.tnh-enquiry-column .property-map-heading h2 {
    font-size: 22px;
    margin: 3px 0 6px;
}

.tnh-enquiry-column .property-map-heading .button {
    width: auto;
    margin: 0;
    justify-self: start;
}

.tnh-enquiry-column .property-location-map iframe {
    width: 100%;
    height: 280px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.tnh-enquiry-column .property-location-map .small {
    font-size: 11px;
    line-height: 1.5;
    margin: 9px 0 0;
}

@media (max-width:900px) {
    .tnh-property-layout {
        grid-template-columns: minmax(0,1fr) minmax(290px,.85fr);
        gap: 20px;
    }
    .tnh-summary-strip>div {
        padding: 15px 12px;
    }
}

@media (max-width:700px) {
    .detail:has(.tnh-property-layout) {
        margin: 20px auto 55px;
        padding: 0 15px;
    }
    .tnh-property-intro {
        padding: 16px 0 20px;
    }
    .tnh-summary-strip {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .tnh-summary-strip>div {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 14px;
    }
    .tnh-summary-strip>div:nth-child(2) {
        border-right: 0;
    }
    .tnh-summary-strip>div:nth-child(n+3) {
        border-bottom: 0;
    }
    .tnh-property-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tnh-property-sections {
        order: 1;
    }
    .tnh-enquiry-column {
        order: 0;
    }
    .tnh-info-panel>summary {
        padding: 16px;
        min-height: 78px;
    }
    .tnh-panel-content {
        padding: 0 16px 18px;
    }
    .tnh-info-panel>summary strong {
        font-size: 18px;
    }
    .tnh-facts-grid {
        grid-template-columns: 1fr;
    }
    .tnh-enquiry-column {
        padding: 18px;
    }
    .tnh-enquiry-column .property-location-map iframe {
        height: 250px;
    }
}

/*Property experience polish: independent aligned sidebar and responsive hero content.*/

.detail:has(.tnh-property-layout) {
    width: min(100% - 32px,1280px);
    padding: 0;
    margin: 28px auto 80px;
}

.detail:has(.tnh-property-layout)>.text-link {
    display: inline-flex;
    margin: 0 0 16px;
}

.detail:has(.tnh-property-layout)>.property-gallery {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 10px;
    margin: 0 0 18px;
    max-width: 100%;
}

.detail:has(.tnh-property-layout) .gallery-hero {
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.detail:has(.tnh-property-layout) .gallery-hero .detail-image {
    width: 100%;
    height: clamp(240px,34vw,430px);
    object-fit: cover;
    display: block;
}

.detail:has(.tnh-property-layout) .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}

.detail:has(.tnh-property-layout) .gallery-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    border-radius: 9px;
}

.detail:has(.tnh-property-layout) .tnh-property-intro {
    padding: 8px 0 24px;
}

.detail:has(.tnh-property-layout) .tnh-property-layout {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(340px,.9fr);
    gap: 26px;
    align-items: start;
}

.detail:has(.tnh-property-layout) .tnh-property-sections {
    min-width: 0;
    align-self: start;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column {
    min-width: 0;
    align-self: start;
    position: relative;
    top: auto;
    margin: 0;
}

.detail:has(.tnh-property-layout) .property-location-map {
    margin-top: 26px;
}

.detail:has(.tnh-property-layout) .tnh-summary-strip {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.detail:has(.tnh-property-layout) .tnh-summary-strip>div {
    padding: 16px;
    min-width: 0;
}

.detail:has(.tnh-property-layout) .tnh-panel-content .configuration-public-table {
    max-width: 100%;
}

.detail:has(.tnh-property-layout) .tnh-panel-content td,.detail:has(.tnh-property-layout) .tnh-panel-content th {
    overflow-wrap: anywhere;
}

@media (max-width:900px) {
    .detail:has(.tnh-property-layout) {
        width: min(100% - 28px,720px);
    }
    .detail:has(.tnh-property-layout) .tnh-property-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
    }
    .detail:has(.tnh-property-layout) .tnh-enquiry-column {
        grid-row: 2;
    }
    .detail:has(.tnh-property-layout) .tnh-summary-strip {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .detail:has(.tnh-property-layout) .tnh-summary-strip>div:nth-child(2) {
        border-right: 0;
    }
    .detail:has(.tnh-property-layout) .tnh-summary-strip>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width:560px) {
    .detail:has(.tnh-property-layout) {
        width: calc(100% - 24px);
        margin-top: 18px;
    }
    .detail:has(.tnh-property-layout) .gallery-hero .detail-image {
        height: 240px;
    }
    .detail:has(.tnh-property-layout) .gallery-thumbnails {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .detail:has(.tnh-property-layout) .gallery-thumb img {
        height: 68px;
    }
    .detail:has(.tnh-property-layout) .tnh-summary-strip>div {
        padding: 12px;
    }
    .detail:has(.tnh-property-layout) .tnh-info-panel>summary {
        padding: 15px;
        min-height: 76px;
    }
    .detail:has(.tnh-property-layout) .tnh-panel-content {
        padding: 0 14px 18px;
    }
    .detail:has(.tnh-property-layout) .tnh-enquiry-column {
        padding: 18px;
    }
    .detail:has(.tnh-property-layout) .tnh-enquiry-column .property-location-map iframe {
        height: 240px;
    }
}

/*Approved property-page layout: compact gallery and summary on left, enquiry/map pinned in right column.*/

.detail:has(.tnh-property-layout) .tnh-property-layout {
    display: grid;
    grid-template-columns: minmax(0,1.58fr) minmax(350px,.92fr);
    gap: 26px;
    align-items: start;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column>.text-link {
    align-self: flex-start;
    margin: 0 0 12px;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column>.property-gallery {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
    margin: 0 0 14px;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-hero .detail-image {
    height: clamp(180px,18vw,250px);
    width: 100%;
    object-fit: cover;
    display: block;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-thumbnails {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-thumb img {
    height: 58px;
    width: 100%;
    object-fit: cover;
}

.detail:has(.tnh-property-layout) .tnh-property-intro {
    padding: 12px 18px 18px;
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.detail:has(.tnh-property-layout) .tnh-property-intro h1 {
    font-size: clamp(25px,2.4vw,36px);
    line-height: 1.13;
    margin: 0 0 8px;
}

.detail:has(.tnh-property-layout) .tnh-property-intro .eyebrow {
    font-size: 11px;
    letter-spacing: .11em;
}

.detail:has(.tnh-property-layout) .tnh-summary-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}

.detail:has(.tnh-property-layout) .tnh-summary-strip>div {
    padding: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.detail:has(.tnh-property-layout) .tnh-summary-strip>div:nth-child(2n) {
    border-right: 0;
}

.detail:has(.tnh-property-layout) .tnh-summary-strip>div:nth-child(n+3) {
    border-bottom: 0;
}

.detail:has(.tnh-property-layout) .tnh-property-sections {
    display: grid;
    gap: 12px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column {
    position: relative;
    top: auto;
    align-self: start;
    margin: 0;
    min-width: 0;
    padding: 22px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column .property-location-map {
    margin-top: 24px;
    padding-top: 20px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column .property-location-map iframe {
    height: 260px;
}

@media (max-width:900px) {
    .detail:has(.tnh-property-layout) .tnh-property-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 18px;
    }
    .detail:has(.tnh-property-layout) .tnh-enquiry-column {
        grid-row: auto;
        order: 2;
    }
    .detail:has(.tnh-property-layout) .tnh-property-main-column {
        order: 1;
    }
    .detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-hero .detail-image {
        height: clamp(220px,42vw,340px);
    }
}

@media (max-width:560px) {
    .detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-hero .detail-image {
        height: 220px;
    }
    .detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-thumbnails {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .detail:has(.tnh-property-layout) .tnh-property-main-column .gallery-thumb img {
        height: 62px;
    }
    .detail:has(.tnh-property-layout) .tnh-property-intro {
        padding: 12px;
    }
    .detail:has(.tnh-property-layout) .tnh-enquiry-column {
        padding: 16px;
    }
}

/*Screenshot-matched property page layout (property.php only).*/

.tnh-detail-page {
    width: min(100% - 32px,1280px);
    margin: 22px auto 72px;
    padding: 0;
}

.tnh-detail-page .tnh-property-layout {
    display: grid;
    grid-template-columns: minmax(0,1.62fr) minmax(350px,.9fr);
    gap: 14px;
    align-items: start;
}

.tnh-detail-page .tnh-property-main-column {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.tnh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #77827d;
    padding: 0 4px 2px;
}

.tnh-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.tnh-breadcrumb strong {
    color: #26332e;
}

.tnh-overview-card {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 18px;
    padding: 14px;
    border: 1px solid #e1e5df;
    border-radius: 12px;
    background: #fff;
    min-width: 0;
}

.tnh-overview-card .property-gallery {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.tnh-overview-card .gallery-hero {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    min-width: 0;
}

.tnh-overview-card .gallery-hero .detail-image {
    display: block;
    width: 100%;
    height: clamp(145px,13vw,205px);
    object-fit: cover;
}

.tnh-status-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    background: #073f2f;
    color: #fff;
    border-radius: 4px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700;
}

.tnh-overview-card .gallery-view-all {
    position: absolute;
    right: 8px;
    bottom: 8px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #183d30;
    padding: 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.tnh-overview-card .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
}

.tnh-overview-card .gallery-thumb {
    border: 0;
    padding: 0;
    background: none;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.tnh-overview-card .gallery-thumb img {
    display: block;
    width: 100%;
    height: 48px;
    object-fit: cover;
}

.tnh-overview-card .gallery-more {
    border: 1px solid #dbe5de;
    border-radius: 5px;
    background: #fff;
    color: #184a38;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.tnh-overview-card .tnh-property-intro {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 2px 0 0;
    background: transparent;
    min-width: 0;
}

.tnh-overview-card .tnh-property-intro .eyebrow {
    font-size: 10px;
    letter-spacing: .08em;
    margin: 0 0 5px;
    color: #64776e;
}

.tnh-overview-card .tnh-property-intro h1 {
    font: 600 clamp(21px,1.8vw,29px)/1.16 var(--serif);
    margin: 0 0 8px;
    color: #10243A;
}

.tnh-overview-card .tnh-property-location {
    font-size: 12px;
    margin: 0;
    color: #64716b;
}

.tnh-overview-card .tnh-summary-strip {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin: 17px 0 0;
    border: 0;
    border-top: 1px solid #e5e9e5;
    border-radius: 0;
    overflow: visible;
}

.tnh-overview-card .tnh-summary-strip>div {
    padding: 12px 9px 10px;
    border: 0;
    border-right: 1px solid #e5e9e5;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tnh-overview-card .tnh-summary-strip>div:first-child {
    padding-left: 0;
}

.tnh-overview-card .tnh-summary-strip>div:last-child {
    border-right: 0;
}

.tnh-overview-card .tnh-summary-strip span {
    font-size: 10px;
    color: #738078;
}

.tnh-overview-card .tnh-summary-strip strong {
    font-size: 12px;
    line-height: 1.35;
    color: #192b24;
    overflow-wrap: anywhere;
}

.tnh-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tnh-overview-actions .button {
    font-size: 11px;
    padding: 11px 13px;
    min-height: 38px;
}

.tnh-detail-page .tnh-info-panel {
    margin: 0;
    border: 1px solid #e1e5df;
    border-radius: 11px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.tnh-detail-page .tnh-info-panel>summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: 58px;
    cursor: pointer;
    list-style: none;
}

.tnh-detail-page .tnh-info-panel>summary::-webkit-details-marker {
    display: none;
}

.tnh-detail-page .tnh-info-panel>summary:after {
    content: '⌄';
    margin-left: auto;
    color: #285e49;
    font-size: 19px;
}

.tnh-detail-page .tnh-info-panel[open]>summary:after {
    content: '⌃';
}

.tnh-detail-page .tnh-panel-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border-radius: 8px;
    background: #eaf5ef;
    color: #23835c;
    font-size: 20px;
}

.tnh-detail-page .tnh-info-panel>summary strong {
    display: block;
    font: 600 17px/1.2 var(--serif);
    color: #10243A;
}

.tnh-detail-page .tnh-info-panel>summary small {
    display: block;
    font-size: 10px;
    color: #87918b;
    margin-top: 3px;
}

.tnh-detail-page .tnh-panel-content {
    padding: 0 16px 15px;
}

.tnh-detail-page .tnh-facts-four {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    border: 1px solid #e5e9e5;
    border-radius: 6px;
    padding: 10px 0;
    margin: 0;
}

.tnh-detail-page .tnh-facts-four>div {
    padding: 0 10px;
    border-right: 1px solid #dce3dd;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tnh-detail-page .tnh-facts-four>div:last-child {
    border-right: 0;
}

.tnh-detail-page .tnh-facts-four span {
    font-size: 10px;
    color: #748079;
}

.tnh-detail-page .tnh-facts-four strong {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tnh-detail-page .configuration-public-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tnh-detail-page .configuration-public-table th {
    background: #eaf5ef;
    color: #244e3d;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
    padding: 10px;
}

.tnh-detail-page .configuration-public-table td {
    padding: 10px;
    border-bottom: 1px solid #e5e9e5;
    vertical-align: middle;
}

.tnh-detail-page .configuration-public-table td small {
    display: inline;
    color: #68766e;
    font-size: 10px;
    margin-left: 3px;
}

.tnh-amenities-grid {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 12px 8px;
    list-style: none;
    padding: 2px 0 0;
    margin: 0;
}

.tnh-amenities-grid li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    text-align: center;
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.tnh-amenity-icon {
    display: grid;
    place-items: center;
    height: 28px;
    font-size: 23px;
    color: #164d39;
}

.tnh-floor-plan-showcase {
    display: grid;
    grid-template-columns: minmax(125px,.55fr) minmax(0,1.45fr);
    gap: 12px;
    align-items: start;
}

.tnh-floor-plan-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-content: start;
}

.tnh-floor-tab {
    border: 0;
    border-radius: 5px;
    background: #eef0ef;
    padding: 10px 12px;
    color: #33413a;
    font-size: 11px;
    cursor: pointer;
}

.tnh-floor-tab.is-active {
    background: #064331;
    color: #fff;
}

.tnh-floor-plan-image-link {
    display: block;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f0e9;
}

.tnh-floor-plan-image-link img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.tnh-detail-media {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 7px;
    background: #f5f4f0;
    margin-top: 10px;
}

.tnh-detail-page .about-project-copy {
    font-size: 13px;
    line-height: 1.75;
    color: #56655d;
}

.tnh-detail-page .about-project-copy p {
    margin: 0 0 12px;
}

.tnh-detail-page .about-project-copy p:last-child {
    margin-bottom: 0;
}

.tnh-property-sidebar {
    display: grid;
    gap: 12px;
    min-width: 0;
    align-self: start;
}

.tnh-property-sidebar .tnh-enquiry-column {
    margin: 0;
    padding: 18px;
    border: 1px solid #e1e5df;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    position: relative;
    top: auto;
    min-width: 0;
}

.tnh-property-sidebar .tnh-enquiry-heading .eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    margin: 0 0 8px;
    color: #78887e;
}

.tnh-property-sidebar .tnh-enquiry-heading h2,.tnh-property-sidebar .property-map-heading h2 {
    font: 600 22px/1.18 var(--serif);
    margin: 0 0 6px;
    color: #192a23;
}

.tnh-property-sidebar .tnh-enquiry-heading>p:last-child,.tnh-property-sidebar .property-map-heading p {
    font-size: 11px;
    line-height: 1.5;
    color: #6d7972;
    margin: 0 0 15px;
}

.tnh-property-sidebar .enquiry-form {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.tnh-property-sidebar .enquiry-form label {
    display: grid;
    gap: 5px;
    font-size: 10px;
    color: #36433c;
    min-width: 0;
}

.tnh-property-sidebar .enquiry-form input,.tnh-property-sidebar .enquiry-form select,.tnh-property-sidebar .enquiry-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #dce2dc;
    border-radius: 5px;
    padding: 10px;
    font: inherit;
    font-size: 11px;
    background: #fff;
    color: #24352d;
}

.tnh-property-sidebar .enquiry-form textarea {
    resize: vertical;
    min-height: 62px;
}

.tnh-property-sidebar .tnh-message-field,.tnh-property-sidebar .enquiry-form .full,.tnh-property-sidebar .enquiry-form .hp-field {
    grid-column: 1/-1;
}

.tnh-property-sidebar .enquiry-form .button {
    width: 100%;
    grid-column: 1/-1;
    margin: 0;
    padding: 12px;
    font-size: 11px;
}

.tnh-property-sidebar .property-location-map {
    margin: 0;
    padding: 17px;
    border: 1px solid #e1e5df;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    min-width: 0;
}

.tnh-property-sidebar .property-map-heading {
    display: grid;
    gap: 7px;
    align-items: start;
    margin-bottom: 10px;
}

.tnh-property-sidebar .property-map-heading .eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    margin: 0 0 5px;
    color: #78887e;
}

.tnh-property-sidebar .property-map-heading h2 {
    font-size: 22px;
}

.tnh-property-sidebar .property-map-heading p {
    margin: 0;
}

.tnh-property-sidebar .property-map-heading .button {
    justify-self: start;
    margin: 0;
    padding: 9px 11px;
    font-size: 10px;
}

.tnh-property-sidebar .property-location-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 1px solid #e1e5df;
    border-radius: 7px;
}

.tnh-property-sidebar .property-location-map .small {
    font-size: 10px;
    line-height: 1.5;
    margin: 8px 0 0;
}

@media (max-width:1000px) {
    .tnh-detail-page .tnh-property-layout {
        grid-template-columns: minmax(0,1.35fr) minmax(310px,.9fr);
        gap: 12px;
    }
    .tnh-overview-card {
        grid-template-columns: minmax(0,1fr);
    }
    .tnh-overview-card .gallery-hero .detail-image {
        height: 230px;
    }
    .tnh-amenities-grid {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
}

@media (max-width:760px) {
    .tnh-detail-page {
        width: calc(100% - 24px);
        margin-top: 16px;
    }
    .tnh-detail-page .tnh-property-layout {
        grid-template-columns: minmax(0,1fr);
    }
    .tnh-property-sidebar {
        order: 2;
    }
    .tnh-overview-card {
        grid-template-columns: minmax(0,1fr);
        padding: 12px;
    }
    .tnh-overview-card .gallery-hero .detail-image {
        height: clamp(190px,55vw,300px);
    }
    .tnh-overview-card .gallery-thumb img {
        height: 58px;
    }
    .tnh-detail-page .tnh-facts-four {
        grid-template-columns: repeat(2,minmax(0,1fr));
        row-gap: 12px;
    }
    .tnh-detail-page .tnh-facts-four>div:nth-child(2) {
        border-right: 0;
    }
    .tnh-detail-page .tnh-facts-four>div:nth-child(n+3) {
        border-top: 1px solid #e5e9e5;
        padding-top: 10px;
    }
    .tnh-amenities-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .tnh-floor-plan-showcase {
        grid-template-columns: minmax(0,1fr);
    }
    .tnh-floor-plan-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .tnh-property-sidebar .property-location-map iframe {
        height: 250px;
    }
}

@media (max-width:430px) {
    .tnh-overview-card .tnh-summary-strip>div {
        padding: 10px 6px;
    }
    .tnh-overview-card .tnh-summary-strip strong {
        font-size: 11px;
    }
    .tnh-detail-page .tnh-info-panel>summary {
        padding: 11px;
    }
    .tnh-detail-page .tnh-panel-content {
        padding: 0 11px 13px;
    }
    .tnh-detail-page .configuration-public-table th,.tnh-detail-page .configuration-public-table td {
        padding: 8px 6px;
        font-size: 10px;
    }
    .tnh-amenities-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .tnh-property-sidebar .tnh-enquiry-column,.tnh-property-sidebar .property-location-map {
        padding: 13px;
    }
}

/*FINAL alignment correction based on the user's reference screenshot*/

.detail.tnh-detail-page {
    width: min(100% - 40px,1300px);
    max-width: 1300px;
    margin: 26px auto 76px;
    padding: 0;
}

.tnh-detail-page>.tnh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.tnh-detail-page>.tnh-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.tnh-detail-page>.tnh-breadcrumb strong {
    color: var(--ink);
}

.tnh-detail-page>.tnh-property-layout {
    display: grid;
    grid-template-columns: minmax(0,1.78fr) minmax(340px,.92fr);
    gap: 14px;
    align-items: start;
}

.tnh-property-main-column {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.tnh-property-main-column>.tnh-overview-card {
    display: grid;
    grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
    align-items: stretch;
    gap: 18px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30,45,37,.025);
    min-width: 0;
}

.tnh-overview-card .property-gallery {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-content: start;
    gap: 9px;
    min-width: 0;
    margin: 0;
}

.tnh-overview-card .gallery-hero {
    position: relative;
    min-width: 0;
    height: 156px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef0eb;
}

.tnh-overview-card .gallery-hero .detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tnh-overview-card .tnh-status-badge {
    position: absolute;
    left: 9px;
    top: 9px;
    z-index: 2;
}

.tnh-overview-card .gallery-view-all {
    right: 8px;
    bottom: 8px;
    font-size: 10px;
    padding: 7px 9px;
}

.tnh-overview-card .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 7px;
    min-width: 0;
}

.tnh-overview-card .gallery-thumb {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 6px;
}

.tnh-overview-card .gallery-thumb img {
    display: block;
    width: 100%;
    height: 43px;
    object-fit: cover;
}

.tnh-overview-card .gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 43px;
    padding: 3px;
    font-size: 10px;
    line-height: 1.2;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.tnh-overview-card .tnh-property-intro {
    padding: 0;
    min-width: 0;
}

.tnh-overview-card .tnh-property-intro .eyebrow {
    margin: 0 0 6px;
    font-size: 10px;
    letter-spacing: .12em;
}

.tnh-overview-card .tnh-property-intro h1 {
    font-size: clamp(22px,2vw,29px);
    line-height: 1.15;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.tnh-overview-card .tnh-property-location {
    font-size: 12px;
    margin: 0 0 15px;
}

.tnh-overview-card .tnh-summary-strip {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    margin: 0 0 14px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.tnh-overview-card .tnh-summary-strip>div {
    min-width: 0;
    padding: 11px 9px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
}

.tnh-overview-card .tnh-summary-strip>div:last-child {
    border-right: 0;
}

.tnh-overview-card .tnh-summary-strip span {
    font-size: 10px;
    margin-bottom: 4px;
    color: var(--muted);
}

.tnh-overview-card .tnh-summary-strip strong {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tnh-overview-card .tnh-overview-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tnh-overview-card .tnh-overview-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 36px;
    padding: 9px 12px;
    font-size: 10px;
}

.tnh-detail-page .tnh-info-panel {
    margin: 0;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: none;
    background: #fff;
    overflow: hidden;
}

.tnh-detail-page .tnh-info-panel>summary {
    min-height: 58px;
    padding: 12px 16px;
    gap: 11px;
}

.tnh-detail-page .tnh-info-panel>summary .tnh-panel-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 20px;
}

.tnh-detail-page .tnh-info-panel>summary strong {
    font-size: 17px;
    line-height: 1.2;
}

.tnh-detail-page .tnh-info-panel>summary small {
    font-size: 10px;
    margin-top: 3px;
}

.tnh-detail-page .tnh-panel-content {
    padding: 0 16px 15px;
}

.tnh-detail-page .tnh-facts-four {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
}

.tnh-detail-page .tnh-facts-four>div {
    min-width: 0;
    padding: 10px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
}

.tnh-detail-page .tnh-facts-four>div:last-child {
    border-right: 0;
}

.tnh-detail-page .tnh-facts-four span {
    font-size: 10px;
    margin-bottom: 5px;
}

.tnh-detail-page .tnh-facts-four strong {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tnh-detail-page .configuration-public-table {
    overflow-x: auto;
}

.tnh-detail-page .configuration-public-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
    border-collapse: collapse;
}

.tnh-detail-page .configuration-public-table th,.tnh-detail-page .configuration-public-table td {
    padding: 9px 10px;
    overflow-wrap: anywhere;
}

.tnh-detail-page .configuration-public-table th {
    font-size: 10px;
}

.tnh-detail-page .configuration-public-table td small {
    display: block;
    font-size: 10px;
    margin-top: 3px;
}

.tnh-detail-page .tnh-amenities-grid {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 12px 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tnh-detail-page .tnh-amenities-grid li {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    font-size: 10px;
    line-height: 1.25;
}

.tnh-detail-page .tnh-amenity-icon {
    display: grid;
    place-items: center;
    min-height: 28px;
    font-size: 23px;
    color: #10243A;
}

.tnh-detail-page .tnh-floor-plan-showcase {
    display: grid;
    grid-template-columns: minmax(120px,.42fr) minmax(0,1.58fr);
    gap: 14px;
    align-items: start;
}

.tnh-detail-page .tnh-floor-plan-tabs {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 6px;
}

.tnh-detail-page .tnh-floor-tab {
    padding: 9px 11px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.25;
}

.tnh-detail-page .tnh-floor-plan-image-link {
    display: block;
    min-width: 0;
    border-radius: 7px;
    overflow: hidden;
    background: #f3f0e9;
}

.tnh-detail-page .tnh-floor-plan-image-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.tnh-detail-page .tnh-detail-media {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 7px;
}

.tnh-detail-page .tnh-enquiry-column {
    position: sticky;
    top: 16px;
    align-self: start;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30,45,37,.025);
    min-width: 0;
}

.tnh-detail-page .tnh-enquiry-heading h2 {
    font-size: 22px;
    line-height: 1.2;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form {
    gap: 10px;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form input,.tnh-detail-page .tnh-enquiry-column .enquiry-form select,.tnh-detail-page .tnh-enquiry-column .enquiry-form textarea {
    font-size: 11px;
    padding: 10px;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form button {
    min-height: 39px;
    font-size: 11px;
}

.tnh-detail-page .tnh-enquiry-column .property-location-map {
    margin-top: 18px;
    padding-top: 17px;
}

.tnh-detail-page .tnh-enquiry-column .property-location-map iframe {
    height: 250px;
}

@media (max-width:1050px) {
    .tnh-detail-page>.tnh-property-layout {
        grid-template-columns: minmax(0,1.45fr) minmax(300px,.9fr);
        gap: 12px;
    }
    .tnh-property-main-column>.tnh-overview-card {
        gap: 12px;
        padding: 12px;
    }
    .tnh-detail-page .tnh-amenities-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .tnh-overview-card .gallery-hero {
        height: 145px;
    }
}

@media (max-width:760px) {
    .tnh-detail-page>.tnh-property-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }
    .tnh-detail-page .tnh-enquiry-column {
        position: static;
        order: 0;
    }
    .tnh-property-main-column {
        order: 1;
    }
    .tnh-property-main-column>.tnh-overview-card {
        grid-template-columns: minmax(0,1fr);
        gap: 13px;
    }
    .tnh-overview-card .gallery-hero {
        height: clamp(190px,55vw,300px);
    }
    .tnh-overview-card .gallery-thumb img,.tnh-overview-card .gallery-more {
        height: 56px;
        min-height: 56px;
    }
    .tnh-overview-card .tnh-property-intro h1 {
        font-size: 25px;
    }
    .tnh-detail-page .tnh-facts-four {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .tnh-detail-page .tnh-facts-four>div:nth-child(2) {
        border-right: 0;
    }
    .tnh-detail-page .tnh-facts-four>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
    .tnh-detail-page .configuration-public-table table {
        min-width: 520px;
    }
    .tnh-detail-page .tnh-floor-plan-showcase {
        grid-template-columns: minmax(0,1fr);
    }
    .tnh-detail-page .tnh-floor-plan-tabs {
        display: flex;
    }
}

@media (max-width:480px) {
    .tnh-detail-page {
        width: calc(100% - 24px) !important;
        margin-top: 18px !important;
    }
    .tnh-detail-page .tnh-amenities-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .tnh-overview-card .tnh-summary-strip {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .tnh-overview-card .tnh-summary-strip>div {
        padding: 9px 6px;
    }
    .tnh-overview-card .tnh-summary-strip strong {
        font-size: 10px;
    }
    .tnh-detail-page .tnh-enquiry-column {
        padding: 14px;
    }
}

/*Final icon and hero alignment polish*/

.top nav.site-nav>a.nav-cta {
    background: #10243A !important;
    color: #fff !important;
    border: 1px solid #10243A !important;
    border-radius: 6px;
    padding: 11px 17px;
    box-shadow: 0 2px 5px rgba(6,75,54,.12);
}

.top nav.site-nav>a.nav-cta:hover {
    background: #033b2a !important;
    color: #fff !important;
}

.tnh-detail-page .tnh-property-main-column>.tnh-overview-card {
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    align-items: start;
    gap: 18px;
    padding: 14px;
}

.tnh-detail-page .tnh-overview-card .property-gallery {
    grid-template-rows: max-content max-content;
    align-content: start;
    align-self: start;
    gap: 9px;
    height: auto;
    min-height: 0;
}

.tnh-detail-page .tnh-overview-card .gallery-hero {
    height: 156px;
    min-height: 156px;
    align-self: start;
}

.tnh-detail-page .tnh-overview-card .gallery-thumbnails {
    height: auto;
    min-height: 0;
    align-self: start;
    margin: 0;
}

.tnh-detail-page .tnh-overview-card .gallery-thumb img {
    height: 43px;
}

.tnh-detail-page .tnh-overview-card .tnh-property-intro {
    align-self: start;
    min-height: 0;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip>div {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    column-gap: 8px;
    align-items: center;
    padding: 10px 8px;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip>div:first-child {
    padding-left: 0;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip .tnh-summary-icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 30px;
    margin: 0;
    border-radius: 7px;
    background: #eaf5ef;
    color: #19805a;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip .tnh-summary-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip>div>span:not(.tnh-summary-icon) {
    font-size: 9px;
    margin: 0;
    line-height: 1.3;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip strong {
    grid-column: 2;
    font-size: 11px;
    line-height: 1.3;
}

.tnh-detail-page .tnh-panel-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tnh-detail-page .tnh-amenity-icon {
    font-family: Arial,sans-serif;
    font-weight: 600;
}

@media (max-width:1050px) {
    .tnh-detail-page .tnh-overview-card .gallery-hero {
        height: 145px;
        min-height: 145px;
    }
}

@media (max-width:760px) {
    .tnh-detail-page .tnh-overview-card .gallery-hero {
        height: clamp(190px,55vw,300px);
        min-height: clamp(190px,55vw,300px);
    }
    .tnh-detail-page .tnh-overview-card .gallery-thumb img {
        height: 56px;
    }
    .tnh-detail-page .tnh-overview-card .tnh-summary-strip>div {
        padding: 10px 6px;
    }
}

/*Reference-match final: compact summary row and visible SVG fact icons*/

.tnh-detail-page .tnh-property-main-column>.tnh-overview-card {
    grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
    align-items: start;
    gap: 18px;
    padding: 14px;
}

.tnh-detail-page .tnh-overview-card .tnh-property-intro h1 {
    font-size: clamp(21px,1.65vw,27px) !important;
    line-height: 1.16 !important;
    margin: 0 0 7px !important;
    max-width: none;
}

.tnh-detail-page .tnh-overview-card .tnh-property-intro .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 5px;
}

.tnh-detail-page .tnh-overview-card .tnh-property-location {
    font-size: 12px;
    margin: 0 0 12px;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip {
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 0 0 12px;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip>div {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 7px;
    align-content: center;
    align-items: center;
    padding: 9px 8px;
    border-right: 1px solid var(--line);
    min-height: 58px;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip .tnh-summary-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 30px;
    height: 32px;
    border-radius: 7px;
    background: #eaf5ef;
    color: #16845d;
    display: grid;
    place-items: center;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip .tnh-summary-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip>div>span:not(.tnh-summary-icon) {
    grid-column: 2;
    grid-row: 1;
    font-size: 10px;
    line-height: 1.25;
    margin: 0;
    color: var(--muted);
}

.tnh-detail-page .tnh-overview-card .tnh-summary-strip strong {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.tnh-detail-page .tnh-facts-four>div {
    display: grid;
    grid-template-columns: 24px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-content: center;
    align-items: center;
    padding: 12px;
}

.tnh-detail-page .tnh-facts-four .tnh-fact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    color: #53645d;
    margin: 0;
    width: 23px;
    height: 25px;
}

.tnh-detail-page .tnh-facts-four .tnh-fact-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tnh-detail-page .tnh-facts-four>div>span:not(.tnh-fact-icon) {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px;
    font-size: 10px;
    color: var(--muted);
}

.tnh-detail-page .tnh-facts-four>div>strong {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tnh-detail-page .tnh-info-panel>summary .tnh-panel-icon {
    display: grid;
    place-items: center;
    background: #eaf5ef;
    color: #16845d;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.tnh-detail-page .tnh-info-panel>summary .tnh-panel-icon svg {
    display: block !important;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width:1050px) {
    .tnh-detail-page .tnh-overview-card .tnh-summary-strip>div {
        grid-template-columns: 25px minmax(0,1fr);
        column-gap: 5px;
        padding: 8px 5px;
    }
    .tnh-detail-page .tnh-overview-card .tnh-summary-strip .tnh-summary-icon {
        width: 25px;
        height: 28px;
    }
}

@media (max-width:760px) {
    .tnh-detail-page .tnh-overview-card .tnh-property-intro h1 {
        font-size: 25px !important;
    }
    .tnh-detail-page .tnh-overview-card .tnh-summary-strip {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .tnh-detail-page .tnh-facts-four>div {
        grid-template-columns: 22px minmax(0,1fr);
        padding: 9px;
    }
    .tnh-detail-page .tnh-facts-four .tnh-fact-icon svg {
        width: 19px;
        height: 19px;
    }
}

/*Final reference polish: compact facts and eight visible amenities*/

.detail .tnh-facts-grid.tnh-facts-four > div {
    min-height: 76px !important;
    padding: 12px 16px !important;
    gap: 5px 10px !important;
    align-content: center !important;
}

.detail .tnh-facts-grid .tnh-fact-icon {
    width: 30px !important;
    height: 30px !important;
}

.detail .tnh-info-panel .tnh-panel-content {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.detail ul.tnh-amenities-grid {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.detail ul.tnh-amenities-grid > li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.detail ul.tnh-amenities-grid .tnh-amenity-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 23px !important;
    line-height: 1 !important;
    color: #174f3c !important;
}

@media (max-width: 1000px) {
    .detail ul.tnh-amenities-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .detail .tnh-facts-grid.tnh-facts-four > div {
        min-height: 66px !important;
        padding: 10px !important;
    }
    .detail ul.tnh-amenities-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px 6px !important;
    }
}

/*Verified override: compact four-column property facts and always-visible amenities*/

.detail .tnh-facts-grid.tnh-facts-four {
    min-height: 0 !important;
    padding: 0 !important;
}

.detail .tnh-facts-grid.tnh-facts-four > div {
    min-height: 66px !important;
    padding: 10px 14px !important;
}

.detail .tnh-amenities-panel > .tnh-amenities-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: 58px;
}

.detail .tnh-amenities-panel > .tnh-amenities-heading > span:nth-child(2) {
    display: block;
    min-width: 0;
}

.detail .tnh-amenities-panel > .tnh-amenities-heading strong {
    display: block;
    font: 600 17px/1.2 var(--serif);
    color: #10243A;
}

.detail .tnh-amenities-panel > .tnh-amenities-heading small {
    display: block;
    font-size: 10px;
    color: #87918b;
    margin-top: 3px;
}

.detail .tnh-amenities-panel .tnh-panel-content {
    display: block !important;
    padding: 0 16px 14px !important;
}

.detail .tnh-amenities-panel .tnh-amenities-grid {
    grid-template-columns: repeat(8,minmax(0,1fr)) !important;
}

@media (max-width:1000px) {
    .detail .tnh-amenities-panel .tnh-amenities-grid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}

@media (max-width:600px) {
    .detail .tnh-amenities-panel .tnh-amenities-grid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}

/*Compact Property Information*/

.tnh-info-panel > summary {
    padding: 12px 16px;
}

.tnh-panel-content {
    padding: 12px 16px;
}

.tnh-facts-grid.tnh-facts-four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tnh-facts-grid.tnh-facts-four > div {
    min-width: 0;
    padding: 10px 12px;
}

.tnh-facts-grid.tnh-facts-four .tnh-fact-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
}

/*Property Information — improve spacing for the RERA number*/

.tnh-detail-page .tnh-facts-grid.tnh-facts-four {
    grid-template-columns: 1fr 1fr 0.85fr 1.25fr !important;
    gap: 0 !important;
    padding: 0 !important;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div {
    min-width: 0 !important;
    padding: 10px 12px !important;
    overflow-wrap: anywhere;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div:last-child {
    padding-right: 16px !important;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div > strong {
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .tnh-detail-page .tnh-facts-grid.tnh-facts-four {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/*Property Information: compact label-to-value spacing*/

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px !important;
    align-content: center;
    align-items: center;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four .tnh-fact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0 !important;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div > span:not(.tnh-fact-icon) {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.tnh-detail-page .tnh-facts-grid.tnh-facts-four > div > strong {
    grid-column: 2;
    grid-row: 2;
    margin: 0 !important;
    line-height: 1.25 !important;
}

/*Consistent, compact spacing between property sections*/

.tnh-detail-page .tnh-property-main-column {
    gap: 10px !important;
}

.tnh-detail-page .tnh-property-main-column > .tnh-info-panel {
    margin-block: 0 !important;
}

/*Consistent, compact spacing between property sections*/

/*Configuration and variant on the same line*/

.tnh-detail-page .configuration-public-table td:first-child strong,
.tnh-detail-page .configuration-public-table td:first-child small {
    display: inline !important;
    font-size: inherit;
    line-height: inherit;
}

.tnh-detail-page .configuration-public-table td:first-child small {
    margin-left: 4px;
    color: inherit;
}

.tnh-detail-page .configuration-public-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

/*Amenities accordion — isolated to the property detail page*/

.tnh-detail-page .tnh-amenities-panel > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: 58px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.tnh-detail-page .tnh-amenities-panel > summary::-webkit-details-marker {
    display: none;
}

.tnh-detail-page .tnh-amenities-panel > summary::before,
.tnh-detail-page .tnh-amenities-panel > summary::after {
    content: none !important;
    display: none !important;
}

.tnh-detail-page .tnh-amenities-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: auto;
    color: #10243A;
}

.tnh-detail-page .tnh-amenities-chevron svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(0deg);
    transition: transform .18s ease;
}

.tnh-detail-page .tnh-amenities-panel.is-expanded .tnh-amenities-chevron svg {
    transform: rotate(180deg);
}

.tnh-detail-page .tnh-amenities-panel .tnh-panel-content {
    display: block !important;
    padding: 0 16px 14px !important;
}

.tnh-detail-page .tnh-amenities-panel .tnh-amenities-grid > li {
    user-select: none;
    -webkit-user-select: none;
}

.tnh-detail-page .tnh-amenities-panel:not(.is-expanded) .tnh-amenities-grid > li:nth-child(n+9) {
    display: none !important;
}

/*Property detail reference match: title and developer logo stay aligned without affecting other pages.*/

.tnh-detail-page .tnh-property-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.tnh-detail-page .tnh-property-title-row h1 {
    flex: 1;
    min-width: 0;
}

.tnh-detail-page .tnh-project-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    max-width: 108px;
    max-height: 48px;
    object-fit: contain;
}

.tnh-detail-page .tnh-overview-card .gallery-hero .detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.tnh-detail-page .tnh-overview-card .gallery-hero {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.tnh-detail-page .tnh-overview-card .gallery-thumb {
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
}

.tnh-detail-page .tnh-overview-card .gallery-thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.tnh-detail-page .tnh-info-panel {
    margin-bottom: 10px;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px 10px;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form label {
    min-width: 0;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form .tnh-message-field,.tnh-detail-page .tnh-enquiry-column .enquiry-form .hp-field,.tnh-detail-page .tnh-enquiry-column .enquiry-form button {
    grid-column: 1/-1;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form input,.tnh-detail-page .tnh-enquiry-column .enquiry-form select,.tnh-detail-page .tnh-enquiry-column .enquiry-form textarea {
    width: 100%;
    min-height: 36px;
    border-radius: 5px;
}

.tnh-detail-page .tnh-enquiry-column .enquiry-form textarea {
    min-height: 72px;
}

@media (max-width:760px) {
    .tnh-detail-page .tnh-property-title-row {
        align-items: flex-start;
    }
    .tnh-detail-page .tnh-project-logo {
        max-width: 84px;
        max-height: 40px;
    }
    .tnh-detail-page .tnh-enquiry-column .enquiry-form {
        grid-template-columns: minmax(0,1fr);
    }
}

/*Screenshot-specific final sizing, scoped exclusively to the property detail page.*/

body:has(.tnh-detail-page)>.top {
    height: 62px;
    padding-left: max(calc((100% - 1300px)/2),24px);
    padding-right: max(calc((100% - 1300px)/2),24px);
}

body:has(.tnh-detail-page)>.top .brand-logo {
    width: 205px;
    height: auto;
}

body:has(.tnh-detail-page)>.top nav {
    gap: 28px;
    font-size: 12px;
}

.detail:has(.tnh-property-layout) {
    width: min(calc(100% - 32px),1300px);
    max-width: 1300px;
    margin: 12px auto 80px;
    padding: 0;
}

.detail:has(.tnh-property-layout) .tnh-breadcrumb {
    margin: 0 0 12px;
    font-size: 11px;
}

.detail:has(.tnh-property-layout) .tnh-property-layout {
    grid-template-columns: minmax(0,2.05fr) minmax(360px,1fr);
    gap: 14px;
}

.detail:has(.tnh-property-layout) .tnh-property-main-column>.tnh-overview-card {
    grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
    gap: 18px;
    padding: 14px;
    border-radius: 10px;
}

.detail:has(.tnh-property-layout) .tnh-overview-card .gallery-hero {
    height: 158px;
    min-height: 158px;
}

.detail:has(.tnh-property-layout) .tnh-overview-card .gallery-thumb img {
    height: 50px;
}

.detail:has(.tnh-property-layout) .tnh-info-panel {
    border-radius: 10px;
    margin-bottom: 10px;
}

.detail:has(.tnh-property-layout) .tnh-info-panel>summary {
    padding: 10px 18px;
    min-height: 60px;
    gap: 12px;
}

.detail:has(.tnh-property-layout) .tnh-info-panel>summary strong {
    font-size: 17px;
}

.detail:has(.tnh-property-layout) .tnh-info-panel>summary small {
    font-size: 11px;
    margin-top: 2px;
}

.detail:has(.tnh-property-layout) .tnh-panel-content {
    padding: 0 18px 10px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column {
    padding: 18px;
    border-radius: 10px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-heading h2 {
    font-size: 20px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-heading>p:last-child {
    font-size: 12px;
    line-height: 1.45;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column .property-location-map {
    margin-top: 10px;
    padding-top: 12px;
}

.detail:has(.tnh-property-layout) .tnh-enquiry-column .property-location-map iframe {
    height: 288px;
    border-radius: 8px;
}

@media (max-width:900px) {
    body:has(.tnh-detail-page)>.top {
        height: auto;
        padding: 14px 22px;
    }
    .detail:has(.tnh-property-layout) {
        width: min(calc(100% - 28px),720px);
        margin-top: 18px;
    }
    .detail:has(.tnh-property-layout) .tnh-property-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }
}

@media (max-width:560px) {
    body:has(.tnh-detail-page)>.top .brand-logo {
        width: 180px;
    }
    .detail:has(.tnh-property-layout) {
        width: calc(100% - 24px);
        margin-top: 14px;
    }
    .detail:has(.tnh-property-layout) .tnh-overview-card .gallery-hero {
        height: clamp(190px,55vw,300px);
        min-height: clamp(190px,55vw,300px);
    }
}

/*Floor-plan upload helper, isolated to the admin property form*/

.admin-form input[type=file][name='floor_plan_files[]'] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
}

/*Per-unit configuration options*/

.configuration-row .cfg-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 13px;
}

.configuration-row .cfg-feature input {
    width: auto;
    min-width: 16px;
}

/*Final polish: concise property-card metadata and non-overlapping configuration table.*/

.property-card .specs {
    align-items: stretch;
    gap: 8px;
}

.property-card .specs .spec-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 7px 10px;
    background: #f3f4ef;
    color: #59665e;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.property-card .specs .spec-config {
    background: #eaf3ed;
    color: #10243A;
}

.tnh-detail-page .configuration-public-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
}

.tnh-detail-page .configuration-public-table th,
.tnh-detail-page .configuration-public-table td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: top;
}

.tnh-detail-page .configuration-public-table th:nth-child(1),
.tnh-detail-page .configuration-public-table td:nth-child(1) {
    width: 39%;
}

.tnh-detail-page .configuration-public-table th:nth-child(2),
.tnh-detail-page .configuration-public-table td:nth-child(2) {
    width: 17%;
}

.tnh-detail-page .configuration-public-table th:nth-child(3),
.tnh-detail-page .configuration-public-table td:nth-child(3) {
    width: 17%;
}

.tnh-detail-page .configuration-public-table th:nth-child(4),
.tnh-detail-page .configuration-public-table td:nth-child(4) {
    width: 27%;
}

.tnh-detail-page .configuration-public-table td:first-child strong {
    display: block !important;
    font-size: 12px;
    line-height: 1.45;
}

.tnh-detail-page .configuration-public-table td:first-child small.configuration-variant {
    display: block !important;
    margin: 4px 0 0 !important;
    color: #68766e;
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
}

.tnh-detail-page .configuration-public-table th {
    line-height: 1.35;
}

.tnh-detail-page .configuration-public-table td {
    line-height: 1.5;
}

@media (max-width: 600px) {
    .tnh-detail-page .configuration-public-table table {
        min-width: 560px;
    }
}

/*Admin property form: clear, numbered sections and calmer field layout*/

.admin-form .form-grid {
    align-items: start;
}

.admin-section-block {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 8px 0 14px;
    padding: 22px;
    border: 1px solid #dce7e0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(16, 58, 43, .045);
}

.admin-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e6eee9;
}

.admin-section-number {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e8f4ed;
    color: #0b513b;
    font-weight: 800;
    font-size: 14px;
}

.admin-section-title h3 {
    margin: 0 0 4px;
    color: #10243A;
    font-size: 20px;
    line-height: 1.25;
}

.admin-section-title p {
    margin: 0;
    color: #687a70;
    font-size: 13px;
    line-height: 1.5;
}

.admin-section-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    align-items: start;
}

.admin-section-fields > label, .admin-section-fields > .field-pair, .admin-section-fields > .wide {
    min-width: 0;
}

.admin-section-fields > .wide {
    grid-column: 1 / -1;
}

.admin-section-fields label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #243b31;
    font-weight: 650;
    font-size: 13px;
}

.admin-section-fields label small {
    color: #758279;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.admin-section-fields input:not([type=checkbox]):not([type=radio]), .admin-section-fields select, .admin-section-fields textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #d5dfd8;
    border-radius: 9px;
    padding: 11px 12px;
    background: #fff;
    color: #172b23;
    font: inherit;
    font-weight: 400;
}

.admin-section-fields input:focus, .admin-section-fields select:focus, .admin-section-fields textarea:focus {
    outline: 2px solid #b9d9c8;
    border-color: #247653;
}

.admin-section-fields .configuration-editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-section-fields .configuration-editor-head h4 {
    margin: 0 0 5px;
    color: #193f30;
    font-size: 16px;
}

.admin-section-fields .configuration-row {
    padding: 16px;
    margin: 0 0 12px;
    border: 1px solid #e0e8e2;
    border-radius: 12px;
    background: #f8fbf9;
}

.admin-section-fields .configuration-row label {
    font-size: 12px;
}

.admin-section-fields .cfg-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    background: #edf6f0;
}

.admin-section-fields .cfg-feature input {
    width: auto;
}

.admin-section-fields .property-detail-admin {
    padding: 0;
    margin: 0;
}

.admin-section-fields .content-generator-tools {
    border: 1px dashed #cbdcd1;
    border-radius: 10px;
    padding: 14px;
    background: #f7faf8;
}

.admin-section-fields .admin-image-grid {
    margin-top: 12px;
}

.admin-section-fields .photo-choice, .admin-section-fields .photo-remove {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.admin-section-fields .photo-choice input, .admin-section-fields .photo-remove input {
    width: auto;
}

@media (max-width: 680px) {
    .admin-section-block {
        padding: 15px;
        border-radius: 12px;
    }
    .admin-section-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .admin-section-fields > .wide {
        grid-column: 1;
    }
    .admin-section-title h3 {
        font-size: 17px;
    }
}

/*Fix configuration editor: header and rows must occupy the full section width.*/

.admin-section-fields > .configuration-editor-head,
.admin-section-fields > #configuration-rows {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#configuration-rows {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.admin-section-fields .configuration-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.admin-section-fields .configuration-row > label {
    min-width: 0;
}

.admin-section-fields .configuration-row input:not([type=checkbox]),
.admin-section-fields .configuration-row select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-section-fields .configuration-row .cfg-feature {
    min-height: 42px;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: flex-start;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-section-fields .configuration-row .cfg-feature input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
}

.admin-section-fields .configuration-row .remove-configuration {
    align-self: end;
    justify-self: start;
    min-height: 40px;
}

@media (max-width: 900px) {
    .admin-section-fields .configuration-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-section-fields > .configuration-editor-head {
        align-items: stretch;
    }
    .admin-section-fields .configuration-row {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
    }
    .admin-section-fields .configuration-row .remove-configuration {
        grid-column: 1;
    }
}

/*Simple per-image floor-plan configuration assignment in the admin form*/

.floor-plan-upload-panel {
    grid-column: 1/-1;
    border: 1px solid #dce8e1;
    border-radius: 16px;
    padding: 20px;
    background: #fbfdfb;
    min-width: 0;
}

.floor-plan-upload-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.floor-plan-upload-heading strong {
    font-size: 1.08rem;
    color: #173f32;
}

.floor-plan-upload-heading small,.floor-plan-upload-panel>small {
    color: #728078;
    line-height: 1.5;
}

.floor-plan-file-assignments {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin: 12px 0;
}

.floor-plan-file-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(180px,.85fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #e0e8e3;
    border-radius: 12px;
    background: #fff;
    min-width: 0;
}

.floor-plan-file-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.floor-plan-file-name strong {
    font-size: .9rem;
    overflow-wrap: anywhere;
    color: #263a31;
}

.floor-plan-file-name small {
    font-size: .78rem;
    color: #77847d;
}

.floor-plan-file-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .8rem;
    font-weight: 650;
    color: #345145;
    min-width: 0;
}

.floor-plan-file-row select {
    width: 100%;
    min-width: 0;
    border: 1px solid #d5e1d9;
    border-radius: 9px;
    padding: 10px;
    background: #fff;
    color: #24382f;
}

@media (max-width:760px) {
    .floor-plan-file-assignments {
        grid-template-columns: minmax(0,1fr);
    }
    .floor-plan-file-row {
        grid-template-columns: minmax(0,1fr);
    }
}

/*Mobile property-detail repair: stack gallery and summary; prevent narrow-column text overflow.*/

@media (max-width: 900px) {
    .tnh-detail-page,
  .detail:has(.tnh-property-layout) {
        width: calc(100% - 28px);
        max-width: 720px;
        box-sizing: border-box;
    }
    .tnh-detail-page .tnh-property-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
    }
    .tnh-detail-page .tnh-overview-card {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
        padding: 16px;
    }
    .tnh-detail-page .tnh-overview-card .property-gallery,
  .tnh-detail-page .tnh-property-intro {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .tnh-detail-page .tnh-overview-card .gallery-hero .detail-image {
        height: clamp(220px, 42vw, 340px);
    }
    .tnh-detail-page .tnh-property-intro {
        margin: 0;
        padding: 16px;
    }
    .tnh-detail-page .tnh-property-intro h1 {
        font-size: clamp(27px, 4vw, 38px);
        line-height: 1.15;
        overflow-wrap: break-word;
    }
    .tnh-detail-page .tnh-summary-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .tnh-detail-page .tnh-summary-strip > div {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        column-gap: 8px;
        min-width: 0;
        padding: 12px 10px;
    }
    .tnh-detail-page .tnh-summary-strip .tnh-summary-icon {
        grid-row: 1 / span 2;
        width: 36px;
        height: 36px;
    }
    .tnh-detail-page .tnh-summary-strip > div > span:not(.tnh-summary-icon) {
        min-width: 0;
        margin: 0 0 3px;
        font-size: 11px;
        line-height: 1.3;
    }
    .tnh-detail-page .tnh-summary-strip strong {
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .tnh-detail-page .tnh-overview-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .tnh-detail-page .tnh-overview-actions .button {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .tnh-detail-page,
  .detail:has(.tnh-property-layout) {
        width: calc(100% - 20px);
        margin-top: 12px;
    }
    body:has(.tnh-detail-page) > .top {
        padding: 12px 14px;
        box-sizing: border-box;
    }
    body:has(.tnh-detail-page) > .top .brand-logo {
        width: min(180px, 55vw);
    }
    .tnh-detail-page .tnh-breadcrumb {
        gap: 5px;
        font-size: 11px;
        overflow-wrap: anywhere;
    }
    .tnh-detail-page .tnh-overview-card {
        padding: 10px;
        gap: 12px;
    }
    .tnh-detail-page .tnh-overview-card .gallery-hero .detail-image {
        height: 230px;
    }
    .tnh-detail-page .tnh-property-intro {
        padding: 12px;
    }
    .tnh-detail-page .tnh-property-intro h1 {
        font-size: clamp(25px, 7vw, 32px);
    }
    .tnh-detail-page .tnh-property-intro .tnh-property-location {
        font-size: 14px;
        line-height: 1.45;
    }
    .tnh-detail-page .tnh-summary-strip {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .tnh-detail-page .tnh-summary-strip > div {
        grid-template-columns: 38px minmax(0, 1fr);
        border-right: 0 !important;
        border-bottom: 1px solid #e1e5df !important;
        padding: 10px;
    }
    .tnh-detail-page .tnh-summary-strip > div:last-child {
        border-bottom: 0 !important;
    }
    .tnh-detail-page .tnh-summary-strip strong {
        font-size: 14px;
        overflow-wrap: anywhere;
    }
    .tnh-detail-page .tnh-overview-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .tnh-detail-page .tnh-overview-actions .button {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

/*Expanded About section*/

.about-expanded {
    text-align: left;
    padding-top: 88px;
    padding-bottom: 88px;
}

.about-expanded .about-intro {
    max-width: 820px;
    margin: 0 auto 42px;
}

.about-expanded .about-intro h2 {
    text-align: left;
}

.about-expanded .about-intro p:not(.eyebrow) {
    max-width: 760px;
    color: #627083;
    margin: 15px 0;
    line-height: 1.85;
}

.about-expanded .about-intro .about-lead {
    font-size: 18px;
    color: #344b40;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto 55px;
}

.about-values article {
    background: rgba(255,255,255,.72);
    border: 1px solid #d8ded5;
    padding: 26px 24px;
    min-width: 0;
}

.about-number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #dcebe2;
    color: #1b5a45;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-values h3,.about-process h3 {
    font: 500 23px/1.25 var(--serif);
    margin: 0 0 12px;
    color: var(--ink);
}

.about-values p,.about-process p {
    font-size: 13px;
    line-height: 1.8;
    color: #627083;
    margin: 0;
}

.about-process {
    max-width: 1100px;
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    padding: 34px 0;
    border-top: 1px solid #d2d9d0;
    border-bottom: 1px solid #d2d9d0;
}

.about-process ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: aboutstep;
}

.about-process li {
    counter-increment: aboutstep;
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 13px;
    padding: 0 0 19px;
    margin: 0 0 19px;
    border-bottom: 1px solid #d8ded5;
}

.about-process li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.about-process li:before {
    content: counter(aboutstep,decimal-leading-zero);
    color: #4f8069;
    font-size: 11px;
    font-weight: 700;
    padding-top: 3px;
}

.about-process li b,.about-process li span {
    grid-column: 2;
}

.about-process li b {
    font-size: 14px;
    margin-bottom: 3px;
}

.about-process li span {
    font-size: 12px;
    color: #627083;
    line-height: 1.7;
}

.about-footnote {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.about-footnote p {
    max-width: 650px;
    color: #627083;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

.about-footnote .button {
    flex-shrink: 0;
}

@media (max-width:760px) {
    .about-expanded {
        padding: 60px 6vw;
    }
    .about-values {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 35px;
    }
    .about-values article {
        padding: 22px;
    }
    .about-process {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 27px 0;
    }
    .about-footnote {
        align-items: flex-start;
        flex-direction: column;
    }
    .about-expanded .about-intro .about-lead {
        font-size: 16px;
    }
}

/*Property photo viewer: allow customers to open and zoom gallery photos on desktop and mobile.*/

.tnh-detail-page .gallery-main-trigger {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    text-align: inherit;
    cursor: zoom-in;
}

.tnh-detail-page .gallery-main-trigger:focus-visible {
    outline: 3px solid #c8a96a;
    outline-offset: -3px;
}

.tnh-detail-page .gallery-main-trigger .detail-image {
    width: 100%;
}

.tnh-detail-page .gallery-hero .tnh-status-badge {
    z-index: 2;
    pointer-events: none;
}

.tnh-detail-page .gallery-view-all {
    z-index: 3;
}

.tnh-detail-page .photo-lightbox {
    width: min(1180px,calc(100% - 24px));
    max-width: none;
    max-height: 94vh;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: #101512;
    color: #f7f8f5;
    overflow: hidden;
    box-sizing: border-box;
}

.tnh-detail-page .photo-lightbox::backdrop {
    background: rgba(5,10,7,.88);
    backdrop-filter: blur(3px);
}

.tnh-detail-page .lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    color: #fff;
}

.tnh-detail-page .lightbox-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tnh-detail-page .lightbox-counter {
    font-size: 12px;
    color: #d5ddd7;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tnh-detail-page .lightbox-close {
    border: 1px solid #627083;
    background: #10243A;
    color: #fff;
    border-radius: 6px;
    padding: 9px 12px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.tnh-detail-page .lightbox-viewer {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 44px;
    gap: 10px;
    align-items: center;
    min-height: 220px;
}

.tnh-detail-page .lightbox-image-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: min(65vh,720px);
    min-height: 220px;
    overflow: auto;
    background: #090d0b;
    border-radius: 7px;
    overscroll-behavior: contain;
}

.tnh-detail-page .lightbox-image-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform .18s ease;
    transform-origin: center center;
}

.tnh-detail-page .lightbox-image-stage img.is-zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: zoom-out;
    transform: scale(1.7);
}

.tnh-detail-page .lightbox-zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,.62);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 10px;
    pointer-events: none;
}

.tnh-detail-page .lightbox-nav {
    width: 42px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #627083;
    border-radius: 7px;
    background: #10243A;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.tnh-detail-page .lightbox-nav:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.tnh-detail-page .lightbox-grid {
    display: flex;
    gap: 8px;
    max-height: 110px;
    margin-top: 12px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    overflow-y: hidden;
}

.tnh-detail-page .lightbox-photo {
    flex: 0 0 92px;
    width: 92px;
    min-width: 92px;
    border: 1px solid #404b43;
    border-radius: 5px;
    overflow: hidden;
    background: #202722;
    color: #eaf0eb;
}

.tnh-detail-page .lightbox-photo img {
    width: 100%;
    height: 64px;
    object-fit: cover;
}

.tnh-detail-page .lightbox-photo span {
    font-size: 10px;
    padding: 5px 7px;
}

.tnh-detail-page .lightbox-photo.is-active {
    border: 2px solid #d5b779;
    box-shadow: 0 0 0 1px #d5b779;
}

@media (max-width:600px) {
    .tnh-detail-page .photo-lightbox {
        width: calc(100% - 12px);
        max-height: 96vh;
        padding: 10px;
        border-radius: 8px;
    }
    .tnh-detail-page .lightbox-head {
        align-items: flex-start;
        font-size: 12px;
        gap: 8px;
    }
    .tnh-detail-page .lightbox-head-actions {
        gap: 8px;
    }
    .tnh-detail-page .lightbox-close {
        padding: 8px;
    }
    .tnh-detail-page .lightbox-viewer {
        grid-template-columns: 30px minmax(0,1fr) 30px;
        gap: 5px;
        min-height: 180px;
    }
    .tnh-detail-page .lightbox-nav {
        width: 30px;
        height: 42px;
        font-size: 24px;
    }
    .tnh-detail-page .lightbox-image-stage {
        height: 68vh;
        min-height: 180px;
    }
    .tnh-detail-page .lightbox-grid {
        max-height: 88px;
        gap: 6px;
        margin-top: 8px;
    }
    .tnh-detail-page .lightbox-photo {
        flex-basis: 76px;
        width: 76px;
        min-width: 76px;
    }
    .tnh-detail-page .lightbox-photo img {
        height: 52px;
    }
}

/*Property title generator and six selectable description drafts in the admin form.*/

.property-title-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.property-title-input-row input {
    min-width: 0;
}

.property-title-input-row .button {
    white-space: nowrap;
}

.admin-section-fields .description-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.description-options[hidden] {
    display: none !important;
}

.description-option-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #dce8e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(20, 54, 38, .04);
}

.description-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.description-option-head strong {
    color: #174b35;
    font-size: 13px;
}

.description-option-count {
    flex: 0 0 auto;
    color: #708077;
    font-size: 11px;
}

.description-option-copy {
    margin: 0;
    color: #2f4037;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.description-option-card .button {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 680px) {
    .property-title-input-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .property-title-input-row .button {
        justify-self: start;
        white-space: normal;
    }
    .admin-section-fields .description-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

/*Brochure/PPT/text importer — safe prefill panel*/

.source-import-panel {
    background: linear-gradient(135deg,#f8fbf8,#fff);
    border-color: #cddfd3;
}

.source-import-panel .admin-section-number {
    background: #10243A;
    color: #fff;
}

.source-import-panel textarea {
    width: 100%;
    min-height: 105px;
    resize: vertical;
}

.source-import-panel input[type=file] {
    max-width: 100%;
    padding: 12px;
    border: 1px dashed #b7cbbd;
    border-radius: 9px;
    background: #fff;
}

.source-import-overwrite {
    padding: 12px 14px;
    background: #fff8e8;
    border: 1px solid #efe1b7;
    border-radius: 8px;
    color: #5e4b1b;
}

.source-import-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.source-import-actions p {
    margin: 0;
    flex: 1;
    min-width: 210px;
}

#property-import-status.is-error {
    color: #a32929;
}

#property-import-status.is-success {
    color: #216342;
}

@media (max-width:600px) {
    .source-import-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .source-import-actions .button {
        width: 100%;
    }
}

/*Multi-select marketing labels; separate from live inventory availability.*/

.marketing-status-editor {
    border: 1px solid var(--line);
    background: #fbfcf8;
    padding: 14px 16px;
    margin: 4px 0 10px;
}

.marketing-status-editor>strong {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.marketing-status-editor>p {
    margin: 0 0 11px;
}

.marketing-status-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
}

.marketing-status-option {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 7px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.marketing-status-option input {
    width: auto !important;
    margin: 0;
}

.card-price-block {
    min-width: 0;
    flex: 1;
}

.marketing-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 7px 0 2px;
}

.marketing-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border: 1px solid #d7e3d9;
    background: #eef4ee;
    color: #10243A;
    font-size: 9px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .015em;
    border-radius: 2px;
    white-space: normal;
}

.marketing-statuses-detail {
    margin-top: 8px;
}

.marketing-statuses-detail .marketing-status-badge {
    font-size: 10px;
    padding: 5px 8px;
}

.tnh-summary-strip .marketing-status-badge {
    display: inline-flex;
    margin: 0;
    font-size: 9px;
    color: #10243A;
    line-height: 1.25;
}

@media (max-width:560px) {
    .marketing-status-options {
        gap: 10px 14px;
    }
    .marketing-status-editor {
        padding: 12px;
    }
    .marketing-status-badge {
        font-size: 9px;
    }
}

/*Saved floor-plan manager (admin only)*/

.floor-plan-manage-section .floor-plan-manage-form {
    margin-top: 16px;
}

.floor-plan-manage-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    margin: 16px 0;
}

.floor-plan-manage-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce5df;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.floor-plan-manage-select {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #536176;
    font-size: .82rem;
    font-weight: 650;
}

.floor-plan-manage-thumb {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    background: #f4f4ef;
}

.floor-plan-manage-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 12px;
    border-radius: 8px;
    background: #f8e9e6;
    color: #974c40;
    text-align: center;
    font-size: .86rem;
}

.floor-plan-manage-card strong {
    overflow-wrap: anywhere;
    color: #10243A;
    font-size: .92rem;
}

.floor-plan-manage-state {
    font-size: .78rem;
    color: #386c4f;
}

.floor-plan-manage-state.is-broken {
    color: #a33c2e;
    font-weight: 700;
}

.floor-plan-manage-path {
    font-size: .74rem;
    color: #77847d;
    overflow-wrap: anywhere;
}

.floor-plan-manage-section .form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width:980px) {
    .floor-plan-manage-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:600px) {
    .floor-plan-manage-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .floor-plan-manage-thumb,.floor-plan-manage-placeholder {
        height: 190px;
        min-height: 190px;
    }
}

/*Final approved listing-label layout and palette.
   Labels live outside the three-column detail summary and remain readable on cards.*/

.marketing-statuses .marketing-status-badge {
    border: 1px solid transparent;
    border-radius: 6px;
    color: #fff;
    font-weight: 750;
}

.marketing-status-badge.is-resale {
    background: #006b50;
    border-color: #006b50;
    color: #fff;
}

.marketing-status-badge.is-new-launch {
    background: #A77A2E;
    border-color: #A77A2E;
    color: #fff;
}

.marketing-status-badge.is-ready {
    background: #438fc8;
    border-color: #438fc8;
    color: #fff;
}

.marketing-status-badge.is-under-construction {
    background: #365c86;
    border-color: #365c86;
    color: #fff;
}

.marketing-status-badge.is-default {
    background: #10243A;
    border-color: #10243A;
    color: #fff;
}

.card-price-block .marketing-statuses {
    gap: 6px;
    margin: 6px 0 6px;
}

.card-price-block .marketing-status-badge {
    padding: 5px 8px;
    font-size: 10px;
    line-height: 1.2;
}

.tnh-detail-page .tnh-property-intro > .marketing-statuses-detail-hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 16px;
    padding: 0;
}

.tnh-detail-page .marketing-statuses-detail-hero .marketing-status-badge {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: normal;
    box-shadow: 0 1px 1px rgba(15, 55, 40, .06);
}

@media (max-width: 560px) {
    .tnh-detail-page .tnh-property-intro > .marketing-statuses-detail-hero {
        gap: 7px;
        margin: 12px 0 14px;
    }
    .tnh-detail-page .marketing-statuses-detail-hero .marketing-status-badge {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 11px;
    }
}

/*Admin configuration rows: linked basic details and accessible drag/reorder controls.*/

.admin-section-fields .configuration-row-tools {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
    padding: 0 0 11px;
    margin: 0 0 2px;
    border-bottom: 1px solid #e1e9e3;
}

.configuration-row-position {
    color: #627083;
    font-size: 11px;
    font-weight: 700;
}

.configuration-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.configuration-drag-handle,
.move-configuration-up,
.move-configuration-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #cbd9d0;
    border-radius: 7px;
    background: #fff;
    color: #244c39;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.configuration-drag-handle {
    cursor: grab;
    touch-action: none;
}

.configuration-drag-handle:active {
    cursor: grabbing;
}

.move-configuration-up:disabled,
.move-configuration-down:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.admin-section-fields .configuration-row.is-dragging {
    opacity: .45;
    border-color: #19744b;
}

.admin-section-fields .configuration-row.drag-over-before {
    border-top: 3px solid #19744b;
}

.admin-section-fields .configuration-row.drag-over-after {
    border-bottom: 3px solid #19744b;
}

@media (max-width: 560px) {
    .admin-section-fields .configuration-row-tools {
        align-items: flex-start;
    }
    .configuration-row-actions {
        margin-left: 0;
        width: 100%;
    }
    .configuration-drag-handle {
        min-height: 38px;
    }
    .move-configuration-up, .move-configuration-down {
        min-height: 38px;
    }
}

/*Unified ordering controls for property photos and saved floor plans.*/

.property-photo-manager > b {
    display: block;
    margin: 8px 0 4px;
    color: #10243A;
    font-size: 13px;
}

.property-photo-manager > p {
    margin: 0 0 10px;
}

.sortable-photo-grid .sortable-photo-item {
    position: relative;
    min-width: 0;
    padding: 9px;
    border: 1px solid #dce5df;
    border-radius: 10px;
    background: #fff;
    transition: opacity .12s,border-color .12s,box-shadow .12s;
}

.sortable-photo-grid .sortable-photo-item.is-new-upload-preview {
    border-style: dashed;
    border-color: #96b7a5;
    background: #fbfdfb;
}

.photo-order-tools,.floor-plan-card-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid #e4eae5;
}

.photo-order-position,.floor-plan-order-position {
    font-size: 10px;
    font-weight: 750;
    color: #627083;
    white-space: nowrap;
}

.photo-order-actions,.floor-plan-order-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.photo-drag-handle,.floor-plan-drag-handle,.move-photo-up,.move-photo-down,.move-floor-plan-up,.move-floor-plan-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 28px;
    min-height: 28px;
    padding: 4px 7px;
    border: 1px solid #d6e1d9;
    border-radius: 6px;
    background: #f6f9f6;
    color: #214a38;
    font-size: 11px;
    font-weight: 700;
    cursor: grab;
}

.photo-drag-handle span,.floor-plan-drag-handle span {
    font-size: 10px;
}

.move-photo-up,.move-photo-down,.move-floor-plan-up,.move-floor-plan-down {
    cursor: pointer;
    font-size: 14px;
}

.move-photo-up:disabled,.move-photo-down:disabled,.move-floor-plan-up:disabled,.move-floor-plan-down:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.sortable-photo-item.is-dragging,.sortable-floor-plan-card.is-dragging {
    opacity: .45;
}

.sortable-photo-item.drag-over-before,.sortable-floor-plan-card.drag-over-before {
    border-color: #087f61;
    box-shadow: inset 3px 0 0 #087f61;
}

.sortable-photo-item.drag-over-after,.sortable-floor-plan-card.drag-over-after {
    border-color: #087f61;
    box-shadow: inset -3px 0 0 #087f61;
}

.sortable-floor-plan-card {
    cursor: default;
}

.floor-plan-card-tools {
    width: 100%;
}

.floor-plan-manage-select {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #536176;
    font-size: .82rem;
    font-weight: 650;
    cursor: pointer;
}

.floor-plan-manage-select input {
    width: auto;
    margin: 0;
}

.floor-plan-manage-card .floor-plan-manage-select {
    margin-bottom: 3px;
}

.property-photo-manager #photo-preview {
    display: block;
    grid-template-columns: none;
    margin-top: 8px;
}

.property-photo-manager #photo-preview p {
    margin: 4px 0 0;
}

#photo-preview:empty {
    display: none;
}

@media (max-width:600px) {
    .photo-drag-handle span,.floor-plan-drag-handle span {
        display: none;
    }
    .photo-drag-handle,.floor-plan-drag-handle,.move-photo-up,.move-photo-down,.move-floor-plan-up,.move-floor-plan-down {
        min-width: 34px;
        min-height: 34px;
    }
    .photo-order-tools,.floor-plan-card-tools {
        gap: 5px;
    }
}

/*THE NEW HAUS visual system and additional homepage sections*/

:root {
    --ink: #10243A;
    --muted: #637477;
    --paper: #f4f7f7;
    --white: #fff;
    --line: #dfe7e7;
    --green: #10243A;
    --sand: #e8d6a8;
    --serif: 'Playfair Display',Georgia,serif;
    --sans: 'DM Sans',Arial,sans-serif;
}

body {
    background: var(--paper);
    color: var(--ink);
}

.top {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand-logo {
    height: auto;
    max-width: min(300px,56vw);
}

.button {
    background: #10243A;
    border-color: #10243A;
    border-radius: 7px;
}

.button:hover {
    background: #0B1A2B;
}

.button.dark {
    background: #10243A;
    border-color: #10243A;
}

.button.outline {
    border-radius: 7px;
}

.nav-cta {
    border-radius: 7px;
}

.hero {
    background: #edf2f2;
}

.hero h1 em,.about h2 em {
    color: #d19b35;
}

.eyebrow {
    color: #0f7776;
}

.hero-image {
    background-image: linear-gradient(0deg,rgba(8,32,38,.58),rgba(8,32,38,.1) 65%),url('assets/trg-hero-banner.webp');
}

.trg-hero .hero-copy {
    padding-top: 78px;
    padding-bottom: 70px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.hero-trust span {
    font-size: 10px;
    color: #4d6568;
    background: #fff;
    border: 1px solid #d7e2e2;
    border-radius: 100px;
    padding: 7px 10px;
}

.trg-stats {
    grid-template-columns: repeat(4,minmax(0,1fr));
    background: #112c31;
    color: #fff;
    border: 0;
}

.trg-stats div {
    border-left-color: rgba(255,255,255,.2);
}

.trg-stats b {
    font-size: 23px;
    letter-spacing: -.03em;
    color: #f2cc75;
}

.trg-stats span {
    color: #c2d1d2;
}

.section {
    max-width: 1500px;
}

.property-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(16,47,53,.035);
}

.photo {
    height: 250px;
}

.property-card h3 {
    color: #152e32;
}

.status {
    border-radius: 5px;
}

.marketing-status-badge {
    display: inline-block;
    margin: 4px 4px 0 0;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}

.marketing-status-badge.is-resale {
    background: #10243A;
    color: #fff;
}

.marketing-status-badge.is-new-launch {
    background: #d5a23f;
    color: #1c2c2e;
}

.marketing-status-badge.is-ready {
    background: #2779a7;
    color: #fff;
}

.marketing-status-badge.is-under-construction {
    background: #546a7d;
    color: #fff;
}

.card-price-block .marketing-statuses {
    margin: 5px 0 7px;
}

.markets-section {
    background: #e9f0f0;
}

.markets-section .section {
    padding-top: 70px;
    padding-bottom: 70px;
}

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

.market-card {
    display: block;
    padding: 23px;
    border: 1px solid #d7e3e3;
    background: #fff;
    border-radius: 12px;
    transition: transform .2s,box-shadow .2s;
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14,65,71,.08);
}

.market-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #e7f2f1;
    color: #0f6e6c;
    border-radius: 9px;
    margin-bottom: 17px;
}

.market-card strong {
    font: 500 22px var(--serif);
}

.market-card p {
    min-height: 42px;
    color: var(--muted);
    font-size: 12px;
}

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

.insight-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.insight-card h3 {
    font: 500 24px/1.25 var(--serif);
    margin: 0 0 12px;
}

.insight-card p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    flex: 1;
}

.insight-card .eyebrow {
    margin-bottom: 12px;
}

.trg-about {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px 60px;
    align-items: center;
    background: #eaf0ee;
    text-align: left;
    padding: 88px 10vw;
}

.trg-about .about-intro {
    max-width: 660px;
}

.trg-about .about-lead {
    font-size: 18px;
    color: #435a5d;
    line-height: 1.7;
}

.founder-card {
    background: #fff;
    border: 1px solid #dbe4e1;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 620px;
}

.founder-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.founder-card>div {
    padding: 25px;
    align-self: center;
}

.founder-card h3 {
    font: 500 26px var(--serif);
    margin: 3px 0 8px;
}

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

.principles-grid {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px;
    margin-top: 12px;
}

.principles-grid article {
    background: rgba(255,255,255,.74);
    padding: 22px;
    border: 1px solid #dce5e2;
    border-radius: 10px;
}

.principles-grid article span,.service-card>span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #13817b;
}

.principles-grid h3 {
    font: 500 20px var(--serif);
    margin: 12px 0 7px;
}

.principles-grid p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

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

.service-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-height: 220px;
}

.service-card h3 {
    font: 500 26px var(--serif);
    margin: 18px 0 10px;
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
}

.calculator-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 75px 10vw;
    background: #122e33;
    color: #fff;
}

.calculator-section .eyebrow {
    color: #efc45c;
}

.calculator-section h2 {
    font: 500 clamp(32px,4vw,44px)/1.2 var(--serif);
    margin: 0 0 15px;
}

.calculator-copy p:not(.eyebrow) {
    max-width: 490px;
    color: #c4d3d5;
}

.calculator-card {
    background: #fff;
    color: var(--ink);
    padding: 25px;
    border-radius: 12px;
}

.calculator-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 13px;
}

.calculator-card input {
    border-radius: 7px;
}

.roi-results {
    background: #eaf3f1;
    padding: 18px;
    margin-top: 15px;
    border-radius: 9px;
    display: grid;
    gap: 5px;
}

.roi-results span {
    font-size: 12px;
    color: #556c6d;
}

.roi-results strong {
    font: 600 30px var(--serif);
    color: #0c6662;
}

.calculator-card small {
    font-size: 10px;
    color: #6e7e80;
    display: block;
    margin-top: 13px;
}

.trg-contact {
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
}

.trg-contact .contact-details {
    gap: 10px;
}

.trg-footer {
    background: #10243A;
    color: #DED5C5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 28px 5vw;
    gap: 18px;
}

.trg-footer .brand {
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

.trg-footer .brand-logo {
    width: 260px;
}

.trg-footer a:not(.brand) {
    font-size: 11px;
}

.trg-footer a:hover {
    color: #f0c45d;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 24px 90px;
    background: #fff;
}

.legal-page h1 {
    font: 500 clamp(34px,5vw,50px)/1.15 var(--serif);
    margin: 0 0 15px;
}

.legal-page h2 {
    font: 500 25px var(--serif);
    margin: 30px 0 8px;
}

.legal-page p {
    line-height: 1.8;
}

.blog-page {
    max-width: 1300px;
}

.blog-intro h1 {
    font: 500 clamp(38px,5vw,58px)/1.1 var(--serif);
}

.blog-card,.blog-article {
    border-radius: 12px;
}

.admin-brand-logo {
    width: 260px;
}

.admin-wrap h1 {
    letter-spacing: -.03em;
}

@media (max-width:850px) {
    .trg-about {
        grid-template-columns: 1fr;
        padding: 65px 6vw;
    }
    .trg-about .about-intro {
        max-width: none;
    }
    .founder-card {
        max-width: none;
    }
    .principles-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .calculator-section {
        padding: 60px 6vw;
        gap: 28px;
    }
    .insights-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .market-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:560px) {
    .trg-stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px;
    }
    .trg-stats div {
        padding-left: 12px;
    }
    .trg-stats b {
        font-size: 20px;
    }
    .trg-hero .hero-copy {
        padding: 48px 7vw;
    }
    .trg-hero .hero h1,.hero h1 {
        font-size: 42px;
    }
    .hero-actions .button {
        flex: 1;
    }
    .hero-trust span {
        font-size: 9px;
    }
    .market-grid,.insights-grid,.services-grid {
        grid-template-columns: 1fr;
    }
    .trg-about {
        padding: 52px 5vw;
    }
    .founder-card {
        grid-template-columns: 1fr 1fr;
    }
    .founder-card img {
        min-height: 205px;
    }
    .founder-card>div {
        padding: 16px;
    }
    .founder-card h3 {
        font-size: 21px;
    }
    .principles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }
    .principles-grid article {
        padding: 15px;
    }
    .calculator-section {
        grid-template-columns: 1fr;
        padding: 48px 5vw;
    }
    .calculator-card {
        padding: 17px;
    }
    .trg-contact {
        grid-template-columns: 1fr;
        padding: 52px 5vw;
    }
    .trg-footer {
        padding: 24px 5vw;
    }
    .trg-footer .brand-logo {
        width: 230px;
    }
    .legal-page {
        padding: 48px 18px 60px;
    }
}

/*================================================================
   THE NEW HAUS — brand alignment refresh
   Deep teal + midnight blue + warm gold; applied across public pages,
   property details, blog, login and admin without altering behavior.
   ================================================================*/

:root {
    --ink: #10243A;
    --muted: #65777a;
    --paper: #f5f8f8;
    --white: #ffffff;
    --line: #E4DED2;
    --green: #10243A;
    --sand: #e8bd57;
    --trg-teal: #10243A;
    --trg-teal-hover: #0B1A2B;
    --trg-teal-bright: #A77A2E;
    --trg-gold: #e6b74e;
    --trg-gold-soft: #fbf3dd;
    --trg-navy: #10243A;
    --trg-mist: #F0E9DB;
    --trg-mist-2: #f1f6f6;
    --trg-line: #E4DED2;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--paper);
    color: var(--ink);
}

a {
    transition: color .18s ease;
}

a:hover {
    color: var(--trg-teal-bright);
}

.top {
    position: relative;
    z-index: 20;
    min-height: 82px;
    height: auto;
    padding: 14px max(5vw, 22px);
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--trg-line);
    box-shadow: 0 3px 20px rgba(16,41,46,.035);
}

.brand {
    color: var(--trg-navy);
}

.brand-logo {
    display: block;
    max-width: min(300px, 56vw);
}

.site-nav {
    gap: clamp(13px, 2vw, 28px);
}

.site-nav a:not(.nav-cta) {
    color: #334b4f;
    font-weight: 600;
}

.site-nav a:not(.nav-cta):hover {
    color: var(--trg-teal-bright);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--trg-teal);
    color: #fff !important;
    border: 1px solid var(--trg-teal);
    border-radius: 7px;
    padding: 11px 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15,85,87,.12);
}

.nav-cta:hover {
    background: var(--trg-teal-hover);
    border-color: var(--trg-teal-hover);
    color: #fff !important;
}

.menu-toggle {
    border-radius: 7px;
    border-color: var(--trg-line);
    background: #fff;
}

.hero {
    background: var(--trg-mist-2);
}

.trg-hero .hero-copy {
    background: var(--trg-mist-2);
}

.eyebrow {
    color: var(--trg-teal-bright);
    letter-spacing: .17em;
}

.hero h1, .about h2, .section h2, .contact h2, .detail h1, .detail h2,
.blog-intro h1, .legal-page h1, .admin-wrap h1 {
    color: var(--trg-navy);
}

.hero h1 em, .about h2 em {
    color: #c28d22;
}

.hero-text {
    color: #596e72;
}

.button, button.button, input[type=submit] {
    background: var(--trg-teal);
    color: #fff;
    border: 1px solid var(--trg-teal);
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(15,85,87,.08);
}

.button:hover, button.button:hover, input[type=submit]:hover {
    background: var(--trg-teal-hover);
    border-color: var(--trg-teal-hover);
    color: #fff;
}

.button.dark {
    background: var(--trg-navy);
    border-color: var(--trg-navy);
}

.button.dark:hover {
    background: #071f24;
    border-color: #071f24;
}

.button.outline {
    background: #fff;
    border: 1px solid #b9cece;
    color: var(--trg-navy);
    box-shadow: none;
}

.button.outline:hover {
    background: var(--trg-mist);
    border-color: var(--trg-teal);
    color: var(--trg-teal);
}

.hero-trust span {
    background: rgba(255,255,255,.88);
    border-color: #d5e3e3;
    color: #4a6669;
}

.dot {
    background: var(--trg-gold);
}

.trg-stats {
    background: var(--trg-navy);
}

.trg-stats b {
    color: var(--trg-gold);
}

.trg-stats span {
    color: #c7d5d6;
}

.count {
    background: #fff;
    color: #52676a;
    border-color: var(--trg-line);
    border-radius: 7px;
}

.filters input, .filters select, input, select, textarea {
    border-color: #d4e0e0;
    border-radius: 7px;
    background: #fff;
}

.filters input:focus, .filters select:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(15,119,118,.13);
    border-color: var(--trg-teal-bright);
}

.property-card {
    border-color: var(--trg-line);
    border-radius: 13px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16,47,53,.045);
}

.property-card:hover {
    box-shadow: 0 14px 34px rgba(16,47,53,.09);
}

.photo {
    background: #e2eded;
}

.status {
    background: var(--trg-navy);
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
}

.project {
    color: var(--trg-teal-bright);
}

.card-body h3 a {
    color: var(--trg-navy);
}

.card-body h3 a:hover {
    color: var(--trg-teal-bright);
}

.card-bottom {
    border-color: var(--trg-line);
}

.arrow {
    border-color: #cbdada;
    border-radius: 7px;
    color: var(--trg-teal);
}

.specs span, .spec-chip {
    background: var(--trg-mist);
    color: #3c5d60;
    border-radius: 5px;
}

.marketing-status-badge {
    border-radius: 5px;
    letter-spacing: .01em;
}

.marketing-status-badge.is-resale {
    background: #10243A;
    border-color: #10243A;
    color: #fff;
}

.marketing-status-badge.is-new-launch {
    background: var(--trg-gold);
    border-color: var(--trg-gold);
    color: #172f32;
}

.marketing-status-badge.is-ready {
    background: #2779a7;
    border-color: #2779a7;
    color: #fff;
}

.marketing-status-badge.is-under-construction {
    background: #455f75;
    border-color: #455f75;
    color: #fff;
}

.markets-section {
    background: #F0E9DB;
}

.market-card {
    border-color: #d4e2e2;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16,47,53,.025);
}

.market-icon {
    background: #dceeed;
    color: var(--trg-teal);
}

.insight-card, .service-card {
    border-color: var(--trg-line);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(16,47,53,.025);
}

.insight-card .eyebrow, .service-card>span, .principles-grid article span {
    color: var(--trg-teal-bright);
}

.trg-about, .about {
    background: #eaf1f0;
}

.founder-card {
    border-color: #d5e3e1;
    border-radius: 13px;
}

.principles-grid article {
    border-color: #d8e4e1;
    border-radius: 10px;
}

.calculator-section {
    background: var(--trg-navy);
}

.calculator-section .eyebrow {
    color: var(--trg-gold);
}

.calculator-card, .contact-form-wrap {
    border: 1px solid var(--trg-line);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(7,31,36,.06);
}

.roi-results {
    background: #e7f2f0;
}

.roi-results strong {
    color: var(--trg-teal);
}

.contact {
    background: #fff;
}

.contact-details a:not(.button) {
    color: var(--trg-teal);
}

.contact-details a:not(.button):hover {
    color: #b7811c;
}

.trg-footer {
    background: var(--trg-navy);
}

.trg-footer a:not(.brand):hover {
    color: var(--trg-gold);
}

.legal-page, .blog-card, .blog-article {
    background: #fff;
    border-color: var(--trg-line);
}

.blog-card, .blog-article {
    border-radius: 12px;
}

/*Property details keep the same public brand as the homepage.*/

.tnh-detail-page {
    color: var(--ink);
}

.tnh-detail-page .tnh-breadcrumb a {
    color: var(--trg-teal);
}

.tnh-detail-page .tnh-overview-card,
.tnh-detail-page .tnh-info-panel,
.tnh-detail-page .price-box {
    border-color: var(--trg-line);
    border-radius: 13px;
}

.tnh-detail-page .tnh-property-intro h1 {
    color: var(--trg-navy);
}

.tnh-detail-page .tnh-property-location {
    color: #5b7073;
}

.tnh-detail-page .tnh-summary-icon,
.tnh-detail-page .tnh-panel-icon,
.tnh-detail-page .tnh-fact-icon {
    background: #e4f1ef;
    color: var(--trg-teal);
}

.tnh-detail-page .tnh-floor-tab.is-active {
    background: var(--trg-teal);
    border-color: var(--trg-teal);
    color: #fff;
}

.tnh-detail-page .tnh-status-badge {
    background: var(--trg-navy);
    color: #fff;
}

.tnh-detail-page .configuration-variant {
    background: #F0E9DB;
    color: #34585a;
}

.tnh-detail-page .tnh-enquiry-heading {
    color: var(--trg-navy);
}

.tnh-detail-page .gallery-view-all {
    background: #fff;
    color: var(--trg-navy);
    border-color: #c9dada;
    border-radius: 7px;
}

.tnh-detail-page .gallery-view-all:hover {
    background: var(--trg-mist);
}

/*Admin area matches public branding, while retaining strong readability.*/

.admin-wrap {
    color: var(--ink);
}

.admin-form, .inventory {
    border-color: var(--trg-line);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(16,47,53,.025);
}

.admin-form h2, .inventory h2 {
    color: var(--trg-navy);
}

.admin-section-number, .source-import-panel .admin-section-number {
    background: var(--trg-teal);
    color: #fff;
}

.source-import-panel {
    background: linear-gradient(135deg, #edf6f5, #fff);
    border-color: #cbdedd;
}

.source-import-overwrite {
    background: var(--trg-gold-soft);
    border-color: #eedaa3;
    color: #5d4b1e;
}

.notice {
    background: #e7f3ef;
    border-color: #c3ddd3;
    color: #21584b;
    border-radius: 8px;
}

.pill {
    background: #e7f2f0;
    color: #245d58;
    border-radius: 5px;
}

.floor-plan-manage-card, .sortable-photo-grid .sortable-photo-item,
.description-option-card {
    border-color: var(--trg-line);
    border-radius: 10px;
}

.floor-plan-manage-card strong, .description-option-head strong {
    color: var(--trg-navy);
}

.floor-plan-manage-select {
    color: #3c5c60;
}

.photo-drag-handle, .floor-plan-drag-handle, .move-photo-up, .move-photo-down,
.move-floor-plan-up, .move-floor-plan-down {
    border-color: #c9dddd;
    background: #edf5f4;
    color: var(--trg-teal);
    border-radius: 6px;
}

.sortable-photo-item.drag-over-before, .sortable-floor-plan-card.drag-over-before,
.admin-section-fields .configuration-row.drag-over-before {
    border-color: var(--trg-teal-bright);
    box-shadow: inset 3px 0 0 var(--trg-teal-bright);
}

.sortable-photo-item.drag-over-after, .sortable-floor-plan-card.drag-over-after,
.admin-section-fields .configuration-row.drag-over-after {
    border-color: var(--trg-teal-bright);
    box-shadow: inset -3px 0 0 var(--trg-teal-bright);
}

.admin-section-fields .configuration-row.is-dragging {
    border-color: var(--trg-teal);
}

.admin-section-fields .configuration-row.drag-over-before {
    border-top-color: var(--trg-teal-bright);
}

.admin-section-fields .configuration-row.drag-over-after {
    border-bottom-color: var(--trg-teal-bright);
}

.login-page {
    background: radial-gradient(circle at top left, #e4f0ef, transparent 43%), var(--trg-navy);
}

.login-card {
    border-color: #dce7e7;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
}

.login-card h1 {
    color: var(--trg-navy);
}

.login-lockout-countdown {
    border-radius: 9px;
}

.login-card input:focus {
    outline: 3px solid rgba(15,119,118,.14);
    border-color: var(--trg-teal-bright);
}

/*Accessibility and responsive polish*/

:focus-visible {
    outline: 3px solid rgba(230,183,78,.9);
    outline-offset: 3px;
}

@media (max-width: 850px) {
    .top {
        padding: 13px 22px;
    }
    .trg-stats b {
        font-size: 21px;
    }
}

@media (max-width: 560px) {
    .top {
        padding: 12px 16px;
    }
    .brand-logo {
        max-width: min(250px, 62vw);
    }
    .trg-footer .brand {
        max-width: 100%;
    }
    .trg-footer .brand-logo {
        width: min(230px, 65vw);
    }
    .property-card {
        box-shadow: 0 5px 18px rgba(16,47,53,.04);
    }
}

/*THE NEW HAUS BRAND v3 — live asset swap, cache-busted on all PHP pages*/

:root {
    --ink: #10243A;
    --muted: #65777a;
    --paper: #f6f8f7;
    --white: #ffffff;
    --line: #E4DED2;
    --green: #10243A;
    --sand: #e8bd57;
    --trg-teal: #10243A;
    --trg-teal-hover: #0B1A2B;
    --trg-teal-bright: #A77A2E;
    --trg-gold: #e6b74e;
    --trg-gold-soft: #fbf3dd;
    --trg-navy: #10243A;
    --trg-mist: #F0E9DB;
    --trg-mist-2: #f1f6f6;
    --trg-line: #E4DED2;
}

.top {
    min-height: 92px;
    height: auto;
    padding: 10px clamp(16px, 4vw, 64px);
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #d8e5e5;
    box-shadow: 0 3px 20px rgba(16,41,46,.06);
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    min-width: 0;
    color: var(--trg-navy);
    text-decoration: none;
    letter-spacing: 0;
}

.brand-logo,
.top .brand-logo,
.trg-footer .brand-logo,
.login-card .brand-logo {
    display: block;
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    object-fit: contain;
    object-position: center;
    flex: 0 0 68px;
    border-radius: 50%;
    background: transparent;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    line-height: 1.12;
    white-space: nowrap;
}

.brand-copy strong {
    color: var(--trg-navy);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .115em;
}

.brand-copy small {
    display: block;
    margin: 0;
    color: #8d6c20;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .105em;
}

.top nav {
    display: flex;
    align-items: center;
    gap: clamp(10px,1.65vw,25px);
}

.top nav a:not(.nav-cta) {
    color: #334b4f;
    font-weight: 600;
}

.top nav a:not(.nav-cta):hover {
    color: var(--trg-teal-bright);
}

.nav-cta {
    border-radius: 7px;
    background: var(--trg-teal);
    color: #fff !important;
    border: 1px solid var(--trg-teal);
    padding: 11px 15px;
}

.hero {
    background: var(--trg-mist-2);
}

.trg-hero .hero-copy {
    background: linear-gradient(135deg,#f5f8f7 0%,#F0E9DB 100%);
}

.hero h1, .about h2, .section h2, .contact h2, .detail h1, .detail h2, .blog-intro h1, .legal-page h1, .admin-wrap h1 {
    color: var(--trg-navy);
}

.hero h1 em, .about h2 em {
    color: #b88621;
}

.hero-image, .hero-image.trg-hero-image {
    background-color: #dce9e8;
    background-image: linear-gradient(0deg,rgba(8,32,38,.53),rgba(8,32,38,.04) 62%),url('assets/trg-hero-banner.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 440px;
}

.hero-note {
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 12px 34px rgba(8,32,38,.15);
}

.button, button.button, input[type=submit] {
    background: var(--trg-teal);
    border-color: var(--trg-teal);
    border-radius: 7px;
}

.button:hover, button.button:hover, input[type=submit]:hover {
    background: var(--trg-teal-hover);
    border-color: var(--trg-teal-hover);
}

.button.dark {
    background: var(--trg-navy);
    border-color: var(--trg-navy);
}

.button.outline {
    background: #fff;
    color: var(--trg-navy);
    border-color: #bed1d1;
}

.eyebrow {
    color: var(--trg-teal-bright);
}

.trg-stats {
    background: var(--trg-navy);
    color: #fff;
}

.trg-stats b {
    color: var(--trg-gold);
}

.trg-stats span {
    color: #c7d5d6;
}

.markets-section {
    background: #F0E9DB;
}

.trg-about, .about {
    background: #edf3f2;
}

.calculator-section {
    background: var(--trg-navy);
}

.calculator-section .eyebrow {
    color: var(--trg-gold);
}

.trg-footer {
    background: var(--trg-navy);
    color: #DED5C5;
}

.trg-footer .brand {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.trg-footer .brand-copy strong {
    color: #fff;
}

.trg-footer .brand-copy small {
    color: #e6c36e;
}

.login-page {
    background: radial-gradient(circle at 8% 3%,#d7e8e6 0,transparent 37%),var(--trg-navy);
}

.login-card {
    border-color: #dce7e7;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0,0,0,.2);
}

.property-card, .market-card, .insight-card, .service-card, .contact-form-wrap, .calculator-card {
    border-color: var(--trg-line);
}

@media (max-width: 1000px) {
    .top {
        align-items: center;
        flex-wrap: wrap;
    }
    .site-nav {
        gap: 10px;
    }
}

@media (max-width: 850px) {
    .top {
        min-height: 78px;
        padding: 10px 18px;
    }
    .brand-logo, .top .brand-logo, .trg-footer .brand-logo, .login-card .brand-logo {
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        flex-basis: 58px;
    }
    .brand-copy strong {
        font-size: 12px;
        letter-spacing: .09em;
    }
    .brand-copy small {
        font-size: 7px;
        letter-spacing: .07em;
    }
}

@media (max-width: 560px) {
    .top {
        padding: 10px 13px;
        gap: 10px;
    }
    .brand {
        gap: 8px;
    }
    .brand-logo, .top .brand-logo, .trg-footer .brand-logo, .login-card .brand-logo {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        flex-basis: 52px;
    }
    .brand-copy strong {
        font-size: 11px;
        letter-spacing: .055em;
    }
    .brand-copy small {
        font-size: 6.5px;
        letter-spacing: .035em;
    }
    .trg-footer .brand {
        max-width: 100%;
    }
    .trg-footer .brand-copy {
        white-space: normal;
    }
}

/*Mobile layout correction — THE NEW HAUS (v4)*/

@media (max-width: 760px) {
    .trg-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    .trg-hero .hero-copy {
        padding: 38px 6vw 28px;
        min-width: 0;
    }
    .trg-hero .hero-image,
  .trg-hero .hero-image.trg-hero-image {
        height: clamp(230px, 56vw, 320px);
        min-height: 0;
        max-height: 320px;
        background-position: center 54%;
        background-size: cover;
    }
    .trg-hero .hero-note {
        right: 14px;
        bottom: 14px;
        min-width: 0;
        max-width: calc(100% - 28px);
        padding: 11px 13px;
    }
    .founder-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .founder-card .founder-photo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        object-fit: cover;
        object-position: center 24%;
    }
}

@media (max-width: 560px) {
    .trg-hero .hero-copy {
        padding: 32px 6vw 24px;
    }
    .trg-hero h1, .trg-hero .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        line-height: 1.08;
        margin-bottom: 15px;
    }
    .trg-hero .hero-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 19px;
    }
    .trg-hero .hero-actions {
        gap: 9px;
    }
    .trg-hero .hero-actions .button {
        flex: 1 1 145px;
        padding: 12px 13px;
        gap: 9px;
    }
    .trg-hero .hero-trust {
        gap: 6px;
        margin-top: 16px;
    }
    .trg-hero .hero-trust span {
        font-size: 9px;
        padding: 6px 8px;
    }
    .trg-hero .hero-image,
  .trg-hero .hero-image.trg-hero-image {
        height: clamp(205px, 58vw, 260px);
        min-height: 0;
        max-height: 260px;
        background-position: center 54%;
    }
    .trg-hero .hero-note {
        right: 10px;
        bottom: 10px;
        padding: 9px 11px;
        font-size: 10px;
    }
    .trg-hero .hero-note b {
        font-size: 11px;
    }
    .trg-about {
        padding: 44px 5vw;
    }
    .founder-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        width: 100%;
    }
    .founder-card .founder-photo {
        display: block !important;
        width: 100%;
        height: clamp(265px, 78vw, 330px);
        min-height: 265px;
        max-height: 330px;
        object-fit: cover;
        object-position: center 24%;
        background: #dce9e8;
    }
    .founder-card > div {
        padding: 19px 20px 22px;
    }
}

/*THE NEW HAUS mobile refinements v5: inset hero banner and stable founder portrait fallback*/

@media (max-width: 760px) {
    .trg-hero {
        overflow: hidden;
    }
    .trg-hero .hero-image,
  .trg-hero .hero-image.trg-hero-image {
        width: auto;
        height: clamp(180px, 42vw, 225px);
        min-height: 180px;
        max-height: 225px;
        margin: 0 14px 14px;
        border-radius: 13px;
        overflow: hidden;
        background-position: center 53%;
    }
    .founder-card {
        overflow: hidden;
    }
    .founder-card .founder-photo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 560px) {
    .trg-hero .hero-copy {
        padding: 30px 6vw 22px;
    }
    .trg-hero .hero-image,
  .trg-hero .hero-image.trg-hero-image {
        height: clamp(155px, 45vw, 190px);
        min-height: 155px;
        max-height: 190px;
        margin: 0 12px 12px;
        border-radius: 11px;
        background-position: center 53%;
    }
    .trg-hero .hero-note {
        right: 9px;
        bottom: 9px;
        max-width: calc(100% - 18px);
    }
    .trg-about {
        padding: 42px 5vw;
    }
    .founder-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .founder-card .founder-photo {
        height: clamp(265px, 76vw, 320px);
        min-height: 265px;
        max-height: 320px;
        object-fit: cover;
        object-position: center 24%;
    }
    .founder-card .founder-photo[src$="founder-placeholder.svg"],
  .founder-card .founder-photo[src*="founder-placeholder.svg?"] {
        object-fit: contain;
        padding: 12px;
        background: #edf3f2;
    }
}

/*THE NEW HAUS launch fixes v6*/

.legal-page {
    width: 100%;
}

.legal-page h1 {
    scroll-margin-top: 110px;
}

.top .menu-toggle[aria-expanded="true"] {
    border-color: var(--trg-teal);
    color: var(--trg-teal);
}

@media (max-width:760px) {
    .top nav.site-nav {
        z-index: 20;
        background: #fff;
    }
    .top nav.site-nav>a[aria-current="page"] {
        color: var(--trg-teal);
        font-weight: 800;
    }
}

/*THE NEW HAUS tablet navigation fix v6*/

@media (min-width:761px) and (max-width:850px) {
    .top {
        align-items: center;
        flex-wrap: wrap;
        position: relative;
    }
    .top .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    .top nav.site-nav {
        display: none;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 2px;
        border-top: 1px solid var(--trg-line);
        background: #fff;
    }
    .top nav.site-nav.is-open {
        display: flex;
    }
    .top nav.site-nav>a, .top nav.site-nav>a:not(.nav-cta) {
        display: block;
        padding: 12px 8px;
        border-bottom: 1px solid var(--trg-line);
    }
    .top nav.site-nav>a.nav-cta {
        margin-top: 8px;
        text-align: center;
    }
}

/*THE NEW HAUS — approved Option A: Premium Forest Green & Champagne*/

:root {
    --ink: #20342D;
    --muted: #68786E;
    --paper: #F7F4EC;
    --white: #FFFDF8;
    --line: #DEDCCF;
    --green: #10243A;
    --sand: #C8A96B;
    --trg-teal: #10243A;
    --trg-teal-hover: #0B1A2B;
    --trg-teal-bright: #315E4C;
    --trg-gold: #C8A96B;
    --trg-gold-soft: #F2E7CD;
    --trg-navy: #10243A;
    --trg-mist: #E4EBE4;
    --trg-mist-2: #F7F4EC;
    --trg-line: #DEDCCF;
    color-scheme: light;
}

body {
    background: var(--paper);
    color: var(--ink);
}

a:hover, .text-link:hover {
    color: #9A783E;
}

.top {
    background: #10243A !important;
    border-bottom: 1px solid rgba(200,169,107,.48) !important;
    box-shadow: 0 4px 18px rgba(16,36,58,.12);
}

.brand, .top .brand {
    color: #F7F4EC !important;
}

.brand-logo, .top .brand-logo, .trg-footer .brand-logo, .login-card .brand-logo {
    background: #F7F4EC;
    border: 2px solid #C8A96B;
    border-radius: 50%;
    padding: 1px;
    object-fit: cover;
}

.brand-copy strong, .top .brand-copy strong {
    color: #FFFDF8 !important;
}

.brand-copy small, .top .brand-copy small {
    color: #E5CC98 !important;
}

.top nav a:not(.nav-cta), .top .site-nav a:not(.nav-cta) {
    color: #F7F4EC !important;
}

.top nav a:not(.nav-cta):hover, .top .site-nav a:not(.nav-cta):hover {
    color: #E5CC98 !important;
}

.nav-cta, .top .nav-cta {
    color: #10243A !important;
    background: #C8A96B !important;
    border-color: #C8A96B !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.09);
}

.nav-cta:hover, .top .nav-cta:hover {
    color: #10243A !important;
    background: #D7BB83 !important;
    border-color: #D7BB83 !important;
}

.menu-toggle {
    background: transparent !important;
    border-color: rgba(247,244,236,.5) !important;
    color: #F7F4EC !important;
}

.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
    background: #F7F4EC !important;
}

.hero, .trg-hero .hero-copy {
    background: #F7F4EC !important;
}

.hero h1, .about h2, .section h2, .contact h2, .detail h1, .detail h2,
.blog-intro h1, .legal-page h1, .legal-page h2, .admin-wrap h1,
.admin-form h2, .inventory h2, .login-card h1 {
    color: #10243A !important;
}

.hero h1 em, .about h2 em {
    color: #9A783E !important;
}

.eyebrow, .project, .principles-grid article span, .service-card>span {
    color: #315E4C !important;
}

.hero-text, .muted, .location, .description {
    color: #68786E;
}

.hero-image, .hero-image.trg-hero-image {
    background-color: #E4EBE4;
}

.hero-note {
    background: #FFFDF8;
    color: #20342D;
    border-color: rgba(200,169,107,.55);
}

.dot {
    background: #C8A96B !important;
}

.button, button.button, input[type=submit] {
    background: #10243A;
    border-color: #10243A;
    color: #FFFDF8;
    border-radius: 8px;
}

.button:hover, button.button:hover, input[type=submit]:hover {
    background: #0B1A2B;
    border-color: #0B1A2B;
    color: #FFFDF8;
}

.button.dark {
    background: #10243A;
    border-color: #10243A;
    color: #FFFDF8;
}

.button.outline {
    color: #10243A;
    background: #FFFDF8;
    border-color: #C8C6B9;
}

.button.outline:hover {
    color: #10243A;
    background: #E4EBE4;
    border-color: #315E4C;
}

.hero-actions .button:first-child:not(.outline) {
    background: #C8A96B;
    border-color: #C8A96B;
    color: #10243A;
}

.hero-actions .button:first-child:not(.outline):hover {
    background: #D7BB83;
    border-color: #D7BB83;
    color: #10243A;
}

.hero-trust span {
    background: rgba(255,253,248,.94);
    border-color: #DEDCCF;
    color: #465C50;
}

.trust-row {
    background: #FFFDF8;
    border-color: #DEDCCF;
}

.trust-row div {
    border-left-color: #D7D4C7;
}

.trg-stats, .calculator-section, .trg-footer, .login-page {
    background: #10243A !important;
}

.trg-stats b, .calculator-section .eyebrow, .trg-footer .brand-copy small {
    color: #C8A96B !important;
}

.trg-stats span, .calculator-copy p:not(.eyebrow), .trg-footer {
    color: #E3E8DF;
}

.section {
    background: transparent;
}

.markets-section, .trg-about, .about {
    background: #E4EBE4 !important;
}

.market-card, .insight-card, .service-card, .property-card, .contact-form-wrap,
.calculator-card, .legal-page, .blog-card, .blog-article, .admin-form, .inventory,
.price-box, .tnh-detail-page .tnh-overview-card, .tnh-detail-page .tnh-info-panel {
    background-color: #FFFDF8;
    border-color: #DEDCCF;
    box-shadow: 0 8px 26px rgba(16,36,58,.045);
}

.market-card:hover {
    box-shadow: 0 12px 28px rgba(16,36,58,.10);
}

.market-icon, .specs span, .spec-chip, .roi-results, .tnh-detail-page .tnh-summary-icon,
.tnh-detail-page .tnh-panel-icon, .tnh-detail-page .tnh-fact-icon,
.tnh-detail-page .tnh-property-feature {
    background: #E4EBE4;
    color: #10243A;
}

.property-card h3, .card-body h3 a, .tnh-detail-page .tnh-property-intro h1 {
    color: #10243A;
}

.property-card h3 a:hover, .card-body h3 a:hover {
    color: #9A783E;
}

.status, .tnh-detail-page .tnh-status-badge {
    background: #10243A;
    color: #FFFDF8;
}

.marketing-status-badge.is-resale {
    background: #10243A;
    border-color: #10243A;
    color: #FFFDF8;
}

.marketing-status-badge.is-new-launch {
    background: #C8A96B;
    border-color: #C8A96B;
    color: #10243A;
}

.marketing-status-badge.is-ready {
    background: #E4EBE4;
    border: 1px solid #C4D2C4;
    color: #10243A;
}

.marketing-status-badge.is-under-construction {
    background: #63766A;
    border-color: #63766A;
    color: #FFFDF8;
}

.tnh-detail-page .tnh-floor-tab.is-active {
    background: #10243A;
    border-color: #10243A;
    color: #FFFDF8;
}

.tnh-detail-page .tnh-breadcrumb a, .contact-details a:not(.button) {
    color: #315E4C;
}

.tnh-detail-page .gallery-view-all {
    color: #10243A;
    border-color: #DEDCCF;
}

.tnh-detail-page .gallery-view-all:hover {
    background: #E4EBE4;
}

.card-bottom, .card-bottom hr, .legal-page hr {
    border-color: #DEDCCF;
}

.filters input, .filters select, input, select, textarea,
.enquiry-form input:not([type=hidden]), .enquiry-form textarea, .enquiry-form select,
.calculator-card input {
    border-color: #D5D4C8;
    background: #FFFDF8;
    color: #20342D;
}

.filters input:focus, .filters select:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(200,169,107,.24);
    border-color: #9A783E;
}

:focus-visible {
    outline: 3px solid rgba(200,169,107,.95);
    outline-offset: 3px;
}

.roi-results strong {
    color: #10243A;
}

.trg-footer {
    border-top: 1px solid rgba(200,169,107,.42);
}

.trg-footer a:not(.brand):hover {
    color: #E5CC98 !important;
}

.trg-footer .brand {
    background: transparent !important;
}

.trg-footer .brand-logo {
    background: #F7F4EC;
}

.admin-section-number, .source-import-panel .admin-section-number {
    background: #10243A;
}

.source-import-panel {
    background: linear-gradient(135deg,#E4EBE4,#FFFDF8);
    border-color: #D0D9CE;
}

.source-import-overwrite {
    background: #F2E7CD;
    border-color: #D8BF86;
    color: #5D4B1E;
}

.notice {
    background: #E4EBE4;
    border-color: #C4D2C4;
    color: #204B38;
}

.pill {
    background: #E4EBE4;
    color: #10243A;
}

.floor-plan-manage-card, .sortable-photo-grid .sortable-photo-item, .description-option-card {
    border-color: #DEDCCF;
}

.photo-drag-handle, .floor-plan-drag-handle, .move-photo-up, .move-photo-down,
.move-floor-plan-up, .move-floor-plan-down {
    border-color: #C4D2C4;
    background: #E4EBE4;
    color: #10243A;
}

.sortable-photo-item.drag-over-before, .sortable-floor-plan-card.drag-over-before,
.admin-section-fields .configuration-row.drag-over-before {
    border-color: #315E4C;
    box-shadow: inset 3px 0 0 #315E4C;
}

.sortable-photo-item.drag-over-after, .sortable-floor-plan-card.drag-over-after,
.admin-section-fields .configuration-row.drag-over-after {
    border-color: #315E4C;
    box-shadow: inset -3px 0 0 #315E4C;
}

.login-card {
    background: #FFFDF8;
    border-color: #DEDCCF;
}

.login-lockout-countdown {
    background: #F2E7CD;
    border-color: #C8A96B;
    color: #10243A;
}

.error, .danger-link {
    color: #9A3535;
}

/*Keep the compact mobile navigation readable against the forest header.*/

@media (max-width: 850px) {
    .top nav.site-nav {
        background: #10243A !important;
        border-color: rgba(200,169,107,.45) !important;
    }
    .top nav.site-nav > a, .top nav.site-nav > a:not(.nav-cta) {
        color: #F7F4EC !important;
        border-color: rgba(247,244,236,.18) !important;
    }
    .top nav.site-nav > a.nav-cta {
        color: #10243A !important;
        background: #C8A96B !important;
    }
}

@media (max-width: 560px) {
    .hero-copy {
        background: #F7F4EC !important;
    }
    .hero-actions .button:first-child:not(.outline) {
        color: #10243A;
    }
    .trg-footer .brand-copy strong {
        color: #FFFDF8 !important;
    }
}

/*THE NEW HAUS v7 — match approved Option A reference: forest header + full-bleed hero*/

:root {
    --trg-forest: #10243A;
    --trg-forest-deep: #0B1A2B;
    --trg-ivory: #F7F4EC;
    --trg-champagne: #C8A96B;
    --trg-sage: #E4EBE4;
    --trg-body: #68786E;
    --trg-border: #DEDCCF;
}

.top {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    height: auto;
    gap: 28px;
    padding: 12px clamp(20px,5.2vw,82px);
    background: var(--trg-forest) !important;
    border: 0 !important;
    border-bottom: 2px solid rgba(200,169,107,.75) !important;
    box-shadow: 0 6px 22px rgba(10,35,29,.12);
    border-radius: 0;
}

.top .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--trg-ivory) !important;
}

.top .brand-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--trg-ivory);
    border: 2px solid var(--trg-champagne);
    padding: 1px;
}

.top .brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.12;
    white-space: nowrap;
}

.top .brand-copy strong {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: .095em;
    font-weight: 800;
    color: #FFFDF8 !important;
}

.top .brand-copy small {
    margin: 0;
    font-size: 7px;
    letter-spacing: .09em;
    color: #E5CC98 !important;
}

.top nav.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px,1.5vw,24px);
    min-width: 0;
    white-space: nowrap;
}

.top nav.site-nav>a:not(.nav-cta) {
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    color: #F7F4EC !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 0 !important;
    background: transparent !important;
    transition: color .18s ease;
}

.top nav.site-nav>a:not(.nav-cta):hover,.top nav.site-nav>a[aria-current="page"]:not(.nav-cta) {
    color: #E5CC98 !important;
}

.top nav.site-nav>a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 11px 21px;
    border: 1px solid var(--trg-champagne) !important;
    border-radius: 7px;
    background: var(--trg-champagne) !important;
    color: var(--trg-forest) !important;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

.top nav.site-nav>a.nav-cta:hover {
    background: #D7BB83 !important;
    border-color: #D7BB83 !important;
    color: var(--trg-forest) !important;
}

.top .menu-toggle {
    display: none;
    border: 1px solid rgba(247,244,236,.55) !important;
    color: var(--trg-ivory) !important;
    background: transparent !important;
    border-radius: 7px;
}

.top .menu-toggle span {
    background: var(--trg-ivory) !important;
}

/*Full-width photographic hero. The image is no longer a separate half-panel.*/

.trg-hero {
    position: relative !important;
    isolation: isolate;
    display: block !important;
    grid-template-columns: none !important;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto 0;
    min-height: clamp(500px,43vw,650px);
    background: var(--trg-forest) !important;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
}

.trg-hero .trg-hero-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    pointer-events: none;
    background-color: var(--trg-forest) !important;
    background-image: linear-gradient(90deg,rgba(13,43,35,.96) 0%,rgba(16,36,58,.88) 31%,rgba(16,36,58,.60) 50%,rgba(16,36,58,.16) 76%,rgba(16,36,58,.08) 100%),url('assets/trg-hero-banner.webp?v=trg-hero-v8-gap-20261026') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 52% !important;
}

.trg-hero .hero-copy {
    position: relative !important;
    z-index: 1;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(72%,930px);
    max-width: 930px;
    min-height: clamp(500px,43vw,650px);
    padding: 70px clamp(24px,8vw,128px) !important;
    margin: 0;
    background: transparent !important;
}

.trg-hero .hero-copy .eyebrow {
    color: #E5CC98 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    margin: 0 0 21px;
}

.trg-hero .hero-copy h1 {
    max-width: 790px;
    margin: 0 0 22px;
    color: #FFFDF8 !important;
    font-family: var(--serif);
    font-size: clamp(44px,5.2vw,76px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.trg-hero .hero-copy h1 em {
    color: var(--trg-champagne) !important;
    font-style: italic;
}

.trg-hero .hero-text {
    max-width: 570px;
    margin: 0 0 27px;
    color: rgba(255,253,248,.88) !important;
    font-size: clamp(15px,1.25vw,18px);
    line-height: 1.75;
}

.trg-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.trg-hero .hero-actions .button {
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 800;
}

.trg-hero .hero-actions .button:first-child:not(.outline) {
    background: var(--trg-champagne) !important;
    border-color: var(--trg-champagne) !important;
    color: var(--trg-forest) !important;
}

.trg-hero .hero-actions .button:first-child:not(.outline):hover {
    background: #D7BB83 !important;
    border-color: #D7BB83 !important;
}

.trg-hero .hero-actions .button.outline {
    background: rgba(16,36,58,.16) !important;
    color: #FFFDF8 !important;
    border: 1px solid rgba(255,253,248,.75) !important;
    box-shadow: none;
}

.trg-hero .hero-actions .button.outline:hover {
    background: rgba(255,253,248,.12) !important;
}

.trg-hero .hero-trust,.trg-hero .hero-note {
    display: none !important;
}

/*Keep the same navigation hierarchy and photograph-first hero on tablet/mobile.*/

@media (max-width:1080px) {
    .top {
        flex-wrap: wrap;
        min-height: 76px;
        gap: 10px;
        padding: 11px 22px;
    }
    .top .menu-toggle {
        display: flex !important;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 44px;
        height: 42px;
        padding: 9px;
        cursor: pointer;
        flex: 0 0 auto;
    }
    .top nav.site-nav {
        display: none;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 0 4px;
        border-top: 1px solid rgba(200,169,107,.42);
        background: var(--trg-forest) !important;
        white-space: normal;
    }
    .top nav.site-nav.is-open {
        display: flex !important;
    }
    .top nav.site-nav>a:not(.nav-cta) {
        display: flex;
        justify-content: flex-start;
        padding: 13px 8px;
        border-bottom: 1px solid rgba(247,244,236,.16) !important;
        color: var(--trg-ivory) !important;
    }
    .top nav.site-nav>a.nav-cta {
        margin: 10px 0 0;
        align-self: flex-start;
        min-width: 145px;
    }
    .trg-hero {
        min-height: 560px;
        border-radius: 0 0 15px 15px;
    }
    .trg-hero .hero-copy {
        width: 76%;
        min-height: 560px;
        padding: 60px clamp(24px,6vw,68px) !important;
    }
    .trg-hero .trg-hero-image {
        background-image: linear-gradient(90deg,rgba(13,43,35,.95) 0%,rgba(16,36,58,.85) 42%,rgba(16,36,58,.48) 72%,rgba(16,36,58,.26) 100%),url('assets/trg-hero-banner.webp?v=trg-hero-v8-gap-20261026') !important;
        background-position: 60% center !important;
    }
}

@media (max-width:600px) {
    .top {
        padding: 10px 15px;
        min-height: 70px;
        gap: 8px;
    }
    .top .brand {
        gap: 9px;
        max-width: calc(100% - 58px);
    }
    .top .brand-logo {
        width: 43px !important;
        height: 43px !important;
        max-width: 43px !important;
        flex-basis: 43px;
    }
    .top .brand-copy strong {
        font-size: 11px;
        letter-spacing: .07em;
    }
    .top .brand-copy small {
        font-size: 6.4px;
        letter-spacing: .035em;
    }
    .trg-hero {
        margin: 0 10px 18px;
        width: calc(100% - 20px);
        min-height: 0;
        height: auto;
        border-radius: 14px;
    }
    .trg-hero .hero-copy {
        width: 100%;
        min-height: 490px;
        padding: 36px 23px 30px !important;
        justify-content: center;
    }
    .trg-hero .hero-copy .eyebrow {
        font-size: 9px;
        letter-spacing: .13em;
        margin-bottom: 15px;
    }
    .trg-hero .hero-copy h1 {
        font-size: clamp(35px,9.4vw,45px);
        line-height: 1.045;
        margin-bottom: 16px;
        letter-spacing: -.04em;
    }
    .trg-hero .hero-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 21px;
        max-width: 380px;
    }
    .trg-hero .hero-actions {
        gap: 9px;
        width: 100%;
    }
    .trg-hero .hero-actions .button {
        min-height: 44px;
        flex: 0 1 auto;
        padding: 12px 13px;
        font-size: 12px;
    }
    .trg-hero .hero-actions .button.outline {
        background: rgba(16,36,58,.34) !important;
    }
    .trg-hero .trg-hero-image {
        background-image: linear-gradient(180deg,rgba(13,43,35,.62) 0%,rgba(16,36,58,.78) 43%,rgba(16,36,58,.95) 100%),url('assets/trg-hero-banner.webp?v=trg-hero-v8-gap-20261026') !important;
        background-position: 63% center !important;
        background-size: cover !important;
    }
}

/*THE NEW HAUS v8: clear market filter on browser refresh + separate hero from header.*/

.trg-hero {
    width: calc(100% - clamp(32px, 4.8vw, 80px)) !important;
    max-width: 1560px !important;
    margin: 22px auto 22px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

.trg-hero .trg-hero-image {
    border-radius: inherit !important;
}

@media (max-width: 1080px) {
    .trg-hero {
        width: calc(100% - 32px) !important;
        margin: 18px auto 20px !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 600px) {
    .trg-hero {
        width: calc(100% - 24px) !important;
        margin: 14px auto 18px !important;
        border-radius: 14px !important;
    }
}

/*Unified public footer: same business identity and social icons on every public page.*/

.trg-footer-global {
    display: grid !important;
    grid-template-columns: minmax(205px, 1.05fr) minmax(280px, 1.35fr) minmax(210px, 1fr) minmax(130px, .55fr);
    align-items: start !important;
    justify-content: initial !important;
    gap: 26px 32px !important;
    padding: 34px clamp(20px, 5vw, 76px) !important;
    background: #10243A !important;
    color: #F7F4EC !important;
    border-top: 1px solid rgba(200,169,107,.55);
}

.trg-footer-global .trg-footer-brand-block {
    min-width: 0;
}

.trg-footer-global .brand.trg-footer-brand {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    width: auto;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    text-decoration: none;
}

.trg-footer-global .brand-logo {
    display: block;
    width: 62px !important;
    height: 62px !important;
    min-width: 62px;
    max-width: 62px !important;
    object-fit: contain;
    border-radius: 50%;
    background: #F7F4EC;
}

.trg-footer-global .brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    white-space: normal;
}

.trg-footer-global .brand-copy strong {
    color: #FFFDF8 !important;
    font-size: 14px;
    letter-spacing: .09em;
    line-height: 1.35;
}

.trg-footer-global .brand-copy small {
    color: #C8A96B !important;
    font-size: 9px;
    letter-spacing: .08em;
    line-height: 1.45;
}

.trg-footer-global .trg-footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #F7F4EC;
    font-size: 12px;
    line-height: 1.5;
}

.trg-footer-global .trg-footer-copyright strong {
    color: #FFFDF8;
    font-weight: 750;
    letter-spacing: .02em;
}

.trg-footer-global .trg-footer-copyright span {
    color: #D7E0D9;
}

.trg-footer-global .trg-footer-business {
    font-style: normal;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.trg-footer-global .trg-footer-business p {
    margin: 0;
    color: #E4ECE5;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.trg-footer-global .trg-footer-business strong {
    color: #FFFDF8;
    font-weight: 700;
}

.trg-footer-global .trg-footer-business a {
    color: #E7D0A1 !important;
    font-size: 13px !important;
    text-decoration: none;
}

.trg-footer-global .trg-footer-business a:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.trg-footer-global .trg-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 11px 18px;
    min-width: 0;
}

.trg-footer-global .trg-footer-nav a {
    color: #F1F3EB !important;
    font-size: 12px !important;
    line-height: 1.5;
    text-decoration: none;
}

.trg-footer-global .trg-footer-nav a:hover {
    color: #C8A96B !important;
}

.trg-footer-global .trg-footer-social-block {
    min-width: 0;
}

.trg-footer-global .trg-footer-social-heading {
    margin: 0 0 12px;
    color: #FFFDF8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trg-footer-global .trg-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.trg-footer-global .social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border: 1px solid rgba(247,244,236,.45);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #FFFDF8 !important;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    font-size: 18px !important;
    line-height: 1;
}

.trg-footer-global .social-icon:hover {
    color: #10243A !important;
    background: #C8A96B;
    border-color: #C8A96B;
}

.trg-footer-global .social-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.trg-footer-global .social-icon-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 750;
    line-height: 1;
}

.trg-footer-global .social-icon-letter-facebook {
    font-family: Arial, sans-serif;
    font-size: 22px;
}

@media (max-width: 1050px) {
    .trg-footer-global {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        gap: 26px 36px !important;
    }
    .trg-footer-global .trg-footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .trg-footer-global {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px !important;
        padding: 30px 20px !important;
    }
    .trg-footer-global .trg-footer-brand {
        align-items: center;
    }
    .trg-footer-global .brand-logo {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px;
        max-width: 56px !important;
    }
    .trg-footer-global .brand-copy strong {
        font-size: 13px;
    }
    .trg-footer-global .trg-footer-business p {
        font-size: 13px;
    }
    .trg-footer-global .trg-footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }
    .trg-footer-global .social-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/*Footer repair v2 (2026-10-26): one shared, readable layout on every public page.*/

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] {
    display: grid !important;
    width: 100%;
    grid-template-columns: minmax(225px, .95fr) minmax(330px, 1.45fr) minmax(285px, 1.1fr) minmax(150px, .58fr);
    align-items: start !important;
    justify-content: initial !important;
    gap: 22px 30px !important;
    padding: 24px clamp(22px, 5vw, 76px) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(200,169,107,.5) !important;
    background: #10243A !important;
    color: #F7F4EC !important;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.5;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-brand-block,
footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business,
footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav,
footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-social-block {
    min-width: 0;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .brand.trg-footer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 100%;
    margin: 0 0 14px !important;
    padding: 0 !important;
    gap: 10px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-decoration: none;
    box-shadow: none !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-brand .brand-logo {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 50%;
    object-fit: contain;
    background: #F7F4EC;
    padding: 2px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .brand-copy {
    display: flex !important;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    white-space: normal;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .brand-copy strong {
    display: block;
    color: #FFFDF8 !important;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .075em;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .brand-copy small {
    display: block;
    color: #C8A96B !important;
    font-size: 8px !important;
    line-height: 1.4;
    letter-spacing: .055em;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-copyright {
    display: flex !important;
    flex-direction: column;
    gap: 3px;
    margin: 0 !important;
    color: #F7F4EC !important;
    font-size: 11px !important;
    line-height: 1.45;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-copyright strong {
    display: block;
    color: #FFFDF8 !important;
    font-size: 11px;
    font-weight: 750;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-copyright span {
    display: block;
    color: #D7E0D9 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-style: normal;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business p {
    margin: 0 !important;
    color: #E4ECE5 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business strong {
    color: #FFFDF8 !important;
    font-weight: 700;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business a {
    display: inline-block;
    color: #E7D0A1 !important;
    font-size: 12px !important;
    line-height: 1.5;
    text-decoration: none;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-business a:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav a {
    display: inline-block;
    color: #F1F3EB !important;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    white-space: normal;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav a:hover {
    color: #C8A96B !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-social-heading {
    display: block;
    margin: 0 0 10px !important;
    color: #FFFDF8 !important;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .055em;
    text-transform: uppercase;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-social-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 38px;
    height: auto !important;
    padding: 8px 13px !important;
    border: 1px solid rgba(247,244,236,.75) !important;
    border-radius: 999px !important;
    background: #F7F4EC !important;
    color: #10243A !important;
    font-size: 12px !important;
    font-weight: 650;
    line-height: 1.2 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon:hover,
footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon:focus-visible {
    background: #C8A96B !important;
    border-color: #C8A96B !important;
    color: #10243A !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon-svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    flex: 0 0 18px;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon-label {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: currentColor !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon-letter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: currentColor !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

@media (max-width: 1150px) {
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 20px 28px !important;
        padding: 24px 28px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 620px) {
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] {
        grid-template-columns: minmax(0,1fr);
        gap: 18px !important;
        padding: 22px 18px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .brand.trg-footer-brand {
        margin-bottom: 10px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-nav {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px 16px;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .trg-footer-social-heading {
        margin-bottom: 8px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v2"] .social-icon {
        min-height: 40px;
    }
}

/*Admin form time-saving controls (added 2026-10-26).*/

.amenity-select-all {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem;
    margin: .6rem 0 .85rem;
    border: 1px solid var(--line, #d8ded7);
    border-radius: .75rem;
    background: var(--trg-sage, #e4ebe4);
    color: var(--trg-forest, #10243A);
    font-weight: 700;
}

.amenity-select-all input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--trg-forest, #10243A);
}

.property-title-label {
    margin-top: .45rem;
}

/*Brochure/content helpers: amenity suggestions on the left, description generator on the right.*/

.admin-section-fields .content-helper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
    width: 100%;
    margin-top: 14px;
}

.admin-section-fields .content-helper-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #dce7dd;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.admin-section-fields .content-helper-panel-heading h4 {
    margin: 0;
    color: #10243A;
    font-size: 15px;
}

.admin-section-fields .content-helper-panel-heading p {
    margin: 5px 0 0;
    line-height: 1.5;
}

.admin-section-fields .content-helper-panel > .button,
.admin-section-fields .content-helper-panel .amenity-suggestions > .button {
    align-self: flex-start;
}

.admin-section-fields .amenity-suggestions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    min-width: 0;
}

.admin-section-fields .amenity-suggestions[hidden] {
    display: none !important;
}

.admin-section-fields .amenity-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-section-fields .amenity-select-all {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e6d5ae;
    border-radius: 9px;
    background: #fbf6ea;
    color: #10243A;
}

.admin-section-fields .amenity-select-all input {
    width: auto;
}

.admin-section-fields .description-helper-panel .description-options {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
}

.admin-section-fields .description-helper-panel .description-option-card {
    min-width: 0;
}

#content-helper-status {
    margin: 12px 0 0;
}

@media (max-width: 760px) {
    .admin-section-fields .content-helper-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .admin-section-fields .content-helper-panel > .button,
  .admin-section-fields .content-helper-panel .amenity-suggestions > .button {
        width: 100%;
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 460px) {
    .admin-section-fields .amenity-check-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/*Property detail: suggested-property slider. One full-width card is visible at a time.*/

.trg-suggested-properties {
    min-width: 0;
    overflow: hidden;
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid #e3e7df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(28,39,37,.035);
}

.trg-suggested-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
}

.trg-suggested-head .eyebrow {
    margin: 0 0 5px;
    color: #76877b;
    font-size: 9px;
    letter-spacing: .14em;
}

.trg-suggested-head h2 {
    margin: 0 0 5px;
    color: #10243A;
    font: 600 22px/1.15 var(--serif);
}

.trg-suggested-head p:last-child {
    margin: 0;
    color: #6d7972;
    font-size: 11px;
    line-height: 1.5;
}

.trg-suggested-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
}

.trg-suggested-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d6ded6;
    border-radius: 50%;
    background: #f7f4ec;
    color: #10243A;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.trg-suggested-controls button:hover:not(:disabled),
.trg-suggested-controls button:focus-visible {
    border-color: #10243A;
    background: #10243A;
    color: #fffdf8;
}

.trg-suggested-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.trg-suggested-track {
    display: flex;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 1px 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.trg-suggested-track::-webkit-scrollbar {
    display: none;
}

.trg-suggested-card {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: none;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid #e1e6df;
    border-radius: 10px;
    background: #fff;
    text-decoration: none !important;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.trg-suggested-card:hover,
.trg-suggested-card:focus-visible {
    transform: none;
    border-color: #c8a96b;
    box-shadow: 0 8px 22px rgba(16,36,58,.12);
}

.trg-suggested-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e4ebe4;
}

.trg-suggested-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.trg-suggested-card:hover .trg-suggested-image img {
    transform: scale(1.035);
}

.trg-suggested-image > span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(16,36,58,.92);
    color: #fffdf8;
    font-size: 9px;
    font-weight: 700;
}

.trg-suggested-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: clamp(14px, 2.2vw, 22px);
}

.trg-suggested-card-body .eyebrow {
    overflow: hidden;
    margin: 0 0 5px;
    color: #76877b;
    font-size: 10px;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.trg-suggested-card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 0;
    margin: 0 0 7px;
    color: #10243A;
    font: 600 clamp(19px, 2.2vw, 27px)/1.25 var(--serif);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.trg-suggested-location {
    min-height: 0;
    margin: 0 0 10px;
    color: #657269;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.trg-suggested-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #e9ede7;
}

.trg-suggested-meta strong {
    color: #10243A;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.trg-suggested-meta span {
    color: #66736b;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.trg-suggested-area {
    display: block;
    margin-top: 6px;
    color: #748078;
    font-size: 12px;
}

@media (max-width: 760px) {
    .trg-suggested-properties {
        margin-top: 14px;
        padding: 14px;
    }
    .trg-suggested-head h2 {
        font-size: 20px;
    }
    .trg-suggested-card {
        flex-basis: 100%;
        min-width: 100%;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trg-suggested-track {
        scroll-behavior: auto;
    }
    .trg-suggested-card,
  .trg-suggested-image img,
  .trg-suggested-controls button {
        transition: none;
    }
}

/*Footer v4: contact left, compact vertical utility links centre, social icons right.*/

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(130px, .55fr) minmax(180px, .7fr) !important;
    align-items: center !important;
    gap: 18px clamp(24px, 4vw, 64px) !important;
    width: 100%;
    margin: 0 !important;
    padding: 22px clamp(24px, 5vw, 72px) 18px !important;
    border-top: 1px solid rgba(200,169,107,.62) !important;
    border-radius: 0 !important;
    background: #10243A !important;
    color: #F7F4EC !important;
    box-sizing: border-box;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-contact-block,
footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business,
footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav,
footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-block {
    min-width: 0;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    margin: 0 !important;
    font-style: normal;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business p {
    margin: 0 !important;
    color: #E4ECE5 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business .trg-footer-person strong {
    color: #FFFDF8 !important;
    font-weight: 750;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business .trg-footer-person span {
    color: #D7E0D9 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business .trg-footer-contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business a {
    color: #E7D0A1 !important;
    font-size: 12px !important;
    text-decoration: none !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-business a:hover {
    color: #FFFDF8 !important;
    text-decoration: underline !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-copyright {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin: 0 !important;
    color: #D7E0D9 !important;
    font-size: 10px !important;
    line-height: 1.4;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-copyright strong {
    color: #FFFDF8 !important;
    font-size: 10px !important;
    font-weight: 750;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-copyright span {
    color: #D7E0D9 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 0 !important;
    padding: 0 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav-heading {
    display: block;
    margin: 0 0 2px;
    color: #C8A96B;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .11em;
    font-weight: 800;
    text-transform: uppercase;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav a {
    display: inline-block;
    color: #E4ECE5 !important;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav a:hover {
    color: #C8A96B !important;
    text-decoration: underline !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-heading {
    display: block;
    margin: 0 !important;
    color: #FFFDF8 !important;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.13);
    transition: transform .18s ease,box-shadow .18s ease;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon:hover,
footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,.23);
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 2px;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    flex: 0 0 20px;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-instagram {
    background: linear-gradient(135deg,#833AB4 0%,#C13584 42%,#E1306C 67%,#FCAF45 100%) !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-linkedin {
    background: #0A66C2 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-youtube {
    background: #FF0033 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-facebook {
    background: #0866FF !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-threads {
    background: #111111 !important;
}

footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon-x {
    background: #000000 !important;
}

@media (max-width:900px) {
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] {
        grid-template-columns: minmax(0,1.4fr) minmax(125px,.6fr) !important;
        gap: 20px 28px !important;
        padding: 22px 28px 18px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-block {
        grid-column: 1/-1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 20px;
    }
}

@media (max-width:560px) {
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 18px !important;
        padding: 22px 20px !important;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-nav {
        gap: 8px;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-block {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .trg-footer-social-links {
        gap: 9px;
    }
}

@media (prefers-reduced-motion:reduce) {
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon {
        transition: none;
    }
    footer.trg-footer-global[data-footer-version="2026-10-26-v4"] .social-icon:hover {
        transform: none;
    }
}

/*Sales Expert card — property sidebar, directly above the enquiry form*/

.tnh-detail-page .tnh-sales-expert-card {
    min-width: 0;
    margin: 0 0 14px;
    padding: 16px;
    border: 1px solid var(--trg-champagne, #c8a96b);
    border-radius: 13px;
    background: linear-gradient(145deg, #fffdf7 0%, #ffffff 72%);
    box-shadow: 0 8px 24px rgba(16, 36, 58, .075);
    color: var(--ink, #10243A);
}

.tnh-detail-page .tnh-sales-expert-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.tnh-detail-page .tnh-sales-expert-kicker {
    color: var(--trg-forest, #10243A);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tnh-detail-page .tnh-sales-expert-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(200, 169, 107, .45);
    border-radius: 999px;
    background: #f6edd9;
    color: #6c5424;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
}

.tnh-detail-page .tnh-sales-expert-profile {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tnh-detail-page .tnh-sales-expert-photo {
    display: block;
    width: 104px;
    height: 128px;
    object-fit: cover;
    object-position: center 18%;
    border: 1px solid #e1e4dc;
    border-radius: 9px;
    background: #edf0e9;
}

.tnh-detail-page .tnh-sales-expert-copy {
    min-width: 0;
}

.tnh-detail-page .tnh-sales-expert-copy h2 {
    margin: 0;
    color: var(--trg-forest, #10243A);
    font-family: var(--sans, Arial, sans-serif);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.tnh-detail-page .tnh-sales-expert-role {
    margin: 4px 0 0;
    color: #856b36;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.tnh-detail-page .tnh-sales-expert-description {
    margin: 8px 0 0;
    color: #68786e;
    font-size: 11px;
    line-height: 1.45;
}

.tnh-detail-page .tnh-sales-expert-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.tnh-detail-page .tnh-sales-expert-actions a {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-family: var(--sans, Arial, sans-serif);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.tnh-detail-page .tnh-sales-expert-actions a:hover {
    transform: translateY(-1px);
}

.tnh-detail-page .tnh-sales-expert-actions a svg {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tnh-detail-page .tnh-sales-expert-call {
    background: var(--trg-forest, #10243A);
    border-color: var(--trg-forest, #10243A);
    color: #fff !important;
}

.tnh-detail-page .tnh-sales-expert-call:hover {
    background: var(--trg-forest-deep, #0B1A2B);
    border-color: var(--trg-forest-deep, #0B1A2B);
}

.tnh-detail-page .tnh-sales-expert-whatsapp {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

.tnh-detail-page .tnh-sales-expert-whatsapp svg {
    color: #fff !important;
}

.tnh-detail-page .tnh-sales-expert-whatsapp:hover {
    background: #1DA851 !important;
    border-color: #1DA851 !important;
    color: #fff !important;
}

@media (max-width: 560px) {
    .tnh-detail-page .tnh-sales-expert-card {
        padding: 13px;
    }
    .tnh-detail-page .tnh-sales-expert-profile {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
    }
    .tnh-detail-page .tnh-sales-expert-photo {
        width: 88px;
        height: 112px;
    }
    .tnh-detail-page .tnh-sales-expert-copy h2 {
        font-size: 17px;
    }
    .tnh-detail-page .tnh-sales-expert-actions {
        gap: 7px;
    }
    .tnh-detail-page .tnh-sales-expert-actions a {
        padding: 9px 7px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tnh-detail-page .tnh-sales-expert-actions a {
        transition: none;
    }
    .tnh-detail-page .tnh-sales-expert-actions a:hover {
        transform: none;
    }
}

/*THE NEW HAUS — Modern Luxury theme (ivory, midnight navy, antique gold).*/

:root {
    --ink: #10243A;
    --muted: #627083;
    --paper: #F7F5EF;
    --white: #FFFFFF;
    --line: #E4DED2;
    --green: #A77A2E;
    --sand: #E9DDC8;
    --serif: 'Playfair Display',Georgia,serif;
    --sans: 'DM Sans',Arial,sans-serif;
    --trg-forest: #10243A;
    --trg-forest-deep: #0B1A2B;
    --trg-ivory: #F7F5EF;
    --trg-champagne: #A77A2E;
    --trg-sage: #F0E9DB;
    --trg-body: #536176;
    --trg-border: #DED5C5;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F7F5EF;
    color: #10243A;
}

a {
    color: inherit;
}

.top {
    height: auto;
    min-height: 74px;
    padding: 10px clamp(18px,4vw,58px);
    gap: 18px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #E4DED2;
    box-shadow: 0 4px 24px rgba(16,36,58,.04);
    position: relative;
    z-index: 20;
}

.brand {
    gap: 11px;
    letter-spacing: .04em;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 50px !important;
    height: 50px !important;
    max-width: none;
    object-fit: contain;
}

.brand-copy strong {
    display: block;
    color: #10243A;
    font: 700 20px/1.15 var(--serif);
    letter-spacing: .07em;
    white-space: nowrap;
}

.brand-copy small {
    display: block;
    margin-top: 4px;
    color: #A77A2E;
    font: 700 9px/1.2 var(--sans);
    letter-spacing: .22em;
}

.top nav.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px,1.6vw,24px);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.top nav>a:not(.nav-cta):hover,.text-link:hover {
    color: #A77A2E;
}

.nav-cta {
    background: #A77A2E;
    color: #fff !important;
    border: 1px solid #A77A2E;
    border-radius: 4px;
    padding: 11px 15px;
}

.newhaus-header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    color: #10243A;
    white-space: nowrap;
}

.newhaus-header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.newhaus-header-contact a:hover {
    color: #A77A2E;
}

.button {
    background: #A77A2E;
    border-color: #A77A2E;
    color: #fff;
    border-radius: 5px;
    box-shadow: none;
}

.button:hover {
    background: #8E6726;
    border-color: #8E6726;
}

.button.dark {
    background: #10243A;
    border-color: #10243A;
}

.button.dark:hover {
    background: #0B1A2B;
    border-color: #0B1A2B;
}

.button.outline {
    background: transparent;
    color: #10243A;
    border-color: #C8B58B;
}

.button.outline:hover {
    background: #F2EBD9;
}

.eyebrow {
    color: #A77A2E;
    letter-spacing: .18em;
}

.muted {
    color: #627083;
}

.text-link {
    color: #245E91;
}

.newhaus-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 405px;
    overflow: hidden;
    background: #10243A;
}

.newhaus-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: linear-gradient(90deg,rgba(11,26,43,.93) 0%,rgba(11,26,43,.72) 30%,rgba(11,26,43,.22) 68%,rgba(11,26,43,.04) 100%),url('assets/new-haus-hero-v2.webp?v=20261027') center 53%/cover no-repeat;
}

.newhaus-hero .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 62px clamp(28px,6vw,88px) 78px;
    color: #fff;
    align-self: center;
}

.newhaus-hero .hero-copy .eyebrow {
    color: #E2C58C;
}

.newhaus-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(42px,5.2vw,68px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.newhaus-hero h1 em {
    color: #D0A14D;
    font-style: normal;
}

.newhaus-hero .hero-text {
    max-width: 520px;
    color: #F1F2F3;
    font-size: 15px;
    line-height: 1.65;
}

.newhaus-hero .button.outline {
    border-color: rgba(255,255,255,.58);
    color: #fff;
}

.newhaus-hero .button.outline:hover {
    background: rgba(255,255,255,.1);
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-trust span {
    font-size: 10px;
    color: #F6E5BE;
    background: rgba(12,31,52,.46);
    border: 1px solid rgba(232,207,155,.32);
    border-radius: 3px;
    padding: 7px 10px;
}

.newhaus-search-wrap {
    position: relative;
    z-index: 5;
    width: min(1320px,calc(100% - 48px));
    margin: -32px auto 0;
}

.newhaus-search-panel {
    background: #fff;
    border: 1px solid #E4DED2;
    border-radius: 9px;
    box-shadow: 0 12px 36px rgba(16,36,58,.14);
    padding: 17px 20px 18px;
}

.newhaus-search-intro {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 12px;
}

.newhaus-search-intro strong {
    font: 600 18px/1.2 var(--serif);
    color: #10243A;
}

.newhaus-search-intro span {
    font-size: 11px;
    color: #627083;
}

.newhaus-search-panel .filters {
    display: grid;
    grid-template-columns: minmax(180px,1.5fr) minmax(160px,1fr) auto;
    gap: 12px;
    margin: 0;
    align-items: center;
}

.newhaus-search-panel .filters input,.newhaus-search-panel .filters select {
    width: 100%;
    min-height: 45px;
    border: 1px solid #DED8CD;
    border-radius: 4px;
    background: #FCFBF8;
    color: #10243A;
    font-size: 12px;
    padding: 11px 13px;
}

.newhaus-search-panel .filters button {
    min-height: 45px;
    white-space: nowrap;
}

.newhaus-search-panel .filters .button.outline {
    min-height: 42px;
}

.trg-stats,.trust-row.newhaus-proof {
    background: #10243A;
    color: #fff;
    border: 0;
    padding: 20px clamp(24px,6vw,88px);
    gap: 20px;
}

.trust-row.newhaus-proof div {
    border-left-color: rgba(255,255,255,.23);
}

.trust-row.newhaus-proof b {
    font: 600 16px/1.3 var(--serif);
    color: #E3C27D;
}

.trust-row.newhaus-proof span {
    color: #E4E8EE;
    font-size: 11px;
}

.section {
    max-width: 1500px;
    padding: 62px clamp(20px,4.4vw,68px) 72px;
}

.section-head {
    margin-bottom: 24px;
}

.section h2,.contact h2,.admin-wrap h1 {
    color: #10243A;
}

.section h2 {
    font-size: clamp(30px,3.2vw,42px);
}

.count {
    border-color: #DDD4C3;
    background: #FBFAF6;
    border-radius: 3px;
}

.filters input,.filters select,input,select,textarea {
    border-color: #DED8CD;
    border-radius: 4px;
    background: #fff;
    color: #10243A;
}

.cards {
    gap: 18px;
}

.property-card {
    border-color: #E4DED2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16,36,58,.055);
    transition: transform .22s,box-shadow .22s;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16,36,58,.10);
}

.photo {
    height: 220px;
    background: #E7E4DC;
}

.photo img {
    object-fit: cover;
}

.status {
    background: #A77A2E;
    color: #fff;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
}

.card-body {
    padding: 17px;
}

.project {
    color: #A77A2E;
    font-weight: 700;
    letter-spacing: .1em;
}

.card-body h3 {
    font-size: 21px;
    color: #10243A;
}

.location {
    color: #627083;
}

.card-bottom {
    border-color: #E7E0D5;
}

.arrow {
    border-color: #D8C59D;
    color: #A77A2E;
    border-radius: 4px;
}

.specs span {
    background: #F4EFE4;
    color: #536176;
    border-radius: 3px;
}

.marketing-status-badge.is-resale {
    background: #10243A;
    color: #fff;
}

.marketing-status-badge.is-new-launch {
    background: #D8B46B;
    color: #10243A;
}

.marketing-status-badge.is-ready {
    background: #E8E1D4;
    color: #10243A;
}

.marketing-status-badge.is-under-construction {
    background: #536176;
    color: #fff;
}

.markets-section {
    background: #F0E9DB;
}

.markets-section .section {
    padding-top: 58px;
    padding-bottom: 64px;
}

.market-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.market-card {
    background: #FFFEFB;
    border: 1px solid #DED5C5;
    border-radius: 7px;
    padding: 22px;
    transition: transform .2s,box-shadow .2s;
}

.market-card:hover {
    box-shadow: 0 12px 28px rgba(16,36,58,.08);
    transform: translateY(-3px);
}

.market-icon {
    background: #F3E8D1;
    color: #A77A2E;
    border-radius: 5px;
}

.market-card strong {
    font: 600 21px var(--serif);
    color: #10243A;
}

.market-card p {
    color: #627083;
}

.services-grid,.insights-grid {
    gap: 16px;
}

.service-card,.insight-card,.blog-card,.blog-article {
    background: #fff;
    border: 1px solid #E4DED2;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16,36,58,.035);
}

.service-card>span,.principles-grid article span {
    color: #A77A2E;
}

.service-card h3,.insight-card h3 {
    color: #10243A;
}

.trg-about,.about.newhaus-about {
    background: #F0E9DB;
    padding: 70px clamp(20px,6vw,96px);
    grid-template-columns: 1.2fr .8fr;
    gap: 28px 54px;
    text-align: left;
}

.newhaus-about .about-lead {
    color: #536176;
    font-size: 17px;
    line-height: 1.7;
}

.newhaus-about-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
    background: #fff;
    border: 1px solid #DED5C5;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(16,36,58,.045);
}

.newhaus-about-card h3 {
    font: 600 26px/1.2 var(--serif);
    color: #10243A;
    margin: 0 0 8px;
}

.newhaus-about-card p:not(.eyebrow) {
    font-size: 13px;
    color: #627083;
}

.newhaus-about-symbol {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #D4B77E;
    border-radius: 50%;
    font: 700 22px var(--serif);
    color: #A77A2E;
    margin-bottom: 18px;
    background: #FBF6E9;
}

.principles-grid {
    grid-column: 1/-1;
    gap: 14px;
}

.principles-grid article {
    background: rgba(255,255,255,.83);
    border-color: #DED5C5;
    border-radius: 6px;
}

.principles-grid h3 {
    color: #10243A;
}

.principles-grid p {
    color: #627083;
}

.calculator-section {
    background: #10243A;
    color: #fff;
}

.calculator-section .eyebrow {
    color: #DDBD7B;
}

.calculator-card {
    border-radius: 8px;
}

.roi-results {
    background: #F5EFDF;
    border-radius: 5px;
}

.roi-results strong {
    color: #A77A2E;
}

.trg-contact,.contact.newhaus-contact {
    background: #fff;
    grid-template-columns: minmax(0,1fr) minmax(320px,.9fr);
    padding: 66px clamp(20px,6vw,96px);
    gap: 38px;
}

.contact h2 {
    color: #10243A;
}

.contact-form-wrap {
    background: #FBFAF6;
    border: 1px solid #E4DED2;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(16,36,58,.05);
}

.contact .enquiry-form input:not([type=hidden]),.contact .enquiry-form textarea {
    border-color: #DED8CD;
    background: #fff;
}

.contact .enquiry-form button {
    background: #A77A2E;
    border-color: #A77A2E;
}

.contact-details a:not(.button) {
    color: #10243A;
}

.contact-details a:not(.button):hover {
    color: #A77A2E;
}

.trg-footer {
    background: #10243A;
    color: #E5E9EF;
    border-top: 3px solid #A77A2E;
    padding: 30px clamp(20px,5vw,72px);
    gap: 28px;
}

.trg-footer-person strong {
    color: #fff;
}

.trg-footer-address,.trg-footer-contact-line a {
    color: #DCE3EA;
}

.trg-footer a:hover {
    color: #E3C27D;
}

.trg-footer-nav-heading,.trg-footer-social-heading {
    color: #E3C27D;
}

.social-icon {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    color: #fff;
}

.trg-footer-copyright strong {
    color: #fff;
}

.newhaus-header-contact + * {
    min-width: 0;
}

.detail {
    max-width: 1320px;
}

.detail-grid {
    gap: 28px;
}

.tnh-overview-card,.tnh-info-panel,.tnh-sales-expert-card,.price-box,.property-location-map,.trg-suggested-properties {
    border-color: #E4DED2 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(16,36,58,.045);
}

.tnh-detail-page .eyebrow {
    color: #A77A2E;
}

.tnh-property-title-row h1,.tnh-info-panel summary strong,.tnh-enquiry-heading h2,.property-map-heading h2,.trg-suggested-head h2 {
    color: #10243A;
}

.tnh-sales-expert-card {
    background: #fff !important;
}

.tnh-sales-expert-heading {
    background: #F0E9DB !important;
    color: #10243A !important;
}

.tnh-sales-expert-badge {
    background: #A77A2E !important;
    color: #fff !important;
}

.newhaus-assistance-mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid #D6BB85;
    border-radius: 50%;
    background: #FBF6E9;
    color: #A77A2E;
    font: 700 23px var(--serif);
    margin: 12px auto;
}

.newhaus-assistance-card .tnh-sales-expert-copy {
    text-align: center;
}

.newhaus-assistance-card .tnh-sales-expert-actions {
    display: grid;
    gap: 8px;
}

.newhaus-assistance-card .tnh-sales-expert-call,.newhaus-assistance-card .tnh-sales-expert-whatsapp {
    border-radius: 4px !important;
}

.newhaus-assistance-card .tnh-sales-expert-call {
    background: #10243A !important;
    color: #fff !important;
    border-color: #10243A !important;
}

.newhaus-assistance-card .tnh-sales-expert-whatsapp {
    background: #fff !important;
    color: #166534 !important;
    border-color: #85B89A !important;
}

.newhaus-assistance-email {
    text-align: center;
    margin: 10px 0 0;
    font-size: 12px;
}

.newhaus-assistance-email a {
    color: #10243A;
}

.trg-suggested-controls button {
    border-color: #D8C59D !important;
    color: #A77A2E !important;
    background: #fff !important;
}

.admin-wrap {
    max-width: 1260px;
}

.admin-form,.inventory {
    border-radius: 8px;
    border-color: #E4DED2;
    box-shadow: 0 6px 22px rgba(16,36,58,.035);
}

.admin-form h2,.inventory h2 {
    color: #10243A;
}

.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,input:focus,select:focus,textarea:focus {
    outline: 2px solid rgba(167,122,46,.24);
    border-color: #A77A2E;
}

.button.danger-button,.danger-link {
    color: #9a2929;
}

.login-page {
    background: #F0E9DB;
}

.login-card {
    border-radius: 9px;
    box-shadow: 0 14px 40px rgba(16,36,58,.08);
}

.login-card h1 {
    color: #10243A;
}

.pagination .button {
    border-radius: 4px;
}

@media (max-width:1220px) {
    .newhaus-header-contact {
        display: none;
    }
    .top nav.site-nav {
        gap: 14px;
    }
    .brand-copy strong {
        font-size: 18px;
    }
}

@media (max-width:900px) {
    .newhaus-search-panel .filters {
        grid-template-columns: 1fr 1fr;
    }
    .newhaus-search-panel .filters input {
        grid-column: 1/-1;
    }
    .newhaus-search-panel .filters button {
        width: 100%;
    }
    .newhaus-about {
        grid-template-columns: 1fr;
    }
    .newhaus-about-card {
        max-width: none;
    }
    .market-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .trg-contact,.contact.newhaus-contact {
        grid-template-columns: 1fr;
    }
    .trg-hero .hero-copy {
        padding: 55px 6vw 75px;
    }
}

@media (max-width:760px) {
    .top {
        padding: 12px 16px;
        min-height: 70px;
        flex-wrap: wrap;
    }
    .top .brand {
        min-width: 0;
        max-width: calc(100% - 58px);
    }
    .top .brand-logo {
        width: 44px !important;
        height: 44px !important;
    }
    .brand-copy strong {
        font-size: 16px;
    }
    .brand-copy small {
        font-size: 8px;
        letter-spacing: .13em;
    }
    .newhaus-header-contact {
        display: none;
    }
    .newhaus-hero {
        min-height: 420px;
    }
    .newhaus-hero .hero-image {
        background-image: linear-gradient(90deg,rgba(11,26,43,.90),rgba(11,26,43,.56) 70%,rgba(11,26,43,.25)),url('assets/new-haus-hero-v2.webp?v=20261027');
    }
    .newhaus-hero h1 {
        font-size: clamp(38px,10vw,52px);
    }
    .newhaus-search-wrap {
        width: calc(100% - 24px);
        margin: -26px auto 0;
    }
    .newhaus-search-panel {
        padding: 14px;
    }
    .newhaus-search-intro {
        display: block;
    }
    .newhaus-search-intro span {
        display: block;
        margin-top: 4px;
    }
    .newhaus-search-panel .filters {
        grid-template-columns: 1fr;
    }
    .newhaus-search-panel .filters input {
        grid-column: auto;
    }
    .section {
        padding: 44px 16px 54px;
    }
    .trg-stats,.trust-row.newhaus-proof {
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 22px 18px;
        gap: 15px;
    }
    .trust-row.newhaus-proof div {
        padding-left: 12px;
    }
    .market-grid,.insights-grid,.services-grid {
        grid-template-columns: 1fr;
    }
    .newhaus-about {
        padding: 46px 18px !important;
    }
    .principles-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calculator-section {
        grid-template-columns: 1fr;
        padding: 45px 18px;
        gap: 24px;
    }
    .trg-contact,.contact.newhaus-contact {
        padding: 46px 18px;
        gap: 28px;
    }
    .trg-footer {
        padding: 24px 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .trg-footer-nav {
        display: flex;
        flex-direction: column;
    }
    .tnh-property-sidebar {
        min-width: 0;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*::before,*::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/*THE NEW HAUS v2 brand polish: cohesive ivory/navy/gold palette and a structured footer.*/

:root {
    --ink: #10243A;
    --muted: #627083;
    --paper: #F7F5EF;
    --white: #FFFEFB;
    --line: #E4DED2;
    --green: #10243A;
    --sand: #E9DDC8;
    --trg-forest: #10243A;
    --trg-forest-deep: #0B1A2B;
    --trg-ivory: #F7F5EF;
    --trg-champagne: #A77A2E;
    --trg-sage: #F0E9DB;
    --trg-body: #536176;
    --trg-border: #DED5C5;
}

body {
    background: #F7F5EF;
    color: #10243A;
}

/*Shared surfaces, links and controls use the NEW HAUS palette on all pages.*/

.top {
    background: rgba(255,254,251,.98);
    border-color: #E4DED2;
}

.button, .button.dark {
    background: #10243A;
    border-color: #10243A;
    color: #fff;
}

.button:hover, .button.dark:hover {
    background: #0B1A2B;
    border-color: #0B1A2B;
}

.button:not(.dark):not(.outline) {
    background: #A77A2E;
    border-color: #A77A2E;
    color: #fff;
}

.button:not(.dark):not(.outline):hover {
    background: #8E6726;
    border-color: #8E6726;
}

.eyebrow, .project, .text-link:hover {
    color: #A77A2E;
}

.nav-cta {
    background: #A77A2E;
    border-color: #A77A2E;
    color: #fff !important;
}

input:focus, select:focus, textarea:focus {
    outline-color: rgba(167,122,46,.38);
    border-color: #A77A2E;
}

/*The homepage hero now uses the NEW HAUS image rather than the former reused banner.*/

.newhaus-hero .hero-image {
    background-image: linear-gradient(90deg,rgba(11,26,43,.92) 0%,rgba(11,26,43,.68) 31%,rgba(11,26,43,.20) 66%,rgba(11,26,43,.02) 100%),url('assets/new-haus-hero-v2.webp?v=20261027') !important;
    background-position: center 52%;
    background-size: cover;
}

@media (max-width:760px) {
    .newhaus-hero .hero-image {
        background-image: linear-gradient(90deg,rgba(11,26,43,.91) 0%,rgba(11,26,43,.62) 69%,rgba(11,26,43,.26) 100%),url('assets/new-haus-hero-v2.webp?v=20261027') !important;
        background-position: 54% center;
    }
}

/*THE NEW HAUS — compact logo-led footer matching the approved reference.*/

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid #E7E8E1 !important;
    border-radius: 0 !important;
    background: #F7F6F1 !important;
    color: #66736F !important;
    font-family: var(--sans, Arial, sans-serif);
    box-sizing: border-box;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] * {
    box-sizing: border-box;
}

.nh-footer-bar {
    width: 100%;
    min-height: 94px;
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(260px, 1.2fr) auto auto;
    align-items: center;
    gap: clamp(20px, 3.3vw, 58px);
    padding: 16px clamp(24px, 3.8vw, 78px);
}

.nh-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
    gap: 14px;
    color: #173F35;
    text-decoration: none;
}

.nh-footer-monogram {
    display: block;
    flex: 0 0 auto;
    color: #204B40;
    font-family: var(--serif, Georgia, serif);
    font-size: 53px;
    font-weight: 600;
    letter-spacing: -.105em;
    line-height: .88;
    padding-right: 4px;
}

.nh-footer-logo-divider {
    display: block;
    flex: 0 0 1px;
    height: 46px;
    background: #B9C4BC;
}

.nh-footer-wordmark {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.nh-footer-wordmark strong {
    display: block;
    color: #1B2D28;
    font-family: var(--serif, Georgia, serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.1;
    white-space: nowrap;
}

.nh-footer-wordmark small {
    display: block;
    color: #63706A;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.25;
    white-space: nowrap;
}

.nh-footer-copyright {
    margin: 0;
    color: #6C7772;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.nh-footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3.5vw, 58px);
    white-space: nowrap;
}

.nh-footer-legal a {
    color: #68746F;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .18s ease;
}

.nh-footer-legal a:hover,
.nh-footer-legal a:focus-visible {
    color: #204B40;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nh-footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nh-footer-socials .nh-social {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(25, 54, 45, .08);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(17, 38, 31, .04);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.nh-footer-socials .nh-social svg {
    display: block;
    width: 23px;
    height: 23px;
    color: #fff;
}

.nh-footer-socials .nh-social-facebook {
    background: #1877F2;
}

.nh-footer-socials .nh-social-instagram {
    background: linear-gradient(135deg,#833AB4 0%,#C13584 35%,#E1306C 62%,#FCAF45 100%);
}

.nh-footer-socials .nh-social-linkedin {
    background: #0A66C2;
}

.nh-footer-socials .nh-social-youtube {
    background: #FF0033;
}

.nh-footer-socials .nh-social.is-unconfigured {
    cursor: default;
}

.nh-footer-socials .nh-social:not(.is-unconfigured):hover,
.nh-footer-socials .nh-social:not(.is-unconfigured):focus-visible {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 5px 13px rgba(17, 38, 31, .16);
    outline: 2px solid #D6C8A4;
    outline-offset: 3px;
}

@media (max-width: 1180px) {
    .nh-footer-bar {
        grid-template-columns: minmax(250px, 1fr) minmax(220px, 1fr);
        gap: 20px 28px;
    }
    .nh-footer-copyright {
        grid-column: 1;
        grid-row: 2;
    }
    .nh-footer-legal {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
    .nh-footer-socials {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
}

@media (max-width: 680px) {
    .nh-footer-bar {
        grid-template-columns: minmax(0,1fr);
        justify-items: start;
        gap: 17px;
        padding: 22px 20px;
    }
    .nh-footer-logo {
        gap: 11px;
    }
    .nh-footer-monogram {
        font-size: 47px;
    }
    .nh-footer-logo-divider {
        height: 40px;
    }
    .nh-footer-wordmark strong {
        font-size: 16px;
    }
    .nh-footer-wordmark small {
        font-size: 8px;
        letter-spacing: .14em;
    }
    .nh-footer-copyright, .nh-footer-legal, .nh-footer-socials {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }
    .nh-footer-copyright {
        white-space: normal;
        font-size: 11px;
    }
    .nh-footer-legal {
        justify-content: flex-start;
        gap: 28px;
    }
    .nh-footer-socials {
        gap: 10px;
    }
    .nh-footer-socials .nh-social {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
    .nh-footer-socials .nh-social svg {
        width: 21px;
        height: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nh-footer-legal a, .nh-footer-socials .nh-social {
        transition: none;
    }
    .nh-footer-socials .nh-social:not(.is-unconfigured):hover {
        transform: none;
    }
}

/*THE NEW HAUS — unified NH monogram and wordmark across all pages (v4).*/

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex: 0 1 auto;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-logo-full,
.top .brand-logo-full,
.login-card .brand-logo-full {
    display: block !important;
    width: clamp(245px, 24vw, 315px) !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain;
    flex: 0 1 auto;
}

.top .brand {
    flex-shrink: 1;
}

.login-card .brand {
    width: 100%;
    justify-content: flex-start;
}

.login-card .brand-logo-full {
    width: min(320px, 100%) !important;
}

.nh-footer-logo {
    display: block !important;
    width: min(350px, 100%);
    min-width: 0;
    gap: 0 !important;
    flex: 0 1 350px;
}

.nh-footer-brand-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: contain;
}

@media (max-width: 1220px) {
    .top .brand-logo-full {
        width: clamp(230px, 26vw, 275px) !important;
    }
}

@media (max-width: 760px) {
    .top .brand-logo-full {
        width: clamp(185px, 54vw, 235px) !important;
        max-width: calc(100vw - 86px) !important;
    }
    .login-card .brand-logo-full {
        width: min(300px, 100%) !important;
    }
    .nh-footer-logo {
        width: min(320px, 100%);
        flex-basis: auto;
    }
    .nh-footer-brand-image {
        max-width: 320px;
    }
}

@media (max-width: 380px) {
    .top .brand-logo-full {
        width: calc(100vw - 94px) !important;
    }
}

/*THE NEW HAUS — final compact logo sizing reset (v5).
   The full horizontal logo is one SVG; never style it as the old circular brand mark.*/

.top .brand,
.login-card .brand,
.nh-footer-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

.top .brand-logo-full,
.login-card .brand-logo-full,
.nh-footer-brand-image {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    aspect-ratio: auto !important;
}

.top .brand-logo-full {
    width: min(250px, calc(100vw - 90px)) !important;
    flex: 0 1 250px !important;
}

.login-card .brand-logo-full {
    width: min(285px, 100%) !important;
    flex: 0 1 auto !important;
}

.nh-footer-logo {
    display: inline-flex !important;
    width: min(260px, 100%) !important;
    min-width: 0 !important;
    flex: 0 1 260px !important;
}

.nh-footer-brand-image {
    width: 100% !important;
    max-width: 260px !important;
    flex: 0 1 auto !important;
}

@media (max-width: 760px) {
    .top .brand-logo-full {
        width: min(225px, calc(100vw - 88px)) !important;
        max-width: calc(100vw - 88px) !important;
        flex-basis: auto !important;
    }
    .login-card .brand-logo-full {
        width: min(280px, 100%) !important;
    }
    .nh-footer-logo {
        width: min(260px, 100%) !important;
        flex-basis: auto !important;
    }
    .nh-footer-brand-image {
        max-width: 260px !important;
    }
}

@media (max-width: 380px) {
    .top .brand-logo-full {
        width: calc(100vw - 88px) !important;
        max-width: calc(100vw - 88px) !important;
    }
}

/*THE NEW HAUS logo hierarchy correction v6: large NH monogram, normal tagline spacing, contrast-safe logo variants.*/

.top {
    background: #10243A !important;
    border-bottom-color: #A77A2E !important;
}

.top nav.site-nav > a:not(.nav-cta), .top nav > a:not(.nav-cta) {
    color: #F7F5EF !important;
}

.top nav.site-nav > a:not(.nav-cta):hover, .top nav > a:not(.nav-cta):hover {
    color: #D6BB85 !important;
}

.top .newhaus-header-contact, .top .newhaus-header-contact a {
    color: #F7F5EF !important;
}

.top .newhaus-header-contact a:hover {
    color: #D6BB85 !important;
}

.top .brand-logo-full {
    width: min(285px, calc(100vw - 90px)) !important;
}

.top .brand {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.nh-footer-brand-image {
    width: 320px !important;
    max-width: min(320px, 100%) !important;
    height: auto !important;
}

@media (max-width: 1220px) {
    .top .brand-logo-full {
        width: min(255px, calc(100vw - 90px)) !important;
    }
}

@media (max-width: 760px) {
    .top .brand-logo-full {
        width: min(230px, calc(100vw - 88px)) !important;
    }
    .nh-footer-brand-image {
        width: min(300px, 100%) !important;
    }
}

@media (max-width: 380px) {
    .top .brand-logo-full {
        width: calc(100vw - 88px) !important;
    }
}

/*THE NEW HAUS brandboard selection: compact horizontal logo + Favicon 1 (v7).*/

.top .brand-logo-full,
.login-card .brand-logo-full,
.nh-footer-brand-image {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    aspect-ratio: auto !important;
}

.top .brand-logo-full {
    width: min(285px, calc(100vw - 90px)) !important;
    max-width: 285px !important;
}

.login-card .brand-logo-full {
    width: min(300px, 100%) !important;
    max-width: 300px !important;
}

.nh-footer-logo {
    display: inline-flex !important;
    width: min(320px, 100%) !important;
    flex: 0 1 320px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.nh-footer-brand-image {
    width: 100% !important;
    max-width: 320px !important;
}

@media (max-width: 1220px) {
    .top .brand-logo-full {
        width: min(255px, calc(100vw - 90px)) !important;
    }
}

@media (max-width: 760px) {
    .top .brand-logo-full {
        width: min(225px, calc(100vw - 88px)) !important;
        max-width: calc(100vw - 88px) !important;
    }
    .login-card .brand-logo-full {
        width: min(280px, 100%) !important;
    }
    .nh-footer-logo {
        width: min(300px, 100%) !important;
        flex-basis: auto !important;
    }
    .nh-footer-brand-image {
        max-width: 300px !important;
    }
}

@media (max-width: 380px) {
    .top .brand-logo-full {
        width: calc(100vw - 88px) !important;
        max-width: calc(100vw - 88px) !important;
    }
}

/*FINAL LOGO ASSET/SIZING FIX v3: keep horizontal logo's natural aspect ratio.
   Favicon 1 is for browser icons only; it is never used as a page logo.*/

.top img.brand-logo-full,
.login-card img.brand-logo-full,
footer img.nh-footer-brand-image {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.top img.brand-logo-full {
    width: min(285px, calc(100vw - 92px)) !important;
    max-width: 285px !important;
    flex: 0 1 285px !important;
}

.login-card img.brand-logo-full {
    width: min(300px, 100%) !important;
    max-width: 300px !important;
}

footer img.nh-footer-brand-image {
    width: min(320px, 100%) !important;
    max-width: 320px !important;
}

.top .brand,
.login-card .brand,
footer .nh-footer-logo {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

@media (max-width: 760px) {
    .top img.brand-logo-full {
        width: min(225px, calc(100vw - 88px)) !important;
        max-width: calc(100vw - 88px) !important;
        height: auto !important;
        flex-basis: auto !important;
    }
    .login-card img.brand-logo-full {
        width: min(280px, 100%) !important;
    }
    footer img.nh-footer-brand-image {
        width: min(300px, 100%) !important;
    }
}

@media (max-width: 380px) {
    .top img.brand-logo-full {
        width: calc(100vw - 88px) !important;
        max-width: calc(100vw - 88px) !important;
        height: auto !important;
    }
}

/*THE NEW HAUS footer palette alignment v4: match the navy header.*/

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] {
    background: #10243A !important;
    color: #F7F5EF !important;
    border-top: 1px solid rgba(200, 169, 107, .48) !important;
    box-shadow: none !important;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-logo {
    color: #F7F5EF !important;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-copyright {
    color: #F7F5EF !important;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-legal a {
    color: #F7F5EF !important;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-legal a:hover,
footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-legal a:focus-visible {
    color: #D6BB85 !important;
}

footer.newhaus-footer[data-footer-version="2026-10-27-newhaus-v4"] .nh-footer-socials .nh-social {
    border-color: rgba(247, 245, 239, .16);
}

/*Fix: +Photos tile should match the thumbnail images*/

.tnh-detail-page .tnh-overview-card .property-gallery {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
    align-content: start !important;
    grid-template-rows: max-content max-content !important;
}

.tnh-detail-page .tnh-overview-card .gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: max-content !important;
    align-items: start !important;
    align-content: start !important;
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    gap: 7px !important;
}

.tnh-detail-page .tnh-overview-card .gallery-thumb,
.tnh-detail-page .tnh-overview-card .gallery-more {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
    grid-row: auto !important;
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.tnh-detail-page .tnh-overview-card .gallery-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
}

.tnh-detail-page .tnh-overview-card .gallery-more {
    padding: 3px !important;
    line-height: 1.2 !important;
    white-space: normal;
    text-align: center;
}

@media (max-width: 760px) {
    .tnh-detail-page .tnh-overview-card .gallery-thumb,
  .tnh-detail-page .tnh-overview-card .gallery-more {
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
}

/*THE NEW HAUS — enquiry privacy notice and optional email-updates choice*/

.enquiry-privacy-note {
    grid-column: 1/-1;
    margin: 0;
    color: #59665e;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 400;
}

.enquiry-privacy-note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.enquiry-form label.enquiry-marketing-optin {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 9px;
    grid-column: 1/-1;
    margin: 0;
    color: #59665e;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
}

.enquiry-form .enquiry-marketing-optin input[type=checkbox] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex: 0 0 16px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: #10243A;
}

.contact .enquiry-form .enquiry-marketing-optin input[type=checkbox] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    padding: 0;
}

.enquiry-consent-status {
    font-size: 10px;
    color: #59665e;
}

/*THE NEW HAUS — responsive Home Loan EMI Calculator*/

.nh-home-loan-section {
    background: #F1EFE8;
    padding: 76px clamp(18px,5vw,76px);
}

.nh-emi-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #E1DDD2;
    border-radius: 15px;
    background: #FBFBF9;
    box-shadow: 0 15px 42px rgba(16,36,58,.07);
}

.nh-emi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 25px clamp(22px,3vw,38px);
    background: #064253;
    color: #fff;
}

.nh-emi-header .nh-emi-eyebrow {
    margin: 0 0 5px;
    color: #C7DDE0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
}

.nh-emi-header h2 {
    margin: 0;
    color: #fff;
    font: 600 clamp(24px,3vw,34px)/1.2 var(--sans);
    letter-spacing: -.025em;
}

.nh-emi-header p:not(.nh-emi-eyebrow) {
    margin: 7px 0 0;
    color: #D7E6E7;
    font-size: 13px;
}

.nh-emi-header-note {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 9px;
    background: rgba(255,255,255,.07);
}

.nh-emi-header-note>span {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #D6E9E9;
    color: #064253;
    font-weight: 700;
    font-size: 19px;
}

.nh-emi-header-note strong,.nh-emi-header-note small {
    display: block;
}

.nh-emi-header-note strong {
    font-size: 12px;
    color: #fff;
}

.nh-emi-header-note small {
    margin-top: 2px;
    color: #D7E6E7;
    font-size: 10px;
}

.nh-emi-panel {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(350px,.9fr);
    gap: clamp(24px,4vw,54px);
    padding: clamp(23px,4vw,46px);
    align-items: stretch;
}

.nh-emi-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 27px;
    min-width: 0;
}

.nh-emi-control {
    min-width: 0;
}

.nh-emi-control-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.nh-emi-control-heading label {
    color: #192B3B;
    font-size: 15px;
    font-weight: 700;
}

.nh-emi-control-heading output {
    color: #064253;
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nh-emi-range {
    display: block;
    width: 100%;
    height: 7px;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(90deg,#064253 0 var(--nh-emi-progress,0%),#C8E1E5 var(--nh-emi-progress,0%) 100%);
    cursor: pointer;
    outline-offset: 5px;
}

.nh-emi-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: #064253;
    box-shadow: 0 1px 5px rgba(6,66,83,.25);
}

.nh-emi-range::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #064253;
    box-shadow: 0 1px 5px rgba(6,66,83,.25);
}

.nh-emi-number-field {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 53px;
    padding: 0 15px;
    border: 1px solid #D8DEDA;
    border-radius: 9px;
    background: #fff;
    color: #64717A;
}

.nh-emi-number-field:focus-within {
    border-color: #387C88;
    box-shadow: 0 0 0 3px rgba(56,124,136,.1);
}

.nh-emi-number-field>span {
    flex: 0 0 auto;
    color: #687780;
    font-size: 14px;
    font-weight: 600;
}

.nh-emi-number-field input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #162635;
    font-size: 17px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.nh-emi-number-field input::-webkit-inner-spin-button,.nh-emi-number-field input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nh-emi-number-field input[type=number] {
    -moz-appearance: textfield;
}

.nh-emi-range-labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    color: #7A8589;
    font-size: 10px;
}

.nh-emi-validation {
    display: none;
    margin: -12px 0 0;
    color: #A43C35;
    font-size: 11px;
}

.nh-emi-validation.is-visible {
    display: block;
}

.nh-emi-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(20px,3vw,30px);
    border: 1px solid #E2E8E5;
    border-radius: 12px;
    background: #fff;
}

.nh-emi-monthly {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #E8ECE9;
}

.nh-emi-monthly>span {
    display: block;
    color: #687780;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.nh-emi-monthly>strong {
    display: block;
    margin: 5px 0 2px;
    color: #10243A;
    font-size: clamp(29px,3.3vw,41px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.nh-emi-monthly>small {
    color: #718087;
    font-size: 11px;
}

.nh-emi-chart-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px,3vw,32px);
    padding: 24px 0;
}

.nh-emi-donut {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: clamp(145px,17vw,205px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(#BBDDE2 0 var(--nh-emi-principal-share,79%),#064253 var(--nh-emi-principal-share,79%) 100%);
    position: relative;
}

.nh-emi-donut:before {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background: #fff;
}

.nh-emi-donut>div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nh-emi-donut>div strong {
    color: #10243A;
    font-size: 22px;
    line-height: 1.2;
}

.nh-emi-donut>div span {
    margin-top: 2px;
    color: #728087;
    font-size: 10px;
}

.nh-emi-legend {
    display: grid;
    gap: 17px;
    min-width: 0;
}

.nh-emi-legend>div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.nh-emi-dot {
    display: block;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 50%;
}

.nh-emi-dot-principal {
    background: #BBDDE2;
}

.nh-emi-dot-interest {
    background: #064253;
}

.nh-emi-legend span {
    display: block;
    color: #6F7C83;
    font-size: 10px;
    line-height: 1.35;
}

.nh-emi-legend strong {
    display: block;
    margin-top: 3px;
    color: #162635;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.nh-emi-total-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #E8ECE9;
}

.nh-emi-total-grid>div {
    min-width: 0;
}

.nh-emi-total-grid span {
    display: block;
    color: #718087;
    font-size: 10px;
    line-height: 1.4;
}

.nh-emi-total-grid strong {
    display: block;
    margin-top: 5px;
    color: #10243A;
    font-size: clamp(15px,1.8vw,20px);
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.nh-emi-disclaimer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(23px,4vw,46px) 23px;
    color: #758087;
    font-size: 10px;
    line-height: 1.6;
}

@media (max-width:900px) {
    .nh-emi-panel {
        grid-template-columns: 1fr;
    }
    .nh-emi-controls {
        gap: 23px;
    }
    .nh-emi-results {
        max-width: none;
    }
    .nh-emi-chart-area {
        gap: 36px;
    }
}

@media (max-width:600px) {
    .nh-home-loan-section {
        padding: 42px 12px;
    }
    .nh-emi-container {
        border-radius: 11px;
    }
    .nh-emi-header {
        padding: 22px 19px;
        align-items: flex-start;
    }
    .nh-emi-header-note {
        display: none;
    }
    .nh-emi-header h2 {
        font-size: 25px;
    }
    .nh-emi-header p:not(.nh-emi-eyebrow) {
        max-width: 300px;
        font-size: 11px;
    }
    .nh-emi-panel {
        padding: 22px 17px;
        gap: 22px;
    }
    .nh-emi-controls {
        gap: 22px;
    }
    .nh-emi-control-heading label {
        font-size: 13px;
    }
    .nh-emi-control-heading output {
        font-size: 15px;
    }
    .nh-emi-number-field {
        height: 49px;
    }
    .nh-emi-number-field input {
        font-size: 15px;
    }
    .nh-emi-results {
        padding: 19px 15px;
    }
    .nh-emi-chart-area {
        gap: 17px;
        padding: 20px 0;
    }
    .nh-emi-donut {
        width: clamp(125px,38vw,165px);
    }
    .nh-emi-donut>div strong {
        font-size: 19px;
    }
    .nh-emi-legend {
        gap: 13px;
    }
    .nh-emi-legend strong {
        font-size: 12px;
    }
    .nh-emi-total-grid {
        gap: 10px;
    }
    .nh-emi-total-grid span {
        font-size: 9px;
    }
    .nh-emi-total-grid strong {
        font-size: 15px;
    }
    .nh-emi-disclaimer {
        padding: 0 18px 20px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .nh-home-loan-section * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/*THE NEW HAUS — rich editorial blog cards and articles*/

.blog-grid-managed {
    align-items: stretch;
}

.blog-grid-managed .blog-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.blog-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e8e8e2;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.blog-card-image:hover img {
    transform: scale(1.035);
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
}

.blog-card-body h2 {
    font: 500 24px/1.23 var(--serif);
    margin: 0 0 9px;
}

.blog-card-body p:not(.eyebrow) {
    flex: 1;
}

.blog-card-body .blog-footer-link {
    margin-top: 12px;
}

.blog-featured-article {
    max-width: 1040px;
    margin: 34px auto 0;
    padding: clamp(20px,4vw,48px);
}

.blog-featured-article>h2 {
    font-size: clamp(32px,4vw,48px);
    line-height: 1.12;
    max-width: 900px;
}

.blog-article-date {
    margin: 0 0 22px;
}

.blog-cover-figure {
    margin: 25px 0 34px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e8e1;
}

.blog-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.blog-cover-figure figcaption,.blog-article-content figcaption {
    padding: 10px 13px;
    color: #778087;
    background: #f6f5f1;
    font-size: 11px;
    line-height: 1.5;
}

.blog-article-content {
    max-width: 880px;
    margin: 0 auto;
    color: #475561;
    font-size: 15px;
    line-height: 1.85;
}

.blog-article-content h2 {
    margin: 42px 0 13px;
    padding-top: 8px;
    color: #10243A;
    font: 600 clamp(25px,3vw,34px)/1.2 var(--serif);
}

.blog-article-content h3 {
    margin: 29px 0 10px;
    color: #173747;
    font: 600 21px/1.3 var(--serif);
}

.blog-article-content p {
    max-width: none;
    margin: 0 0 18px;
    color: #53616A;
    line-height: 1.85;
}

.blog-article-content ul,.blog-article-content ol {
    padding-left: 24px;
    margin: 12px 0 24px;
}

.blog-article-content li {
    margin: 8px 0;
    padding-left: 4px;
    color: #53616A;
}

.blog-article-content a {
    color: #946D2B;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-content figure {
    margin: 28px 0 32px;
    overflow: hidden;
    border: 1px solid #e4ded2;
    border-radius: 10px;
    background: #f6f5f1;
}

.blog-article-content figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    background: #f0eee8;
}

.blog-article-content blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    border-left: 3px solid #b28a4c;
    background: #f7f4ed;
    color: #314454;
    font: italic 19px/1.6 var(--serif);
}

.blog-article-content strong {
    color: #183244;
}

.blog-more-stories {
    max-width: 1180px;
    margin: 58px auto 0;
}

.blog-more-heading {
    margin: 0 0 22px;
}

.blog-more-heading h2 {
    margin: 0;
    font: 500 30px/1.2 var(--serif);
    color: #10243A;
}

/*Admin rich-text blog editor*/

.blog-editor-card {
    padding: clamp(18px,3vw,30px);
}

.blog-post-form {
    display: grid;
    gap: 20px;
}

.blog-meta-grid {
    margin-bottom: 0;
}

.blog-image-panel,.blog-html-import-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 17px 18px;
    border: 1px solid #e1ddd3;
    border-radius: 9px;
    background: #fbfaf6;
}

.blog-image-panel-copy,.blog-html-import-panel>div {
    display: grid;
    gap: 4px;
    min-width: 220px;
    flex: 1;
}

.blog-image-panel-copy strong,.blog-html-import-panel strong {
    font-size: 13px;
    color: #10243A;
}

.blog-image-panel-copy small,.blog-html-import-panel small {
    max-width: 650px;
    color: #738087;
    font-size: 11px;
    line-height: 1.55;
}

.blog-file-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid #c9b38b;
    border-radius: 6px;
    background: #fff;
    color: #173747;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.blog-file-button:hover {
    background: #f5efe3;
}

.blog-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.blog-cover-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 100%;
    min-width: 0;
    color: #687780;
    font-size: 11px;
}

.blog-cover-preview[hidden] {
    display: none;
}

.blog-cover-preview img {
    display: block;
    width: min(240px,46vw);
    height: 120px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #ded8cd;
    background: #fff;
}

.blog-remove-cover {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7d5b50;
    font-size: 11px;
}

.blog-content-editor-wrap {
    border: 1px solid #dcd6ca;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.blog-content-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 17px 12px;
}

.blog-content-heading strong {
    color: #10243A;
    font-size: 13px;
}

.blog-content-heading small {
    color: #76828a;
    font-size: 10px;
}

.blog-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-top: 1px solid #ebe7df;
    border-bottom: 1px solid #e5dfd4;
    background: #f8f7f3;
}

.blog-editor-toolbar button {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #ddd6ca;
    border-radius: 5px;
    background: #fff;
    color: #263b4a;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.blog-editor-toolbar button:hover {
    border-color: #b38a4a;
    background: #fbf5e9;
}

.blog-toolbar-divider {
    width: 1px;
    height: 22px;
    margin: 0 4px;
    background: #d8d2c7;
}

.blog-rich-editor {
    min-height: 420px;
    padding: 22px 24px;
    outline: 0;
    color: #344553;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.blog-rich-editor:focus {
    box-shadow: inset 0 0 0 2px rgba(169,126,52,.12);
}

.blog-rich-editor:empty:before {
    content: "Start writing your article here. Use Heading 2 for main sections, Heading 3 for sub-sections, and Insert photo to place images between paragraphs…";
    color: #9aa0a1;
    pointer-events: none;
}

.blog-rich-editor h2 {
    margin: 30px 0 10px;
    color: #10243A;
    font: 600 27px/1.2 var(--serif);
}

.blog-rich-editor h3 {
    margin: 23px 0 8px;
    color: #173747;
    font: 600 20px/1.3 var(--serif);
}

.blog-rich-editor p {
    margin: 0 0 14px;
}

.blog-rich-editor ul,.blog-rich-editor ol {
    padding-left: 24px;
}

.blog-rich-editor figure {
    margin: 22px 0;
    padding: 0;
    border: 1px solid #e5dfd4;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f7f3;
}

.blog-rich-editor figure img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #eee;
}

.blog-rich-editor figcaption {
    padding: 8px 11px;
    color: #718087;
    font-size: 11px;
}

.blog-editor-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 16px;
    border-top: 1px solid #eee9e1;
    background: #fbfaf7;
}

.blog-editor-footer .muted {
    font-size: 10px;
}

.blog-publish-check {
    margin-top: 2px;
}

.blog-admin-row-thumb {
    display: block;
    width: 76px;
    height: 48px;
    object-fit: cover;
    border: 1px solid #e5dfd4;
    border-radius: 5px;
}

@media (max-width:650px) {
    .blog-featured-article {
        padding: 19px 15px;
        margin-top: 22px;
    }
    .blog-cover-figure {
        margin: 18px 0 25px;
    }
    .blog-article-content {
        font-size: 14px;
    }
    .blog-article-content h2 {
        margin-top: 32px;
    }
    .blog-more-stories {
        margin-top: 40px;
    }
    .blog-card-body {
        padding: 19px;
    }
    .blog-rich-editor {
        min-height: 330px;
        padding: 17px 14px;
        font-size: 13px;
    }
    .blog-content-heading {
        padding: 13px;
    }
    .blog-html-import-panel,.blog-image-panel {
        align-items: flex-start;
    }
    .blog-editor-toolbar {
        gap: 5px;
        padding: 8px;
    }
    .blog-editor-toolbar button {
        padding: 6px 8px;
        font-size: 9px;
    }
}

/*Mobile navigation fix: keep the menu collapsed until the hamburger is activated.*/

@media (max-width: 1080px) {
    .top .menu-toggle {
        display: flex !important;
    }
    .top nav.site-nav {
        display: none !important;
    }
    .top nav.site-nav.is-open {
        display: flex !important;
    }
}

/*THE NEW HAUS — mobile layout corrections (desktop rules intentionally untouched).*/

@media (max-width: 760px) {
    /*Keep page sections and their grid children within the available viewport.*/
    .newhaus-hero,
  .newhaus-search-wrap,
  .section,
  .markets-section,
  .about.newhaus-about,
  .calculator-section,
  .nh-home-loan-section,
  .contact.newhaus-contact,
  .trg-footer-global {
        min-width: 0;
        max-width: 100%;
    }
    .newhaus-hero .hero-copy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 46px 22px 58px;
    }
    .newhaus-hero .hero-text,
  .newhaus-hero h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .newhaus-hero .hero-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
    .newhaus-hero .hero-actions .button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }
    /*Correct the specific about-section selector that was retaining two columns.*/
    .about.newhaus-about,
  .trg-about.about.newhaus-about {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
        padding: 46px 18px !important;
    }
    .about.newhaus-about > *,
  .about.newhaus-about .about-intro,
  .about.newhaus-about .newhaus-about-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .about.newhaus-about h2 br {
        display: none;
    }
    .about.newhaus-about .principles-grid {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
    }
    .market-grid,
  .cards,
  .services-grid,
  .insights-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .market-card,
  .property-card,
  .service-card,
  .insight-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .property-card .card-body,
  .property-card .card-bottom,
  .property-card .card-price-block {
        min-width: 0;
        max-width: 100%;
    }
    .property-card .card-price-block strong,
  .property-card .project,
  .property-card h3,
  .property-card .location {
        overflow-wrap: anywhere;
    }
    .property-card .marketing-statuses {
        display: flex;
        flex-wrap: wrap;
    }
    /*Stack calculator columns and allow long rupee values to wrap naturally.*/
    .nh-emi-header {
        min-width: 0;
        flex-wrap: wrap;
    }
    .nh-emi-header > div:first-child {
        min-width: 0;
        max-width: 100%;
    }
    .nh-emi-panel {
        grid-template-columns: minmax(0, 1fr) !important;
        min-width: 0;
    }
    .nh-emi-controls,
  .nh-emi-control,
  .nh-emi-results,
  .nh-emi-total-grid > div {
        min-width: 0;
        max-width: 100%;
    }
    .nh-emi-control-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px 12px;
    }
    .nh-emi-control-heading output {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: right;
    }
    .nh-emi-chart-area {
        min-width: 0;
        flex-wrap: wrap;
        gap: 18px;
    }
    .nh-emi-legend {
        flex: 1 1 125px;
    }
    .contact.newhaus-contact,
  .trg-contact.contact.newhaus-contact {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px;
        padding: 46px 18px;
    }
    .contact.newhaus-contact > *,
  .contact-form-wrap,
  .contact-form-wrap .enquiry-form {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .contact-form-wrap .enquiry-form {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-form-wrap .enquiry-form > * {
        min-width: 0;
        max-width: 100%;
    }
    .contact-form-wrap input,
  .contact-form-wrap textarea,
  .contact-form-wrap select {
        min-width: 0;
        max-width: 100%;
    }
    /*Keep long labels and buttons from forcing their parent wider.*/
    .button,
  button.button,
  input[type="submit"] {
        max-width: 100%;
        white-space: normal;
    }
    .trg-footer-global {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 420px) {
    .newhaus-hero .hero-copy {
        padding-left: 18px;
        padding-right: 18px;
    }
    .newhaus-hero h1 {
        font-size: clamp(35px, 10vw, 44px);
    }
    .nh-emi-panel {
        padding-left: 14px;
        padding-right: 14px;
    }
    .nh-emi-total-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .nh-emi-chart-area {
        justify-content: center;
    }
}
