/*
Theme Name: Tâm GlobalCity
Description: Giao diện bất động sản chuyên mua bán, chuyển nhượng, cho thuê và chia sẻ thông tin.
Version: 1.2.24
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: tamgcs
*/

:root {
    --navy: #10273c;
    --navy-deep: #0a1a2a;
    --navy-light: #213e57;
    --gold: #d8b36d;
    --gold-dark: #79501f;
    --rust: #a34b20;
    --burgundy: #784157;
    --sky: #236ca5;
    --ink: #15293a;
    --muted: #506273;
    --line: #dce3e8;
    --paper: #fff;
    --canvas: #f6f8fa;
    --tint: #eaf0f4;
    --radius: 15px;
    --font-family: "Roboto Regular", Roboto, Arial, sans-serif;
    --shadow: 0 14px 42px rgb(13 38 60 / 9%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-margin-top: 1rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1rem/1.65 var(--font-family); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--sky); text-underline-offset: .18em; }
a:hover { color: var(--gold-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #2a83c4; outline-offset: 3px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.16; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.048em; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.125rem; letter-spacing: -.015em; }
.container { width: min(100% - 2.75rem, 1260px); margin-inline: auto; }
@media (min-width: 1441px) {
    .container { width: 1520px; max-width: calc(100% - 2.75rem); }
}
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap;
}
.screen-reader-text:focus {
    z-index: 1000; top: .75rem; left: .75rem; width: auto; height: auto;
    padding: .8rem 1rem; margin: 0; overflow: visible; clip: auto; clip-path: none;
    background: var(--paper); color: var(--navy);
}
.eyebrow {
    display: block; margin-bottom: .55rem; color: var(--gold-dark); font-weight: 760;
    font-size: .77rem; letter-spacing: .115em; text-transform: uppercase;
}
.button {
    display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .5rem;
    padding: .52rem 1.05rem; border: 1px solid transparent; border-radius: 7px; text-decoration: none;
    font-size: .9rem; font-weight: 700; line-height: 1.25; text-align: center;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: #ebc887; color: var(--navy-deep); }
.button-outline { border-color: #aebfca; background: var(--paper); color: var(--navy); }
.button-outline:hover { border-color: var(--navy); background: var(--tint); color: var(--navy); }
.button-navy, .button-phone { background: var(--navy); color: #fff; }
.button-navy:hover, .button-phone:hover { background: var(--navy-light); color: #fff; }
.button-zalo { background: #1765a8; color: #fff; }
.button-zalo:hover { background: #134e81; color: #fff; }
.presence-dot {
    position: relative; display: inline-block; flex: none; width: .55rem; height: .55rem;
    border-radius: 50%; background: #4de597; box-shadow: 0 0 0 2px #123b38;
}
.presence-dot::after {
    position: absolute; inset: 0; border: 2px solid #4de597; border-radius: inherit;
    animation: presence-pulse 2s ease-out infinite; content: "";
}
@keyframes presence-pulse {
    from { transform: scale(1); opacity: .8; }
    75%, to { transform: scale(2.35); opacity: 0; }
}
.button-email { background: var(--tint); color: var(--navy); }
.button-email:hover { background: #d4e1e9; color: var(--navy); }
.button-light { color: #fff; border-color: #7691a7; }
.button-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.actions:empty, .advisor-actions:empty, .contact-card dl:empty { display: none; }

.site-header { position: relative; z-index: 5; background: var(--navy-deep); color: #fff; }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: clamp(.7rem, 2vw, 2rem); }
.brand { display: inline-flex; flex: none; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand:hover { color: var(--gold); }
.brand-logo { width: auto; max-width: 170px; height: auto; max-height: 48px; object-fit: contain; }
.brand-wordmark { line-height: 1.12; font-weight: 700; letter-spacing: .065em; font-size: .875rem; }
.brand-wordmark strong { display: block; letter-spacing: .075em; }
.brand-mark {
    display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; width: 37px; height: 38px;
    border: 1px solid rgb(216 179 109 / 55%); border-radius: 6px; padding-bottom: 8px;
}
.brand-mark i { display: block; width: 4px; background: var(--gold); height: 10px; }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 15px; }
.nav-menu, .footer-menu, .sidebar-links, .partner-logos { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: .18rem; flex-wrap: wrap; }
.nav-menu li { position: relative; }
.nav-menu a {
    display: flex; align-items: center; min-height: 43px; padding: .5rem clamp(.45rem, 1vw, .95rem);
    border-radius: 5px; color: #e8eff6; font-size: .9rem; font-weight: 620; text-decoration: none;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
    color: var(--gold); background: rgb(216 179 109 / 9%);
}
.nav-menu .sub-menu {
    min-width: 180px; margin: 0; padding: .35rem; list-style: none;
    position: absolute; z-index: 2; top: 100%; left: 0; display: none; background: var(--navy-deep); border-radius: 7px;
}
.nav-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { display: block; }
.header-contact { white-space: nowrap; flex: none; }
.menu-toggle { display: none; }

.home-hero { padding: 2rem 0 2.8rem; background: linear-gradient(180deg, #eaf0f4 0%, var(--canvas) 100%); }
.home-hero-grid {
    display: grid; grid-template-columns: 1.15fr 1fr; min-height: clamp(450px, 42vw, 560px);
    border-radius: 23px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy);
}
.hero-copy {
    position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
    padding: clamp(2rem, 5.2vw, 5rem); color: #fff;
    background: radial-gradient(ellipse at top left, #24455f, transparent 75%), var(--navy);
}
.hero-copy .eyebrow, .contact-section .eyebrow, .section-dark .eyebrow { color: #e8c98e; }
.hero-copy h1 {
    margin: .15rem 0 1.1rem;
    font: 700 clamp(1.75rem, 4.5vw, 3.2rem)/1.035 var(--font-family); letter-spacing: -.045em;
}
.hero-copy > p { max-width: 44ch; color: #d9e4ed; font-size: clamp(1rem, 1.35vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: .6rem 0 1.65rem; }
.hero-actions .button { padding-inline: 1.15rem; }
.hero-agent { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid #607287; }
.hero-contact { color: #f0cd8c; font-weight: 700; font-size: .875rem; }
.hero-contact:hover { color: #fff; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; background: #263d4e; }
.hero-visual > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-visual.is-pan-ready > img {
    inset: 50% auto auto 50%; width: var(--hero-cover-width); height: var(--hero-cover-height); max-width: none;
    transform: translate3d(calc(-50% + var(--hero-pan-x)), calc(-50% + var(--hero-pan-y)), 0) scale(var(--hero-zoom));
}
.hero-image-open {
    position: absolute; z-index: 1; bottom: .85rem; right: .85rem; min-height: 38px; padding: .35rem .7rem;
    border-color: rgb(255 255 255 / 55%); background: rgb(10 26 42 / 82%); color: #fff; font-size: .8rem;
}
.hero-image-open:hover, .hero-image-open:focus-visible { background: var(--navy-deep); color: #fff; }
.hero-image-open span { font-size: 1.15rem; line-height: 1; }
.hero-caption {
    position: absolute; z-index: 1; right: .8rem; bottom: .8rem; padding: .3rem .6rem;
    border-radius: 4px; background: rgb(10 26 42 / 82%); color: #fff; font-size: .75rem;
}
.agent { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.agent strong, .agent-copy > span { display: block; overflow-wrap: anywhere; }
.agent strong { line-height: 1.25; }
.agent-copy > span { margin-top: .2rem; color: var(--muted); font-size: .875rem; }
.agent-photo-wrap { position: relative; display: block; width: 47px; flex: 0 0 47px; }
.agent-photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
img.agent-photo { display: block; }
.agent-photo-wrap .presence-dot { position: absolute; right: 5%; bottom: 5%; }
.agent-monogram {
    display: grid; place-items: center; background: #f3e8d2; color: var(--navy);
    font-weight: 700;
}
.hero-agent .agent-copy > span, .contact-card .agent-copy > span { color: #c4d3e0; }

.home-listings { display: grid; gap: 2.8rem; padding-block: 1rem 3.9rem; }
.section-band { padding-block: clamp(2.9rem, 6vw, 5.3rem); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-head .button { flex: none; }
.section-note { margin: 1.1rem 0 0; color: var(--muted); font-size: .875rem; }
.cards-grid, .news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-card, .price-card, .news-card, .resource-card, .sidebar-box, .partner-card {
    min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.listing-card, .news-card, .resource-card { overflow: hidden; }
.listing-card:hover, .news-card:hover { border-color: #aabfce; }
.listing-media, .news-image { display: block; overflow: hidden; position: relative; aspect-ratio: 1.48; text-decoration: none; background: #dfe8ee; }
.listing-media img, .news-image img, .resource-card img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%; padding: .6rem; text-align: center; color: #435f74;
    background: linear-gradient(135deg, #e3edf3, #c7d6e0); font-weight: 700; letter-spacing: .13em;
}
.listing-featured, .listing-image-count {
    position: absolute; border-radius: 4px; padding: .22rem .48rem; color: #fff; font-size: .76rem; font-weight: 650;
}
.listing-featured { left: .65rem; top: .65rem; background: var(--burgundy); }
.listing-image-count { right: .65rem; bottom: .65rem; background: rgb(10 26 42 / 87%); }
.listing-body { min-width: 0; padding: .9rem 1rem 1rem; }
.listing-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem .4rem; color: var(--muted); font-size: .775rem; }
.listing-status { display: inline-block; padding: .12rem .45rem; border-radius: 4px; font-size: .775rem; font-weight: 650; background: #e9f1f5; color: #245776; }
.status-reserved { background: #f7ebd2; color: #765024; }
.status-closed { background: #f2e7ec; color: var(--burgundy); }
.listing-title { margin: .5rem 0 .5rem; font-size: 1.04rem; line-height: 1.35; }
.listing-title a, .price-card h3 a, .news-body h2 a, .news-body h3 a { color: var(--ink); text-decoration: none; }
.listing-title a:hover, .price-card h3 a:hover, .news-body a:hover { color: var(--sky); }
.listing-card-compact .listing-title a, .archive-cards[data-layout="grid"] .listing-title a {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.listing-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: .22rem .65rem; font-size: .86rem; }
.price { color: var(--rust); font-weight: 780; font-size: 1.12rem; }
.listing-facts .price { white-space: normal; }
.listing-location, .listing-unit, .listing-excerpt { margin: .42rem 0 0; color: var(--muted); font-size: .86rem; }
.listing-location { overflow-wrap: anywhere; }
.listing-location-old { display: block; font-size: .92em; }
.listing-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.listing-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
    margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem;
}
.listing-bottom .button { min-height: 36px; padding: .32rem .65rem; font-size: .8rem; }
.listing-agent { display: flex; align-items: center; flex: 1 1 auto; gap: .55rem; min-width: 0; }
.listing-agent .agent-photo-wrap { width: 36px; flex-basis: 36px; }
.listing-agent-copy { min-width: 0; overflow-wrap: anywhere; }
.listing-agent-copy strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.listing-agent-copy span { display: block; margin-top: .1rem; }
.agent-address { white-space: pre-line; overflow-wrap: anywhere; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.15rem; }
.price-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; gap: .35rem; color: var(--muted); font-size: .85rem; }
.price-card h3 { margin-top: .25rem; }
.price-card p, .price-date { color: var(--muted); font-size: .86rem; margin: 0; }
.price-card .button { margin-top: auto; align-self: stretch; }
.empty-state { padding: clamp(1.3rem, 4vw, 2.7rem); background: var(--paper); border: 1px dashed #aebfca; border-radius: var(--radius); }
.empty-state h1, .empty-state h2 { margin-bottom: .6rem; }
.empty-state p:last-child { margin: 0; }
.empty-state a { font-weight: 650; }

.partner-card, .consign-form { padding: clamp(1.15rem, 3vw, 2.1rem); }
.home-profile-frame {
    --profile-gap: clamp(1.2rem, 3vw, 2.5rem);
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--profile-gap);
    padding: clamp(1.1rem, 4vw, 3rem); border: 1px solid #4d5c68; border-radius: 19px; color: #f5f8fa;
    background: radial-gradient(ellipse at 100% 0, rgb(216 179 109 / 24%), transparent 53%),
        linear-gradient(125deg, #0b1b2a, #19354c 70%, #273d4e);
    box-shadow: 0 14px 36px rgb(9 26 43 / 19%);
}
.home-profile-frame > :only-child { grid-column: 1 / -1; }
.home-profile-frame h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.home-profile-agent .agent { max-width: 36rem; margin: 1.15rem 0; }
.home-profile-agent .agent strong { font-size: clamp(1.1rem, 2vw, 1.45rem); }
.home-profile-agent .agent-copy > span { color: #e6c896; }
.home-profile-agent .agent-bio { color: #d5e2eb; line-height: 1.55; }
.home-profile-agent .agent-monogram { font-size: clamp(1.4rem, 4vw, 2.5rem); }
.home-profile-credentials { padding-left: var(--profile-gap); border-left: 1px solid rgb(225 195 145 / 33%); }
.home-credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.home-credential-grid > :only-child { grid-column: 1 / -1; }
.home-credential-grid .resource-card {
    color: var(--ink); background: #f7f8f9; border-color: #ebdfca; border-radius: 9px; overflow-wrap: anywhere;
}
.home-credential-grid .resource-card a { background: #e8eef1; }
.home-credential-grid .resource-card img { object-fit: contain; }
.home-credential-grid .resource-card h3 { font-size: 1rem; }
.home-credential-grid .resource-card:only-child a { aspect-ratio: 2.2; }
.home-partners { margin-top: 1rem; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr)); gap: .65rem; margin-top: 1rem; }
.partner-logos li {
    display: grid; place-items: center; align-content: center; padding: .65rem; min-height: 102px;
    border: 1px solid var(--line); border-radius: 7px; text-align: center; font-size: .85rem;
}
.partner-logos a { color: var(--ink); font-weight: 600; }
.partner-logos img { width: auto; height: 43px; object-fit: contain; margin-bottom: .3rem; }
.partner-logos span { display: block; overflow-wrap: anywhere; }
.partner-card .entry-content { margin-top: 1.15rem; }
.resource-card a { display: block; aspect-ratio: 1.6; }
.resource-card > div { padding: .85rem 1rem 1.1rem; }
.resource-card p { margin: .35rem 0 0; color: var(--muted); }
.handover-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); align-items: start; gap: 1.5rem; }
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
    gap: .8rem; list-style: none; padding: 0; margin: 0;
}
.process-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 .8rem; border-radius: 50%; background: #f2e5ca; color: var(--gold-dark); font-weight: 760; }
.process-grid h3 { font-size: 1rem; }
.process-grid p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }
.faq-grid, .consign-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(1rem, 4vw, 3rem); }
.faq-items { display: grid; gap: .55rem; }
.faq-items details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.faq-items summary { padding: .75rem 1rem; font-weight: 680; cursor: pointer; }
.faq-items summary::marker { color: var(--sky); }
.faq-items p { padding: 0 1rem .9rem; margin: 0; color: var(--muted); }
.consign-grid > div > p { margin-top: .65rem; color: var(--muted); }
.consign-grid > .actions { align-self: center; justify-content: flex-end; }
.consign-form { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.consign-form fieldset { min-inline-size: 0; margin: 0 0 1.4rem; padding: 0; border: 0; }
.consign-form legend { margin-bottom: .7rem; padding: 0; font-size: 1.15rem; font-weight: 730; }
.consignment-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.consignment-fields label { display: block; min-width: 0; font-weight: 650; }
.consignment-fields :is(input, select, textarea) {
    display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .5rem .65rem;
    background: var(--paper); color: var(--ink); border: 1px solid #9eb1bf; border-radius: 7px; font-weight: 400;
}
.consignment-wide { grid-column: 1 / -1; }
.consignment-drop { padding: .85rem; border: 1px dashed #8299ab; border-radius: 8px; background: var(--canvas); }
.consignment-drop.is-dragging { border-color: var(--sky); background: #e2effa; }
.consignment-help, .consignment-drop p { color: var(--muted); font-size: .875rem; }
.consignment-drop p { margin: .4rem 0 0; }
.consignment-clear { margin-top: .6rem; }
.consignment-message { padding: .65rem .8rem; border-radius: 6px; }
.consignment-message.is-success { background: #e6f3e9; color: #224c2c; }
.consignment-message.is-error { background: #f7e8ec; color: var(--burgundy); }
.consignment-drop .is-error { color: var(--burgundy); }
.consignment-content:not(:empty) { margin-top: 1.6rem; }
.consignment-trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }

.rank-math-breadcrumb { margin-bottom: 1.1rem; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a { color: #365c79; }
.archive-intro { padding: 1.8rem 0 1.35rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.archive-intro h1 { margin-bottom: .45rem; }
.archive-intro p { color: var(--muted); }
.listing-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.filter-search { grid-column: span 2; }
.filter-field { min-width: 0; }
.archive-range { position: relative; min-width: 0; }
.archive-range[open] { z-index: 7; }
.archive-range summary {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    min-height: 44px; padding: .52rem .8rem; list-style: none; cursor: pointer;
    background: var(--paper); color: var(--ink); border: 1px solid #9eb1bf; border-radius: 7px;
}
.archive-range summary::-webkit-details-marker { display: none; }
.archive-range-summary { min-width: 0; }
.archive-range-name, .archive-range-active { display: block; overflow-wrap: anywhere; }
.archive-range.is-filtered summary { padding-block: .3rem; line-height: 1.25; background: #eef5f8; }
.archive-range.is-filtered .archive-range-name { color: var(--muted); font-size: .75rem; }
.archive-range-active { color: #214b64; font-size: .9rem; }
.archive-range summary::after {
    content: ''; width: .45rem; height: .45rem; flex: 0 0 .45rem; margin-right: .15rem;
    border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.archive-range[open] summary, .archive-range.is-filtered summary { border-color: var(--sky); }
.archive-range-panel {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + .45rem); left: var(--range-shift, 0);
    width: min(22.5rem, calc(100vw - 1.5rem)); max-height: min(33rem, var(--range-space, 85vh)); overflow-y: auto;
    background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow);
}
.archive-range:not([open]) .archive-range-panel { display: none; }
.archive-range-panel.is-above { top: auto; bottom: calc(100% + .45rem); }
.archive-range-header, .archive-range-actions {
    display: flex; flex: none; align-items: center; justify-content: center; position: relative; padding: .7rem .9rem;
}
.archive-range-header { border-bottom: 1px solid var(--line); }
.archive-range-close, .archive-range-reset {
    border: 0; background: transparent; color: var(--ink); font-weight: 650; cursor: pointer;
}
.archive-range-close { position: absolute; right: .45rem; inset-block: 0; width: 2.5rem; color: var(--muted); font-size: 1.4rem; }
.archive-range-body { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: .85rem .9rem .5rem; }
.archive-range-values { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: .55rem; }
.archive-range-values > span { align-self: end; padding-bottom: .55rem; }
.archive-range-values label { min-width: 0; color: var(--ink); font-size: .8rem; }
.archive-range-values small { white-space: nowrap; color: var(--muted); }
.listing-filters .archive-range-values input { display: block; min-height: 37px; margin-top: .25rem; padding: .35rem .45rem; text-align: center; }
.archive-range-sliders { position: relative; flex: 0 0 36px; margin: .6rem .1rem .35rem; color: #398a94; }
.archive-range-sliders::before {
    content: ''; position: absolute; inset: 50% 10px auto; height: 4px; transform: translateY(-50%); border-radius: 6px;
    background: linear-gradient(to right, var(--line) 0 var(--range-from, 0%), currentColor var(--range-from, 0%) var(--range-to, 100%), var(--line) var(--range-to, 100%) 100%);
}
.listing-filters .archive-range-sliders input[type="range"] {
    position: absolute; inset: 0; margin: 0; padding: 0; height: 100%; min-height: 0; appearance: none;
    border: 0; background: transparent; pointer-events: none;
}
.archive-range-sliders input::-webkit-slider-thumb {
    appearance: none; width: 22px; height: 22px; border: 1px solid #b9d7df; border-radius: 50%;
    background: #398a94; cursor: ew-resize; pointer-events: auto;
}
.archive-range-sliders input::-moz-range-thumb {
    width: 20px; height: 20px; border: 1px solid #b9d7df; border-radius: 50%;
    background: #398a94; cursor: ew-resize; pointer-events: auto;
}
.archive-range-sliders input:focus { z-index: 1; }
.archive-range-options { min-width: 0; min-height: 2.5rem; max-height: 9rem; overflow-y: auto; padding: 0 .2rem 0 0; margin: .25rem 0 0; border: 0; }
.archive-range-options label {
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    min-height: 2rem; font-size: .875rem; cursor: pointer;
}
.listing-filters .archive-range-options input[type="radio"] {
    flex: 0 0 15px; width: 15px; min-height: 0; height: 15px; margin: 0 .1rem 0 0; padding: 0; accent-color: var(--navy);
}
.archive-range-actions { justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); }
.archive-range-actions .button { margin-left: auto; min-height: 37px; }
.listing-filters input, .listing-filters select, .site-search input, .comments-area :is(input:not([type="submit"], [type="checkbox"]), textarea) {
    width: 100%; min-height: 44px; background: var(--paper); color: var(--ink);
    border: 1px solid #9eb1bf; border-radius: 7px; padding: .52rem .8rem;
}
.listing-filters select {
    appearance: none; padding-right: 2rem; text-overflow: ellipsis;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%;
    background-size: 5px 5px; background-repeat: no-repeat;
}
.listing-filters .actions { grid-column: span 1; }
.reset-link { white-space: nowrap; font-size: .86rem; font-weight: 650; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 29%); align-items: start; gap: clamp(.9rem, 2.3vw, 1.85rem); }
.archive-layout { padding-block: 1.35rem 4rem; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 39px; margin-bottom: .75rem; }
.archive-toolbar p { margin: 0; color: var(--muted); font-size: .9rem; }
.view-controls { display: flex; gap: .28rem; padding: .22rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.view-controls button {
    display: grid; place-items: center; min-width: 42px; min-height: 38px; padding: .4rem;
    background: transparent; border: 0; border-radius: 5px; color: var(--navy);
}
.view-controls button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.view-icon { display: block; width: 16px; height: 15px; }
.icon-list { background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px); }
.icon-grid {
    background: linear-gradient(currentColor, currentColor) left top / 6px 6px,
        linear-gradient(currentColor, currentColor) right top / 6px 6px,
        linear-gradient(currentColor, currentColor) left bottom / 6px 6px,
        linear-gradient(currentColor, currentColor) right bottom / 6px 6px;
    background-repeat: no-repeat;
}
.archive-cards { display: grid; gap: .85rem; }
.archive-cards[data-layout="list"] .listing-card { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.archive-cards[data-layout="list"] .listing-media { aspect-ratio: auto; min-height: 205px; align-self: stretch; }
.archive-cards[data-layout="list"] :is(.listing-media img, .media-placeholder) { position: absolute; inset: 0; }
.archive-cards[data-layout="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive-cards[data-layout="grid"] .listing-card { display: flex; flex-direction: column; }
.archive-cards[data-layout="grid"] .listing-body { display: flex; flex-direction: column; flex: 1; }
.archive-cards[data-layout="grid"] .listing-bottom { margin-top: auto; }
.archive-cards[data-layout="grid"] .listing-excerpt { margin-bottom: .65rem; }
.sidebar { display: grid; min-width: 0; gap: .8rem; }
.sidebar-box { padding: .95rem; }
.sidebar-box h2 { margin-bottom: .65rem; font-size: 1.15rem; }
.advisor { display: grid; gap: .8rem; }
.advisor p { margin: 0; color: var(--muted); font-size: .91rem; }
.advisor-booking { padding: clamp(.85rem, 1.7vw, 1.25rem); }
.advisor-booking .agent, .home-profile-agent .agent {
    display: grid; grid-template-columns: 35% minmax(0, 1fr); align-items: start; gap: clamp(.65rem, 1.4vw, 1rem);
}
.advisor-booking .agent strong { font-size: 1.06rem; }
.advisor-booking .agent-photo-wrap, .home-profile-agent .agent-photo-wrap { width: 100%; }
.advisor-booking .agent-photo, .home-profile-agent .agent-photo { border: 2px solid #e8ce9c; }
.advisor-booking .agent-monogram { font-size: 1.45rem; }
.advisor-booking .agent-bio, .home-profile-agent .agent-bio { margin-top: .4rem; overflow-wrap: anywhere; white-space: pre-line; }
.advisor-booking > .button { width: 100%; }
.advisor-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: .45rem; }
.advisor-actions .button { flex: 1 1 auto; }
.sidebar-links a[aria-current="true"] { color: var(--sky); font-weight: 750; }
@media (min-width: 801px) {
    .is-advisor-fixed > .advisor {
        position: fixed; z-index: 4; top: var(--advisor-top); left: var(--advisor-left); width: var(--advisor-width);
        box-shadow: var(--shadow);
    }
    @media (prefers-reduced-motion: no-preference) {
        .is-advisor-fixed > .advisor { animation: advisor-appear 170ms ease-out; }
    }
}
@keyframes advisor-appear {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.booking-dialog {
    width: min(calc(100% - 1rem), 475px); max-width: none; max-height: 92vh; padding: 0;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.booking-dialog::backdrop { background: rgb(8 24 39 / 68%); }
.booking-panel { position: relative; padding: clamp(1.1rem, 4vw, 1.7rem); }
.booking-panel h2 { padding-right: 2.1rem; font-size: 1.55rem; }
.booking-close {
    position: absolute; top: .7rem; right: .7rem; width: 39px; height: 39px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-size: 1.35rem; line-height: 1;
}
.booking-listing { margin: .45rem 0 1rem; color: var(--muted); }
.booking-field { display: block; margin-bottom: .7rem; font-weight: 650; }
.booking-field input {
    display: block; width: 100%; min-height: 44px; margin-top: .2rem; padding: .45rem .65rem;
    border: 1px solid #9eb1bf; border-radius: 7px; color: var(--ink); background: var(--paper); font-weight: 400;
}
.booking-consent { margin-bottom: .8rem; font-size: .88rem; }
.booking-turnstile { margin: 0 -.4rem .7rem; }
.booking-message { margin: .5rem 0; color: #1e6140; font-size: .88rem; }
.booking-message.is-error { color: var(--burgundy); }
.booking-panel .button:disabled { opacity: .7; cursor: wait; }
.sidebar-links li + li { border-top: 1px solid var(--line); }
.sidebar-links a { display: block; padding: .48rem 0; color: var(--navy); font-size: .89rem; text-decoration: none; }
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-related .listing-card + .listing-card { margin-top: .65rem; }
.pagination, .comments-pagination { margin: 1.4rem 0 0; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.page-numbers {
    min-width: 41px; min-height: 41px; display: grid; place-items: center; padding: .3rem;
    border-radius: 7px; border: 1px solid var(--line); color: var(--navy); background: var(--paper); text-decoration: none;
}
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.page-numbers.dots { background: transparent; border-color: transparent; }

.listing-detail { padding-block: 1.6rem 4rem; }
.detail-main { min-width: 0; }
.detail-heading { margin: 1.3rem 0 1rem; }
.detail-heading h1 { margin-top: .55rem; font-size: clamp(1.75rem, 3.4vw, 2.9rem); }
.detail-flags { display: flex; align-items: center; gap: .45rem; }
.detail-featured { color: var(--burgundy); font-size: .8rem; font-weight: 700; }
.detail-location { color: var(--muted); margin: .55rem 0 0; overflow-wrap: anywhere; }
.detail-facts {
    margin: 0; display: flex; flex-wrap: wrap; gap: 1px; padding: 1px;
    border-radius: 8px; background: var(--line); overflow: hidden;
}
.detail-facts > div { flex: 1 1 140px; background: var(--paper); padding: .68rem .8rem; }
.detail-facts dt, .details-grid dt { color: var(--muted); font-size: .9rem; }
.detail-facts dd { margin: .2rem 0 0; font-weight: 750; font-size: 1.12rem; }
.detail-section { margin-top: 1.5rem; }
.detail-section h2 { margin: 0 0 .65rem; font-size: 1.35rem; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.3rem; margin: 0; }
.details-grid > div { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.details-grid dt { min-width: 20%; }
.details-grid dd { margin: 0; text-align: right; font-weight: 630; overflow-wrap: anywhere; }
.detail-meta { margin: 1.15rem 0 0; font-size: .86rem; color: var(--muted); }
.detail-confirm-availability { margin-top: .65rem; }
.detail-confirm-availability .button {
    border-color: #176644; background: #176644; color: #fff;
}
.detail-confirm-availability .button:is(:hover, :focus-visible) {
    border-color: #104b32; background: #104b32; color: #fff;
}
.gallery { min-width: 0; }
.gallery-stage { position: relative; overflow: hidden; border-radius: 13px; background: var(--navy-deep); }
.gallery-open { position: relative; display: block; cursor: zoom-in; aspect-ratio: 1.58; }
.gallery-frame { display: block; position: relative; overflow: hidden; }
.gallery-open > .gallery-frame { position: absolute; inset: 0; }
.gallery-frame-full { height: min(86vh, 860px); border-radius: inherit; }
.gallery-frame-full.is-zoomed { cursor: grab; touch-action: none; }
.gallery-frame-full.is-panning { cursor: grabbing; }
.gallery-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-frame > .gallery-slide-out { position: absolute; inset: 0; }
.gallery-open.is-video { cursor: pointer; background: radial-gradient(ellipse at center, #284963, var(--navy-deep)); }
.gallery-open.is-video .gallery-frame { opacity: .55; }
.gallery-play-label {
    display: inline-flex; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px;
    background: rgb(10 26 42 / 90%); color: #fff; font-weight: 700; white-space: nowrap;
}
.gallery-play-icon {
    display: inline-grid; place-items: center; width: 1.7em; aspect-ratio: 1; flex: none;
    border-radius: 50%; background: var(--gold); color: var(--navy-deep);
}
.gallery-play-icon::before {
    content: ""; width: 0; height: 0; margin-inline-start: .15em;
    border-block: .28em solid transparent; border-inline-start: .43em solid currentColor;
}
.gallery-zoom, .gallery-count { position: absolute; bottom: .65rem; padding: .25rem .58rem; border-radius: 5px; background: rgb(10 26 42 / 88%); color: #fff; font-size: .8rem; }
.gallery-zoom { left: .65rem; }
.gallery-count { right: .65rem; pointer-events: none; }
.gallery-prev, .gallery-next, .gallery-close {
    position: absolute; display: grid; place-items: center; border: 1px solid #7390a3;
    background: rgb(10 26 42 / 87%); color: #fff; border-radius: 50%; width: 42px; height: 42px;
    padding: 0; font-size: 1.55rem; line-height: 1;
}
.gallery-prev:hover, .gallery-next:hover, .gallery-close:hover { background: var(--navy-light); }
.gallery-prev, .gallery-next { top: 50%; transform: translateY(-50%); }
.gallery-prev { left: .65rem; }
.gallery-next { right: .65rem; }
.gallery-thumbs { display: flex; gap: .4rem; overflow-x: auto; margin-top: .5rem; padding: .18rem; }
.gallery-thumbs a { flex: 0 0 74px; aspect-ratio: 1.25; border: 2px solid transparent; border-radius: 6px; overflow: hidden; }
.gallery-thumbs a[aria-current="true"] { border-color: #297698; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .gallery-video-thumb { position: relative; display: grid; place-items: center; background: var(--navy); }
.gallery-video-thumb img { position: absolute; inset: 0; opacity: .75; }
.gallery-video-thumb .gallery-play-icon { position: relative; }
.gallery-dialog {
    width: min(94vw, 1280px); max-width: none; max-height: none; padding: 0; border: 0;
    border-radius: 10px; background: transparent; color: #fff; overflow: visible;
}
.gallery-dialog::backdrop { background: rgb(5 14 24 / 94%); }
.gallery-dialog-content { position: relative; min-height: 130px; border-radius: inherit; background: var(--navy-deep); }
.gallery-dialog.is-video { width: min(94vw, 1080px, 145vh); }
.gallery-dialog.is-portrait-video { width: min(88vw, 26rem, 43vh); }
.gallery-video-player {
    position: relative; display: grid; place-items: center; overflow: hidden;
    aspect-ratio: 16 / 9; background: #080e15; border-radius: inherit;
}
.is-portrait-video .gallery-video-player { aspect-ratio: 9 / 16; }
.gallery-video-player :is(video, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-video-player video { object-fit: contain; }
.gallery-video-player p { margin: 1rem; text-align: center; }
.gallery-video-source { display: block; width: fit-content; margin: .1rem auto 0; padding: .62rem 0; color: #fff; font-size: .83rem; }
.gallery-video-source:hover { color: var(--gold); }
.gallery-dialog.is-video .gallery-count { bottom: auto; top: .65rem; left: .65rem; right: auto; }
.gallery-dialog.is-video :is(.gallery-prev, .gallery-next) { width: 36px; height: 36px; opacity: .5; }
.gallery-zoom-controls {
    position: absolute; z-index: 1; left: 50%; bottom: .65rem; transform: translateX(-50%);
    display: flex; gap: .2rem; padding: .2rem; border: 1px solid #7390a3; border-radius: 8px;
    background: rgb(10 26 42 / 92%);
}
.gallery-zoom-controls button {
    min-width: 2.25rem; min-height: 2.25rem; border: 0; border-radius: 5px;
    padding: .15rem .4rem; background: transparent; color: #fff; font-weight: 700;
}
.gallery-zoom-controls button:disabled { opacity: .45; cursor: default; }
.gallery-zoom-controls button:hover:not(:disabled) { background: var(--navy-light); }
.advisor-slot { position: relative; }
.listing-video-quick {
    position: absolute; display: grid; align-items: end; width: 100%; overflow: hidden; aspect-ratio: 16 / 9;
    margin-top: .65rem; border: 1px solid #607a8d; border-radius: 12px;
    background: linear-gradient(155deg, #284963, var(--navy-deep)); color: #fff; text-decoration: none;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.listing-video-quick.is-visible {
    position: relative; opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.listing-video-quick:hover { color: #fff; border-color: var(--gold); }
.listing-video-quick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.listing-video-quick-label {
    position: relative; display: flex; align-items: center; gap: .5rem; padding: .6rem .7rem;
    background: linear-gradient(transparent, rgb(10 26 42 / 95%)); font-size: .86rem; font-weight: 700;
}
@media (min-width: 801px) {
    .is-advisor-fixed > .listing-video-quick {
        position: fixed; z-index: 4; top: calc(var(--advisor-top) + var(--advisor-height)); left: var(--advisor-left);
        width: var(--advisor-width); max-height: max(0px, calc(100vh - var(--advisor-top) - var(--advisor-height) - 1.3rem));
    }
}
.gallery-dialog[open] .gallery-dialog-content {
    transform-origin: center;
    animation: gallery-zoom-in 280ms cubic-bezier(.18, .74, .27, 1) both;
}
@keyframes gallery-zoom-in {
    from { transform: scale(.22); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-dialog[open] .gallery-dialog-content { animation: none; }
}
.gallery-close { top: .65rem; right: .65rem; z-index: 1; }

.standard-page { min-height: 50vh; padding-block: 1.7rem 4rem; }
.page-heading { margin-bottom: 1.35rem; }
.page-heading > p { margin-top: .6rem; color: var(--muted); }
.news-body { padding: 1rem; }
.news-body :is(h2, h3) { margin: .4rem 0 .5rem; font-size: 1.18rem; line-height: 1.28; }
.news-body time, .news-body p, .article-meta { color: var(--muted); font-size: .89rem; }
.news-body p { margin: 0; }
.article-page { max-width: 1020px; margin-inline: auto; }
.article-page h1 { font-size: clamp(1.85rem, 4vw, 3.25rem); margin-bottom: .6rem; }
.article-image { margin: 1.2rem 0; border-radius: var(--radius); overflow: hidden; }
.article-image img { width: 100%; }
.article-related, .comments-area { margin: 2rem 0 0; }
.article-meta a { color: #365c79; }
.entry-content { overflow-wrap: anywhere; }
.entry-content :where(h2, h3, h4) { margin: 1.25em 0 .5em; }
.entry-content :where(ul, ol) { margin: 0 0 1rem; padding-left: 1.5rem; }
.entry-content figure { margin-inline: 0; }
.entry-content :is(table, pre) { max-width: 100%; overflow: auto; }
.entry-content table { border-collapse: collapse; }
.entry-content :is(th, td) { border: 1px solid var(--line); padding: .4rem .55rem; }
.ttgcs-price-table {
    max-width: 1024px; min-width: 0; margin: clamp(1.5rem, 5vw, 3rem) auto;
    color: var(--ink); overflow-wrap: break-word;
}
.ttgcs-price-table-heading { margin-bottom: 1rem; text-align: center; }
.ttgcs-price-table .ttgcs-price-table-heading h2 { margin: 0; font-size: clamp(1.35rem, 3.2vw, 2rem); }
.ttgcs-price-table-heading p { margin: .4rem auto 0; max-width: 75ch; }
.ttgcs-price-table-date, .ttgcs-price-table-source { color: var(--muted); font-size: .86rem; }
.ttgcs-price-table-scroll {
    max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px;
    background: var(--paper); box-shadow: var(--shadow); overscroll-behavior-inline: contain;
}
.ttgcs-price-table table {
    width: 100%; min-width: 880px; margin: 0; border-spacing: 0; table-layout: fixed;
    text-align: left; font-size: .9rem; line-height: 1.5;
}
.ttgcs-price-table table :is(th, td) {
    vertical-align: top; padding: .75rem .8rem; border: 0; border-bottom: 1px solid var(--line);
}
.ttgcs-price-table thead { background: #28545c; color: #fff; }
.ttgcs-price-table thead th { font-weight: 700; border-bottom: 0; }
.ttgcs-price-table-inventory-col { width: 90px; }
.ttgcs-price-table-money-col { width: clamp(150px, 22%, 200px); }
.ttgcs-price-table thead small { font-weight: 400; font-style: italic; }
.ttgcs-price-table tbody tr:nth-child(even) { background: #f7f6f2; }
.ttgcs-price-table tbody tr:last-child > * { border-bottom: 0; }
.ttgcs-price-table-money { color: var(--gold-dark); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ttgcs-price-table .ttgcs-price-table-source { margin-top: .7rem; }
.ttgcs-price-table-cell-label, .ttgcs-price-table-mobile-notes { display: none; }
@media (max-width: 620px) {
    .ttgcs-price-table-scroll { overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .ttgcs-price-table .ttgcs-price-table-scroll table { display: block; min-width: 0; overflow: visible; }
    .ttgcs-price-table colgroup { display: none; }
    .ttgcs-price-table thead {
        position: absolute; width: 1px; height: 1px; padding: 0;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    .ttgcs-price-table tbody { display: grid; gap: .65rem; }
    .ttgcs-price-table tbody tr {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem;
        padding: .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
    }
    .ttgcs-price-table tbody tr > :is(th, td) {
        min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; white-space: normal;
    }
    .ttgcs-price-table tbody tr > th[scope="row"] {
        grid-column: 1 / -1; grid-row: 1; padding-bottom: .5rem;
        border-bottom: 1px solid var(--line); font-size: 1rem;
    }
    .ttgcs-price-table-cell-label { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
    .ttgcs-price-table tbody tr > .ttgcs-price-table-money {
        grid-column: 1; padding: .45rem .5rem; border-radius: 6px; background: #f3eee2;
    }
    .ttgcs-price-table tbody tr > .ttgcs-price-table-money + .ttgcs-price-table-money { grid-column: 2; }
    .ttgcs-price-table-mobile-notes { display: block; margin-top: .75rem; color: var(--muted); font-size: .82rem; }
    .ttgcs-price-table-mobile-notes p { margin: .2rem 0; }
}
.entry-content iframe { max-width: 100%; }
.price-large { font-size: clamp(1.4rem, 3vw, 2rem); }
.price-large span { color: var(--muted); font-size: 1rem; padding-left: .3rem; }
.site-search { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.site-search label { flex: 0 1 320px; }

.contact-section {
    padding-block: clamp(2.9rem, 6vw, 5.5rem); background: radial-gradient(ellipse at 84% 0%, #2b475f, transparent 50%), var(--navy-deep);
    color: #fff; scroll-margin-top: 1rem;
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: clamp(1.25rem, 7vw, 6rem); }
.contact-copy > h2 { max-width: 21ch; font: 700 clamp(1.95rem, 4vw, 3.5rem)/1.07 var(--font-family); letter-spacing: -.035em; }
.contact-copy > p { color: #d4e0e9; margin: .85rem 0 1rem; max-width: 55ch; }
.contact-section .button-phone { background: #244761; }
.contact-section .button-phone:hover { background: #335b79; }
.contact-card { border: 1px solid #617486; border-radius: var(--radius); background: rgb(255 255 255 / 6%); padding: 1.15rem; }
.contact-card dl { margin: .9rem 0 0; }
.contact-card dl > div { display: grid; grid-template-columns: minmax(74px, .45fr) minmax(0, 1fr); gap: .6rem; padding: .55rem 0; border-top: 1px solid #586976; }
.contact-card dt { color: #bfcedb; font-size: .85rem; }
.contact-card dt :is(i, .presence-dot) { margin-inline-end: .45em; }
.contact-card dt i { color: #f0cf91; }
.contact-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.contact-card a { color: #f0cf91; }
.contact-form { margin-top: 1rem; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(.85rem, 2.5vw, 1.5rem); }
.site-footer { background: var(--navy-deep); color: #fff; border-top: 1px solid #304456; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; padding-block: 1.35rem; gap: 1rem; }
.footer-inner p { margin: .55rem 0 0; color: #d0dbe4; font-size: .85rem; }
.footer-menu { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.15rem; }
.footer-menu a { color: #e2eaf0; font-size: .86rem; }
.footer-menu .sub-menu { list-style: none; padding-left: .8rem; }
.mobile-contact { display: none; }

@media (max-width: 1050px) {
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .listing-filters .actions { grid-column: span 2; }
}

@media (max-width: 800px) {
    .gallery-dialog.is-video { width: min(88vw, 26rem, 43vh); width: min(88vw, 26rem, 43svh); }
    .gallery-dialog.is-video .gallery-video-player { aspect-ratio: 9 / 16; }
    .listing-video-quick, .listing-video-quick.is-visible {
        position: fixed; z-index: 7; top: max(var(--video-top, 12px), env(safe-area-inset-top));
        right: max(.4rem, env(safe-area-inset-right)); width: 25vw; max-height: 35vh;
        margin: 0; align-items: stretch; aspect-ratio: 9 / 16;
    }
    .listing-video-quick-label { display: grid; place-items: center; padding: 0; background: rgb(10 26 42 / 24%); }
    .listing-video-quick-label > :not(.gallery-play-icon) { display: none; }
    .header-inner { min-height: 64px; flex-wrap: wrap; row-gap: 0; }
    .header-contact { margin-left: auto; }
    .menu-toggle {
        order: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
        border: 1px solid #678096; border-radius: 6px; color: #fff; background: transparent; font-size: 1.3rem;
    }
    .dtk-nav { flex-basis: 100%; order: 3; }
    .dtk-nav.is-enhanced:not(.is-open) { display: none; }
    .nav-menu { align-items: stretch; flex-direction: column; padding: .35rem 0 .8rem; }
    .nav-menu .sub-menu { display: block; position: static; padding: 0 0 0 1rem; }
    .home-hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: clamp(1.45rem, 5vw, 3rem); }
    .hero-visual { min-height: clamp(210px, 52vw, 380px); }
    .two-column, .home-profile-frame, .faq-grid, .consign-grid, .handover-grid { grid-template-columns: 1fr; }
    .home-profile-credentials { padding: var(--profile-gap) 0 0; border-left: 0; border-top: 1px solid rgb(225 195 145 / 33%); }
    .consign-grid > .actions { justify-content: flex-start; }
    .archive-layout .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sidebar-related { display: grid; gap: .6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sidebar-related h2 { grid-column: 1 / -1; margin: 0; }
    .sidebar-related .listing-card + .listing-card { margin: 0; }
}

@media (max-width: 560px) {
    .consignment-fields { grid-template-columns: 1fr; }
    .container { width: calc(100% - 1.5rem); }
    .brand-logo { max-width: 115px; }
    .brand-wordmark { font-size: .75rem; }
    .header-contact { font-size: .75rem; min-height: 40px; padding-inline: .55rem; }
    .header-inner { column-gap: .45rem; }
    .home-hero { padding: .75rem 0 1.65rem; }
    .home-hero-grid { border-radius: 14px; }
    .hero-actions { margin-bottom: 1.1rem; }
    .section-head { align-items: flex-start; flex-direction: column; gap: .7rem; }
    .cards-grid, .news-grid { gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.cards-grid, .news-grid, .archive-cards) .listing-media { aspect-ratio: 3 / 4; }
    .listing-card-compact .listing-body, .news-body { padding: .62rem; }
    .listing-card-compact .listing-title { font-size: .91rem; }
    .listing-card .listing-location { display: none; }
    .listing-bottom .actions { gap: .3rem; }
    .listing-bottom .button:is(.button-phone, .button-zalo) {
        padding-inline: .25rem; gap: .25rem; font-size: .67rem; white-space: nowrap;
    }
    .listing-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .archive-layout .sidebar, .contact-grid, .details-grid { grid-template-columns: 1fr; }
    .archive-cards .listing-card .listing-title a {
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    }
    .archive-cards :is(.listing-excerpt, .listing-agent .agent-address) { display: none; }
    .archive-cards[data-layout="list"] .listing-card { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
    .archive-cards[data-layout="list"] .listing-media {
        align-self: start; width: 100%; min-width: 0; min-height: 0; aspect-ratio: 3 / 4;
    }
    .archive-cards[data-layout="list"] .listing-body { padding: .65rem; }
    .archive-cards[data-layout="grid"] { gap: .5rem; }
    .archive-cards[data-layout="grid"] .listing-body { padding: .55rem; }
    .archive-cards[data-layout="grid"] .listing-unit { display: none; }
    .sidebar-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-thumbs a { flex-basis: 60px; }
    .mobile-contact {
        position: fixed; z-index: 8; inset: auto 0 0;
        display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
        padding: .6rem max(.3rem, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(.3rem, env(safe-area-inset-left));
        border-top: 2px solid #cda458; border-radius: 20px 20px 0 0;
        background: linear-gradient(155deg, #1a434d, #102b39 70%, #0d2331);
        box-shadow: 0 -6px 26px rgb(10 26 42 / 35%);
        visibility: hidden; opacity: 0; transform: translateY(100%);
        transition: transform .4s ease, opacity .25s ease, visibility 0s linear .4s;
    }
    .mobile-contact.is-visible {
        visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s;
    }
    .mobile-contact-item {
        display: flex; align-items: center; justify-content: center; gap: clamp(.25rem, 1.5vw, .6rem);
        min-width: 0; min-height: 44px; padding: .2rem clamp(.2rem, 1.6vw, .55rem);
        border: 0; border-radius: 0; background: transparent; color: #fff; text-align: left; text-decoration: none; cursor: pointer;
    }
    .mobile-contact-item + .mobile-contact-item { border-inline-start: 1px solid rgb(227 193 131 / 30%); }
    .mobile-contact-item:is(:hover, :focus-visible) { background: rgb(255 255 255 / 8%); color: #fff; text-decoration: none; }
    .mobile-contact-item:focus-visible { outline-offset: -2px; }
    .mobile-contact-icon { position: relative; flex: none; color: #e9bf76; font-size: clamp(.95rem, 4.5vw, 1.45rem); }
    .mobile-contact-icon .presence-dot { position: absolute; top: 0; right: -.15rem; width: .45rem; height: .45rem; }
    .mobile-contact-copy { min-width: 0; line-height: 1.2; }
    .mobile-contact-copy strong { display: block; font-size: clamp(.72rem, 3.3vw, 1rem); }
    .mobile-contact-copy small {
        display: block; margin-top: .15rem; overflow: hidden; color: #d0dce2;
        font-size: clamp(.63rem, 2.7vw, .85rem); text-overflow: ellipsis; white-space: nowrap;
    }
    body:has(.mobile-contact.is-visible) .site-footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .presence-dot::after { animation: none; }
}
