/* Homewise 2026 – small non-utility rules (HW pages only). Tailwind utilities are in tailwind.min.css. */
body.hw26 { font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif; }
.hw26 .font-heading { font-family: 'Cormorant Garamond', ui-serif, Georgia, serif; }
.hw26 .font-body { font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif; }
.hw26 select { -webkit-appearance: none; appearance: none; background-image: none; border-radius: 0; }
.hw26 .hw-safe-bottom { padding-bottom: env(safe-area-inset-bottom); }
/* Sticky nav sits under the WP admin bar for logged-in users. */
.admin-bar.hw26 nav.sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar.hw26 nav.sticky { top: 0; } }

/* Our own Call / WhatsApp buttons replace the Click-to-Chat floating button on these pages. */
.hw26 .ccw_plugin, .hw26 .ht-ctc, .hw26 .ht_ctc_chat_greetings_box, .hw26 #ht-ctc-chat { display: none !important; }

/* Google Language Translator floating switcher: keep the site's existing pill style, only move it
   clear of the new sticky Call/WhatsApp bar (the Click-to-Chat button is hidden on these pages). */
html body.hw26 #glt-translate-trigger { position: fixed !important; top: auto !important; right: auto !important; left: 20px !important; bottom: 20px !important; margin: 0 !important; }
@media (max-width: 767px) {
	html body.hw26 #glt-translate-trigger { left: 10px !important; bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
}

