* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

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


/* =========================================
   HEADER
========================================= */

header {
    background: #111;
    color: white;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;

    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 3;

    white-space: nowrap;
}

.logo span {
    color: #d4af37;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: white;
    font-size: 15px;

    transition: 0.3s;
}

nav a:hover {
    color: #d4af37;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 500px;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1800&q=85")
        center / cover;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    padding: 60px 20px;
}

.hero-content {
    max-width: 850px;
}

.hero-label {
    color: #d4af37;

    font-weight: bold;
    letter-spacing: 3px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;

    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}


/* =========================================
   BUTTON
========================================= */

.button {
    display: inline-block;

    background: #d4af37;
    color: #111;

    padding: 13px 25px;

    border-radius: 6px;

    font-weight: bold;

    margin: 5px;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.button-dark {
    background: #111;
    color: white;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

section {
    max-width: 1200px;
    margin: auto;

    padding: 70px 20px;
}

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.section-label {
    color: #b08a00;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 34px;

    margin-bottom: 10px;
}

.section-title p {
    color: #777;
}


/* =========================================
   FILTER
========================================= */

.filter-box {
    max-width: 1200px;

    margin: 0 auto 40px;

    background: white;

    padding: 20px;

    border-radius: 12px;

    box-shadow:
        0 4px 20px rgba(0,0,0,.08);
}

.filter-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.5fr
        auto;

    gap: 12px;
}

.filter-grid select,
.filter-grid input {

    width: 100%;

    padding: 13px;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: white;

    font-size: 15px;

    outline: none;
}

.filter-grid select:focus,
.filter-grid input:focus {

    border-color: #d4af37;
}

.filter-button {

    background: #111;

    color: white;

    border: none;

    border-radius: 6px;

    padding: 13px 20px;

    cursor: pointer;

    font-weight: bold;

    transition: .3s;
}

.filter-button:hover {

    background: #d4af37;

    color: #111;
}


/* =========================================
   CATEGORY
========================================= */

.categories {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 60px;
}

.category {
    background: white;

    padding: 35px 15px;

    text-align: center;

    border-radius: 12px;

    box-shadow:
        0 4px 20px rgba(0,0,0,.08);

    transition: .3s;
}

.category:hover {

    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.12);
}

.category-icon {

    font-size: 45px;

    margin-bottom: 15px;
}

.category h3 {

    font-size: 20px;

    margin-bottom: 7px;
}

.category p {

    color: #777;

    font-size: 14px;
}


/* =========================================
   PRODUCTS
========================================= */

.products {

    max-width: 1200px;

    margin: auto;

    padding: 0 20px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.product {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 4px 20px rgba(0,0,0,.08);

    transition: .3s;
}

.product:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 28px rgba(0,0,0,.12);
}

.product-content {

    padding: 20px;
}

.product-tag {

    color: #b08a00;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.product h3 {

    font-size: 20px;

    margin-bottom: 10px;
}

.price {

    color: #b88b00;

    font-size: 21px;

    font-weight: bold;

    margin-bottom: 8px;
}

.location {

    color: #777;

    margin-bottom: 12px;
}

.product p {

    color: #555;

    margin-bottom: 15px;
}

.product-button {

    display: inline-block;

    background: #111;

    color: white;

    padding: 10px 18px;

    border-radius: 5px;

    font-weight: bold;

    transition: .3s;
}

.product-button:hover {

    background: #d4af37;

    color: #111;
}


/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb {

    max-width: 1200px;

    margin: auto;

    padding: 18px 20px;

    background: #f5f5f5;

    color: #777;

    font-size: 14px;
}

.breadcrumb a {

    color: #555;

    font-weight: 600;
}

.breadcrumb a:hover {

    color: #b08a00;
}

.breadcrumb span {

    margin: 0 5px;
}


/* =========================================
   PROPERTY DETAIL
========================================= */

.property-detail {

    max-width: 1200px;

    margin: auto;

    padding: 40px 20px 70px;

    display: grid;

    grid-template-columns:
        1.15fr
        .85fr;

    gap: 45px;

    align-items: center;
}

.property-image {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 5px 25px rgba(0,0,0,.10);
}

.property-image img {

    display: block;

    width: 100%;

    height: 520px;

    object-fit: cover;
}

.property-content {

    padding: 20px 0;
}

.property-content h1 {

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 18px;
}

.property-intro {

    color: #555;

    font-size: 17px;

    margin: 20px 0;
}


/* =========================================
   PROPERTY INFO
========================================= */

