/*
Theme Name: ChauDoan Bcons
Author: ChauDoan
Description: WordPress Theme for ChauDoan Bcons real estate projects, based on modern design and Tailwind CSS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chaudoan-bcons
*/

/* ==========================================================================
   Site Logo
   ========================================================================== */
.site-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 640px) {
    .site-logo {
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .site-logo {
        height: 54px;
    }
}

/* Show Units Redesign */
.show-unit-desc p {
    margin-bottom: 1.5rem;
}

.show-units-swiper .swiper-slide {
    height: auto;
}

.show-unit-card img {
    filter: brightness(0.95);
    transition: all 0.5s ease;
}

.show-unit-card:hover img {
    filter: brightness(1.05);
}

/* Custom Swiper Navigation */
.show-units-swiper~.swiper-button-prev,
.show-units-swiper~.swiper-button-next {
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.show-units-swiper~.swiper-button-prev:hover,
.show-units-swiper~.swiper-button-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(200, 16, 46, 0.5);
}

.show-units-swiper~.swiper-button-prev:after,
.show-units-swiper~.swiper-button-next:after {
    display: none !important;
}

/* Header & Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #F7F4EE;
    color: #1A1714;
    font-family: 'Roboto', system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'Lora', Georgia, serif;
}

/* Vietnamese Typography: Ensure adequate line-height for diacritics on page banner headings */
.page-header-title {
    line-height: 1.36 !important;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .page-header-title {
        line-height: 1.4 !important;
    }
}

[data-reveal] {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 34px, 0) scale(0.985);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

    .hero-slide {
        transition: none;
    }
}

.hero-slide {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform 1.4s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-copy {
    transition: opacity .35s ease, transform .35s ease;
}

.hero-copy.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.news-modern-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-modern-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.45);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease;
}

.news-modern-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 27, 35, 0.35);
    box-shadow: 0 28px 65px -30px rgba(15, 23, 42, 0.55);
}

.news-modern-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.news-modern-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.01);
    transition: filter .45s ease, transform .55s ease;
}

.news-modern-card:hover .news-modern-image img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.news-modern-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.05));
}