/* ---- v1.3: property, content pages, forms, blog ---- */
.hw26 .hw-strip { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hw26 .hw-strip::-webkit-scrollbar { display: none; }
.hw26 .hw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hw26 .hw-choice { position: relative; cursor: pointer; }
.hw26 .hw-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.hw26 .hw-choice span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid #d6d3d1; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #44403c; }
.hw26 .hw-choice input:checked + span { background: #1c1917; border-color: #1c1917; color: #fff; }
.hw26 .hw-choice input:focus-visible + span { outline: 2px solid #1c1917; outline-offset: 2px; }
.hw26 input[type=file] { font-size: 13px; }
.hw26 input[type=file]::file-selector-button { border: 1px solid #1c1917; background: #fff; padding: 8px 14px; margin-right: 12px; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.admin-bar.hw26 .lg\:top-32 { top: calc(8rem + 32px); }

/* Readable long text (listing descriptions, blog posts). */
.hw26 .hw-prose { color: #44403c; font-size: 15px; line-height: 1.8; overflow-wrap: break-word; }
.hw26 .hw-prose > * + * { margin-top: 1.1em; }
.hw26 .hw-prose h2, .hw26 .hw-prose h3, .hw26 .hw-prose h4 { font-family: 'Cormorant Garamond', ui-serif, Georgia, serif; color: #1c1917; font-weight: 500; line-height: 1.2; margin-top: 1.8em; }
.hw26 .hw-prose h2 { font-size: 30px; } .hw26 .hw-prose h3 { font-size: 24px; } .hw26 .hw-prose h4 { font-size: 20px; }
.hw26 .hw-prose a { color: #1c1917; border-bottom: 1px solid #1c1917; text-decoration: none; }
.hw26 .hw-prose a:hover { color: #57534e; }
.hw26 .hw-prose ul { list-style: disc; padding-left: 1.3em; } .hw26 .hw-prose ol { list-style: decimal; padding-left: 1.3em; }
.hw26 .hw-prose li + li { margin-top: .4em; }
.hw26 .hw-prose strong { color: #1c1917; font-weight: 600; }
.hw26 .hw-prose blockquote { border-left: 2px solid #1c1917; padding-left: 1.2em; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #1c1917; }
.hw26 .hw-prose img { max-width: 100%; height: auto; }
.hw26 .hw-prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.hw26 .hw-prose th, .hw26 .hw-prose td { border: 1px solid #e7e5e4; padding: 8px 10px; text-align: left; }
.hw26 .hw-prose figure { margin-left: 0; margin-right: 0; }
.hw26 .hw-prose figcaption { font-size: 12px; color: #78716c; margin-top: .5em; }
.hw26-post .hw-prose { font-size: 17px; }
@media (max-width: 767px) { .hw26-post .hw-prose { font-size: 16px; } .hw26 .hw-prose h2 { font-size: 26px; } }

/* ---- v1.4: full-width bars, slide-in panel ---- */
.hw26 .hw-bar:focus-visible { outline: 2px solid #1c1917; outline-offset: 2px; }
.hw26 dialog.hw-panel { position: fixed; inset: 0 0 0 auto; border: 0; overflow-y: auto; }
.hw26 dialog.hw-panel::backdrop { background: rgba(28, 25, 23, .55); }
.hw26 dialog.hw-panel[open] { animation: hw-slide .22s ease-out; }
@keyframes hw-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hw26 dialog.hw-panel[open] { animation: none; } }
.hw26 .hw-fav[aria-pressed="true"] { color: #b91c1c; }
.hw26 .hw-fav[aria-pressed="true"] svg { fill: currentColor; }

/* ---- v1.6: Search by District (/search-by-district/) – Homewise brand: stone neutrals, bronze #b45309 (amber-700), WhatsApp green ---- */
.hw26 .hw-bronze { color: #b45309; }
.hw26 .hw-bronze-bg { background: #b45309; }
.hw26 .hw-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #d6d3d1; background: #fff; color: #292524; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-decoration: none; transition: border-color .15s, color .15s; }
.hw26 .hw-chip:hover, .hw26 .hw-chip:focus-visible { border-color: #b45309; color: #b45309; }
.hw26 .hw-dgrid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 560px) { .hw26 .hw-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hw26 .hw-dgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.hw26 .hw-dcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7e5e4; transition: border-color .15s, box-shadow .15s; }
.hw26 .hw-dcard:hover { border-color: #b45309; box-shadow: 0 8px 24px rgba(28, 25, 23, .08); }
.hw26 .hw-dcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e7e5e4; }
.hw26 .hw-dcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hw26 .hw-dcard:hover .hw-dcard-media img { transform: scale(1.05); }
.hw26 .hw-dcard-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 25, 23, .88) 0%, rgba(28, 25, 23, .35) 45%, rgba(28, 25, 23, 0) 75%); }
.hw26 .hw-dcard-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hw26 .hw-dcard-name { color: #fff; font-size: 26px; font-weight: 500; line-height: 1.1; }
.hw26 .hw-dcard-name span { font-family: 'DM Sans', 'Montserrat', system-ui, sans-serif; font-size: 15px; font-weight: 600; color: #e7e5e4; margin-left: 4px; }
.hw26 .hw-dcard-count { display: inline-block; background: #b45309; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; }
.hw26 .hw-ph-tag { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); color: #78350f; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; }
.hw26 .hw-dcard-links { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 18px; min-height: 52px; border-top: 1px solid #e7e5e4; }
.hw26 .hw-dcard-cta, .hw26 .hw-dcard-guide { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hw26 .hw-dcard-cta { color: #1c1917; }
.hw26 .hw-dcard-cta:hover { color: #b45309; }
.hw26 .hw-dcard-guide { color: #b45309; }
.hw26 .hw-dcard-guide:hover { color: #92400e; }
/* v1.6.1: primary = district guide (bronze), small secondary 'All listings' */
.hw26 .hw-dcard-links .hw-dcard-cta { color: #b45309; }
.hw26 .hw-dcard-links .hw-dcard-cta:hover { color: #92400e; }
.hw26 .hw-dcard-all { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; font-weight: 600; color: #78716c; text-decoration: underline; text-underline-offset: 3px; }
.hw26 .hw-dcard-all:hover { color: #1c1917; }
.hw26 .hw-dcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; background: #fff; border: 1px solid #e7e5e4; border-left: 4px solid #b45309; }
.hw26 .hw-btn-wa, .hw26 .hw-btn-line { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.hw26 .hw-btn-wa { background: #16a34a; color: #fff; }
.hw26 .hw-btn-wa:hover { background: #15803d; }
.hw26 .hw-btn-line { border: 1px solid #1c1917; color: #1c1917; }
.hw26 .hw-btn-line:hover { background: #1c1917; color: #fff; }
.hw26 .scroll-mt-24 { scroll-margin-top: 6rem; }

/* v1.6.2 Search by District – principal's Shuffle design (export1/template-parts/hero-districts.php), plain CSS (no Tailwind build needed) */
.hw26 .hw-sd { background: linear-gradient(to bottom, #f8fafc 0, #ffffff 640px); }
.hw26 .hw-sd-hero { background: transparent; }
.hw26 .hw-sd-pill { display: inline-block; padding: 6px 16px; margin-bottom: 16px; background: #e0f2fe; color: #0369a1; border-radius: 9999px; font-size: 14px; font-weight: 500; }
.hw26 .hw-sd-h1 { font-size: 36px; line-height: 1.1; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.hw26 .hw-sd-h1 span { color: #0f172a; }
@media (min-width: 1024px) { .hw26 .hw-sd-h1 { font-size: 60px; } }
.hw26 .hw-sd-bar { width: 96px; height: 4px; margin: 0 auto; border-radius: 9999px; background: linear-gradient(to right, #0ea5e9, #34d399); }
.hw26 .hw-sd-intro { max-width: 640px; margin: 20px auto 0; font-size: 16px; line-height: 1.6; color: #475569; }
.hw26 .hw-sd-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.hw26 .hw-sd-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid #e2e8f0; border-radius: 9999px; background: #fff; color: #334155; font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.hw26 .hw-sd-chip:hover, .hw26 .hw-sd-chip:focus-visible { border-color: #0f172a; color: #0f172a; }
.hw26 .hw-sd-gt { text-align: center; margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #334155; }
.hw26 .hw-sd-gt span { letter-spacing: .05em; color: #64748b; margin-left: 4px; }
.hw26 .hw-sd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .hw26 .hw-sd-grid { gap: 16px; } }
@media (min-width: 1024px) { .hw26 .hw-sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hw26 .hw-sd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hw26 .hw-sd-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: #1e293b; text-decoration: none; isolation: isolate; }
.hw26 .hw-sd-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hw26 .hw-sd-card:hover img, .hw26 .hw-sd-card:focus-visible img { transform: scale(1.1); }
.hw26 .hw-sd-card:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.hw26 .hw-sd-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, .9) 0%, rgba(15, 23, 42, .4) 50%, rgba(15, 23, 42, 0) 100%); }
.hw26 .hw-sd-ph { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 9999px; background: rgba(255, 255, 255, .85); color: #475569; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hw26 .hw-sd-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 768px) { .hw26 .hw-sd-txt { padding: 20px; } }
.hw26 .hw-sd-name { font-family: 'Cormorant Garamond', ui-serif, Georgia, serif; font-size: 18px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
@media (min-width: 768px) { .hw26 .hw-sd-name { font-size: 21px; } }
.hw26 .hw-sd-zh { margin-top: 3px; font-size: 13px; font-weight: 500; color: #e2e8f0; }
.hw26 .hw-sd-count { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 9999px; background: #fbbf24; color: #0f172a; font-size: 12px; font-weight: 600; }
@media (min-width: 768px) { .hw26 .hw-sd-count { font-size: 13px; } }
.hw26 .hw-sd-intro2 { margin: 8px auto 0; font-size: 14px; color: #475569; }
.hw26 .hw-sd-intro2 a { font-weight: 700; color: #0f172a; text-decoration: underline; text-underline-offset: 4px; }
.hw26 .hw-sd-intro2 a:hover { color: #b45309; }
/* v1.6.2 funnel: 4 sector cards (2 per row on phones, 4 on desktop), sub-line, current sector chip */
@media (min-width: 1024px) { .hw26 .hw-sd-grid.hw-sd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.hw26 .hw-sd-grid-4 .hw-sd-name { font-size: 20px; }
@media (min-width: 768px) { .hw26 .hw-sd-grid-4 .hw-sd-name { font-size: 26px; } }
.hw26 .hw-sd-sub { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #cbd5e1; }
@media (max-width: 480px) { .hw26 .hw-sd-sub { display: none; } }
.hw26 .hw-sd-chip.is-on { background: #0f172a; border-color: #0f172a; color: #fff; }
/* v1.6.2 sector page: one-row district slider (scroll-snap, no wrap). ~1.5 cards on phones, 3.2 on tablets, 5 on desktop. */
.hw26 .hw-sd-slider { position: relative; }
.hw26 .hw-sd-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 0 8px; }
.hw26 .hw-sd-track::-webkit-scrollbar { display: none; }
.hw26 .hw-sd-track:focus-visible { outline: 2px solid #0f172a; outline-offset: 4px; }
.hw26 .hw-sd-slide { flex: 0 0 calc((100% - 12px) / 1.5); scroll-snap-align: start; }
@media (min-width: 640px) { .hw26 .hw-sd-slide { flex-basis: calc((100% - 3 * 12px) / 3.2); } }
@media (min-width: 1024px) { .hw26 .hw-sd-track { gap: 16px; } .hw26 .hw-sd-slide { flex-basis: calc((100% - 4 * 16px) / 5); } }
.hw26 .hw-sd-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -26px; display: none; align-items: center; justify-content: center; border-radius: 9999px; background: #fff; color: #0f172a; border: 1px solid #e2e8f0; box-shadow: 0 6px 18px rgba(15, 23, 42, .18); cursor: pointer; transition: opacity .15s, background-color .15s; }
.hw26 .hw-sd-arrow:hover { background: #f8fafc; }
.hw26 .hw-sd-arrow:disabled { opacity: 0; pointer-events: none; }
.hw26 .hw-sd-prev { left: -10px; }
.hw26 .hw-sd-next { right: -10px; }
@media (min-width: 640px) { .hw26 .hw-sd-slider.is-js .hw-sd-arrow { display: inline-flex; } }
@media (min-width: 1280px) { .hw26 .hw-sd-prev { left: -22px; } .hw26 .hw-sd-next { right: -22px; } }

/* v1.7.2: OpenStreetMap "Nearby" block (plugin homewise-nearby-osm) on the new property page – stone + bronze, theme fonts. */
.hw26-osm .hw-nearby{--hwn-navy:#1c1917;--hwn-navy-soft:#44403c;--hwn-gold:#b45309;--hwn-gold-soft:#fafaf9;--hwn-line:#e7e5e4;--hwn-muted:#78716c;margin:0}
.hw26-osm .hw-nearby .hw-nearby__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.875rem;font-weight:500;border-bottom:1px solid #e7e5e4;padding-bottom:.75rem}

/* v1.7.7 – enquiry sent: the thank-you box replaces the form and clears the sticky header when scrolled to */
.hw26 .hw-form-sent { scroll-margin-top: 7.5rem; outline: none; border: 2px solid #047857; background: #ecfdf5; }
.hw26 .hw-form-sent .hw-sent-tick { background: #047857; }
.hw26 .hw-form-sent:focus-visible { box-shadow: 0 0 0 3px rgba(4,120,87,.35); }
.hw26 .hw-form-sent ~ form { display: none !important; }

/* v1.7.8 (mock-up) – Saved homes reminder strip + toast */
.hw26 .hw-saved-strip { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; position: relative; margin: 0 0 1.25rem; padding: .6rem 2.75rem .6rem .9rem; background: #fdf2f2; border: 1px solid #f3c4c4; color: #1c1917; font-size: .875rem; line-height: 1.3; }
.hw26 .hw-saved-strip.hidden { display: none; }
.hw26 .hw-front-strip .hw-saved-strip, .hw26 .hw-newhk + .hw-saved-strip { margin-top: 1rem; }
.hw26 .hw-saved-ico { display: inline-flex; color: #b91c1c; }
.hw26 .hw-saved-ico svg { fill: currentColor; }
.hw26 .hw-saved-txt { margin: 0; font-weight: 600; }
.hw26 .hw-saved-view { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1c1917; border-bottom: 1px solid #a8a29e; padding-bottom: 1px; white-space: nowrap; }
.hw26 .hw-saved-wa { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem; background: #1c1917; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hw26 .hw-saved-wa:hover { background: #047857; }
.hw26 .hw-saved-x { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; font-size: 22px; line-height: 1; color: #57534e; cursor: pointer; }
@media (min-width: 768px) { .hw26 .hw-saved-wa { margin-left: auto; } }
@media (max-width: 767.98px) { .hw26 .hw-saved-strip { font-size: .8125rem; } .hw26 .hw-saved-wa { order: 5; } }
/* Toast: top of the screen under the sticky header, so it never sits on the bottom Call/WhatsApp bar or the Compare pill. */
.hw26 .hw-toast { position: fixed; left: 50%; top: 88px; z-index: 60; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: .75rem; max-width: calc(100vw - 24px); padding: .65rem 1rem; background: #1c1917; color: #fff; font-size: .8125rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; white-space: nowrap; }
.hw26 .hw-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hw26 .hw-toast a { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); }
.hw26 .hw-toast svg { color: #f87171; fill: currentColor; }
@media (min-width: 1280px) { .hw26 .hw-toast { top: 112px; } }
/* One floating saved-homes control on new-design pages: the theme's Compare pill. The Saved Homes Reminder plugin's
   pill + strip duplicated it and, after the first heart tap, stacked itself above the Compare pill over the listings. */
body.hw26 #hwsr-pill, body.hw26 #hwsr-strip { display: none !important; }

/* v1.7.8 – consolidated floating items: nothing floats over content on new-design pages except the toast (top, 3.5 s).
   Saved/Compare now live in the in-page strip; the heart only saves. The Google Language Translator dot is hidden
   (v1.9.3: the header translator icon / menu language list drive the same engine directly). */
body.hw26 [data-hw-compare-pill] { display: none !important; }
body.hw26 #glt-translate-trigger { opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hw26 .hw-saved-strip .hw-gfav-count { display: none !important; }
.hw26 .hw-saved-view.hidden { display: none; }

/* v1.7.9 single property: key-facts strip, Chinese description, map embed */
.hw-keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e7e5e4;background:#fff}
.hw-key{padding:1rem;border-right:1px solid #e7e5e4;border-bottom:1px solid #e7e5e4;min-width:0}
.hw-key dd{overflow:hidden;text-overflow:ellipsis}
@media(min-width:640px){.hw-keys{grid-template-columns:repeat(var(--n,4),minmax(0,1fr))}.hw-key{border-bottom:0}.hw-key:last-child{border-right:0}}
@media(max-width:639px){.hw-key:nth-child(2n){border-right:0}.hw-keys .hw-key:last-child:nth-child(odd){grid-column:1/-1;border-right:0}}
.hw-zh{margin-top:1.25rem;padding:1rem 1.1rem;background:#fafaf9;border-left:3px solid #b45309;color:#44403c;font-size:.95rem;line-height:1.8}
.hw-zh-l{display:block;font-size:10px;font-weight:700;letter-spacing:.2em;color:#b45309;margin-bottom:.3rem}
.hw-zh p{margin:0 0 .5rem}
.hw-map{position:relative;aspect-ratio:16/9;max-height:380px;width:100%;border:1px solid #e7e5e4;background:#f5f5f4;overflow:hidden}
.hw-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:639px){.hw-map{aspect-ratio:4/3}}
aside[aria-label] .grid>*{min-width:0} /* v1.7.9: long titles in Featured Units no longer widen the mobile page */

/* v1.9.3 – translator icon + language dropdown (replaces the dead "EN / 中" button).
   Header button: same 36px outlined box as the phone button (md+), same 40px square as the mobile phone icon (<md). */
.hw26 .hw-tr { position: relative; display: inline-flex; flex-shrink: 0; }
.hw26 .hw-tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; box-sizing: border-box; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid #d6d3d1; background: transparent; color: #1c1917; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.hw26 .hw-tr-btn .hw-tr-cur { display: none; }
@media (min-width: 768px) {
	.hw26 .hw-tr-btn { width: auto; height: 2.25rem; padding: 0 .5rem; border-color: #1c1917; }
	.hw26 .hw-tr-btn .hw-tr-cur { display: inline; letter-spacing: .1em; }
}
.hw26 .hw-tr-btn:hover, .hw26 .hw-tr-btn[aria-expanded="true"] { background: #1c1917; color: #fff; }
.hw26 .hw-tr-btn:focus-visible, .hw26 .hw-tr-opt:focus-visible { outline: 2px solid #1c1917; outline-offset: 2px; }
.hw26 .hw-tr-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 13rem; max-height: 70vh; overflow-y: auto; margin: 0; padding: .35rem 0; list-style: none; background: #fff; border: 1px solid #1c1917; box-shadow: 0 12px 32px rgba(28,25,23,.18); }
.hw26 .hw-tr-menu[hidden] { display: none; }
.hw26 .hw-tr-menu .hw-tr-opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .6rem 1rem; border: 0; background: none; color: #44403c; font-size: 14px; font-weight: 500; letter-spacing: 0; text-align: left; text-transform: none; cursor: pointer; }
.hw26 .hw-tr-menu .hw-tr-opt:hover, .hw26 .hw-tr-menu .hw-tr-opt:focus { background: #f5f5f4; color: #1c1917; outline: none; }
.hw26 .hw-tr-opt[aria-checked="true"], .hw26 .hw-tr-opt[aria-pressed="true"] { color: #1c1917; font-weight: 700; }
.hw26 .hw-tr-menu .hw-tr-opt[aria-checked="true"]::after { content: ""; width: .8rem; height: .45rem; margin-top: -.2rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
/* Mobile menu: 2-column list of languages. */
.hw26 .hw-tr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.hw26 .hw-tr-list-h { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .4rem; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #57534e; }
.hw26 .hw-tr-list .hw-tr-opt { height: 2.75rem; padding: 0 .75rem; border: 1px solid #d6d3d1; background: #fff; color: #44403c; font-size: 14px; font-weight: 500; cursor: pointer; }
.hw26 .hw-tr-list .hw-tr-opt[aria-pressed="true"] { border-color: #1c1917; background: #1c1917; color: #fff; font-weight: 700; }
/* Google Translate chrome: no top banner, no body offset, no hover balloons / highlights (layout never shifts). */
html body.hw26 { top: 0 !important; }
.hw26 .goog-te-banner-frame, .hw26 iframe.skiptranslate, .hw26 #goog-gt-tt, .hw26 .goog-te-balloon-frame, .hw26 #hw-gt-el,
.hw26 .VIpgJd-ZVi9od-ORHb-OEVmcd, .hw26 .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .hw26 .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.hw26 .goog-text-highlight, .hw26 .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
/* v1.9.4 – speed. (1) Google Language Translator's flag sprite: its hidden #flags list and toolbar still made the
   browser download flags.png (54 KB) on every page; the theme's translator (v1.9.3) does not use them. */
body.hw26 #flags, body.hw26 .tool-container { display: none !important; }
body.hw26 #flags a, body.hw26 .tool-container .tool-items a, body.hw26 a.single-language span, body.hw26 a.flag { background-image: none !important; }
/* (2) Listing map: click-to-load placeholder (same box as the map; the Google embed loads on tap). */
.hw-map-facade { background: #f5f5f4 linear-gradient(90deg, rgba(120,113,108,.10) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(rgba(120,113,108,.10) 1px, transparent 1px) 0 0 / 28px 28px; }
.hw-map-facade .hw-map-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 1rem; text-align: center; color: #1c1917; text-decoration: none; cursor: pointer; }
.hw-map-facade .hw-map-pin { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 999px; background: #1c1917; color: #fff; box-shadow: 0 6px 18px rgba(28,25,23,.25); }
.hw-map-facade .hw-map-cta { display: inline-block; margin-top: .25rem; padding: .7rem 1.4rem; background: #fff; border: 1px solid #1c1917; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hw-map-facade .hw-map-btn:hover .hw-map-cta, .hw-map-facade .hw-map-btn:focus-visible .hw-map-cta { background: #1c1917; color: #fff; }
.hw-map-facade .hw-map-sub { max-width: 90%; font-size: 12px; color: #57534e; }
.hw-map-facade.is-loaded { background: #f5f5f4; }
.hw-map-facade .hw-map-pin svg { width: 1.6rem; height: 1.6rem; }