.property-info {

    max-width: 1200px;

    margin: auto;

    padding: 70px 20px;

    background: white;
}

.info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1px;

    background: #e5e5e5;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    overflow: hidden;
}

.info-item {

    background: white;

    padding: 22px 20px;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.info-item strong {

    font-size: 14px;

    color: #777;
}

.info-item span {

    font-size: 17px;

    font-weight: 600;
}


/* =========================================
   PROPERTY DESCRIPTION
========================================= */

.property-description {

    max-width: 1200px;

    margin: auto;

    padding: 70px 20px;
}

.property-description p {

    max-width: 900px;

    margin: 0 auto 18px;

    color: #555;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   PROPERTY LOCATION
========================================= */

.property-location {

    max-width: 1200px;

    margin: auto;

    padding: 70px 20px;

    background: #fafafa;
}

.property-location p {

    max-width: 900px;

    margin: 0 auto 15px;

    color: #555;

    font-size: 17px;
}


/* =========================================
   CONTACT
========================================= */

.contact {

    max-width: none;

    background: #111;

    color: white;

    text-align: center;
}

.contact-content {

    max-width: 800px;

    margin: auto;
}

.contact h2 {

    font-size: 34px;

    margin-bottom: 15px;
}

.contact p {

    color: #ccc;
}

.phone {

    color: #d4af37;

    font-size: 28px;

    font-weight: bold;

    margin: 12px 0;
}


/* =========================================
   FOOTER
========================================= */

footer {

    background: #080808;

    color: #999;

    text-align: center;

    padding: 25px 20px;

    font-size: 14px;
}


/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 900px) {

    nav {

        gap: 15px;
    }

    .products {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .categories {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .filter-grid {

        grid-template-columns:
            1fr
            1fr;
    }

    .property-detail {

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .property-image img {

        height: 420px;
    }

    .info-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header-container {

        padding: 14px 15px;
    }

    .logo {

        font-size: 19px;
    }

    nav {

        display: none;
    }

    .hero {

        min-height: 450px;

        padding: 50px 15px;
    }

    .hero h1 {

        font-size: 34px;
    }

    .hero p {

        font-size: 17px;
    }

    section {

        padding: 50px 15px;
    }

    .section-title h2 {

        font-size: 28px;
    }

    .categories {

        grid-template-columns:
            1fr 1fr;

        gap: 12px;
    }

    .category {

        padding: 25px 10px;
    }

    .category-icon {

        font-size: 36px;
    }

    .products {

        grid-template-columns:
            1fr;

        padding: 0 15px;
    }

    .filter-box {

        margin-left: 15px;
        margin-right: 15px;
    }

    .filter-grid {

        grid-template-columns:
            1fr;
    }

    .property-detail {

        padding: 25px 15px 50px;
    }

    .property-image img {

        height: 300px;
    }

    .property-content h1 {

        font-size: 32px;
    }

    .property-info {

        padding: 50px 15px;
    }

    .info-grid {

        grid-template-columns:
            1fr;
    }

    .property-description,
    .property-location {

        padding: 50px 15px;
    }

    .breadcrumb {

        padding: 15px;
    }

    .contact h2 {

        font-size: 27px;
    }

   .phone {

    font-size: 23px;
}

}  /* ĐÓNG @media (max-width: 600px) CŨ */


/* =====================================================
   GIAO DIỆN BÀI VIẾT BĐS KIỂU PORTAL - BẢN CHUẨN
===================================================== */

body {
    background: #e7e7e7;
}


/* KHUNG WEBSITE CĂN GIỮA */

.page-wrap {
    width: 1180px;
    max-width: calc(100% - 30px);
    margin: 20px auto 40px;
}


/* BREADCRUMB */

.breadcrumb {
    width: 100%;
    background: #ffffff;
    padding: 12px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #666666;
}

.breadcrumb a {
    color: #555555;
    text-decoration: none;
}


/* =====================================================
   BỐ CỤC 2 CỘT
===================================================== */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 320px;
    gap: 20px;
    align-items: start;
    justify-content: center;
}


/* =====================================================
   BÀI VIẾT
===================================================== */

.article {
    min-width: 0;
    background: #ffffff;
    padding: 22px;
}

.article h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.3;
    color: #15945f;
}

.article-meta {
    text-align: right;
    color: #999999;
    font-size: 14px;
    margin-bottom: 12px;
}

.article-summary {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    margin: 16px 0;
}

.article p {
    font-size: 17px;
    line-height: 1.75;
    margin: 14px 0;
}

.article h2,
.article h3 {
    margin-top: 26px;
    margin-bottom: 10px;
}


/* TAG */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 15px 0 20px;
}

.tags span {
    background: #eeeeee;
    color: #777777;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 14px;
}


/* =====================================================
   ẢNH TRONG BÀI CHI TIẾT
   RỘNG TỐI ĐA 900PX - CAO TỰ DO
===================================================== */

.article-image {
    display: block;
    width: 100%;
    max-width: 820px;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 20px auto 10px;
    border-radius: 8px;
}

.image-caption {
    text-align: center;
    color: #777777;
    font-size: 14px;
    font-style: italic;
    margin: 5px 0 20px;
}


/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
    width: 320px;
    min-width: 0;
    position: sticky;
    top: 90px;
}