.news-modern-content {
    padding: 1.1rem 1.1rem 1.2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.news-modern-title {
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.news-modern-link {
    margin-top: .7rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #64748b;
    transition: color .25s ease, transform .25s ease;
}

.news-modern-card:hover .news-modern-link {
    color: #e51b23;
    transform: translateX(2px);
}

.news-modern-badge {
    position: absolute;
    left: .85rem;
    top: .85rem;
    z-index: 2;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    padding: .32rem .65rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
    .news-modern-grid {
        grid-template-columns: 1fr;
    }

    .news-modern-title {
        font-size: 1.22rem;
    }
}

.footer-gold {
    background: #1A1714;
}

.footer-input {
    height: 2.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: #ffffff;
    padding: .55rem .9rem;
    font-size: .95rem;
    color: #1A1714;
}

.footer-input:focus {
    outline: 2px solid rgba(184, 137, 46, 0.4);
    outline-offset: 1px;
    border-color: #B8892E;
}

.footer-textarea {
    min-height: 5.2rem;
    resize: vertical;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 700;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    background-color: #B8892E;
    border-color: #B8892E;
}

.footer-bottom {
    background: #081126;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Fluent Form Footer Compact Styles */
.footer-gold .fluentform .ff-el-group {
    margin-bottom: 0.85rem;
}

.footer-gold .fluentform .ff-el-form-control {
    height: 2.75rem;
    font-size: 0.85rem;
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.footer-gold .fluentform textarea.ff-el-form-control {
    height: 4.5rem;
}

.footer-gold .fluentform .ff-el-input--label label {
    color: #cbd5e1;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.footer-gold .fluentform .ff-btn-submit {
    width: auto !important;
    min-width: 160px;
    background: #B8892E !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 15px rgba(184, 137, 46, 0.3) !important;
    transition: all 0.3s ease !important;
}

.footer-gold .fluentform .ff-btn-submit:hover {
    transform: translateY(-2px);
    background: #8C6A22 !important;
    box-shadow: 0 6px 20px rgba(184, 137, 46, 0.4) !important;
}

/* Ensure 2-column layout in footer form for desktop */
@media (min-width: 768px) {
    .footer-gold .fluentform .ff-t-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .footer-gold .fluentform .ff-t-container .ff-t-column {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Premium Popup Form Styles */
.premium-form .ff-el-form-control {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.premium-form .ff-el-form-control:focus {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(184, 137, 46, 0.6) !important;
    box-shadow: 0 0 0 4px rgba(184, 137, 46, 0.15) !important;
    outline: none !important;
}

.premium-form .ff-el-form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.premium-form .ff-el-input--label label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em !important;
}

.premium-form .ff-btn-submit {
    width: 100% !important;
    height: 3.5rem !important;
    background: #B8892E !important;
    border: none !important;
    border-radius: 1rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 10px 25px -5px rgba(184, 137, 46, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-form .ff-btn-submit:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background: #8C6A22 !important;
    box-shadow: 0 15px 30px -5px rgba(184, 137, 46, 0.5) !important;
}

.premium-form .ff_form_instance_1 .ff-message-success {
    background-color: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
}

/* Premium Light Popup Form Styles */
.premium-form-light .ff-el-form-control {
    background-color: #ffffff !important;
    border: 1px solid rgba(26, 23, 20, 0.15) !important;
    color: #1A1714 !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.premium-form-light .ff-el-form-control:focus {
    background-color: #ffffff !important;
    border-color: #B8892E !important;
    box-shadow: 0 0 0 4px rgba(184, 137, 46, 0.15) !important;
    outline: none !important;
}

.premium-form-light .ff-el-form-control::placeholder {
    color: #94a3b8 !important;
}

.premium-form-light .ff-el-input--label label {
    color: #64748b !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.5rem !important;
}

.premium-form-light .ff-btn-submit {
    width: 100% !important;
    height: 3.5rem !important;
    background: #B8892E !important;
    border: none !important;
    border-radius: 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 10px 25px -5px rgba(184, 137, 46, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.premium-form-light .ff-btn-submit:hover {
    transform: translateY(-2px) scale(1.01) !important;
    background: #8C6A22 !important;
    box-shadow: 0 15px 30px -5px rgba(184, 137, 46, 0.5) !important;
}

.premium-form-light .ff_form_instance_1 .ff-message-success {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #16a34a !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
}

/* Mobile Menu Drawer Styles */
#mobile-menu {
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 99999 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
}

#mobile-menu.is-active {
    transform: translateX(0);
}

#mobile-menu-overlay {
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    transition: opacity 0.35s ease;
    pointer-events: none;
    opacity: 0;
}

#mobile-menu-overlay.is-active {
    pointer-events: auto;
    opacity: 1;
}

/* Hamburger Button Styles */
.hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Navigation - Styling matching Premium aesthetic */
.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0f172a;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    color: #E51B23;
    padding-left: 0.5rem;
}

/* Submenu (Dropdown) Styles */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    display: block;
    width: 100%;
}

.sub-menu .menu-item a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A1714;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.sub-menu .menu-item a:hover {
    color: #B8892E;
    background: rgba(184, 137, 46, 0.06);
    padding-left: 1.75rem;
}

.sub-menu .current-menu-item>a {
    color: #B8892E !important;
    background: rgba(184, 137, 46, 0.06);
}

/* Mobile Submenu Styles */
@media (max-width: 767px) {
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 1rem;
        margin-top: 0;
        display: none;
        /* Will toggle via JS or just show all if desired */
    }

    .menu-item-has-children.is-open>.sub-menu {
        display: block;
    }

    #mobile-menu .menu-item-has-children>a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    #mobile-menu .menu-item-has-children>a::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    #mobile-menu .menu-item-has-children.is-open>a::after {
        transform: rotate(180deg);
        color: #B8892E;
    }
}

/* Active Menu Highlight (Color Only) */
.current-menu-item>a,
.current-menu-ancestor>a {
    color: #B8892E !important;
}

/* Mobile Menu Items Specifically */
#mobile-menu .menu-item a {
    display: block;
    padding: 0.85rem 0.5rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1A1714;
    border-bottom: 1px solid rgba(26, 23, 20, 0.06);
    transition: all 0.25s ease;
}

