@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:#1c2725;--muted:#737d79;--paper:#f7f7f2;--white:#fff;--line:#e2e5df;--green:#244a3d;--sand:#e8e6db;--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:#63806e}.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:#718176;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:#64806f}.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:#1c2925}.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:#718176;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:#e9ece4;text-align:center}.about h2{font-size:clamp(36px,4vw,54px)}.about>p:not(.eyebrow){max-width:550px;margin:20px auto;color:#64716a}.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 REALTOR GUY 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 REALTOR GUY — 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: #204a3b;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

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

.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 REALTOR GUY 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: #1c2725;
    font: inherit;
}

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

.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
    outline: 2px solid #244a3d;
    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: #244a3d;
    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 REALTOR GUY 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:#244a3d}
.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:#1c2725;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:#e9ece4}.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 REALTOR GUY — 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 REALTOR GUY: 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 REALTOR GUY 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 REALTOR GUY 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:#182a23}
.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:#182a23}
.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: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;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:#174d3b}
.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:#064b36!important;color:#fff!important;border:1px solid #064b36!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>div:first-child{padding-left:0}
.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:#182a23; }
.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 */
.tnh-detail-page .tnh-property-main-column {
    gap: 10px !important;
}

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

/* 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:#174d3b; }
.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: #244a3d; }
.tnh-detail-page .configuration-public-table { overflow-x: auto; }
.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: #153c2e; 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:#64716a;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:#64716a;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:#64716a;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:#64716a;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 #526058;background:#252d28;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 #526058;border-radius:7px;background:#252d28;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:#153c2e;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:#294c3d;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:#294c3d;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:#435a4d;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:#183d31;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: #087f8c; border-color: #087f8c; 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: #315c4a; border-color: #315c4a; 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: #5e7166;
  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:#183d31;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:#5e7166;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:#435a4d;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 REALTOR GUY visual system and additional homepage sections */
