/*
    Theme Name: Will City - HuyDev Theme
    Theme URI: https://www.facebook.com/huydev9x
    Author: HuyDev
    Author URI: https://www.facebook.com/huydev9x
    Description: Theme bất động sản Will City (mua bán, cho thuê mặt bằng, nhà phố, văn phòng). ACF Pro + Contact Form 7 + Rank Math.
    Version: 1.0.0
    Requires PHP: 8.1
    Text Domain: huydev
*/
:root{
    /* Brand: deep green #0d2d20 + gold sampled from the logo emblem (2026-11-26: hue 44-50, brightest #FFFE62 used by the wordmark).
       Red is kept only for hearts and form errors. gold-light on #0d2d20 = 10.5:1; gold-dark = gold for text on white (5.9:1). */
    --th-gold: #E9B835;
    --th-gold-light: #F8D847;
    --th-gold-dark: #7E5F08;
    --th-gold-soft: #FFF9E0;
    --th-gold-gradient: linear-gradient(135deg, #FFF07A 0%, #F8D847 50%, #E6B236 100%);
    --th-green: #0D2D20;
    --th-green-dark: #0A2419;
    --th-green-deep: #071A12;
    --th-green-light: #1A4A36;
    /* Interaction tint: hover / selected / focus / icon tiles (green text on it = 12:1). Gold-soft stays for value accents. */
    --th-green-soft: #E9F0EC;
    --th-green-line: #C8D9D0;
    --th-ink: #12201A;
    --th-text: #33433B;
    --th-muted: #5F6E66;
    /* Warm neutrals (2026-11-16, like the reference landing): cream sections alternate with deep green ones. */
    --th-line: #E6DDCD;
    --th-bg: #F8F3EA;
    --th-cream: #FBF6EF;
    --th-cream-2: #F3ECE0;
    /* Prices (user: red so they stand out). 4.9:1 on white. */
    --th-price: #D0261B;
    --th-white: #FFFFFF;
    --th-zalo: #0068FF;
    --th-success: #23693F;
    --th-link: #0B63CE;
    --th-link-hover: #084B9C;
    /* One typeface site-wide (user, 2026-11-25): Bai Jamjuree. --th-font-display is kept as an alias so existing rules stay valid. */
    --th-font-main: 'Bai Jamjuree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --th-font-display: var(--th-font-main);
    --th-radius: 10px;
    --th-radius-lg: 14px;
    --th-shadow: 0px 10px 30px rgba(13, 45, 32, 0.08);
    --th-shadow-lg: 0px 18px 48px rgba(13, 45, 32, 0.16);
    --th-header-h: 84px;
    --th-header-sticky-h: 68px;
    --th-ease: cubic-bezier(.2, .7, .2, 1);
    --th-ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media screen{
    /*
    * BASE.
    */
    *, *::before, *::after{ box-sizing: border-box; }
    html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    /* Everything that sticks under the header uses --th-sticky-offset (admin bar + compact header).
       782px / 600px are WordPress admin bar breakpoints (46px tall, then no longer fixed). */
    body{ --th-adminbar-h: 0px; --th-sticky-offset: calc(var(--th-adminbar-h) + var(--th-header-sticky-h)); }
    body.admin-bar{ --th-adminbar-h: 32px; }
    @media (max-width: 782px){ body.admin-bar{ --th-adminbar-h: 46px; } }
    @media (max-width: 600px){ body.admin-bar{ --th-adminbar-h: 0px; } }
    body{ margin: 0px; font-family: var(--th-font-main); font-size: 16px; line-height: 1.6; color: var(--th-text); background: var(--th-white); -webkit-font-smoothing: antialiased; }
    img, video, iframe{ max-width: 100%; height: auto; display: block; }
    a{ color: inherit; text-decoration: none; transition: color .2s; }
    a:hover{ color: var(--th-gold-dark); }
    h1, h2, h3, h4, h5, h6{ margin: 0px; color: var(--th-ink); line-height: 1.3; font-weight: 700; }
    p{ margin: 0px; text-wrap: pretty; }
    /* Left-aligned titles run the full line; only centred titles balance their lines. */
    /* Headings: even lines, no 1-word last line. .text-line = chunk from huydev_text_lines() ("|" or one sentence), wrapped as a unit first. */
    h1, h2{ text-wrap: balance; }
    .text-line{ display: inline-block; }
    [id]{ scroll-margin-top: calc(var(--th-sticky-offset) + 20px); }
    ul, ol{ margin: 0px; padding: 0px; list-style: none; }
    button, input, select, textarea{ font: inherit; color: inherit; }
    button{ cursor: pointer; }
    :focus-visible{ outline: 2px solid var(--th-gold-dark); outline-offset: 2px; border-radius: 4px; }
    ::selection{ background: var(--th-gold-light); color: var(--th-ink); }
    .container{ width: min(100% - 32px, 1280px); margin-inline: auto; }
    /* Headings + UI chrome use the display alias (same Bai Jamjuree as body); widths of header, filter, chips and buttons were measured with it. */
    .tf, h1, h2, h3, h4, h5, h6, .header-top, .menu-main-list, .site-logo-text, .header-hotline-text, .btn-gold, .btn-outline-gold, .block-item-more, .bds-filter, .select-ui-list, .home-bds-chips, .home-area-tabs, .bds-tabs, .bds-item-price, .support-card-price, .mobile-cta-price, .sidebar-posts-price, .saved-item-price, .bds-specs .is-price, .bds-overview strong, .bds-loan-result dd, .pagination, .footer-logo{ font-family: var(--th-font-display); }
    .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0px; }
    .skip-link{ position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--th-ink); color: var(--th-white); border-radius: 6px; }
    .skip-link:focus{ top: 12px; color: var(--th-white); }
    .thumb-zoom{ display: block; overflow: hidden; }
    .thumb-zoom img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--th-ease); }
    @media (hover: hover){
        .thumb-zoom:hover img, .bds-item:hover .thumb-zoom img, .news-item:hover .thumb-zoom img, .home-news-hot:hover .thumb-zoom img{ transform: scale(1.05); }
    }
    .empty-content{ padding: 48px 24px; text-align: center; background: var(--th-bg); border: 1px dashed var(--th-line); border-radius: var(--th-radius); color: var(--th-muted); }
    .empty-content > i{ font-size: 44px; color: var(--th-gold); margin-bottom: 14px; }
    .empty-content p{ max-width: 520px; margin: 0px auto 20px; }
    .empty-content .search-form{ max-width: 420px; margin-inline: auto; }

    /*
    * BUTTONS.
    */
    .btn-gold, .btn-outline-gold{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; line-height: 1.2; border: 0px; transition: box-shadow .25s, filter .25s, background .25s, color .25s, transform .15s; }
    .btn-gold{ position: relative; isolation: isolate; overflow: hidden; background: var(--th-gold-gradient); color: var(--th-green-deep); box-shadow: 0px 6px 18px rgba(230, 178, 54, 0.28); }
    /* Gold light sweep on hover (brand accent). */
    .btn-gold::after{ content: ""; position: absolute; inset: 0px; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%); transform: translateX(-101%); pointer-events: none; }
    .btn-gold:hover{ color: var(--th-green-deep); filter: brightness(1.06); box-shadow: 0px 10px 26px rgba(230, 178, 54, 0.38); }
    .btn-outline-gold{ background: transparent; color: var(--th-gold-light); border: 1.5px solid var(--th-gold); }
    .btn-outline-gold:hover{ background: var(--th-gold); color: var(--th-green-deep); }
    .btn-gold:active, .btn-outline-gold:active{ transform: translateY(1px); }
    @media (hover: hover){
        .btn-gold:hover::after{ transform: translateX(101%); transition: transform .75s var(--th-ease); }
    }

    /*
    * HEADER.
    */
    /* Whole header is brand green like the reference (user, 2026-11-16); the top bar is one step darker so the two rows still read apart. */
    .header-top{ background: var(--th-green-deep); color: rgba(255, 255, 255, 0.9); font-size: 13px; }
    .header-top-inner{ display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
    .header-top-info{ display: flex; flex-wrap: wrap; gap: 6px 24px; }
    .header-top-info li, .header-top-info a{ display: inline-flex; align-items: center; gap: 8px; }
    .header-top-info i{ color: var(--th-gold-light); }
    .header-top a:hover{ color: var(--th-gold-light); }
    .header-top-social{ display: flex; gap: 4px; }
    .header-top-social a{ display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
    .header-top-social a:hover{ background: rgba(255, 255, 255, 0.1); }

    .site-header{ position: relative; z-index: 100; }
    .site-header.is-sticky{ padding-bottom: calc(var(--th-header-h) + 1px); }
    .header-main{ background: var(--th-green); border-bottom: 1px solid rgba(248, 216, 71, 0.16); transition: box-shadow .3s; }
    /* Compact bar while sticky; placeholder above keeps the full height so content does not jump. */
    .site-header.is-sticky .header-main{ --th-header-h: var(--th-header-sticky-h); position: fixed; inset: var(--th-adminbar-h) 0px auto 0px; box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.28); animation: header-down .35s var(--th-ease); }
    .site-header.is-sticky .site-logo-img{ height: 46px; }

    @keyframes header-down{ from{ transform: translateY(-100%); } to{ transform: translateY(0px); } }
    .header-main-inner{ position: relative; display: flex; align-items: center; gap: 21px; min-height: var(--th-header-h); }
    /* Brand lockup: transparent gold emblem (images/logo-emblem-v4, 258x240) + metallic gold wordmark on the green bar. Width follows the height. */
    .site-logo{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .site-logo-img{ width: auto; height: 60px; aspect-ratio: 258 / 240; object-fit: contain; filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.35)); transition: transform .3s var(--th-ease); }
    .site-logo:hover .site-logo-img{ transform: translateY(-1px); }
    .site-logo-text{ display: flex; flex-direction: column; line-height: 1.1; }
    /* "WILL CITY" is sized so its width equals the company line under it (measured: 32.2px = 181.8px at 11.5px company line).
       Metallic gold sampled from the logo emblem (user, 2026-11-26): brightest #FFFE62 highlight -> #F8D847 body -> #D2952A shadow -> #FFFE62 rim, same ramp as the icon.
       700 is Bai Jamjuree's heaviest weight, so the extra weight is a gold outline scaled to the font size (0.028em = 0.9px at 32px).
       The shadow is a filter because text-shadow would show through clipped text. */
    .site-logo-text strong, .footer-logo strong{ font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #FCE853; background: linear-gradient(180deg, #FFFE62 0%, #FFFB5E 24%, #FCE853 48%, #F4CC43 66%, #E6B236 80%, #F7DE55 92%, #FFFE62 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0.028em #F3D04A; filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.35)); }
    .site-logo-text strong{ font-size: 32.2px; }
    /* Legal entity line under the wordmark (connectland-style lockup). */
    .site-logo-text span{ margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
    @media (forced-colors: active){
        .site-logo-text strong, .footer-logo strong{ background: none; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0px; }
    }

    .menu-main{ flex: 1; display: flex; justify-content: center; }
    .menu-main-head, .menu-main-foot{ display: none; }
    .menu-main-list{ display: flex; align-items: center; gap: 2px; }
    .menu-main-list > li{ position: relative; }
    .menu-main-list > li > a{ position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 11px; font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; color: #F4EFE6; min-height: var(--th-header-h); white-space: nowrap; }
    .menu-main-list > li > a::after{ content: ""; position: absolute; left: 11px; right: 11px; bottom: calc(var(--th-header-h) / 2 - 20px); height: 2px; background: var(--th-gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--th-ease); }
    .menu-main-list > li:hover > a, .menu-main-list > li.current-menu-item > a, .menu-main-list > li.current-menu-ancestor > a{ color: var(--th-gold-light); }
    /* Dropdown panels are white: their links set their own ink (they would inherit the light top-level colour). */
    .menu-main-list .sub-menu a{ color: var(--th-ink); }
    .menu-main-list > li:hover > a::after, .menu-main-list > li.current-menu-item > a::after, .menu-main-list > li.current-menu-ancestor > a::after{ transform: scaleX(1); }
    .menu-main-list > li.menu-item-has-children > a::before{ content: "\f078"; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 11px; order: 2; }
    .menu-main-list .sub-menu{ position: absolute; top: 100%; left: 0px; min-width: 240px; padding: 10px; background: var(--th-white); border-radius: 0px 0px var(--th-radius) var(--th-radius); border-top: 3px solid var(--th-gold); box-shadow: var(--th-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--th-ease), visibility 0s linear .2s; }
    /* Opens after 120ms so the panel does not flash when the cursor only passes over the menu. */
    .menu-main-list li:hover > .sub-menu, .menu-main-list li:focus-within > .sub-menu{ opacity: 1; visibility: visible; transform: translateY(0px); transition-delay: .12s; }
    .menu-main-list .sub-menu a{ display: block; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
    .menu-main-list .sub-menu a:hover{ background: var(--th-green-soft); }
    /* Mega menu: add CSS class "menu-mega" to a top level item. */
    .menu-main-list > li.menu-mega{ position: static; }
    .menu-main-list > li.menu-mega > .sub-menu{ left: 0px; right: 0px; display: grid; grid-template-columns: repeat(5, minmax(0px, 1fr)); gap: 8px 20px; padding: 24px 28px; }
    /* Columns share the title row (subgrid): a title that wraps keeps every rule and first link on one line. */
    .menu-main-list > li.menu-mega > .sub-menu > li{ display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0px; }
    .menu-main-list > li.menu-mega > .sub-menu > li > a{ display: flex; align-items: flex-end; text-wrap: balance; font-weight: 700; color: var(--th-gold-dark); border-bottom: 1px solid var(--th-line); border-radius: 0px; padding: 6px 0px 10px; margin-bottom: 6px; }
    .menu-main-list > li.menu-mega > .sub-menu > li > a:hover{ background: none; color: var(--th-green); }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu{ position: static; min-width: 0px; padding: 0px; box-shadow: none; border: 0px; opacity: 1; visibility: inherit; transform: none; transition: none; columns: 2; column-gap: 12px; }
    /* 19 districts per type: 2 short columns keep the panel under ~420px tall. */
    .menu-main-list > li.menu-mega .sub-menu .sub-menu li{ break-inside: avoid; }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu a{ padding: 4px 0px; font-size: 14px; color: var(--th-text); }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu a:hover{ background: none; color: var(--th-gold-dark); padding-left: 4px; }
    .menu-main-list > li:not(.menu-mega) .sub-menu .sub-menu{ top: 0px; left: 100%; border-radius: var(--th-radius); }
    .sub-toggle{ display: none; }

    .header-actions{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    /* Hotline pill on the green bar: gold pill + swing-shake every 2s like the reference "0359 83 6939" button (user), "on duty" dot in working hours.
       Same box size as before (header is measured to fit). Shake uses "rotate" so the hover lift (transform) still works. */
    .header-hotline{ display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid rgba(255, 240, 122, 0.7); border-radius: 50px; background: var(--th-gold-gradient); box-shadow: 0px 6px 18px rgba(230, 178, 54, 0.38); transform-origin: center; animation: swing-shake 2s ease-in-out infinite; transition: box-shadow .25s, transform .25s var(--th-ease); }
    .header-hotline:hover{ box-shadow: 0px 10px 26px rgba(230, 178, 54, 0.55); transform: translateY(-1px); }
    @keyframes swing-shake{ 0%, 50%, 100%{ rotate: 0deg; } 10%{ rotate: 3deg; } 20%{ rotate: -3deg; } 30%{ rotate: 2deg; } 40%{ rotate: -2deg; } }
    .header-hotline-icon{ position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--th-green); color: var(--th-gold-light); box-shadow: 0px 3px 10px rgba(7, 26, 18, 0.35); }
    .header-hotline-icon::before{ content: ""; position: absolute; inset: 0px; border-radius: 50%; border: 2px solid var(--th-green); opacity: 0; animation: hotline-wave 2.5s ease-out infinite; pointer-events: none; }
    .header-hotline-dot{ position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border-radius: 50%; background: #27AE60; box-shadow: 0px 0px 0px 2px #FFF07A; }
    .header-hotline-dot::after{ content: ""; position: absolute; inset: 0px; border-radius: 50%; background: #27AE60; animation: hotline-dot 2s ease-out infinite; }
    .header-hotline-dot[hidden]{ display: none; }
    @keyframes hotline-ring{ 0%, 16%, 100%{ transform: rotate(0deg); } 2%, 6%, 10%{ transform: rotate(-15deg); } 4%, 8%, 12%{ transform: rotate(15deg); } 14%{ transform: rotate(-6deg); } }
    @keyframes hotline-wave{ 0%{ transform: scale(1); opacity: 0.75; } 70%, 100%{ transform: scale(1.5); opacity: 0; } }
    @keyframes hotline-dot{ 0%{ transform: scale(1); opacity: 0.6; } 100%{ transform: scale(2.4); opacity: 0; } }
    .header-hotline-text{ display: flex; flex-direction: column; line-height: 1.2; }
    .header-hotline-text small{ font-size: 12px; font-weight: 600; color: var(--th-green-dark); }
    .header-hotline-text strong{ font-size: 17px; font-weight: 700; color: var(--th-green-deep); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
    .btn-menu{ display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0px 11px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
    .btn-menu span{ display: block; width: 100%; height: 2px; background: var(--th-white); border-radius: 2px; transition: transform .3s, opacity .3s; }
    .menu-overlay{ position: fixed; inset: 0px; z-index: 99; background: rgba(7, 26, 18, 0.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }

    /*
    * FILTER.
    */
    /* z-index on filter/hero/toolbar: dropdowns must stay above cards (hover/reveal transforms give cards their own layer). */
    .filter-band{ position: relative; z-index: 20; background: var(--th-bg); padding: 16px 0px 0px; }
    /* Desktop: one row = keyword (widest), 4 equal selects, button (fields wrapper is display: contents).
       Equal columns cannot show the longest type name in full at 1280px: it gets an ellipsis + full-text tooltip (js/custom.js). */
    .bds-filter{ position: relative; z-index: 10; display: grid; grid-template-columns: minmax(0px, 1.4fr) repeat(4, minmax(0px, 1fr)) auto; gap: 10px; padding: 10px; background: var(--th-white); color: var(--th-ink); border-radius: var(--th-radius-lg); box-shadow: var(--th-shadow); border: 1px solid var(--th-line); }
    .bds-filter input, .bds-filter select, .bds-filter .select-ui-btn{ font-size: 15px; }
    .bds-filter input::placeholder{ color: var(--th-muted); }
    .bds-filter-keyword{ position: relative; display: flex; align-items: center; }
    .bds-filter-keyword > i, .bds-filter-field > i{ position: absolute; z-index: 2; left: 12px; width: 18px; text-align: center; top: 50%; transform: translateY(-50%); color: var(--th-gold-dark); pointer-events: none; font-size: 15px; }
    .bds-filter-keyword input{ width: 100%; height: 48px; padding: 0px 14px 0px 42px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); }
    .bds-filter-keyword input:focus, .bds-filter-field select:focus, .bds-filter-field .select-ui-btn:focus, .bds-filter-field .select-ui.is-open .select-ui-btn{ outline: none; border-color: var(--th-green); box-shadow: 0px 0px 0px 3px rgba(13, 45, 32, 0.14); background: var(--th-white); }
    .bds-filter-toggle{ display: none; }
    .bds-filter-fields{ display: contents; }
    .bds-filter-field{ position: relative; }
    .bds-filter-field select, .bds-filter-field .select-ui-btn{ width: 100%; height: 48px; padding: 0px 30px 0px 38px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C5A12' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
    .bds-filter-field select:disabled, .bds-filter-field .select-ui-btn:disabled{ opacity: 0.6; cursor: not-allowed; }
    .bds-filter-submit{ height: 48px; padding-inline: 22px; }
    /* One-row desktop (same 1261px limit as the 2-row fallback in responsive.css): a single segmented bar -
       fields have no box of their own, hairline dividers between them, tint on hover / focus. */
    @media (min-width: 1261px){
        .bds-filter{ gap: 0px; padding: 6px; align-items: center; }
        .bds-filter-keyword input, .bds-filter-field select, .bds-filter-field .select-ui-btn{ height: 52px; border-color: transparent; background-color: transparent; border-radius: 10px; transition: background-color .2s, box-shadow .2s; }
        .bds-filter-keyword input:hover, .bds-filter-field select:not(:disabled):hover, .bds-filter-field .select-ui-btn:not(:disabled):hover{ background-color: var(--th-bg); }
        .bds-filter-keyword input:focus, .bds-filter-field select:focus, .bds-filter-field .select-ui-btn:focus, .bds-filter-field .select-ui.is-open .select-ui-btn{ border-color: transparent; background-color: var(--th-green-soft); box-shadow: inset 0px 0px 0px 1.5px var(--th-green-line); }
        .bds-filter-field::before{ content: ""; position: absolute; left: 0px; top: 14px; bottom: 14px; z-index: 1; width: 1px; background: var(--th-line); pointer-events: none; }
        .bds-filter-submit{ height: 52px; margin-left: 6px; border-radius: 10px; }
    }

    /*
    * CUSTOM SELECT (js/custom.js, mouse devices only).
    */
    .select-ui{ position: relative; display: block; }
    .select-ui > select{ display: none; }
    .select-ui-btn{ position: relative; display: flex; align-items: center; width: 100%; text-align: left; cursor: pointer; }
    /* Arrow is the ::after icon (rotates on open); drop the SVG arrow inherited from the select styles. */
    .select-ui > button.select-ui-btn{ background-image: none; }
    .select-ui-btn::after{ content: "\f078"; position: absolute; right: 14px; top: 50%; margin-top: -6px; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 11px; line-height: 12px; color: var(--th-gold-dark); transition: transform .25s var(--th-ease); }
    .select-ui.is-open .select-ui-btn::after{ transform: rotate(180deg); }
    .select-ui-value{ min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .select-ui-btn.has-value .select-ui-value{ font-weight: 500; color: var(--th-ink); }
    .select-ui-list{ position: absolute; left: 0px; top: calc(100% + 6px); z-index: 50; display: block; min-width: 100%; width: max-content; max-width: min(340px, 90vw); max-height: 324px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; background: var(--th-white); border: 1px solid var(--th-line); border-radius: 12px; box-shadow: 0px 18px 44px rgba(13, 45, 32, 0.16), 0px 2px 6px rgba(13, 45, 32, 0.06); scrollbar-width: thin; scrollbar-color: var(--th-gold-light) transparent; transform-origin: top center; }
    .select-ui-list[hidden]{ display: none; }
    .select-ui.is-up .select-ui-list{ top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
    .select-ui.is-right .select-ui-list{ left: auto; right: 0px; }
    .select-ui.is-open .select-ui-list{ animation: select-in .18s var(--th-ease); }
    @keyframes select-in{ from{ opacity: 0; transform: scale(0.97); } to{ opacity: 1; transform: scale(1); } }
    .select-ui-option{ position: relative; display: block; padding: 9px 36px 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 400; line-height: 22px; color: var(--th-text); cursor: pointer; transition: background-color .15s, color .15s; }
    .select-ui-option.is-active{ background: var(--th-green-soft); color: var(--th-ink); }
    .select-ui-option[aria-selected="true"]:not(.is-placeholder){ font-weight: 600; color: var(--th-green-dark); }
    .select-ui-option[aria-selected="true"]:not(.is-placeholder)::after{ content: "\f00c"; position: absolute; right: 12px; top: 50%; margin-top: -11px; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 13px; line-height: 22px; color: var(--th-gold); }
    .select-ui-option[aria-disabled="true"]{ opacity: 0.45; cursor: not-allowed; }
    /* "Tất cả ..." resets the filter: muted and set apart from the real choices. */
    .select-ui-option.is-placeholder{ margin-bottom: 7px; color: var(--th-muted); }
    .select-ui-option.is-placeholder::before{ content: ""; position: absolute; left: 12px; right: 12px; bottom: -4px; height: 1px; background: var(--th-line); }

    /*
    * BLOCK COMMON.
    */
    /* Section rhythm like the reference (user, 2026-11-16): cream bands alternate with deep-green ones.
       Home order: search (green) / bds 1 cream / bds 2 green / why cream / bds 3 green / bds 4 cream / bds 5 green / consign GOLD / news cream / area green / 360 cream / footer green.
       .is-tint (inner pages) = deeper cream; .is-dark = green band, white cards stay white. */
    .block-item{ padding-block: clamp(48px, 6vw, 80px); background: var(--th-cream); }
    .block-item.is-tint{ background: var(--th-cream-2); }
    .block-item.is-dark, .block-home-area{ background: radial-gradient(1100px 420px at 88% 0%, rgba(248, 216, 71, 0.08), transparent 65%), var(--th-green); color: rgba(255, 255, 255, 0.86); }
    .is-dark .block-item-title, .block-home-area .block-item-title{ color: var(--th-white); }
    .is-dark .block-item-desc{ color: rgba(255, 255, 255, 0.76); }
    .is-dark .empty-content{ background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); }
    .block-item-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
    .block-item-head.is-center{ justify-content: center; text-align: center; }
    /* Section titles like the reference "sec-title": uppercase, slightly tracked, brand green. */
    /* Bigger + heavier (user, 2026-11-16): 26 -> 40px. Bai Jamjuree stops at 700, so a 0.4px same-colour stroke adds the extra weight.
       "{text}" in a title = .text-hl (huydev_title_html): metallic gold on every band - darkest tones of the logo emblem on cream (#C28A2A -> #B37D29 -> #9A6A21, body 3.3:1, large text),
       light gold on green (9:1). The rest of the title is brand green on cream, white on green. */
    .block-item-title{ position: relative; font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1.18; padding-bottom: 18px; letter-spacing: 0.015em; text-transform: uppercase; color: var(--th-green); -webkit-text-stroke: 0.4px currentColor; }
    .block-item-title::after{ content: ""; position: absolute; left: 0px; bottom: 0px; width: 72px; height: 4px; border-radius: 4px; background: var(--th-gold-gradient); }
    .block-item-title .text-hl{ color: #B37D29; background: linear-gradient(180deg, #C28A2A 0%, #B37D29 50%, #9A6A21 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: #B37D29; padding-block: 0.32em 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
    /* (padding-block: the clipped gradient only paints the span box - stacked Vietnamese marks (Ằ, Ễ) sit above it and came out hollow.
       Vertical padding on an inline span grows the paint area without moving the line.) */
    .is-dark .block-item-title .text-hl, .block-home-area .block-item-title .text-hl{ color: #F4CC43; background-image: linear-gradient(180deg, #FFF07A 0%, #F4CC43 55%, #E9B835 100%); -webkit-text-stroke-color: #F4CC43; }
    @media (forced-colors: active){
        .block-item-title .text-hl{ background: none; -webkit-text-fill-color: currentColor; }
    }
    .is-center .block-item-title::after{ left: 50%; transform: translateX(-50%); }
    .block-item-desc{ margin-top: 12px; color: var(--th-muted); max-width: 640px; }
    /* "Xem tất cả" sits after the list: the next step once the visitor has scanned the cards. */
    .block-item-foot{ display: flex; justify-content: center; margin-top: 32px; }
    /* "Xem tất cả" = same language as the district chips (user: keep them in sync): solid green pill on cream bands, solid cream pill on
       green bands, gold on hover; the arrow sits in a 28px disc like the chip pin. Colours come from custom properties set on the band
       (.block-item / .is-dark), the button's own :hover overrides them on the element - context rules cannot beat hover. */
    .block-item{ --more-bg: var(--th-green); --more-text: var(--th-white); --more-disc: rgba(248, 216, 71, 0.18); --more-icon: var(--th-gold-light); --more-shadow: 0px 8px 20px rgba(13, 45, 32, 0.22); --more-focus: var(--th-gold-dark); }
    .block-item.is-dark{ --more-bg: var(--th-cream); --more-text: var(--th-green); --more-disc: var(--th-green); --more-icon: var(--th-gold-light); --more-shadow: 0px 8px 20px rgba(0, 0, 0, 0.28); --more-focus: var(--th-gold-light); }
    .block-item-more{ display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0px 10px 0px 26px; border: 0px; border-radius: 50px; background: var(--more-bg, var(--th-green)) border-box; font-weight: 600; color: var(--more-text, var(--th-white)); box-shadow: var(--more-shadow, none); transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--th-ease); }
    .block-item-more i{ display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--more-disc, rgba(248, 216, 71, 0.18)); font-size: 12px; color: var(--more-icon, var(--th-gold-light)); transition: background .25s, color .25s, translate .25s var(--th-ease); }
    .block-item-more:hover, .block-item-more:focus-visible{ --more-bg: var(--th-gold-gradient); --more-text: var(--th-green-deep); --more-disc: var(--th-green); --more-icon: var(--th-gold-light); --more-shadow: 0px 10px 24px rgba(230, 178, 54, 0.4); color: var(--th-green-deep); transform: translateY(-2px); }
    .block-item-more:hover i{ translate: 3px 0px; }
    .block-item-more:active{ transform: translateY(0px); }
    .block-item-more:focus-visible{ outline: 2px solid var(--more-focus, var(--th-gold-dark)); outline-offset: 3px; border-radius: 50px; }

    /*
    * HOME HERO.
    */
    /* Video-only hero: fills the first screen under the header (122px = top bar + header), never taller than 16:9. */
    .home-hero{ position: relative; z-index: 2; isolation: isolate; height: clamp(420px, calc(100svh - 122px), 56.25vw); overflow: hidden; color: var(--th-white); background: var(--th-green-deep); }
    .home-hero-media{ position: absolute; inset: 0px; z-index: -1; overflow: hidden; }
    /* No text on the video: light veil only, just dark enough at the bottom for the scroll cue. The video ends on a clean edge
       so the search band below reads as its own section (user: search separated from the video). */
    .home-hero-media::after{ content: ""; position: absolute; inset: 0px; background: linear-gradient(180deg, rgba(7, 26, 18, 0.18) 0%, rgba(7, 26, 18, 0) 22%, rgba(7, 26, 18, 0) 70%, rgba(7, 26, 18, 0.45) 100%); }
    .home-hero-img, .home-hero-video{ position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; }
    /* Video fades in over the poster once frames are playing (no black flash while buffering). */
    .home-hero-video{ opacity: 0; transition: opacity .8s var(--th-ease); }
    .home-hero-video.is-playing{ opacity: 1; }
    /* Search band under the video: one-line H1, the filter card, a quiet row of quick links (no counts) - compact on purpose. */
    .home-search{ position: relative; padding-block: clamp(28px, 3vw, 40px) clamp(30px, 3.2vw, 40px); background: var(--th-green); color: var(--th-white); border-top: 3px solid var(--th-gold); }
    .home-search-title{ margin-bottom: 20px; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; text-align: center; color: var(--th-white); }
    .home-search .bds-filter{ border: 0px; box-shadow: 0px 18px 48px rgba(0, 0, 0, 0.28); }
    .home-search-links{ display: flex; align-items: center; justify-content: center; gap: 8px 14px; margin-top: 18px; font-size: 14px; }
    .home-search-links-label{ flex-shrink: 0; color: rgba(255, 255, 255, 0.62); }
    .home-search-links ul{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
    .home-search-links li{ position: relative; }
    .home-search-links li + li::before{ content: ""; position: absolute; left: -13px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: rgba(248, 216, 71, 0.55); }
    .home-search-links a{ font-family: var(--th-font-display); font-weight: 500; color: rgba(255, 255, 255, 0.9); transition: color .2s; }
    .home-search-links a:hover{ color: var(--th-gold-light); text-decoration: underline; text-underline-offset: 4px; }
    /* Scroll cue: gold-label + glass round button (same language as the type chips / hotline); the chevron flows down through the button.
       Fades out once the page is scrolled (js/custom.js). */
    .home-hero-scroll{ position: absolute; inset: auto 0px 16px; z-index: 3; width: max-content; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; border-radius: 40px; transition: opacity .4s, visibility .4s; animation: fade-in .8s var(--th-ease) .9s both; }
    .home-hero-scroll.is-hidden{ opacity: 0; visibility: hidden; }
    .home-hero-scroll:focus-visible{ outline: none; }
    .home-hero-scroll-text{ font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0.26em; margin-right: -0.26em; text-transform: uppercase; color: var(--th-gold-light); text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.45); }
    .home-hero-scroll-btn{ position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(248, 216, 71, 0.6); background: rgba(7, 26, 18, 0.38); backdrop-filter: blur(8px); color: var(--th-gold-light); font-size: 17px; box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25); transition: background .3s, border-color .3s, color .3s, translate .3s var(--th-ease); }
    .home-hero-scroll-btn::before{ content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--th-gold-light); opacity: 0; animation: hotline-wave 2.6s ease-out infinite; pointer-events: none; }
    /* 24px window clips two chevrons half a cycle apart: one enters from the top while the other leaves at the bottom, so the button is never empty. */
    .home-hero-scroll-icon{ position: relative; display: grid; place-items: center; width: 24px; height: 24px; overflow: hidden; }
    .home-hero-scroll-icon i{ grid-area: 1 / 1; animation: scroll-flow 2s linear infinite; }
    .home-hero-scroll-icon i + i{ animation-delay: -1s; }
    .home-hero-scroll:hover .home-hero-scroll-btn, .home-hero-scroll:focus-visible .home-hero-scroll-btn{ background: var(--th-gold-gradient); border-color: var(--th-gold-light); color: var(--th-green-deep); translate: 0px 2px; }
    .home-hero-scroll:focus-visible .home-hero-scroll-btn{ outline: 2px solid var(--th-gold-light); outline-offset: 4px; }
    @keyframes scroll-flow{ 0%{ translate: 0px -13px; opacity: 0; } 50%{ translate: 0px 0px; opacity: 1; } 100%{ translate: 0px 13px; opacity: 0; } }
    /* Video overlay in the structure of connectland.vn's intro film, timed on the 20s video by js/custom.js:
       .is-active plays a scene in, .is-leaving fades it out (0.6s, in step with the video's cross-dissolves).
       Smoothness rule: only opacity / transform / translate / scale are animated (GPU-composited); filters, blur,
       letter-spacing and background-position are never animated - they forced a repaint every frame. */
    .home-hero-loader{ position: absolute; left: 50%; top: 50%; z-index: 3; width: 150px; height: 150px; margin: -75px 0px 0px -75px; pointer-events: none; opacity: 0; scale: .9; transition: opacity .5s ease, scale .5s var(--th-ease-out); }
    .home-hero.is-waiting .home-hero-loader{ opacity: 1; scale: 1; }
    .home-hero-loader img{ width: 100%; height: 100%; filter: drop-shadow(0px 2px 12px rgba(0, 0, 0, 0.45)); animation: hero-pulse 1.8s ease-in-out infinite paused; will-change: opacity, scale; }
    .home-hero.is-waiting .home-hero-loader img{ animation-play-state: running; }
    @keyframes hero-pulse{ 0%, 100%{ opacity: .7; scale: .95; } 50%{ opacity: 1; scale: 1; } }
    .hero-scenes{ position: absolute; inset: 0px; z-index: 2; pointer-events: none; }
    .hero-scene{ position: absolute; inset: 0px; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 16px 96px; text-align: center; opacity: 0; visibility: hidden; }
    .hero-scene.is-active{ opacity: 1; visibility: visible; transition: opacity .4s ease; }
    .hero-scene.is-leaving{ visibility: visible; opacity: 0; translate: 0px -14px; transition: opacity .6s ease, translate .6s var(--th-ease-out); }
    .hero-scene.is-active, .hero-scene.is-leaving{ will-change: opacity, translate; }
    .hero-scene::before{ content: ""; position: absolute; inset: 0px; z-index: -1; background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(7, 26, 18, 0.55) 0%, rgba(7, 26, 18, 0) 75%); }
    /* Scene children keep their animation while .is-leaving (same animation-name = no restart), so the exit is a clean fade. */
    /* 1) Emblem: 32 triangle shards fly in, a gold glow blooms behind, a sheen sweeps across; the mark pushes in slowly. */
    .hero-emblem{ position: relative; display: block; width: clamp(170px, 22vw, 320px); aspect-ratio: 1; }
    .hero-emblem::before{ content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle, rgba(248, 216, 71, 0.42) 0%, rgba(248, 216, 71, 0.12) 38%, rgba(248, 216, 71, 0) 66%); opacity: 0; scale: .6; }
    .hero-shard{ position: absolute; inset: 0px; background: url("images/logo-emblem-gold-v2.webp") center / 100% 100% no-repeat; clip-path: var(--clip); opacity: 0; }
    :is(.is-active, .is-leaving) > .hero-emblem .hero-shard{ animation: shard-in 1.6s var(--th-ease-out) both; animation-delay: calc(.15s + var(--delay)); will-change: transform, opacity; }
    :is(.is-active, .is-leaving) > .hero-emblem{ animation: emblem-push 6s linear both; }
    :is(.is-active, .is-leaving) > .hero-emblem::before{ animation: emblem-glow 2.6s ease-in-out 1.6s both; }
    .hero-emblem-shine{ position: absolute; inset: 0px; overflow: hidden; -webkit-mask: url("images/logo-emblem-gold-v2.webp") center / 100% 100% no-repeat; mask: url("images/logo-emblem-gold-v2.webp") center / 100% 100% no-repeat; }
    .hero-emblem-shine i{ position: absolute; top: -10%; bottom: -10%; left: 0px; width: 45%; background: linear-gradient(105deg, rgba(255, 248, 225, 0) 0%, rgba(255, 248, 225, 0.9) 50%, rgba(255, 248, 225, 0) 100%); translate: -110% 0px; }
    :is(.is-active, .is-leaving) > .hero-emblem .hero-emblem-shine i{ animation: emblem-shine 1.3s ease-in-out 2s both; }
    .hero-scene-name{ margin-top: 18px; font-size: clamp(28px, 3.6vw, 54px); letter-spacing: 0.12em; margin-right: -0.12em; opacity: 0; }
    :is(.is-active, .is-leaving) > .hero-scene-name{ animation: name-in 1.1s var(--th-ease-out) 1.6s both; }
    @keyframes shard-in{ 0%{ opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.55); } 25%{ opacity: 1; } 100%{ opacity: 1; transform: none; } }
    @keyframes emblem-push{ from{ scale: 1; } to{ scale: 1.06; } }
    @keyframes emblem-glow{ 0%{ opacity: 0; scale: .6; } 45%{ opacity: 1; scale: 1; } 100%{ opacity: .45; scale: 1.05; } }
    @keyframes emblem-shine{ from{ translate: -110% 0px; } to{ translate: 250% 0px; } }
    @keyframes name-in{ from{ opacity: 0; translate: 0px 24px; scale: .92; } to{ opacity: 1; translate: 0px 0px; scale: 1; } }
    /* 3D gold type without any filter: the span carries the metallic gradient fill, a copy of the text (data-text) sits behind it
       as the dark bevel + soft shadow. Both are static paint, so scaling/fading the block stays on the compositor. */
    .hero-gold{ position: relative; isolation: isolate; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
    /* Extra weight (user, 2026-11-26): same 0.028em gold outline as the header wordmark; the bevel copy gets the same outline so it stays aligned. */
    .hero-gold > span{ display: inline-block; padding-block: 0.12em; margin-block: -0.12em; background: linear-gradient(180deg, #FFFE62 0%, #FFFB5E 24%, #FCE853 48%, #F4CC43 66%, #E6B236 80%, #F7DE55 92%, #FFFE62 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0.028em #F3D04A; }
    .hero-gold::before{ content: attr(data-text); position: absolute; inset: 0px; z-index: -1; color: #6B430D; translate: 0px 2px; text-shadow: 0px 10px 22px rgba(0, 0, 0, 0.55); pointer-events: none; -webkit-text-stroke: 0.028em #6B430D; }
    .hero-gold-xl{ font-size: clamp(52px, 9vw, 132px); letter-spacing: 0.03em; opacity: 0; }
    :is(.is-active, .is-leaving) > .hero-gold-xl{ animation: gold-in 1.2s var(--th-ease-out) both; will-change: opacity, scale; }
    @keyframes gold-in{ from{ opacity: 0; scale: 1.14; } to{ opacity: 1; scale: 1; } }
    .hero-scene-sub{ margin-top: 16px; font-family: var(--th-font-display); font-size: clamp(15px, 1.8vw, 26px); font-weight: 700; line-height: 1.45; letter-spacing: 0.14em; text-transform: uppercase; color: var(--th-white); text-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6); opacity: 0; }
    :is(.is-active, .is-leaving) > .hero-scene-sub{ animation: sub-in 1s var(--th-ease-out) .6s both; }
    @keyframes sub-in{ from{ opacity: 0; translate: 0px 16px; } to{ opacity: 1; translate: 0px 0px; } }
    /* 3) List: left-aligned white lines sliding in one by one. */
    .hero-scene-list{ align-items: stretch; text-align: left; }
    .hero-scene-list::before{ background: linear-gradient(90deg, rgba(7, 26, 18, 0.62) 0%, rgba(7, 26, 18, 0) 62%); }
    .hero-scene-list ul{ display: flex; flex-direction: column; align-items: flex-start; gap: 0.3em; font-size: clamp(28px, 4vw, 58px); }
    .hero-scene-list li{ font-weight: 700; line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase; color: var(--th-white); text-shadow: 0px 3px 18px rgba(0, 0, 0, 0.65), 0px 1px 0px rgba(0, 0, 0, 0.4); opacity: 0; }
    .hero-scene-list:is(.is-active, .is-leaving) li{ animation: list-in .9s var(--th-ease-out) both; animation-delay: calc(.2s + var(--i) * .45s); will-change: opacity, translate; }
    @keyframes list-in{ from{ opacity: 0; translate: -48px 0px; } to{ opacity: 1; translate: 0px 0px; } }
    /* On load the poster settles in (zoom out); the search band below uses the scroll reveal. */
    .home-hero-img{ animation: hero-zoom 1.8s var(--th-ease) both; }
    @keyframes hero-zoom{ from{ transform: scale(1.08); } to{ transform: scale(1); } }

    /*
    * BDS ITEM.
    */
    .home-bds-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0px 24px; }
    /* District chips. Colours are custom properties: the band (cream / .is-dark green) sets them on the list, the chip's own :hover
       overrides them on the element itself - so no context rule can win over hover again (bug 2026-11-16: dark text on the dark band).
       Pin sits in a 22px tinted disc; hover = solid gold pill, dark disc with a gold pin, 2px lift + glow. 40px tall (touch). */
    /* Cream bands: solid brand-green pills (white chips on cream were too faint, user 2026-11-16) - white text 13:1, gold pin. */
    .home-bds-chips{ --chip-bg: var(--th-green); --chip-border: var(--th-green); --chip-text: var(--th-white); --chip-disc: rgba(248, 216, 71, 0.18); --chip-pin: var(--th-gold-light); --chip-shadow: 0px 6px 16px rgba(13, 45, 32, 0.22); --chip-focus: var(--th-gold-dark); }
    /* Green bands: the mirror - solid cream pills, green text (12:1), green disc with a gold pin; hover is the same gold pill everywhere. */
    .is-dark .home-bds-chips{ --chip-bg: var(--th-cream); --chip-border: var(--th-cream); --chip-text: var(--th-green); --chip-disc: var(--th-green); --chip-pin: var(--th-gold-light); --chip-shadow: 0px 6px 16px rgba(0, 0, 0, 0.28); --chip-focus: var(--th-gold-light); }
    .home-bds-chips a{ display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0px 18px 0px 8px; border-radius: 50px; border: 1.5px solid var(--chip-border); background: var(--chip-bg) border-box; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--chip-text); box-shadow: var(--chip-shadow); transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s var(--th-ease); }
    .home-bds-chips a::before{ content: "\f3c5"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--chip-disc); font-family: 'Font Awesome 5 Pro'; font-weight: 900; font-size: 11px; color: var(--chip-pin); transition: background .25s, color .25s; }
    .home-bds-chips a:hover, .home-bds-chips a:focus-visible{ --chip-bg: var(--th-gold-gradient); --chip-border: transparent; --chip-text: var(--th-green-deep); --chip-disc: var(--th-green); --chip-pin: var(--th-gold-light); --chip-shadow: 0px 10px 22px rgba(230, 178, 54, 0.38); transform: translateY(-2px); }
    .home-bds-chips a:active{ transform: translateY(0px); }
    .home-bds-chips a:focus-visible{ outline: 2px solid var(--chip-focus); outline-offset: 3px; border-radius: 50px; }
    .bds-list{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 24px; }
    .bds-list.is-3col{ grid-template-columns: repeat(3, minmax(0px, 1fr)); }
    .bds-item{ position: relative; display: flex; flex-direction: column; background: var(--th-white); border: 1px solid var(--th-line); border-radius: var(--th-radius); overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .35s var(--th-ease); }
    .bds-item:hover{ border-color: var(--th-gold-light); box-shadow: var(--th-shadow); }
    @media (hover: hover){
        .bds-item:hover, .news-item:hover{ transform: translateY(-4px); }
    }
    .bds-item-thumb{ position: relative; aspect-ratio: 4 / 3; background: var(--th-bg); }
    .bds-item-type{ position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px; background: rgba(30, 23, 20, 0.72); color: var(--th-white); font-size: 12px; font-weight: 500; }
    /* The block/category already names the type, so the label would repeat on every card. */
    .block-home-bds .bds-item-type, .tax-danh-muc-bds .listing-main .bds-item-type{ display: none; }
    /* Burgundy + gold like the logo: stands out on light and warm photos alike. */
    .bds-item-badge{ position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0px 10px 0px 8px; border-radius: 6px; background: linear-gradient(180deg, var(--th-green-light) 0%, var(--th-green) 100%); box-shadow: inset 0px 0px 0px 1px rgba(248, 216, 71, 0.5), 0px 2px 8px rgba(7, 26, 18, 0.3); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; color: var(--th-gold-light); }
    .bds-item-badge i{ font-size: 10px; color: var(--th-gold-light); }
    .bds-item-badge.is-done{ padding-left: 10px; background: rgba(30, 23, 20, 0.85); box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 2px 8px rgba(7, 26, 18, 0.3); color: var(--th-white); }
    .bds-item-body{ display: flex; flex-direction: column; flex: 1; padding: 14px 16px 12px; }
    .bds-item-title{ font-size: 16px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.45em * 2); }
    .bds-item-title a:hover{ color: var(--th-gold-dark); }
    .bds-item-price{ display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--th-price); }
    .bds-item-price i{ font-size: 13px; color: var(--th-gold); }
    .bds-item-meta{ display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 14px; color: var(--th-muted); }
    .bds-item-meta li{ display: flex; align-items: center; gap: 8px; }
    .bds-item-meta li span{ min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .bds-item-meta i{ flex-shrink: 0; width: 14px; color: var(--th-gold-dark); font-size: 13px; text-align: center; }
    .bds-item-foot{ display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--th-line); font-size: 13px; color: var(--th-muted); }
    .bds-item-meta + .bds-item-foot{ margin-top: 12px; }
    .bds-item-foot span, .bds-item-foot time{ display: inline-flex; align-items: center; gap: 6px; }

    /*
    * HOME WHY.
    */
    /* Photo takes the height of the text column (top and bottom edges line up); the frame's 18px offset is added to the padding on that side. */
    .block-home-why{ padding-bottom: calc(clamp(48px, 6vw, 80px) + 18px); }
    .home-why-inner{ display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); }
    .home-why-media{ position: relative; min-height: 360px; }
    .home-why-media::before{ content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--th-gold); border-radius: var(--th-radius-lg); }
    .home-why-media img{ position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; border-radius: var(--th-radius-lg); }
    .home-why-list{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 28px 32px; margin-top: 32px; }
    .home-why-item{ display: flex; gap: 16px; }
    .home-why-item-icon{ flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--th-green-soft); color: var(--th-green-dark); font-size: 24px; }
    .home-why-item-title{ font-size: 18px; margin-bottom: 6px; color: var(--th-green); }
    .home-why-item p{ color: var(--th-muted); font-size: 15px; }
    /* On the cream band: green tiles with gold icons echo the green bands around it. */
    .block-home-why .home-why-item-icon{ background: var(--th-green); color: var(--th-gold-light); box-shadow: 0px 8px 18px rgba(13, 45, 32, 0.18); }

    /*
    * CONSIGN CTA.
    */
    /* Gold CTA band, kept simple (user: less busy): title + one-line-per-sentence desc on the left, two pills on the right
       in the site's button language (green pill + gold arrow disc like "Xem tất cả", outline pill for the phone). One faint ring as decoration. */
    .block-consign{ position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 5vw, 64px); background: linear-gradient(120deg, #FFF07A 0%, #F8D847 45%, #E6B236 100%); color: var(--th-green-dark); }
    .block-consign::before{ content: ""; position: absolute; z-index: -1; right: -120px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(13, 45, 32, 0.14); box-shadow: 0px 0px 0px 48px rgba(13, 45, 32, 0.035); pointer-events: none; }
    .block-consign-inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
    .block-consign h2{ font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--th-green-deep); }
    .block-consign p{ margin-top: 10px; max-width: 640px; color: rgba(10, 36, 25, 0.88); }
    .block-consign-actions{ display: flex; flex-shrink: 0; gap: 12px; }
    .block-consign-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border-radius: 50px; font-family: var(--th-font-display); font-weight: 700; font-size: 16px; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--th-ease); }
    .block-consign-btn.is-primary{ padding: 0px 8px 0px 26px; background: var(--th-green); color: var(--th-white); box-shadow: 0px 10px 24px rgba(13, 45, 32, 0.28); }
    .block-consign-btn.is-primary i{ display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--th-gold-gradient); font-size: 14px; color: var(--th-green-deep); transition: translate .25s var(--th-ease); }
    .block-consign-btn.is-primary:hover{ color: var(--th-white); background: var(--th-green-deep); transform: translateY(-2px); }
    .block-consign-btn.is-primary:hover i{ translate: 3px 0px; }
    .block-consign-btn.is-call{ padding: 0px 24px; border: 1.5px solid var(--th-green); color: var(--th-green-deep); font-variant-numeric: tabular-nums; }
    .block-consign-btn.is-call i{ font-size: 15px; }
    .block-consign-btn.is-call:hover{ background: var(--th-green); color: var(--th-gold-light); transform: translateY(-2px); }
    .block-consign-btn:focus-visible{ outline: 3px solid var(--th-green); outline-offset: 3px; }

    /*
    * HOME NEWS.
    */
    .home-news-grid{ display: grid; grid-template-columns: 7fr 5fr; gap: 28px; }
    .home-news-hot{ display: flex; flex-direction: column; border-radius: var(--th-radius); overflow: hidden; background: var(--th-white); border: 1px solid var(--th-line); }
    .home-news-hot-thumb{ aspect-ratio: 16 / 9; }
    .home-news-hot-body{ flex: 1; padding: 20px 24px 24px; }
    .home-news-hot-body h3{ font-size: clamp(19px, 1.8vw, 24px); margin: 6px 0px 10px; }
    .home-news-hot-body p, .home-news-item-body p{ color: var(--th-muted); }
    .home-news-grid time{ font-size: 13px; color: var(--th-gold-dark); font-weight: 600; }
    .home-news-list{ display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
    .home-news-item{ display: grid; grid-template-columns: 170px minmax(0px, 1fr); gap: 16px; align-items: start; }
    .home-news-item + .home-news-item{ padding-top: 20px; border-top: 1px solid var(--th-line); }
    .home-news-item-thumb{ aspect-ratio: 4 / 3; border-radius: 8px; }
    .home-news-item-body h3{ font-size: 16px; margin: 4px 0px 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .home-news-item-body p{ font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /*
    * HOME AREA.
    */
    .home-area-tabs{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
    .home-area-tabs button{ padding: 10px 20px; border-radius: 50px; border: 1.5px solid var(--th-gold); background: var(--th-white); font-weight: 600; font-size: 15px; color: var(--th-green); box-shadow: 0px 3px 10px rgba(126, 95, 8, 0.1); transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
    .home-area-tabs button:hover{ background: var(--th-gold-soft); color: var(--th-gold-dark); }
    .block-home-area .home-area-tabs button{ border-color: rgba(248, 216, 71, 0.7); background: rgba(255, 255, 255, 0.06); color: var(--th-white); box-shadow: none; }
    .block-home-area .home-area-tabs button:hover{ background: rgba(248, 216, 71, 0.16); color: var(--th-gold-light); }
    .block-home-area .home-area-tabs button[aria-selected="true"]{ border-color: transparent; background: var(--th-gold-gradient) border-box; color: var(--th-green-deep); box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.22); }
    .home-area-tabs button[aria-selected="true"]{ background: var(--th-gold-gradient) border-box; border-color: transparent; color: var(--th-green-deep); }
    .home-area-panel{ padding: 24px; border-radius: var(--th-radius); background: var(--th-white); border: 1px solid var(--th-line); }
    .home-area-panel:not([hidden]){ animation: fade-in .35s var(--th-ease); }
    @keyframes fade-in{ from{ opacity: 0; translate: 0px 8px; } to{ opacity: 1; translate: 0px 0px; } }
    .home-area-links{ display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 0px 32px; overflow: hidden; }
    .home-area-links li{ margin-bottom: -1px; }
    .home-area-links a{ position: relative; display: block; padding: 10px 0px 10px 24px; font-size: 15px; line-height: 22px; border-bottom: 1px dashed var(--th-line); }
    .home-area-links a::before{ content: "\f3c5"; position: absolute; left: 2px; top: 10px; font-family: 'Font Awesome 5 Pro'; font-weight: 300; font-size: 13px; line-height: 22px; color: var(--th-gold); transition: transform .25s var(--th-ease); }
    .home-area-links a span{ color: var(--th-muted); }
    .home-area-links a strong{ font-weight: 600; color: var(--th-ink); transition: color .2s; }
    .home-area-links a:hover strong{ color: var(--th-gold-dark); }
    .home-area-links a:hover::before{ transform: translateY(-2px); }
    .home-area-price{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--th-line); font-size: 14px; }
    .home-area-price strong{ color: var(--th-ink); margin-right: 4px; }
    .home-area-price a{ padding: 6px 14px; border-radius: 50px; border: 1px solid var(--th-green-line); background: var(--th-green-soft); color: var(--th-green-dark); font-weight: 600; transition: background .25s, color .25s; }
    .home-area-price a:hover{ background: var(--th-green); color: var(--th-white); }

    /*
    * HOME 360 (inc/block-home-360.php) - like the reference "Ảnh 360° dự án": cream band, centred title with a gold part,
    * framed viewer. Facade (poster + button) until clicked, then js/custom.js swaps in the iframe.
    */
    .block-item-label{ margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; color: var(--th-gold-dark); }
    .block-home-360 .block-item-desc{ margin-inline: auto; }
    .home-360-frame{ position: relative; isolation: isolate; max-width: 1000px; aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; border-radius: var(--th-radius-lg); background: var(--th-green-deep); box-shadow: 0px 0px 0px 1px rgba(233, 184, 53, 0.5), 0px 24px 60px rgba(13, 45, 32, 0.22); }
    .home-360-poster, .home-360-frame iframe{ position: absolute; inset: 0px; width: 100%; height: 100%; border: 0px; }
    .home-360-poster{ object-fit: cover; transition: scale 1.2s var(--th-ease); }
    .home-360-frame::after{ content: ""; position: absolute; inset: 0px; z-index: 1; background: radial-gradient(ellipse at center, rgba(7, 26, 18, 0.15) 0%, rgba(7, 26, 18, 0.6) 100%); pointer-events: none; transition: opacity .4s; }
    .home-360-frame.is-loaded::after{ opacity: 0; }
    .home-360-play{ position: absolute; inset: 0px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; padding: 16px; border: 0px; background: none; color: var(--th-white); text-align: center; }
    .home-360-play-icon{ position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--th-gold-gradient); color: var(--th-green-deep); font-size: 36px; box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.35); transition: transform .3s var(--th-ease); }
    .home-360-play-icon::before{ content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--th-gold-light); opacity: 0; animation: hotline-wave 2.4s ease-out infinite; }
    .home-360-play-text{ display: flex; flex-direction: column; gap: 2px; text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.55); }
    .home-360-play-text strong{ font-family: var(--th-font-display); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
    .home-360-play-text small{ font-size: 14px; color: rgba(255, 255, 255, 0.86); }
    .home-360-play:hover .home-360-play-icon{ transform: scale(1.06); }
    .home-360-frame:hover .home-360-poster{ scale: 1.03; }
    .home-360-play:focus-visible{ outline: none; }
    .home-360-play:focus-visible .home-360-play-icon{ outline: 3px solid var(--th-gold-light); outline-offset: 6px; }
    .home-360-frame.is-loaded .home-360-play, .home-360-frame.is-loaded .home-360-poster{ display: none; }

    /*
    * PAGE HEAD + BREADCRUMB.
    */
    /* One flat zone (with the filter band above on BĐS pages) and a single line under it. */
    .page-head{ padding-block: 28px 32px; background: var(--th-bg); border-bottom: 1px solid var(--th-line); }
    .page-head .container{ display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .page-head.is-narrow .container{ max-width: 920px; }
    /* Breadcrumb: quiet links, the current page reads as "you are here" and stays on one line. */
    /* Stretch to the container so the current item can truncate instead of running off-screen. */
    .rank-math-breadcrumb{ align-self: stretch; font-size: 14px; line-height: 20px; color: var(--th-muted); }
    .rank-math-breadcrumb p{ display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
    .rank-math-breadcrumb a{ color: var(--th-muted); transition: color .2s; }
    .rank-math-breadcrumb a:hover{ color: var(--th-gold-dark); }
    .rank-math-breadcrumb a:first-child::before{ content: "\f015"; margin-right: 6px; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 12px; color: var(--th-gold); }
    .rank-math-breadcrumb .separator{ display: inline-flex; justify-content: center; width: 22px; font-size: 0px; }
    .rank-math-breadcrumb .separator::before{ content: "\f054"; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 9px; line-height: 20px; color: var(--th-gold); }
    .rank-math-breadcrumb .last{ min-width: 0px; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--th-text); }
    .page-head-title{ font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
    .page-head-desc{ max-width: 820px; color: var(--th-muted); }
    .single-bds-address{ display: flex; align-items: baseline; gap: 8px; color: var(--th-muted); }
    .single-bds-address i{ color: var(--th-gold); }
    .single-meta{ display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--th-muted); }
    .single-meta li{ display: inline-flex; align-items: center; gap: 7px; }
    .single-meta i{ color: var(--th-gold); }
    .single-meta a:hover{ color: var(--th-gold-dark); }

    /*
    * LISTING LAYOUT.
    */
    .listing-layout{ display: grid; grid-template-columns: minmax(0px, 1fr) 320px; gap: 32px; align-items: start; padding-block: 36px 64px; }
    /* Post: cap the reading column (~90 characters per line). */
    .listing-layout.is-post{ grid-template-columns: minmax(0px, 800px) 360px; justify-content: space-between; }
    .single-post .single-content{ font-size: 17px; }
    .listing-toolbar{ position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
    .listing-count strong{ color: var(--th-green); }
    .listing-sort{ display: flex; align-items: center; gap: 10px; font-size: 14px; }
    .listing-sort select, .listing-sort .select-ui-btn{ height: 40px; padding: 0px 34px 0px 12px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C5A12' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
    .listing-sort .select-ui{ min-width: 210px; }
    .listing-sort .select-ui-btn:focus, .listing-sort .select-ui.is-open .select-ui-btn{ outline: none; border-color: var(--th-green); box-shadow: 0px 0px 0px 3px rgba(13, 45, 32, 0.14); }
    /* Collapsed: the body is cut at 260px and fades out with a mask (no white overlay on top of the text);
       the toggle lives in its own row under a hairline, so it can never cover a word. */
    .listing-seo{ scroll-margin-top: calc(var(--th-sticky-offset) + 16px); margin-top: 40px; padding: 24px 28px 0px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
    .listing-seo.is-collapsed .listing-seo-body{ max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
    .listing-seo-foot{ display: flex; justify-content: center; margin-top: 8px; padding: 14px 0px 18px; border-top: 1px dashed var(--th-line); }
    .listing-seo-toggle{ display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0px 20px; border: 1.5px solid var(--th-gold); border-radius: 50px; background: var(--th-white); font-family: var(--th-font-display); font-size: 15px; font-weight: 600; color: var(--th-gold-dark); }
    .listing-seo-toggle i{ font-size: 12px; transition: transform .25s var(--th-ease); }
    .pagination{ margin-top: 36px; }
    .pagination .nav-links, .pagination{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .pagination .page-numbers{ display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0px 10px; border-radius: 8px; border: 1px solid var(--th-line); background: var(--th-white); font-weight: 600; }
    .pagination a.page-numbers:hover{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .pagination .page-numbers.current{ background: var(--th-gold-gradient) border-box; border-color: transparent; color: var(--th-green-deep); }
    .pagination .page-numbers.dots{ border: 0px; background: none; }

    /*
    * SIDEBAR.
    */
    .listing-sidebar, .single-bds-sidebar{ display: flex; flex-direction: column; gap: 20px; }
    .sidebar-box{ padding: 20px 22px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
    .sidebar-box-title{ position: relative; font-size: 18px; padding-left: 14px; margin-bottom: 12px; }
    .sidebar-box-title::before{ content: ""; position: absolute; left: 0px; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--th-gold-gradient); }
    .sidebar-links li a{ display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0px; border-bottom: 1px dashed var(--th-line); font-size: 15px; }
    .sidebar-links li:last-child a{ border-bottom: 0px; }
    .sidebar-links li a span{ min-width: 30px; padding: 1px 8px; border-radius: 20px; background: var(--th-bg); color: var(--th-muted); font-size: 12px; text-align: center; }
    .sidebar-links li.active > a{ color: var(--th-gold-dark); font-weight: 600; }
    .sidebar-links li.active > a span{ background: var(--th-gold); color: var(--th-green-deep); }
    .sidebar-posts li{ display: grid; grid-template-columns: 76px minmax(0px, 1fr); gap: 12px; padding: 10px 0px; border-bottom: 1px dashed var(--th-line); }
    .sidebar-posts li:last-child{ border-bottom: 0px; }
    .sidebar-posts-thumb img{ width: 76px; height: 60px; object-fit: cover; border-radius: 6px; }
    .sidebar-posts-title{ font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sidebar-posts-price{ margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--th-price); }
    .search-form{ display: flex; border: 1px solid var(--th-line); border-radius: 8px; overflow: hidden; background: var(--th-white); }
    .search-form input{ flex: 1; min-width: 0px; height: 44px; padding: 0px 14px; border: 0px; background: none; }
    .search-form input:focus{ outline: none; }
    .search-form:focus-within{ border-color: var(--th-gold); }
    .search-form button{ width: 48px; border: 0px; background: var(--th-gold-gradient); color: var(--th-green-deep); }

    /*
    * SUPPORT CARD.
    */
    /* Ends on the dark green: gold outline buttons at the bottom keep >= 4.5:1 contrast. */
    .support-card{ display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--th-radius-lg); background: linear-gradient(150deg, var(--th-green-deep), var(--th-green-dark)); color: rgba(255, 255, 255, 0.94); text-align: center; box-shadow: var(--th-shadow); }
    .support-card-price{ display: flex; flex-direction: column; color: var(--th-gold-light); font-size: 26px; font-weight: 700; line-height: 1.2; }
    .support-card-price small{ font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
    .support-card-title{ color: var(--th-gold-light); font-size: 20px; font-weight: 700; }
    .support-card .btn-gold, .support-card .btn-outline-gold{ width: 100%; }
    /* Centred short text: balanced lines instead of a lone word ("7 / ngày trong tuần"). */
    .support-card-desc{ font-size: 14px; text-wrap: balance; }
    .support-card-staff{ display: flex; justify-content: center; }
    .support-card-staff img{ width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--th-gold-light); margin-left: -10px; }
    .support-card-staff img:first-child{ margin-left: 0px; }

    /*
    * SINGLE BDS.
    */
    .single-bds-layout{ display: grid; grid-template-columns: minmax(0px, 1fr) 360px; gap: 36px; align-items: start; padding-block: 32px 64px; }
    .bds-gallery-main{ position: relative; border-radius: var(--th-radius-lg); overflow: hidden; background: var(--th-bg); }
    .bds-gallery-main .swiper-slide img{ width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
    .bds-gallery-prev, .bds-gallery-next{ position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--th-ink); box-shadow: var(--th-shadow); transition: background .25s; }
    .bds-gallery-prev{ left: 14px; }
    .bds-gallery-next{ right: 14px; }
    .bds-gallery-prev:hover, .bds-gallery-next:hover{ background: var(--th-gold); }
    .bds-gallery-prev, .bds-gallery-next{ transition: background .25s, opacity .25s, visibility .25s; }
    .bds-gallery-prev.swiper-button-disabled, .bds-gallery-next.swiper-button-disabled{ opacity: 0; visibility: hidden; }
    .bds-gallery-count{ position: absolute; right: 14px; bottom: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px; background: rgba(30, 23, 20, 0.72); color: var(--th-white); font-size: 13px; }
    .bds-gallery-main .bds-item-badge{ z-index: 5; right: auto; left: 14px; top: 14px; }
    .bds-gallery-thumbs{ margin-top: 10px; }
    .bds-gallery-thumbs .swiper-slide{ border-radius: 8px; overflow: hidden; opacity: 0.6; cursor: pointer; border: 2px solid transparent; transition: opacity .25s, border-color .25s; }
    .bds-gallery-thumbs .swiper-slide img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    .bds-gallery-thumbs .swiper-slide-thumb-active{ opacity: 1; border-color: var(--th-gold); }
    .bds-overview{ display: flex; flex-wrap: wrap; gap: 1px; margin-top: 20px; background: #F3E6B8; border: 1px solid #F3E6B8; border-radius: var(--th-radius); overflow: hidden; }
    .bds-overview li{ flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--th-gold-soft); }
    .bds-overview i{ flex-shrink: 0; width: 24px; font-size: 22px; text-align: center; color: var(--th-gold-dark); }
    .bds-overview span{ display: flex; flex-direction: column; line-height: 1.3; }
    .bds-overview small{ font-size: 12px; color: var(--th-muted); }
    .bds-overview strong{ color: var(--th-ink); font-size: 16px; white-space: nowrap; }
    .bds-overview .is-price strong, .bds-specs .is-price{ color: var(--th-price); }
    .single-bds-main, .listing-main{ min-width: 0px; }
    .single-bds-section{ margin-top: 36px; }
    .single-bds-section-title{ position: relative; font-size: 22px; padding-left: 16px; margin-bottom: 18px; }
    .single-bds-section-title::before{ content: ""; position: absolute; left: 0px; top: 5px; bottom: 5px; width: 4px; border-radius: 4px; background: var(--th-gold-gradient); }
    .bds-specs{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 0px 32px; margin: 0px; }
    .bds-specs div{ display: flex; gap: 16px; padding: 12px 0px; border-bottom: 1px solid var(--th-line); }
    .bds-specs dt{ flex: 0 0 42%; color: var(--th-muted); }
    .bds-specs dd{ margin: 0px; font-weight: 600; color: var(--th-ink); }
    .bds-specs dd a{ color: var(--th-gold-dark); }
    .bds-map{ position: relative; aspect-ratio: 2 / 1; border: 1px solid var(--th-line); border-radius: var(--th-radius); overflow: hidden; background-color: var(--th-bg); background-image: linear-gradient(rgba(13, 45, 32, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 45, 32, 0.07) 1px, transparent 1px); background-size: 32px 32px; }
    .bds-map-cover{ position: absolute; inset: 0px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
    .bds-map-icon{ display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--th-white); color: var(--th-gold-dark); font-size: 28px; box-shadow: var(--th-shadow); }
    .bds-map-address{ max-width: 460px; font-weight: 600; color: var(--th-ink); text-wrap: balance; }
    .bds-map-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .bds-map-route{ display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1.5px solid var(--th-gold); border-radius: 8px; background: var(--th-white); font-weight: 600; line-height: 1.2; color: var(--th-gold-dark); transition: background-color .25s, color .25s; }
    .bds-map-route:hover{ background-color: var(--th-gold); color: var(--th-green-deep); }
    .bds-map iframe{ position: absolute; inset: 0px; width: 100%; height: 100%; border: 0px; }
    .bds-map.is-loaded .bds-map-cover{ display: none; }
    /* Head bar: status, code, date, views + save/share. */
    .single-bds-bar{ align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
    .single-bds-status{ position: relative; padding: 2px 10px 2px 22px; border-radius: 50px; background: #E6F2EA; color: var(--th-success); font-size: 13px; font-weight: 600; }
    .single-bds-status::before{ content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; }
    .single-bds-status.is-done{ background: #EEE9E4; color: var(--th-muted); }
    .single-bds-code{ display: inline-flex; align-items: center; gap: 6px; padding: 0px; border: 0px; background: none; font-size: inherit; color: inherit; }
    .single-bds-code strong{ font-weight: 600; color: var(--th-ink); }
    .single-bds-code i{ color: var(--th-gold); transition: color .2s; }
    .single-bds-code:hover i{ color: var(--th-gold-dark); }
    .single-bds-actions{ display: flex; gap: 10px; }
    .bds-save.is-text, .bds-share-btn{ display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0px 16px; border: 1px solid var(--th-line); border-radius: 50px; background: var(--th-white); font-size: 14px; font-weight: 600; color: var(--th-ink); transition: border-color .2s, color .2s, background-color .2s; }
    .bds-save.is-text:hover, .bds-share-btn:hover, .bds-share-btn[aria-expanded="true"]{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .bds-save.is-text i, .bds-share-btn i{ color: var(--th-gold-dark); }
    .bds-save.is-text[aria-pressed="true"]{ border-color: #F2C7C4; background: #FDF2F1; color: #B42318; }
    .bds-share{ position: relative; }
    .bds-share-menu{ position: absolute; right: 0px; top: calc(100% + 8px); z-index: 30; min-width: 230px; padding: 6px; background: var(--th-white); border: 1px solid var(--th-line); border-radius: 12px; box-shadow: 0px 18px 44px rgba(13, 45, 32, 0.16); animation: select-in .18s var(--th-ease); transform-origin: top right; }
    .bds-share-menu[hidden]{ display: none; }
    .bds-share-menu button, .bds-share-menu a{ display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0px; border-radius: 8px; background: none; font-size: 14px; text-align: left; color: var(--th-text); }
    .bds-share-menu button:hover, .bds-share-menu a:hover{ background: var(--th-green-soft); color: var(--th-ink); }
    .bds-share-menu i{ width: 16px; text-align: center; color: var(--th-gold-dark); }

    /* Gallery: open the fullscreen viewer. */
    .bds-gallery-main .swiper-slide{ cursor: zoom-in; }
    .bds-gallery-expand{ position: absolute; right: 14px; top: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0px 14px; border: 0px; border-radius: 50px; background: rgba(30, 23, 20, 0.72); font-size: 13px; font-weight: 600; color: var(--th-white); transition: background-color .25s; }
    .bds-gallery-expand:hover{ background: rgba(30, 23, 20, 0.9); }

    /* In-page tabs: stick under the header, highlight the section in view. */
    .bds-tabs{ position: sticky; top: var(--th-sticky-offset); z-index: 15; display: flex; gap: 4px; margin-top: 28px; padding: 6px; background: var(--th-white); border: 1px solid var(--th-line); border-radius: 12px; box-shadow: 0px 6px 18px rgba(30, 23, 20, 0.06); overflow-x: auto; scrollbar-width: none; }
    .bds-tabs::-webkit-scrollbar{ display: none; }
    .bds-tabs a{ flex-shrink: 0; padding: 9px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--th-muted); transition: background-color .2s, color .2s; }
    .bds-tabs a:hover{ color: var(--th-ink); }
    .bds-tabs a.is-active{ background: var(--th-green-soft); color: var(--th-green-dark); }
    .bds-tabs-cta{ display: none; }
    .single-bds-main [id], .block-related{ scroll-margin-top: calc(var(--th-sticky-offset) + 76px); }

    /* Long description folds; headings inside sit below the section title level. */
    .bds-desc h2{ font-size: 19px; }
    .bds-desc h3{ font-size: 17px; }
    .bds-desc.is-collapsed{ position: relative; max-height: 520px; overflow: hidden; }
    .bds-desc.is-collapsed::after{ content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 140px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--th-white) 85%); pointer-events: none; }
    .bds-desc-toggle{ display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 20px; border: 1.5px solid var(--th-gold); border-radius: 50px; background: var(--th-white); font-weight: 600; color: var(--th-gold-dark); transition: background-color .25s, color .25s; }
    .bds-desc-toggle:hover{ background-color: var(--th-gold); color: var(--th-green-deep); }
    .bds-desc-toggle i{ font-size: 12px; }

    /* Loan estimate (sale listings). */
    .bds-loan-box{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px 32px; padding: 24px; border: 1px solid var(--th-line); border-radius: var(--th-radius-lg); background: var(--th-white); }
    .bds-loan-fields{ display: flex; flex-direction: column; gap: 20px; }
    .bds-loan-field span{ display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--th-ink); }
    .bds-loan-field output{ font-weight: 700; color: var(--th-gold-dark); }
    .bds-loan-field input[type="range"]{ width: 100%; margin: 0px; accent-color: var(--th-gold); cursor: pointer; }
    .bds-loan-field input[type="number"]{ width: 100%; height: 44px; padding: 0px 14px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); }
    .bds-loan-field input[type="number"]:focus{ outline: none; border-color: var(--th-green); background: var(--th-white); box-shadow: 0px 0px 0px 3px rgba(13, 45, 32, 0.14); }
    .bds-loan-result{ display: flex; flex-direction: column; justify-content: center; margin: 0px; padding: 4px 20px; border-radius: var(--th-radius); background: var(--th-bg); }
    .bds-loan-result div{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0px; border-bottom: 1px dashed var(--th-line); }
    .bds-loan-result div:last-child{ border-bottom: 0px; }
    .bds-loan-result dt{ color: var(--th-muted); }
    .bds-loan-result dd{ margin: 0px; font-weight: 700; text-align: right; color: var(--th-ink); }
    .bds-loan-result .is-main dd{ font-size: 20px; color: var(--th-green); }
    .bds-loan-note{ margin-top: 12px; font-size: 13px; color: var(--th-muted); }

    /* The aside must span the whole row, otherwise the sticky block has no room to travel. */
    .single-bds-sidebar{ align-self: stretch; }
    .sidebar-form .wpcf7 form{ gap: 12px; }
    .sidebar-form .wpcf7 textarea{ height: 84px; }
    /* Only the price/contact card sticks: it is short enough to stay fully visible on any screen. */
    .sidebar-form.is-moved{ display: none; }
    .support-card-booking{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 22px; border-radius: 8px; background: var(--th-gold-soft); font-weight: 600; line-height: 1.2; color: var(--th-green-deep); transition: background-color .25s, color .25s; }
    .support-card-booking:hover{ background: var(--th-white); color: var(--th-green); }

    /* Booking dialog. */
    .bds-booking{ width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0px; border: 0px; border-radius: 16px; background: var(--th-white); color: var(--th-text); box-shadow: var(--th-shadow-lg); overflow: hidden; }
    .bds-booking[open]{ display: flex; flex-direction: column; animation: select-in .25s var(--th-ease); }
    .bds-booking::backdrop{ background: rgba(7, 26, 18, 0.6); }
    .bds-booking-head{ flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; background: linear-gradient(90deg, var(--th-green-deep), var(--th-green)); }
    .bds-booking-title{ font-size: 19px; color: var(--th-gold-light); }
    .bds-booking-close{ display: grid; place-items: center; width: 40px; height: 40px; border: 0px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); font-size: 20px; color: var(--th-white); }
    .bds-booking-listing{ flex-shrink: 0; display: grid; grid-template-columns: 64px minmax(0px, 1fr); align-items: center; gap: 12px; padding: 14px 24px; background: var(--th-green-soft); border-bottom: 1px solid var(--th-green-line); }
    .bds-booking-listing img{ width: 64px; height: 50px; border-radius: 6px; object-fit: cover; }
    .bds-booking-listing-title{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--th-ink); }
    .bds-booking-listing-meta{ display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: 13px; color: var(--th-muted); }
    .bds-booking-listing-meta strong{ color: var(--th-green); }
    .bds-booking-body{ padding: 18px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }
    .bds-booking-body > p{ margin-bottom: 14px; font-size: 14px; color: var(--th-muted); }

    .single-bds-sticky{ position: sticky; top: calc(var(--th-sticky-offset) + 20px); display: flex; flex-direction: column; gap: 20px; }
    .sidebar-form p{ font-size: 14px; color: var(--th-muted); margin-bottom: 14px; }
    .mobile-cta{ display: none; }

    /*
    * SINGLE CONTENT.
    */
    .single-content{ font-size: 17px; line-height: 1.75; color: var(--th-text); overflow-wrap: break-word; }
    .single-content > * + *{ margin-top: 1em; }
    /* A heading that opens a box (SEO text, description) sits on the box padding, not 1.6em below it. */
    .single-content > :first-child{ margin-top: 0px; }
    .single-content h2{ font-size: clamp(21px, 2vw, 26px); margin-top: 1.6em; }
    .single-content h3{ font-size: clamp(18px, 1.6vw, 21px); margin-top: 1.4em; }
    .single-content h4{ font-size: 18px; margin-top: 1.2em; }
    .single-content ul, .single-content ol{ padding-left: 22px; }
    .single-content ul{ list-style: disc; }
    .single-content ol{ list-style: decimal; }
    .single-content li + li{ margin-top: 6px; }
    .single-content li::marker{ color: var(--th-gold-dark); }
    /* In-text links: blue + semibold + soft underline (three cues, readable without colour). Buttons keep their own style. */
    .single-content a:not([class*="btn"], .wp-element-button){ color: var(--th-link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: rgba(11, 99, 206, 0.35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
    .single-content a:not([class*="btn"], .wp-element-button):hover{ color: var(--th-link-hover); text-decoration-color: currentColor; }
    .single-content strong{ color: var(--th-ink); }
    .single-content img{ border-radius: var(--th-radius); margin-inline: auto; }
    .single-content figure{ margin-inline: 0px; }
    .single-content figcaption{ margin-top: 8px; font-size: 14px; color: var(--th-muted); text-align: center; }
    .single-content blockquote{ margin-inline: 0px; padding: 16px 22px; border-left: 4px solid var(--th-green); background: var(--th-green-soft); border-radius: 0px 8px 8px 0px; font-style: italic; }
    .single-content table{ width: 100%; border-collapse: collapse; font-size: 15px; }
    .single-content th, .single-content td{ padding: 10px 12px; border: 1px solid var(--th-line); text-align: left; }
    .single-content th{ background: var(--th-green-soft); color: var(--th-ink); }
    .single-post-thumb{ margin: 0px 0px 28px; }
    .single-post-thumb img{ width: 100%; border-radius: var(--th-radius-lg); }
    .single-tags{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--th-line); }
    .single-tags i{ color: var(--th-gold-dark); }
    .single-tags a{ padding: 4px 12px; border-radius: 50px; background: var(--th-bg); font-size: 14px; }
    .page-content{ max-width: 920px; padding-block: 40px 64px; }

    /*
    * NEWS ITEM.
    */
    .news-list{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; }
    .news-list.is-3col{ grid-template-columns: repeat(3, minmax(0px, 1fr)); }
    .news-item{ display: flex; flex-direction: column; border: 1px solid var(--th-line); border-radius: var(--th-radius); overflow: hidden; background: var(--th-white); transition: border-color .3s, box-shadow .3s, transform .35s var(--th-ease); }
    .news-item:hover{ border-color: var(--th-gold-light); box-shadow: var(--th-shadow); }
    .news-item-thumb{ position: relative; aspect-ratio: 16 / 10; }
    .news-item-cat{ position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(30, 23, 20, 0.72); font-size: 12px; font-weight: 500; color: var(--th-white); }
    .news-item-body{ display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
    .news-item-meta{ display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--th-muted); }
    .news-item-meta time, .news-item-meta span{ display: inline-flex; align-items: center; gap: 6px; }
    .news-item-meta time{ font-weight: 600; color: var(--th-gold-dark); }
    .news-item-meta i{ color: var(--th-gold); }
    .news-item-title{ font-size: 18px; margin: 8px 0px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-item-desc{ color: var(--th-muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .news-item-more{ display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--th-gold-dark); font-size: 15px; }
    .news-item-more i{ font-size: 11px; }
    /* Lead story: wide card across the list. */
    .news-item.is-featured{ grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 1fr); }
    .news-item.is-featured .news-item-thumb{ aspect-ratio: auto; min-height: 340px; }
    .news-item.is-featured .news-item-thumb img{ position: absolute; inset: 0px; }
    .news-item.is-featured .news-item-body{ justify-content: center; padding: 28px 32px; }
    .news-item.is-featured .news-item-title{ margin: 12px 0px; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; -webkit-line-clamp: 3; }
    .news-item.is-featured .news-item-desc{ font-size: 16px; -webkit-line-clamp: 4; }
    .news-item.is-featured .news-item-more{ margin-top: 0px; padding-top: 18px; }
    .news-cats{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .news-cats a{ display: inline-block; padding: 7px 16px; border: 1px solid var(--th-line); border-radius: 50px; background: var(--th-white); font-size: 14px; font-weight: 600; line-height: 22px; color: var(--th-ink); transition: background-color .25s, border-color .25s, color .25s; }
    .news-cats a:hover{ border-color: var(--th-green-line); background-color: var(--th-green-soft); color: var(--th-green-dark); }
    .news-cats a.is-active{ border-color: transparent; background: var(--th-gold-gradient) border-box; color: var(--th-green-deep); }

    /*
    * POST DETAIL.
    */
    .post-foot{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--th-line); }
    .post-foot .single-tags{ margin: 0px; padding: 0px; border: 0px; }
    .post-share{ display: flex; align-items: center; gap: 8px; margin-left: auto; }
    .post-share span{ margin-right: 4px; font-size: 14px; font-weight: 600; color: var(--th-ink); }
    .post-share-btn{ display: grid; place-items: center; width: 40px; height: 40px; padding: 0px; border: 1px solid var(--th-line); border-radius: 50%; background: var(--th-white); color: var(--th-gold-dark); transition: background-color .25s, border-color .25s, color .25s; }
    .post-share-btn:hover{ border-color: var(--th-gold); background-color: var(--th-gold); color: var(--th-green-deep); }
    /* Sticky table of contents + contact card. */
    .post-sidebar{ align-self: stretch; }
    .post-sidebar-sticky{ position: sticky; top: calc(var(--th-sticky-offset) + 20px); display: flex; flex-direction: column; gap: 20px; }
    .post-toc .post-toc-list{ position: relative; max-height: max(160px, calc(100vh - var(--th-sticky-offset) - 420px)); margin-right: -10px; padding-right: 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--th-gold-light) transparent; }
    .post-toc-list a{ display: block; padding: 7px 0px 7px 14px; border-left: 2px solid var(--th-line); font-size: 14px; line-height: 1.45; color: var(--th-muted); transition: color .2s, border-color .2s; }
    .post-toc-list .is-sub a{ padding-left: 28px; font-size: 14px; }
    .post-toc-list a:hover{ color: var(--th-ink); }
    .post-toc-list a.is-active{ border-left-color: var(--th-gold); font-weight: 600; color: var(--th-gold-dark); }
    .post-toc-inline{ display: none; margin-bottom: 24px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-bg); }
    .post-toc-inline summary{ display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; color: var(--th-ink); cursor: pointer; list-style: none; }
    .post-toc-inline summary::-webkit-details-marker{ display: none; }
    .post-toc-inline summary span{ font-size: 13px; font-weight: 500; color: var(--th-muted); }
    .post-toc-inline summary::after{ content: "\f078"; margin-left: auto; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 12px; color: var(--th-gold-dark); transition: transform .25s var(--th-ease); }
    .post-toc-inline[open] summary::after{ transform: rotate(180deg); }
    .post-toc-inline .post-toc-list{ padding: 0px 16px 14px; }
    .single-content :is(h2, h3)[id]{ scroll-margin-top: calc(var(--th-sticky-offset) + 24px); }
    /* Reading progress under the header (added by custom.js on posts). */
    .header-main{ position: relative; }
    .reading-progress{ position: absolute; left: 0px; right: 0px; bottom: -1px; z-index: 2; height: 3px; background: var(--th-gold-gradient); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

    /*
    * ABOUT.
    */
    /* Same as the home "why" block: photo matches the text height, frame offset (top) added to the padding. */
    .block-about-intro{ padding-top: calc(clamp(48px, 6vw, 80px) + 18px); }
    .about-intro-inner{ display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); }
    .about-intro-content .block-item-title{ margin-bottom: 20px; }
    .about-intro-media{ position: relative; min-height: 320px; }
    .about-intro-media::before{ content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: var(--th-radius-lg); background: var(--th-green-soft); border: 2px solid var(--th-gold-light); }
    .about-intro-media img{ position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; border-radius: var(--th-radius-lg); }
    .about-values-list{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 24px; }
    .about-values-item{ padding: 28px 24px; border-radius: var(--th-radius-lg); background: var(--th-white); border: 1px solid var(--th-line); }
    .about-values-item-icon{ display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(150deg, var(--th-green-deep), var(--th-green)); color: var(--th-gold-light); font-size: 26px; }
    .about-values-item-title{ font-size: 19px; margin-bottom: 8px; }
    .about-values-item p{ color: var(--th-muted); font-size: 15px; }
    .about-process-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: process; }
    .about-process-item{ position: relative; padding: 64px 22px 24px; border-top: 3px solid var(--th-gold); background: var(--th-bg); border-radius: 0px 0px var(--th-radius) var(--th-radius); counter-increment: process; }
    .about-process-item::before{ content: counter(process); position: absolute; left: 22px; top: 18px; font-size: 34px; font-weight: 700; line-height: 1; color: var(--th-gold); }
    .about-process-item-title{ font-size: 18px; margin-bottom: 8px; }
    .about-process-item p{ color: var(--th-muted); font-size: 15px; }

    /*
    * CONTACT + CONSIGN PAGE.
    */
    .contact-inner, .consign-page-inner{ display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
    .consign-page-inner{ grid-template-columns: minmax(0px, 1fr) 520px; }
    /* Contact: call/Zalo first, then the form; address + map fill the column under the buttons on desktop. */
    .contact-inner{ grid-template-areas: "channels form" "info form"; grid-template-rows: auto 1fr; row-gap: 32px; }
    .contact-channels{ grid-area: channels; padding-top: calc(clamp(22px, 3vw, 32px) + 1px); }
    .contact-inner > .contact-form-box{ grid-area: form; }
    /* Map takes the height left beside the form, so both columns end on the same line. */
    .contact-info{ grid-area: info; align-self: stretch; display: flex; flex-direction: column; }
    .contact-actions{ display: grid; grid-template-columns: minmax(0px, 1.5fr) minmax(0px, 1fr); gap: 12px; margin-top: 18px; }
    .contact-actions > a{ min-height: 52px; padding-inline: 12px; font-size: 16px; white-space: nowrap; }
    .contact-zalo{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: var(--th-zalo); font-weight: 600; line-height: 1.2; color: var(--th-white); box-shadow: 0px 6px 18px rgba(0, 104, 255, 0.24); transition: filter .25s, box-shadow .25s; }
    .contact-zalo:hover{ color: var(--th-white); filter: brightness(1.08); box-shadow: 0px 10px 26px rgba(0, 104, 255, 0.32); }
    /* Live open/closed line (custom.js): tells whether a call will be answered now. */
    .contact-status{ position: relative; margin-top: 14px; padding-left: 20px; font-size: 14px; line-height: 22px; color: var(--th-muted); }
    .contact-status::before{ content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--th-gold-dark); box-shadow: 0px 0px 0px 3px rgba(126, 95, 8, 0.15); }
    .contact-status strong{ font-weight: 600; color: var(--th-ink); }
    .contact-status.is-open::before{ background: var(--th-success); box-shadow: 0px 0px 0px 3px rgba(35, 105, 63, 0.18); }
    .contact-status.is-open strong{ color: var(--th-success); }
    .contact-info-list{ display: flex; flex-direction: column; gap: 18px; }
    .contact-info-list li{ display: flex; gap: 16px; align-items: flex-start; }
    .contact-info-list li > i{ flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--th-green-soft); color: var(--th-green-dark); font-size: 20px; }
    .contact-info-list div{ display: flex; flex-direction: column; }
    .contact-info-list strong{ color: var(--th-ink); }
    .contact-info-list a{ color: var(--th-green); font-weight: 600; }
    .contact-info-line{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
    /* 32px tap area that takes no extra line height. */
    .contact-copy{ display: grid; place-items: center; width: 32px; height: 32px; margin-block: -4px; padding: 0px; border: 0px; border-radius: 6px; background: none; font-size: 14px; color: var(--th-muted); transition: background-color .2s, color .2s; }
    .contact-copy:hover{ background: var(--th-green-soft); color: var(--th-green-dark); }
    .contact-map{ flex: 1 1 auto; min-height: 280px; margin-top: 24px; aspect-ratio: auto; }
    .contact-form-box{ padding: clamp(22px, 3vw, 32px); border-radius: var(--th-radius-lg); background: var(--th-white); border: 1px solid var(--th-line); box-shadow: var(--th-shadow); }
    .contact-form-box > p{ color: var(--th-muted); font-size: 15px; margin-bottom: 18px; }
    /* The page has its own call/Zalo buttons and the header keeps the hotline: no floating duplicates over the form. */
    .page-template-contact #button-contact-vr{ display: none; }
    .consign-benefits{ display: grid; gap: 18px; margin-top: 28px; }
    .consign-benefits li{ display: flex; gap: 16px; }
    .consign-benefits-icon{ flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--th-green-soft); color: var(--th-green-dark); font-size: 20px; }
    .consign-benefits h3{ font-size: 17px; margin-bottom: 4px; }
    .consign-benefits p{ color: var(--th-muted); font-size: 15px; }

    /*
    * CONTACT FORM 7.
    */
    .wpcf7 form{ display: flex; flex-direction: column; gap: 14px; }
    .wpcf7 .form-row{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 14px; }
    .wpcf7 label{ display: block; font-size: 14px; font-weight: 600; color: var(--th-ink); }
    .wpcf7 .wpcf7-form-control-wrap{ display: block; margin-top: 6px; }
    .wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 .select-ui-btn, .wpcf7 textarea{ width: 100%; padding: 12px 14px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
    .wpcf7 textarea{ height: 120px; resize: vertical; }
    .wpcf7 select{ -webkit-appearance: none; appearance: none; background: var(--th-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C5A12' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
    .wpcf7 .select-ui-btn{ padding-right: 38px; color: var(--th-ink); }
    .wpcf7 .select-ui-btn.is-empty{ color: var(--th-muted); }
    .wpcf7 input[type="number"]{ -moz-appearance: textfield; appearance: textfield; }
    .wpcf7 input[type="number"]::-webkit-inner-spin-button, .wpcf7 input[type="number"]::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0px; }
    .wpcf7 .wpcf7-not-valid, .wpcf7 .select-ui-btn.is-invalid{ border-color: #D92D20; background-color: #FFFBFA; }
    .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 .select-ui-btn:focus, .wpcf7 .select-ui.is-open .select-ui-btn, .wpcf7 textarea:focus{ outline: none; border-color: var(--th-green); background-color: var(--th-white); box-shadow: 0px 0px 0px 3px rgba(13, 45, 32, 0.14); }
    .wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit{ width: 100%; padding: 14px 22px; border: 0px; border-radius: 8px; background: var(--th-gold-gradient); color: var(--th-green-deep); font-weight: 700; font-size: 16px; cursor: pointer; transition: filter .2s; }
    .wpcf7 .wpcf7-submit:hover{ filter: brightness(1.06); }
    /* No field glow on the button after a mouse click; keyboard focus keeps a clear ring. */
    .wpcf7 .wpcf7-submit:focus{ box-shadow: none; }
    .wpcf7 .wpcf7-submit:focus-visible{ outline: 2px solid var(--th-gold-dark); outline-offset: 2px; }
    .wpcf7 .wpcf7-spinner{ display: block; margin: 0px auto; }
    .wpcf7 form:not(.submitting) .wpcf7-spinner{ display: none; }
    .wpcf7 form.submitting .wpcf7-submit{ opacity: 0.7; cursor: progress; }
    .wpcf7 .wpcf7-not-valid-tip{ font-size: 13px; margin-top: 4px; color: #B42318; }
    /* Extra class beats CF7's own stylesheet (loaded later: 2em margins, 2px coloured border). */
    .wpcf7 .wpcf7-form .wpcf7-response-output{ margin: 0px; padding: 12px 14px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); font-size: 14px; line-height: 1.5; color: var(--th-text); }
    .wpcf7 .wpcf7-form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output{ border-color: #F3D28C; background: #FFF8E6; color: #7A4B00; }
    .wpcf7 .wpcf7-form:is(.failed, .aborted, .spam) .wpcf7-response-output{ border-color: #F2C7C4; background: #FDF2F1; color: #B42318; }
    .wpcf7 .wpcf7-form.sent .wpcf7-response-output{ border-color: #BFE3CC; background: #EEF8F1; color: var(--th-success); }
    .wpcf7 .form-note{ font-size: 13px; color: var(--th-muted); text-align: center; }
    .wpcf7 .form-req{ color: #D92D20; }
    /* Choice chips (CF7 radio): every option visible, one tap; the selected one uses the site's gold "active" style. */
    .wpcf7 .form-choice{ min-width: 0px; margin: 0px; padding: 0px; border: 0px; }
    .wpcf7 .form-choice legend{ padding: 0px; font-size: 14px; font-weight: 600; color: var(--th-ink); }
    .wpcf7 .wpcf7-radio{ display: flex; flex-wrap: wrap; gap: 8px; }
    .wpcf7 .wpcf7-list-item{ margin: 0px; }
    .wpcf7 .wpcf7-radio label{ position: relative; display: block; font-weight: 500; cursor: pointer; }
    .wpcf7 .wpcf7-radio input{ position: absolute; inset: 0px; z-index: 1; width: 100%; height: 100%; margin: 0px; opacity: 0; cursor: pointer; }
    .wpcf7 .wpcf7-list-item-label{ display: flex; align-items: center; height: 40px; padding: 0px 16px; border: 1px solid var(--th-line); border-radius: 50px; background: var(--th-bg); font-size: 14px; color: var(--th-text); transition: background-color .2s, border-color .2s, color .2s; }
    .wpcf7 .wpcf7-radio label:hover .wpcf7-list-item-label{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .wpcf7 .wpcf7-radio input:checked + .wpcf7-list-item-label{ border-color: transparent; background: var(--th-gold-gradient) border-box; color: var(--th-green-deep); }
    .wpcf7 .wpcf7-radio input:focus-visible + .wpcf7-list-item-label{ outline: 2px solid var(--th-gold-dark); outline-offset: 2px; }

    /*
    * 404.
    */
    .page-404{ padding-block: 72px 96px; text-align: center; background: var(--th-bg); }
    .page-404 .page-404-code{ font-size: clamp(80px, 14vw, 160px); font-weight: 700; line-height: 1; background: var(--th-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .page-404 p{ max-width: 560px; margin: 14px auto 28px; color: var(--th-muted); }
    .page-404 .bds-filter{ max-width: 1100px; margin: 0px auto 28px; text-align: left; }

    /*
    * FOOTER.
    */
    /* Footer on the brand green #0d2d20: white 90% text (~12:1), gold #F8D847 titles / icons / hover (9:1). */
    .site-footer{ background: var(--th-green); color: rgba(255, 255, 255, 0.9); font-size: 15px; }
    .footer-main{ display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
    .footer-logo{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
    .footer-logo img{ width: auto; height: 64px; aspect-ratio: 258 / 240; object-fit: contain; filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.35)); }
    .footer-logo span{ display: flex; flex-direction: column; line-height: 1.25; }
    .footer-logo strong{ font-size: 32.2px; }
    .footer-logo small{ margin-top: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.94); }
    .footer-about-desc{ margin-bottom: 18px; }
    .footer-contact li{ display: flex; gap: 12px; padding: 5px 0px; }
    .footer-contact i{ flex-shrink: 0; width: 16px; margin-top: 5px; color: var(--th-gold-light); text-align: center; }
    .footer-title{ position: relative; font-size: 17px; color: var(--th-gold-light); padding-bottom: 12px; margin-bottom: 16px; }
    .footer-title::after{ content: ""; position: absolute; left: 0px; bottom: 0px; width: 40px; height: 2px; background: var(--th-gold); }
    .footer-menu li a{ display: inline-block; padding: 6px 0px; }
    .site-footer a:not(.btn-outline-gold, .footer-social a):hover{ color: var(--th-gold-light); text-decoration: underline; text-underline-offset: 3px; }
    .footer-connect p{ margin-bottom: 14px; }
    .footer-social{ display: flex; gap: 10px; margin-bottom: 22px; }
    .footer-social a{ display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(248, 216, 71, 0.5); color: var(--th-gold-light); transition: background .25s, color .25s, border-color .25s; }
    .footer-social a:hover{ background: var(--th-gold-light); border-color: var(--th-gold-light); color: var(--th-green-deep); }
    .footer-bottom{ padding-block: 18px; background: rgba(0, 0, 0, 0.18); font-size: 14px; text-align: center; color: rgba(255, 255, 255, 0.85); }

    /*
    * SAVE + SAVED PANEL + TOAST.
    */
    /* 30px circle centred on the badge row (badge: top 10px, 26px tall); ::after widens the tap area to 42px. */
    .bds-save:not(.is-text){ position: absolute; right: 10px; top: 8px; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; padding: 0px; border: 0px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); font-size: 14px; line-height: 1; color: var(--th-ink); box-shadow: inset 0px 0px 0px 1px rgba(30, 23, 20, 0.06), 0px 2px 8px rgba(7, 26, 18, 0.22); transition: transform .2s var(--th-ease), color .2s, background-color .2s; }
    .bds-save:not(.is-text)::after{ content: ""; position: absolute; inset: -6px; border-radius: 50%; }
    /* Heart on an even grid (user: pixel exact): FA heart is 512x448, so 16px = 16x14 ink -> 7px / 8px margins in the 30px disc.
       --heart-y cancels the glyph's own baseline offset (measured with a 4x screenshot: ink box centred to the pixel). */
    .bds-save:not(.is-text) i{ display: block; font-size: 16px; line-height: 1; translate: 0px var(--heart-y, 0px); }
    .bds-save:not(.is-text):hover{ background-color: var(--th-white); color: #D92D20; transform: scale(1.08); }
    .bds-save[aria-pressed="true"] i{ font-weight: 900; color: #D92D20; }
    .bds-save.is-pop i{ animation: save-pop .4s var(--th-ease); }
    @keyframes save-pop{ 40%{ transform: scale(1.35); } 100%{ transform: scale(1); } }
    .header-top-right{ display: flex; align-items: center; gap: 14px; }
    .header-saved.is-top{ display: inline-flex; align-items: center; gap: 7px; width: auto; height: 30px; padding: 0px 4px; border: 0px; border-radius: 0px; background: none; font-size: 13px; color: inherit; }
    .header-saved.is-top i{ color: var(--th-gold-light); }
    .header-saved.is-top:hover{ color: var(--th-gold-light); }
    .header-saved.is-top .header-saved-count{ position: static; background: var(--th-gold-gradient); color: var(--th-green-deep); }
    /* Round button in the main bar only on phones (the top bar is hidden there). */
    .header-actions .header-saved{ display: none; }
    /* On the green bar (phones): same glass outline as the menu button. */
    .header-actions .header-saved{ border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: var(--th-white); }
    .header-actions .header-saved:hover{ border-color: var(--th-gold-light); color: var(--th-gold-light); }
    .header-saved{ position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0px; border: 1px solid var(--th-line); border-radius: 50%; background: var(--th-white); font-size: 18px; color: var(--th-ink); transition: border-color .2s, color .2s; }
    .header-saved:hover{ border-color: var(--th-gold); color: #D92D20; }
    .header-saved-count{ position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0px 5px; border-radius: 10px; background: #D92D20; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; color: var(--th-white); }
    .saved-panel{ position: fixed; inset: 0px 0px 0px auto; width: min(420px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0px; padding: 0px; border: 0px; background: var(--th-white); color: var(--th-text); box-shadow: var(--th-shadow-lg); }
    .saved-panel[open]{ display: flex; flex-direction: column; animation: panel-in .35s var(--th-ease); }
    .saved-panel::backdrop{ background: rgba(7, 26, 18, 0.55); }
    @keyframes panel-in{ from{ transform: translateX(100%); } to{ transform: translateX(0px); } }
    .saved-panel-head{ display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 14px 20px; background: linear-gradient(90deg, var(--th-green-deep), var(--th-green)); }
    .saved-panel-title{ font-size: 18px; color: var(--th-gold-light); }
    .saved-panel-close{ display: grid; place-items: center; width: 40px; height: 40px; border: 0px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); font-size: 20px; color: var(--th-white); }
    .saved-panel-tabs{ display: flex; gap: 22px; padding: 0px 20px; border-bottom: 1px solid var(--th-line); }
    .saved-panel-tabs button{ position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 14px 0px; border: 0px; background: none; font-weight: 600; color: var(--th-muted); }
    .saved-panel-tabs button[aria-selected="true"]{ color: var(--th-ink); }
    .saved-panel-tabs button[aria-selected="true"]::after{ content: ""; position: absolute; left: 0px; right: 0px; bottom: -1px; height: 2px; background: var(--th-gold-gradient); }
    .saved-panel-count{ min-width: 22px; padding: 0px 6px; border-radius: 10px; background: var(--th-green-soft); font-size: 12px; line-height: 20px; text-align: center; color: var(--th-green-dark); }
    .saved-panel-list{ flex: 1; padding: 4px 20px 12px; overflow-y: auto; overscroll-behavior: contain; }
    .saved-panel-list[hidden]{ display: none; }
    .saved-item{ display: grid; grid-template-columns: 76px minmax(0px, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0px; border-bottom: 1px dashed var(--th-line); }
    .saved-item-thumb img{ width: 76px; height: 60px; border-radius: 6px; object-fit: cover; background: var(--th-bg); }
    .saved-item-title{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--th-ink); }
    .saved-item-title:hover{ color: var(--th-gold-dark); }
    .saved-item-price{ margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--th-price); }
    .saved-item-loc{ font-size: 13px; color: var(--th-muted); }
    .saved-item-remove{ display: grid; place-items: center; width: 34px; height: 34px; border: 0px; border-radius: 50%; background: none; color: var(--th-muted); transition: background-color .2s, color .2s; }
    .saved-item-remove:hover{ background: #FDF2F1; color: #D92D20; }
    .saved-panel-empty{ padding: 48px 12px; text-align: center; color: var(--th-muted); }
    .saved-panel-empty i{ display: block; margin-bottom: 12px; font-size: 36px; color: var(--th-gold); }
    .saved-panel-note{ padding: 12px 20px; border-top: 1px solid var(--th-line); background: var(--th-bg); font-size: 13px; color: var(--th-muted); }
    body:has(dialog[open]){ overflow: hidden; }
    .site-toast{ position: fixed; left: 50%; bottom: 28px; z-index: 300; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px; background: var(--th-ink); font-size: 14px; color: var(--th-white); box-shadow: var(--th-shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .25s, transform .3s var(--th-ease), visibility .25s; }
    .site-toast.show{ opacity: 1; visibility: visible; transform: translate(-50%, 0px); }
    .site-toast i{ color: var(--th-gold-light); }

    /*
    * LIGHTBOX.
    */
    .bds-lightbox{ width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0px; padding: 0px; border: 0px; background: #050F0B; color: var(--th-white); overflow: hidden; }
    .bds-lightbox[open]{ display: flex; flex-direction: column; animation: fade-in .25s var(--th-ease); }
    .bds-lightbox::backdrop{ background: #050F0B; }
    .bds-lightbox-head{ display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 24px; }
    .bds-lightbox-count{ font-size: 15px; font-weight: 600; }
    .bds-lightbox-hint{ flex: 1; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
    .bds-lightbox-close{ display: grid; margin-left: auto; place-items: center; width: 44px; height: 44px; border: 0px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 22px; color: var(--th-white); transition: background-color .2s; }
    .bds-lightbox-close:hover{ background: rgba(255, 255, 255, 0.2); }
    .bds-lightbox-slider{ flex: 1; width: 100%; min-height: 0px; }
    .bds-lightbox-slider .swiper-slide{ display: flex; align-items: center; justify-content: center; padding: 0px 80px 24px; }
    .bds-lightbox-prev, .bds-lightbox-next{ position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 22px; color: var(--th-white); transition: background-color .2s, opacity .2s; }
    .bds-lightbox-prev{ left: 20px; }
    .bds-lightbox-next{ right: 20px; }
    .bds-lightbox-prev:hover, .bds-lightbox-next:hover{ background: rgba(255, 255, 255, 0.22); }
    .bds-lightbox-prev.swiper-button-disabled, .bds-lightbox-next.swiper-button-disabled{ opacity: 0; pointer-events: none; }

    /*
    * FLOAT CONTACT.
    */
    /* Zalo + call = "Button contact VR" plugin (#button-contact-vr, bottom-left, its own shake/halo like the reference site).
       Kept under the mobile menu (200) / overlay (99): the plugin ships z-index 99999. */
    #button-contact-vr{ z-index: 95; }
    /* Exact geometry (the plugin's own was off: 65px halo at 12px = centre 44.5 vs 45, -5px overlap = uneven 20px gap, 26x25 Zalo icon).
       Everything on an even grid and concentric: box = halo 64, button 44 at 10px, icon 24 -> all centres at 32px.
       Halos 16px apart and the ripple capped at 8px (plugin: 15px, the two ripples met between the buttons), so they can never touch; dock 20px from the left (same as back-top from the right), bottom 15px so the call centre (47px) lines up with the back-top centre.
       Ids in the selectors beat the plugin stylesheet whatever the load order. Colours / shake / ripple animations stay the plugin's. */
    #button-contact-vr{ left: 20px; bottom: 15px; --vr-box: 64px; --vr-btn: 44px; --vr-icon: 24px; --vr-gap: 16px; --vr-ripple: 8px; }
    #button-contact-vr #gom-all-in-one{ display: flex; flex-direction: column; gap: var(--vr-gap); }
    #button-contact-vr #gom-all-in-one .button-contact{ margin: 0px; }
    #button-contact-vr #gom-all-in-one .button-contact .phone-vr{ width: var(--vr-box); height: var(--vr-box); }
    #button-contact-vr #gom-all-in-one .phone-vr-circle-fill{ inset: 0px; width: var(--vr-box); height: var(--vr-box); border: 0px; transform-origin: 50% 50%; color: #C31D1D; animation: vr-halo 1.3s ease-in-out infinite; }
    #button-contact-vr #gom-all-in-one #zalo-vr .phone-vr-circle-fill{ color: #2196F3; }
    @keyframes vr-halo{ 0%{ transform: scale(0.9); box-shadow: 0px 0px 0px 0px currentColor; } 70%{ transform: scale(1); box-shadow: 0px 0px 0px var(--vr-ripple) transparent; } 100%{ transform: scale(0.9); box-shadow: 0px 0px 0px 0px transparent; } }
    #button-contact-vr #gom-all-in-one .phone-vr-img-circle{ top: calc((var(--vr-box) - var(--vr-btn)) / 2); left: calc((var(--vr-box) - var(--vr-btn)) / 2); width: var(--vr-btn); height: var(--vr-btn); line-height: normal; overflow: visible; }
    #button-contact-vr #gom-all-in-one .phone-vr-img-circle a{ position: absolute; inset: 0px; display: grid; place-items: center; border-radius: 50%; line-height: 0; }
    #button-contact-vr #gom-all-in-one .phone-vr-img-circle img{ position: static; width: var(--vr-icon); height: var(--vr-icon); max-width: none; max-height: none; object-fit: contain; transform: none; }
    #button-contact-vr #gom-all-in-one .phone-vr-img-circle a:focus-visible{ outline: 3px solid var(--th-gold); outline-offset: 3px; }
    .back-top{ position: relative; display: grid; place-items: center; border-radius: 50%; }
    .back-top:focus-visible{ outline: 3px solid var(--th-gold); outline-offset: 4px; }
    /* Back to top: gold ring shows how far the page has been read (--scroll set in custom.js). */
    .back-top{ position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border: 3px solid transparent; background: linear-gradient(var(--th-white), var(--th-white)) padding-box, conic-gradient(var(--th-gold) calc(var(--scroll, 0) * 360deg), var(--th-line) 0deg) border-box; color: var(--th-green); font-size: 16px; box-shadow: 0px 8px 20px rgba(13, 45, 32, 0.16); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--th-ease), visibility .3s, color .25s; }
    .back-top.show{ opacity: 1; visibility: visible; transform: translateY(0px); }
    .back-top.show:hover{ color: var(--th-white); background: linear-gradient(var(--th-green), var(--th-green)) padding-box, conic-gradient(var(--th-gold) calc(var(--scroll, 0) * 360deg), var(--th-line) 0deg) border-box; transform: translateY(-3px); }

    /*
    * INTERACTION GAPS (audit 2026-11-16: hover every link / button on 8 page types, these had no visible state).
    * Same language as the rest of the site: gold border on fields, gold -> green swap on gold buttons, underline on inline links.
    */
    .wpcf7 input:hover:not(:focus):not(.wpcf7-not-valid), .wpcf7 select:hover:not(:focus):not(.wpcf7-not-valid), .wpcf7 textarea:hover:not(:focus):not(.wpcf7-not-valid), .wpcf7 .select-ui-btn:hover:not(:focus):not(.is-invalid), .listing-sort .select-ui-btn:hover:not(:focus), .listing-sort select:hover:not(:focus){ border-color: var(--th-gold); }
    .wpcf7 input, .wpcf7 select, .wpcf7 textarea, .wpcf7 .select-ui-btn, .listing-sort .select-ui-btn, .listing-sort select{ transition: border-color .2s, box-shadow .2s, background-color .2s; }
    .listing-seo-toggle{ transition: background-color .25s, color .25s, box-shadow .25s; }
    .listing-seo-toggle:hover{ background: var(--th-gold); color: var(--th-green-deep); box-shadow: 0px 8px 20px rgba(230, 178, 54, 0.3); }
    .bds-specs dd a, .contact-info-line a{ text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
    .bds-specs dd a:hover, .contact-info-line a:hover{ color: var(--th-green); text-decoration-color: currentColor; }
    .bds-tabs a:not(.is-active):hover{ background: var(--th-bg); color: var(--th-ink); }
    .search-form button{ transition: background .25s, color .25s; }
    .search-form button:hover{ background: var(--th-green); color: var(--th-gold-light); }
    /* Home news list rows behave like the big card: hovering the row zooms the photo and tints the title. */
    @media (hover: hover){
        .home-news-item:hover .thumb-zoom img{ transform: scale(1.05); }
        .home-news-item:hover h3 a, .home-news-hot:hover h3 a{ color: var(--th-gold-dark); }
    }

    /*
    * SCROLL REVEAL (js/custom.js).
    * JS adds .reveal-on to <html> and data-reveal to elements still below the fold, then .is-revealed once they enter the viewport.
    * No JS / reduced motion = content simply visible. Keyframes use "translate"/"scale" so hover "transform" on cards keeps working.
    */
    .reveal-on [data-reveal]:not(.is-revealed){ opacity: 0; }
    .reveal-on [data-reveal].is-revealed{ animation: reveal-up .8s var(--th-ease) var(--reveal-delay, 0s) both; }
    .reveal-on [data-reveal="left"].is-revealed{ animation-name: reveal-left; }
    .reveal-on [data-reveal="right"].is-revealed{ animation-name: reveal-right; }
    .reveal-on [data-reveal="zoom"].is-revealed{ animation-name: reveal-zoom; }
    @keyframes reveal-up{ from{ opacity: 0; translate: 0px 32px; } }
    @keyframes reveal-left{ from{ opacity: 0; translate: -48px 0px; } }
    @keyframes reveal-right{ from{ opacity: 0; translate: 48px 0px; } }
    @keyframes reveal-zoom{ from{ opacity: 0; scale: 0.94; } }
    /* Section title underline draws in after the heading. */
    .block-item-title::after{ transform-origin: left center; transition: scale .7s var(--th-ease) .35s; }
    .is-center .block-item-title::after{ transform-origin: center; }
    .reveal-on [data-reveal]:not(.is-revealed) .block-item-title::after, .reveal-on .block-item-title[data-reveal]:not(.is-revealed)::after{ scale: 0 1; }
    /* "Why" photo: the gold frame slides into its offset after the image. */
    .home-why-media::before{ transition: translate .8s var(--th-ease) .3s, opacity .8s var(--th-ease) .3s; }
    .reveal-on .home-why-media[data-reveal]:not(.is-revealed)::before{ translate: -18px -18px; opacity: 0; }

    /*
    * REDUCED MOTION.
    */
    @media (prefers-reduced-motion: reduce){
        *, *::before, *::after{ animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
        .header-hotline-icon::before, .header-hotline-dot::after{ display: none; }
        .home-hero-scroll-icon i{ animation: none !important; }
        .home-hero-scroll-icon i + i{ display: none; }
        .home-hero-scroll-btn::before{ display: none; }
        .hero-scene .hero-scene-sub, .hero-scene .hero-gold-xl, .hero-scene-name, .hero-shard{ opacity: 1 !important; }
        .hero-emblem-shine, .hero-emblem::before{ display: none; }
        .home-hero-loader img{ animation: none !important; }
    }
}