#mobile-menu .menu-item a:hover {
    color: #B8892E;
    padding-left: 0.75rem;
}

/* Ensure no padding interference for the arrow */
@media (max-width: 767px) {
    #mobile-menu .menu-item-has-children>a {
        padding-right: 1.5rem;
    }
}

/* ===== Single post content — bảng + p + heading (24/07/2026) ===== */
.single .prose,
article .prose,
.prose {
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.prose>p {
    margin: 0 0 1.25rem;
    color: #475569;
}

.prose>p:first-of-type {
    font-size: 1.125rem;
    color: #334155;
}

.prose h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2046;
    margin: 1.75rem 0 0.75rem;
    line-height: 1.35;
}

.prose h2+p,
.prose h3+p {
    margin-top: 0.5rem;
}

.prose a {
    color: #E51B23;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: #0b2046;
}

.prose ul,
.prose ol {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.prose li {
    margin: 0.4rem 0;
    padding-left: 0.25rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li::marker {
    color: #E51B23;
}

.prose .table-wrap {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.75rem 0 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
    border: 1px solid #e2e8f0;
    background: #fff;
}

.prose table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 1.75rem 0 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
    border: 1px solid #e2e8f0;
    background: #fff;
}

.prose .table-wrap table {
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 560px;
}

.prose thead th {
    background: linear-gradient(180deg, #0b2046 0%, #12305f 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.95rem 1.1rem;
    white-space: nowrap;
    border: none;
}

.prose tbody td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: top;
    background: #fff;
}

.prose tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.prose tbody tr:hover td {
    background: #fff7ed;
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

.prose tbody td:first-child {
    font-weight: 700;
    color: #0f172a;
}

.prose figure {
    margin: 1.75rem 0 2rem;
}

.prose figure img {
    border-radius: 1rem;
    box-shadow: 0 12px 40px -20px rgba(15, 23, 42, 0.45);
    height: auto;
    max-width: 100%;
}

.prose figcaption {
    margin-top: 0.65rem;
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    text-align: center;
}

.prose strong {
    color: #0f172a;
    font-weight: 800;
}

.prose em {
    color: #475569;
}

@media (max-width: 640px) {
    .prose table {
        font-size: 0.875rem;
    }

    .prose thead th,
    .prose tbody td {
        padding: 0.75rem 0.85rem;
    }
}


/* ===== FAQ accordion chuẩn site (.lhag-faq) ===== */
.lhag-faq {
    margin: 1.5rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lhag-faq__item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.lhag-faq__item.is-open {
    border-color: rgba(184, 137, 46, 0.4);
    box-shadow: 0 14px 32px -18px rgba(184, 137, 46, 0.25);
}

.lhag-faq__q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    text-align: left;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #1A1714;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.lhag-faq__q:hover {
    color: #B8892E;
}

.lhag-faq__q:focus-visible {
    outline: 2px solid #B8892E;
    outline-offset: 2px;
}

.lhag-faq__icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    color: #64748b;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lhag-faq__item.is-open .lhag-faq__icon {
    transform: rotate(45deg);
    background: #E51B23;
    border-color: #E51B23;
    color: #fff;
}

.lhag-faq__a {
    padding: 0 1.15rem 1.15rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
    border-top: 1px solid #f1f5f9;
}

.lhag-faq__a p {
    margin: 0.85rem 0 0;
    color: #475569;
}

.lhag-faq__a a {
    color: #E51B23;
    font-weight: 600;
}

.lhag-faq__a[hidden] {
    display: none !important;
}

/* ==========================================================================
   PREMIUM SEPARATED PAGINATION COMPONENT (123WEBSITE)
   ========================================================================== */

ul.page-numbers,
.lhag-pagination,
.news-pagination,
.nav-links,
div.col-span-full ul {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    list-style: none !important;
}

ul.page-numbers>li,
.lhag-pagination>li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none !important;
}