:root{--ink:#142a2e;--muted:#637477;--paper:#f4f7f7;--white:#fff;--line:#dfe7e7;--green:#0f5557;--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:#0f5557;border-color:#0f5557;border-radius:7px}.button:hover{background:#093f42}.button.dark{background:#142a2e;border-color:#142a2e}.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:#075e59;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:#10292e;color:#c3d0d1;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 REALTOR GUY — brand alignment refresh
   Deep teal + midnight blue + warm gold; applied across public pages,
   property details, blog, login and admin without altering behavior.
   ================================================================ */
:root {
  --ink: #142d32;
  --muted: #65777a;
  --paper: #f5f8f8;
  --white: #ffffff;
  --line: #dce6e6;
  --green: #0f5557;
  --sand: #e8bd57;
  --trg-teal: #0f5557;
  --trg-teal-hover: #0a4144;
  --trg-teal-bright: #117875;
  --trg-gold: #e6b74e;
  --trg-gold-soft: #fbf3dd;
  --trg-navy: #10292e;
  --trg-mist: #eaf2f2;
  --trg-mist-2: #f1f6f6;
  --trg-line: #dce6e6;
}
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: #075e59; border-color: #075e59; 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: #eaf2f2; }
.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: #eaf2f2; 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 REALTOR GUY BRAND v3 — live asset swap, cache-busted on all PHP pages */
:root {
  --ink: #142d32;
  --muted: #65777a;
  --paper: #f6f8f7;
  --white: #ffffff;
  --line: #dce6e6;
  --green: #0f5557;
  --sand: #e8bd57;
  --trg-teal: #0f5557;
  --trg-teal-hover: #0a4144;
  --trg-teal-bright: #117875;
  --trg-gold: #e6b74e;
  --trg-gold-soft: #fbf3dd;
  --trg-navy: #10292e;
  --trg-mist: #eaf2f2;
  --trg-mist-2: #f1f6f6;
  --trg-line: #dce6e6;
}
.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%,#eaf2f2 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: #eaf2f2; }
.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: #c3d0d1; }
.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); }
:focus-visible { outline: 3px solid rgba(230,183,78,.9); outline-offset: 3px; }
@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 Realtor Guy (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 REALTOR GUY 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 REALTOR GUY 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 REALTOR GUY 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 REALTOR GUY — approved Option A: Premium Forest Green & Champagne */
:root {
  --ink: #20342D;
  --muted: #68786E;
  --paper: #F7F4EC;
  --white: #FFFDF8;
  --line: #DEDCCF;
  --green: #153D35;
  --sand: #C8A96B;
  --trg-teal: #153D35;
  --trg-teal-hover: #0E2F28;
  --trg-teal-bright: #315E4C;
  --trg-gold: #C8A96B;
  --trg-gold-soft: #F2E7CD;
  --trg-navy: #153D35;
  --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: #153D35 !important;
  border-bottom: 1px solid rgba(200,169,107,.48) !important;
  box-shadow: 0 4px 18px rgba(21,61,53,.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: #153D35 !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: #153D35 !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: #153D35 !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: #153D35; border-color: #153D35; color: #FFFDF8; border-radius: 8px;
}
.button:hover, button.button:hover, input[type=submit]:hover { background: #0E2F28; border-color: #0E2F28; color: #FFFDF8; }
.button.dark { background: #153D35; border-color: #153D35; color: #FFFDF8; }
.button.outline { color: #153D35; background: #FFFDF8; border-color: #C8C6B9; }
.button.outline:hover { color: #153D35; background: #E4EBE4; border-color: #315E4C; }
.hero-actions .button:first-child:not(.outline) { background: #C8A96B; border-color: #C8A96B; color: #153D35; }
.hero-actions .button:first-child:not(.outline):hover { background: #D7BB83; border-color: #D7BB83; color: #153D35; }
.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: #153D35 !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(21,61,53,.045);
}
.market-card:hover { box-shadow: 0 12px 28px rgba(21,61,53,.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: #153D35; }
.property-card h3, .card-body h3 a, .tnh-detail-page .tnh-property-intro h1 { color: #153D35; }
.property-card h3 a:hover, .card-body h3 a:hover { color: #9A783E; }
.status, .tnh-detail-page .tnh-status-badge { background: #153D35; color: #FFFDF8; }
.marketing-status-badge.is-resale { background: #153D35; border-color: #153D35; color: #FFFDF8; }
.marketing-status-badge.is-new-launch { background: #C8A96B; border-color: #C8A96B; color: #153D35; }
.marketing-status-badge.is-ready { background: #E4EBE4; border: 1px solid #C4D2C4; color: #153D35; }
.marketing-status-badge.is-under-construction { background: #63766A; border-color: #63766A; color: #FFFDF8; }
.tnh-detail-page .tnh-floor-tab.is-active { background: #153D35; border-color: #153D35; color: #FFFDF8; }
.tnh-detail-page .tnh-breadcrumb a, .contact-details a:not(.button) { color: #315E4C; }
.tnh-detail-page .gallery-view-all { color: #153D35; 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: #153D35; }
.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: #153D35; }
.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: #153D35; }
.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: #153D35; }
.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: #153D35; }
.error, .danger-link { color: #9A3535; }
/* Keep the compact mobile navigation readable against the forest header. */
@media (max-width: 850px) {
  .top nav.site-nav { background: #153D35 !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: #153D35 !important; background: #C8A96B !important; }
}
@media (max-width: 560px) {
  .hero-copy { background: #F7F4EC !important; }
  .hero-actions .button:first-child:not(.outline) { color: #153D35; }
  .trg-footer .brand-copy strong { color: #FFFDF8 !important; }
}


/* THE REALTOR GUY v7 — match approved Option A reference: forest header + full-bleed hero */
:root{--trg-forest:#153D35;--trg-forest-deep:#0E2F28;--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(21,61,53,.88) 31%,rgba(21,61,53,.60) 50%,rgba(21,61,53,.16) 76%,rgba(21,61,53,.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(21,61,53,.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(21,61,53,.85) 42%,rgba(21,61,53,.48) 72%,rgba(21,61,53,.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(21,61,53,.34)!important}
  .trg-hero .trg-hero-image{background-image:linear-gradient(180deg,rgba(13,43,35,.62) 0%,rgba(21,61,53,.78) 43%,rgba(21,61,53,.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 REALTOR GUY 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: #153D35 !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: #153D35 !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: #153D35 !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: #153D35 !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: #153D35 !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, #153d35);
  font-weight: 700;
}
.amenity-select-all input { width: 1.1rem; height: 1.1rem; accent-color: var(--trg-forest, #153d35); }
.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: #153d35;
  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: #153d35;
}
.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: #153d35;
  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: #153d35;
  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: #153d35;
  background: #153d35;
  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(21,61,53,.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(21,61,53,.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: #153d35;
  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: #153d35; 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: #153D35 !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(21, 61, 53, .075);
  color: var(--ink, #1c2725);
}
.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, #153d35);
  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, #153d35);
  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, #153d35);
  border-color: var(--trg-forest, #153d35);
  color: #fff !important;
}
.tnh-detail-page .tnh-sales-expert-call:hover {
  background: var(--trg-forest-deep, #0e2f28);
  border-color: var(--trg-forest-deep, #0e2f28);
}
.tnh-detail-page .tnh-sales-expert-whatsapp {
  background: #f3fff6;
  border-color: #b9e8c7 !important;
  color: #147a3d !important;
}
.tnh-detail-page .tnh-sales-expert-whatsapp svg { color: #20a85a; }
.tnh-detail-page .tnh-sales-expert-whatsapp:hover {
  background: #e5f9eb;
  border-color: #70ce8d !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; }
}