.sidebar-box {
    width: 100%;
    background: #ffffff;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #dddddd;
}

.sidebar-box h3 {
    margin: -18px -18px 15px;
    padding: 10px 12px;
    background: #d79b16;
    color: #ffffff;
    text-align: center;
    font-size: 17px;
}

.sidebar-box p {
    margin: 0;
    padding: 8px 0;
    line-height: 1.5;
    border-bottom: 1px solid #eeeeee;
}

.property-price {
    margin: 18px 0;
    font-size: 28px;
    font-weight: 700;
    color: #b88b00;
    text-align: center;
}

.sidebar-contact {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.sidebar-contact a {
    text-align: center;
    text-decoration: none;
}


/* =====================================================
   AVATAR / ẢNH ĐẠI DIỆN BÀI ĐĂNG
   TỶ LỆ 4:3 RESPONSIVE
===================================================== */
.product img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .page-wrap {
        width: auto;
        max-width: calc(100% - 20px);
        margin: 12px auto 30px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .article h1 {
        font-size: 25px;
    }

    .article-image {
        width: 100%;
    }
}


/* =====================================================
   ĐIỆN THOẠI
===================================================== */

@media (max-width: 600px) {

    .page-wrap {
        max-width: calc(100% - 16px);
        margin: 8px auto 20px;
    }

    .article {
        padding: 15px;
    }

    .article h1 {
        font-size: 22px;
    }

    .article h2 {
        font-size: 20px;
    }

    .article p,
    .article-summary {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 10px 12px;
        font-size: 13px;
    }
}


/* =====================================================
   VIDEO BẤT ĐỘNG SẢN
===================================================== */

.property-video {
    width: 100%;
    margin: 30px auto;
}

.property-video h2 {
    margin-bottom: 15px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
/* =====================================================
   TỐI ƯU TÌM KIẾM TRÊN ĐIỆN THOẠI
===================================================== */

@media (max-width: 600px) {

    .search-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .search-grid select,
    .search-grid input,
    .search-grid .search-button {
        width: 100%;
        min-height: 46px;
        box-sizing: border-box;
        font-size: 16px;
    }

    .search-grid select,
    .search-grid input {
        padding: 10px 12px;
    }

    .search-grid .search-button {
        padding: 10px 15px;
    }
}
/* ===== TRANG CHI TIẾT - NỘI DUNG ===== */

.property-description {
    margin-top: 12px;
}

.property-description p {
    margin: 0 0 18px;
    line-height: 1.7;
}

.property-description p:first-child {
    margin-top: 0;
}

.property-highlights {
    margin: 12px 0 28px;
    padding-left: 24px;
}

.property-highlights li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.property-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.property-content .property-description {
    margin-top: 0;
}
/* ===== RESET KHOẢNG CÁCH PHẦN MÔ TẢ ===== */

.article > h2 {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 26px 0 10px;
}

.article .property-description {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.article .property-description p {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0 0 18px;
    line-height: 1.7;
}
/* =========================================
   TUAN NGUYEN GLOBAL THEME
   Đồng bộ các trang với giao diện trang chủ
========================================= */

:root {
    --tn-green: #124f3a;
    --tn-green-dark: #0b3b2b;
    --tn-gold: #d79b16;
    --tn-cream: #faf8f3;
    --tn-text: #26332e;
    --tn-muted: #69756f;
}

/* BODY */

body {
    background: var(--tn-cream);
    color: var(--tn-text);
}


/* HEADER */

header {
    background: #ffffff;
    color: var(--tn-text);

    border-bottom: 1px solid rgba(18,79,58,.08);

    box-shadow:
        0 2px 14px rgba(24,45,37,.05);
}

.header-container {
    max-width: 1460px;
}

.logo {
    color: var(--tn-green);
    font-weight: 800;
}

.logo span {
    color: var(--tn-gold);
}

nav a {
    color: #1f2c27;
    font-weight: 600;
}

nav a:hover {
    color: var(--tn-gold);
}


/* HERO */

.hero {
    background:
        linear-gradient(
            rgba(8,47,35,.28),
            rgba(8,47,35,.52)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1800&q=85")
        center / cover;

    color: white;
}

.hero-label {
    color: var(--tn-gold);
}

.hero h1 {
    color: white;
}

.hero p {
    color: rgba(255,255,255,.94);
}


/* BUTTON */

.button {
    background: var(--tn-gold);
    color: #173226;

    border-radius: 8px;
}

.button-dark {
    background: var(--tn-green);
    color: white;
}

.button-dark:hover,
.filter-button:hover {
    background: var(--tn-green-dark);
    color: white;
}


/* SECTION */

.section-label {
    color: var(--tn-gold);
}

.section-title h2 {
    color: var(--tn-green);
}

.section-title p {
    color: var(--tn-muted);
}


/* FILTER */

.filter-box {
    border: 1px solid rgba(18,79,58,.07);

    box-shadow:
        0 8px 26px rgba(31,48,41,.08);
}

.filter-grid select:focus,
.filter-grid input:focus {
    border-color: var(--tn-green);
}

.filter-button {
    background: var(--tn-green);
}


/* CATEGORY */

.category {
    border: 1px solid rgba(18,79,58,.06);

    box-shadow:
        0 6px 22px rgba(38,52,46,.07);
}

.category:hover {
    border-color: rgba(215,155,22,.35);

    box-shadow:
        0 12px 28px rgba(38,52,46,.11);
}

.category h3 {
    color: var(--tn-green);
}

.category p {
    color: var(--tn-muted);
}


/* PRODUCTS */

.product {
    border: 1px solid rgba(18,79,58,.07);

    box-shadow:
        0 7px 22px rgba(31,48,41,.08);
}

.product-tag {
    color: white;

    background: var(--tn-green);

    display: inline-block;

    padding: 5px 10px;

    border-radius: 7px;
}

.product h3 {
    color: #202a26;
}

.price {
    color: var(--tn-green);
}

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

.product-button {
    background: var(--tn-green);
    color: white;

    border-radius: 7px;
}

.product-button:hover {
    background: var(--tn-gold);
    color: #173226;
}


/* BREADCRUMB */

.breadcrumb {
    background: var(--tn-cream);
    color: var(--tn-muted);
}

.breadcrumb a {
    color: var(--tn-green);
}

.breadcrumb a:hover {
    color: var(--tn-gold);
}


/* PROPERTY DETAIL */

.property-content h1 {
    color: var(--tn-green);
}

.property-intro {
    color: var(--tn-muted);
}

.property-image {
    border: 1px solid rgba(18,79,58,.07);

    box-shadow:
        0 8px 28px rgba(31,48,41,.10);
}


/* PROPERTY INFO */

.property-info {
    background: #fffdf9;
}

.info-grid {
    background: #e7ece8;
    border-color: #e7ece8;
}

.info-item strong {
    color: var(--tn-muted);
}

.info-item span {
    color: var(--tn-green);
}


/* DESCRIPTION */

.property-description p,
.property-location p {
    color: #4f6059;
}

.property-location {
    background: #f4f6f2;
}


/* CONTACT */

.contact {
    background: var(--tn-green-dark);
    color: white;
}

.contact p {
    color: rgba(255,255,255,.78);
}

.phone {
    color: var(--tn-gold);
}


/* FOOTER */

footer {
    background: #082f23;
    color: rgba(255,255,255,.70);
}
/* THƯƠNG HIỆU - VÀNG KIM 3D TOÀN WEBSITE */

.logo,
.logo span {
    background: linear-gradient(
        180deg,
        #fff2a8 0%,
        #f6c94c 18%,
        #d99a12 45%,
        #9b5b00 72%,
        #e5aa20 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    color: #d99a12;

    text-shadow:
        0 1px 0 #9c6200,
        0 2px 0 #805000,
        0 3px 1px rgba(75, 42, 0, 0.30);

    font-weight: 800;
}
/* LOGO THƯƠNG HIỆU 2 DÒNG */

.logo.brand-two-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1;
    gap: 0;
}

.logo.brand-two-lines .brand-line {
    display: block;

    background: linear-gradient(
        180deg,
        #fff2a8 0%,
        #f6c94c 18%,
        #d99a12 45%,
        #9b5b00 72%,
        #e5aa20 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    color: #d99a12;

    text-shadow:
        0 1px 0 #9c6200,
        0 2px 0 #805000,
        0 3px 1px rgba(75, 42, 0, 0.30);

    font-weight: 800;
    white-space: nowrap;
}
/* =========================================
   LOGO LUỒNG TRONG - GIỐNG TRANG CHỦ
========================================= */

header .logo,
header .logo span {
    background: linear-gradient(
        180deg,
        #fffbd2 0%,
        #fff083 8%,
        #ffd52f 18%,
        #f0ad0d 32%,
        #d07b00 46%,
        #9a5000 61%,
        #633000 78%,
        #b76600 89%,
        #f4b617 96%,
        #fff1a0 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    color: #d99a12;

    font-weight: 900;

    text-shadow:
        0 1px 0 #fff8c3,
        0 2px 0 #f6ca36,
        0 3px 0 #dc9309,
        0 4px 0 #bd7000,
        0 5px 0 #995300,
        0 6px 0 #7a3d00,
        0 7px 0 #5c2c00,
        0 8px 0 #421e00,
        0 11px 5px rgba(48, 23, 0, .56),
        0 17px 12px rgba(34, 16, 0, .42);
}
/* =========================================
   LOGO LUỒNG TRONG - MÀU THƯƠNG HIỆU GỐC
========================================= */

header .logo,
.header-container .logo {
    color: #124f3a !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #124f3a !important;

    text-shadow: none !important;
    filter: none !important;
}

/* Dòng 1: BẤT ĐỘNG SẢN */
header .logo.brand-two-lines .brand-line:first-child {
    color: #124f3a !important;
    -webkit-text-fill-color: #124f3a !important;
    background: none !important;
    text-shadow: none !important;
}

/* Dòng 2: TUẤN NGUYÊN */
header .logo.brand-two-lines .brand-line:last-child {
    color: #d79b16 !important;
    -webkit-text-fill-color: #d79b16 !important;
    background: none !important;
    text-shadow: none !important;
}
/* ẢNH CHÈN TRONG NỘI DUNG CHI TIẾT */

.content-image {
    margin: 24px auto;
    text-align: center;
}

.content-image img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 620px;

    height: auto;

    margin: 0 auto;

    border-radius: 8px;

    object-fit: contain;
}
/* =========================================
   ĐOẠN VĂN ĐỊNH DẠNG TỪ DECAP
========================================= */

.formatted-text {
    margin: 18px 0;
}

.formatted-text[data-align="left"] {
    text-align: left;
}

.formatted-text[data-align="center"] {
    text-align: center;
}

.formatted-text[data-align="right"] {
    text-align: right;
}

.formatted-text[data-align="justify"] {
    text-align: justify;
}

.formatted-text[data-line="1.4"] {
    line-height: 1.4;
}

.formatted-text[data-line="1.6"] {
    line-height: 1.6;
}

.formatted-text[data-line="1.8"] {
    line-height: 1.8;
}

.formatted-text[data-line="2.0"] {
    line-height: 2;
}
/* =========================================
   NÚT CHIA SẺ MẠNG XÃ HỘI
========================================= */

/* =========================================
   NÚT CHIA SẺ - NHỎ GỌN 1 HÀNG
========================================= */

.social-share {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 12px 0 20px;

    flex-wrap: nowrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    min-width: 38px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    font-size: 17px;
    font-weight: 800;

    line-height: 1;

    text-decoration: none;
    cursor: pointer;

    flex: 0 0 38px;

    transition:
        transform .18s ease,
        opacity .18s ease;
}

.share-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.share-button.facebook {
    background: #1877f2;
    color: #fff;
}

.share-button.zalo {
    background: #0068ff;
    color: #fff;
}

.share-button.messenger {
    background: #0084ff;
    color: #fff;
}

.share-button.copy-link {
    background: #eeeeee;
    color: #222;
}

@media (max-width: 600px) {

    .social-share {
        gap: 6px;
        overflow-x: auto;
    }

    .share-button {
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}
.zalo-share-wrap {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    flex: 0 0 38px;
}

.zalo-share-wrap .zalo-share-button {
    display: inline-block;
}
/* BẤT ĐỘNG SẢN - THU HẸP KHOẢNG CÁCH CHỮ */
header .logo.brand-two-lines .brand-line:first-child {
    letter-spacing: -1px !important;
}
/* CĂN GIỮA DÒNG BẤT ĐỘNG SẢN SO VỚI TUẤN NGUYÊN */

.logo.brand-two-lines {
    align-items: center !important;
}

.logo.brand-two-lines .brand-line:first-child {
    color: #124f3a !important;
    -webkit-text-fill-color: #124f3a !important;
    letter-spacing: -1px !important;
    text-align: center;
}
/* =========================================
   THƯƠNG HIỆU GIỮA HERO
========================================= */

.hero .hero-brand-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    color: inherit;
    text-shadow: none;
}

.hero .hero-brand-green {
    color: #124f3a !important;
    -webkit-text-fill-color: #124f3a !important;
}

.hero .hero-brand-gold {
    color: #d79b16 !important;
    -webkit-text-fill-color: #d79b16 !important;
}
.highlights-box {
    margin-bottom: 24px;
}

.highlights-box h2 {
    margin: -18px -18px 15px;
    padding: 10px 12px;

    background: #d79b16;
    color: #fff;

    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.highlights-box .property-highlights {
    margin: 0;
    padding: 10px 26px;

    background: #fff;

    list-style: none;
}

.highlights-box .property-highlights li {
    position: relative;

    margin: 0;
    padding: 12px 0 12px 32px;

    line-height: 1.6;

    border-bottom: 1px solid #e5e5e5;
}

.highlights-box .property-highlights li::before {
    content: "✅";

    position: absolute;

    left: 0;
    top: 12px;
}

.highlights-box .property-highlights li:last-child {
    border-bottom: none;
}
/* =========================================
   FIX ẢNH NỘI DUNG TRANG SEO
   GIỮ NGUYÊN TỶ LỆ ẢNH GỐC
========================================= */

.property-article {
    min-width: 0;
    background: #ffffff;
    padding: 22px;
}

.property-article h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.3;
    color: #26332e;
}

.property-article .article-image {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;
    aspect-ratio: auto;

    margin: 22px auto;
    padding: 0;

    border-radius: 0;
    overflow: visible;
}

.property-article .article-image img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto !important;
    max-height: none !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center;

    margin: 0 auto;
}

.property-article .article-image figcaption {
    margin-top: 8px;

    text-align: center;

    color: #777;
    font-size: 14px;
    font-style: italic;
}


/* Nội dung bài không được tràn khỏi cột trái */

.property-article,
.property-content {
    min-width: 0;
    max-width: 100%;
}

.property-content img,
.property-article img {
    max-width: 100%;
}


/* TABLET / MOBILE */

@media (max-width: 900px) {

    .property-article {
        padding: 18px;
    }

    .property-article h1 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {

    .property-article {
        padding: 15px;
    }

    .property-article h1 {
        font-size: 23px;
    }

    .property-article .article-image {
        margin: 18px auto;
    }
}
/* =========================================
   VIDEO TRANG CHI TIẾT SEO
   TỶ LỆ CHUẨN 16:9
========================================= */

.property-article .video-wrap {
    position: relative;

    width: 100%;
    max-width: 100%;

    aspect-ratio: 16 / 9;

    margin: 28px 0 10px;

    overflow: hidden;

    background: #000;
}

.property-article .video-wrap iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    border: 0;
}


/* MOBILE */

@media (max-width: 600px) {

    .property-article .video-wrap {
        margin-top: 22px;
    }
}
/* =========================================
   HASHTAG / TỪ KHÓA LIÊN QUAN
========================================= */

.property-article .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 14px 0 22px;
}

.property-article .tag-link {
    display: inline-flex;
    align-items: center;

    padding: 9px 14px;

    background: #eeeeee;
    color: #777777;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.property-article .tag-link:hover {
    background: #124f3a;
    color: #ffffff;

    transform: translateY(-1px);
}

@media (max-width: 600px) {

    .property-article .tags {
        gap: 7px;
    }

    .property-article .tag-link {
        padding: 7px 10px;
        font-size: 14px;
    }
}
/* =========================================
   HASHTAG - GỌN GÀNG
========================================= */

.property-article .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin: 10px 0 18px;
}

.property-article .tag-link {
    display: inline-flex;
    align-items: center;

    width: auto;
    max-width: 100%;

    padding: 5px 10px;

    border-radius: 999px;

    background: #f1f3f2;
    border: 1px solid #dfe5e2;

    color: #315548;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;

    white-space: normal;

    transition: 0.2s;
}

.property-article .tag-link:hover {
    background: #124f3a;
    border-color: #124f3a;
    color: #fff;
}

@media (max-width: 600px) {

    .property-article .tags {
        gap: 6px;
        margin: 8px 0 15px;
    }

    .property-article .tag-link {
        padding: 4px 9px;
        font-size: 12px;
    }
}
/* =========================================
   SIDEBAR DETAIL - FINAL STANDARD
========================================= */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e1e1e1;
    overflow: hidden;
}

.sidebar-box > h2 {
    margin: 0;
    padding: 16px 18px;

    background: #dca008;
    color: #fff;

    text-align: center;

    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

/* ƯU ĐIỂM NỔI BẬT */

.property-highlights {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
}

.property-highlights li {
    position: relative;

    padding: 15px 10px 15px 42px;

    border-bottom: 1px solid #e5e5e5;

    font-size: 17px;
    line-height: 1.5;
}

.property-highlights li:last-child {
    border-bottom: 0;
}

.property-highlights li::before {
    content: "✅";

    position: absolute;
    left: 5px;
    top: 15px;
}

/* THÔNG TIN BẤT ĐỘNG SẢN */

.property-info-list {
    padding: 10px 22px 18px;
}

.property-info-list .info-row {
    display: grid;

    grid-template-columns:
        30px
        auto
        1fr;

    align-items: start;

    gap: 8px;

    padding: 13px 0;

    border-bottom: 1px solid #e5e5e5;
}

.property-info-list .info-row:last-child {
    border-bottom: 0;
}

.info-icon {
    font-size: 18px;
    line-height: 1.5;
}

.info-label {
    white-space: nowrap;

    font-size: 16px;
    line-height: 1.5;
}

.info-value {
    min-width: 0;

    font-size: 16px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

/* PHONE + ZALO */

.sidebar-action {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 14px 18px;

    background: #dca008;
    color: #12382d;

    border-radius: 8px;

    font-size: 18px;
    font-weight: 800;

    transition: .2s;
}

.sidebar-action:hover {
    background: #124f3a;
    color: #fff;
}

/* MOBILE */

@media (max-width: 600px) {

    .sidebar {
        gap: 14px;
    }

    .sidebar-box > h2 {
        padding: 14px 12px;
        font-size: 18px;
    }

    .property-highlights {
        padding: 14px 18px;
    }

    .property-highlights li {
        padding:
            12px
            6px
            12px
            38px;

        font-size: 15px;
    }

    .property-info-list {
        padding: 8px 16px 14px;
    }

    .property-info-list .info-row {
        grid-template-columns:
            26px
            auto
            1fr;

        gap: 6px;

        padding: 11px 0;
    }

    .info-icon,
    .info-label,
    .info-value {
        font-size: 14px;
    }
    .sidebar-action {
        font-size: 16px;
        padding: 13px 14px;
    }
}
/* =====================================================
   MOBILE CATEGORY PAGES - COMPACT SHARED
   Chỉ chỉnh hiển thị mobile, không đổi cấu trúc SEO
===================================================== */

@media (max-width: 600px) {

    /* HERO DANH MỤC */

    body:not(#home) > .hero {
        min-height: 0;
        padding: 18px 15px;
    }

    body:not(#home) > .hero .hero-content {
        max-width: 100%;
    }

    body:not(#home) > .hero .hero-label {
        margin-bottom: 3px;
        font-size: 12px;
    }

    body:not(#home) > .hero h1 {
        margin-bottom: 6px;
        font-size: 28px;
        line-height: 1.15;
    }

    body:not(#home) > .hero p {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.35;
    }

    body:not(#home) > .hero .button {
        margin: 2px;
        padding: 8px 16px;
        font-size: 14px;
    }


    /* TIÊU ĐỀ DANH SÁCH */

    #danh-sach {
        padding-top: 14px;
    }

    #danh-sach > .section-title {
        margin-bottom: 10px;
        padding: 0 15px;
    }

    #danh-sach > .section-title .section-label {
        margin-bottom: 2px;
    }

    #danh-sach > .section-title h2 {
        margin-bottom: 3px;
        font-size: 26px;
        line-height: 1.2;
    }

    #danh-sach > .section-title p {
        font-size: 14px;
        line-height: 1.35;
    }


    /* BỘ LỌC */

    #danh-sach > .filter-box {
        margin: 0 15px 6px;
        padding: 10px;
        border-radius: 12px;
    }

    #danh-sach .filter-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    #danh-sach .filter-grid select,
    #danh-sach .filter-grid input,
    #danh-sach .filter-button {
        width: 100%;
        min-height: 42px;
        font-size: 15px;
    }


    /* XEM THÊM BẤT ĐỘNG SẢN */

    #danh-sach > .seo-static-links {
        max-width: none;
        margin: 0;
        padding: 2px 15px 5px;
    }

    #danh-sach > .seo-static-links details {
        margin: 0;
        padding: 0;
    }

    #danh-sach > .seo-static-links summary {
        margin: 0;
        padding: 3px 0;
        line-height: 1.3;
    }

    #danh-sach > .seo-static-links ul {
        margin: 6px 0 0;
        padding-left: 20px;
    }


    /* SẢN PHẨM */

    #danh-sach > .products {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 0;
        padding: 0 15px 16px;
    }

    #danh-sach .product-content {
        padding: 14px;
    }

    #danh-sach .product h3 {
        margin-bottom: 7px;
        font-size: 18px;
        line-height: 1.3;
    }

    #danh-sach .price {
        margin-bottom: 5px;
        font-size: 18px;
    }

    #danh-sach .location {
        margin-bottom: 7px;
    }
}
/* =====================================================
   MOBILE PROPERTY DETAIL - COMPACT SHARED
   Chỉ chỉnh hiển thị, không đổi cấu trúc SEO
===================================================== */