ul.page-numbers>li>a,
ul.page-numbers>li>span,
.lhag-pagination a,
.lhag-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

ul.page-numbers>li>a:hover,
.lhag-pagination a:hover {
    background-color: #f8fafc !important;
    border-color: #0052cc !important;
    color: #0052cc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.18) !important;
}

ul.page-numbers>li>span.current,
.lhag-pagination span.current {
    background-color: #0052cc !important;
    border-color: #0052cc !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35) !important;
    transform: scale(1.05) !important;
}

ul.page-numbers>li>span.dots {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #94a3b8 !important;
}


/* ==========================================================================
   STICKY HEADER & LAYOUT ENFORCEMENT
   ========================================================================== */
#site-header {
    position: sticky !important;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.6);
}

@media screen and (min-width: 783px) {
    body.admin-bar #site-header {
        top: 32px !important;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar #site-header {
        top: 46px !important;
    }
}

/* ==========================================================================
   HERO BANNER IMAGE POSITIONING (REVEAL BLUE SKY ON DESKTOP)
   ========================================================================== */
.hero-slide img,
#hero-slides img {
    object-position: center center !important;
}

@media (min-width: 768px) {
    #trang-chu {
        aspect-ratio: 16 / 9;
        height: auto !important;
        min-height: 580px;
    }
}

/* Overview Gallery (Phối cảnh tổng thể dự án): Ensure infographic slides are fully visible without cropping */
.overview-gallery-swiper .swiper-slide img {
    object-fit: contain !important;
}

/* ==========================================================================
   PROJECT DETAIL: CLEAN TEXT LAYOUT & STRUCTURED LIST FORMATTING
   ========================================================================== */

/* Căn hộ mẫu (Show Units Description Layout) */
.show-unit-desc {
    max-width: 52rem;
    margin: 0 auto;
}

.show-unit-desc p {
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.show-unit-desc strong {
    color: #0f172a;
    font-weight: 700;
}

.show-unit-desc ul {
    list-style: none !important;
    padding: 1.5rem 2rem !important;
    margin: 0 auto !important;
    max-width: 44rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 4px 25px -4px rgba(0, 0, 0, 0.05);
    text-align: left !important;
}

.show-unit-desc li {
    position: relative;
    padding-left: 1.75rem !important;
    margin: 0.85rem 0 !important;
    font-size: 0.975rem;
    line-height: 1.65;
    color: #334155;
    border-bottom: 1px dashed #f1f5f9;
    padding-bottom: 0.85rem;
    list-style: none !important;
}

.show-unit-desc li:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.show-unit-desc li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b8892e;
    box-shadow: 0 0 0 3px rgba(184, 137, 46, 0.2);
}

/* Mặt bằng tổng thể (Floor Plan Description Box) */
.fp-desc-box {
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #b8892e;
    background-color: #f8fafc;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
    font-style: normal !important;
}

.fp-desc-box p:first-child {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.fp-desc-box strong {
    color: #0f172a;
    font-weight: 700;
}

.fp-desc-box ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.25rem 0 !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .fp-desc-box ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem 2rem;
    }
}

.fp-desc-box li {
    position: relative;
    padding-left: 1.5rem !important;
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    list-style: none !important;
}

.fp-desc-box li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #b8892e;
}

.fp-desc-box p:last-child {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    font-style: normal !important;
}

/* General Prose Bullet Recovery against Tailwind Preflight Reset */
.prose ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
}

.prose ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
}

.prose li {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}