@media (max-width: 600px) {

    /* KHUNG TRANG */

    .page-wrap {
        max-width: calc(100% - 12px);
        margin: 5px auto 14px;
    }


    /* BREADCRUMB */

    .breadcrumb {
        padding: 7px 10px;
        margin-bottom: 8px;

        font-size: 12px;
        line-height: 1.45;
    }

    .breadcrumb span {
        margin: 0 3px;
    }


    /* NỘI DUNG BÀI */

    .property-article {
        padding: 12px;
    }

    .property-article h1 {
        margin-bottom: 8px;

        font-size: 21px;
        line-height: 1.25;
    }

    .property-article .tags {
        gap: 5px;
        margin: 6px 0 12px;
    }

    .property-article .tag-link {
        padding: 4px 8px;

        font-size: 12px;
    }

    .property-article p {
        margin-top: 8px;
        margin-bottom: 10px;

        line-height: 1.55;
    }


    /* ẢNH TRONG BÀI */

    .property-article .article-image {
        margin: 12px auto;
    }

    .property-article .article-image figcaption {
        margin-top: 5px;

        font-size: 12px;
        line-height: 1.4;
    }


    /* VIDEO */

    .property-article .video-wrap {
        margin-top: 14px;
        margin-bottom: 8px;
    }


    /* SIDEBAR / KHỐI THÔNG TIN */

    .sidebar {
        gap: 10px;
    }

    .sidebar-box > h2 {
        padding: 10px 10px;

        font-size: 17px;
    }

    .property-highlights {
        padding: 8px 14px 12px;
    }

    .property-highlights li {
        padding:
            9px
            4px
            9px
            34px;

        font-size: 14px;
        line-height: 1.45;
    }

    .property-info-list {
        padding: 6px 14px 10px;
    }

    .property-info-list .info-row {
        grid-template-columns:
            24px
            auto
            1fr;

        gap: 5px;

        padding: 8px 0;
    }

    .info-icon,
    .info-label,
    .info-value {
        font-size: 14px;
        line-height: 1.45;
    }


    /* NÚT LIÊN HỆ */

    .sidebar-action {
        padding: 11px 12px;

        font-size: 16px;
    }
}
/* =====================================================
   MOBILE DETAIL HEADER - COMPACT SHARED
   Chỉ chỉnh hiển thị header trang chi tiết
===================================================== */

@media (max-width: 600px) {

    body:not(#home) header .header-container {
        min-height: 64px;
        padding: 8px 14px;
    }

    body:not(#home) header .logo.brand-two-lines {
        gap: 0;
        line-height: 1;
    }

    body:not(#home) header .logo.brand-two-lines .brand-line {
        font-size: 16px;
        line-height: 1.05;
    }

    body:not(#home) header .logo.brand-two-lines .brand-line:first-child {
        letter-spacing: -0.5px !important;
    }

    body:not(#home) header .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }
}
/* =====================================================
   MOBILE DETAIL FOOTER / SIDEBAR - FINAL COMPACT
   Chỉ chỉnh hiển thị, không đổi cấu trúc SEO
===================================================== */

@media (max-width: 600px) {

    .sidebar-box {
        margin-bottom: 10px;
    }

    .sidebar-box > h2 {
        margin: 0;
    }

    .property-highlights,
    .property-info-list {
        margin: 0;
    }

    .sidebar-actions {
        gap: 8px;
        margin-top: 10px;
    }

    .sidebar-action {
        min-height: 46px;
        border-radius: 10px;
    }

    body:not(#home) footer {
        margin-top: 12px;
        padding: 18px 15px;
    }
}
