@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/assets/frontend/fonts/BeVietnamPro-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/assets/frontend/fonts/BeVietnamPro-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/assets/frontend/fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/assets/frontend/fonts/BeVietnamPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/frontend/fonts/BeVietnamPro-Regular-Latin.woff2") format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* be-vietnam-pro-latin-500-normal */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/assets/frontend/fonts/BeVietnamPro-Medium-Latin.woff2") format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* be-vietnam-pro-latin-600-normal */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/assets/frontend/fonts/BeVietnamPro-SemiBold-Latin.woff2") format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* be-vietnam-pro-latin-700-normal */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/assets/frontend/fonts/BeVietnamPro-Bold-Latin.woff2") format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --primary-color: #53b966;
    --secondary-color: #004238;
    --text-color: #333;
    --text-secondary-color: #6c757d;
    --bg-color: #f9fafb;
    --border-color: #e9e9e9;
    --white-color: #fff;
    --danger-color: #dc3545;
    --text-dark: #333;
    --text-light: #666;
    --body-bg: #f4f7f6;
    --gray-bg: #f8f9fa;
}

.listing-page-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.listing-filter-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    transition: top 0.3s ease-in-out;
}

.listing-filter-sidebar.sidebar--header-hidden {
    top: 32px;
}

.filter-sidebar-header {
    display: none;
}

.filter-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-main-title {
    font-size: 20px;
    margin: 0;
    color: var(--secondary-color);
}

.filter-reset-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.filter-tag-area {
    padding: 0 20px 10px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
    display: none;
}

.filter-tag-area.active {
    display: block;
}

.filter-tag-area strong {
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    display: block;
}

.filter-tag {
    background-color: var(--body-bg);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 5px 8px 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    margin-bottom: 8px;
}

.remove-tag {
    background: none;
    border: none;
    color: var(--text-light);
    margin-left: 5px;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.filter-groups-container {
    flex-grow: 1;
    overflow-y: auto;
}

.filter-group {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title::after {
    content: "▾";
    transition: transform 0.3s ease;
    font-size: 14px;
}

.filter-group.active .filter-title::after {
    transform: rotate(180deg);
}

.filter-group.active .accordion-content {
    padding-top: 20px;
}

.price-input-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.price-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
}

.price-tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
}

.price-tab-content {
    display: none;
}

.price-tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-range-input {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-range-input input {
    width: 100%;
    padding: 10px 35px 10px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
}

.custom-range-input .unit-label {
    position: absolute;
    right: 10px;
    color: var(--text-light);
}

.btn-group button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-group div {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.filter-apply-btn-wrapper {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.filter-apply-btn {
    width: 100%;
}

.product-price-specs-wrapper {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.listing-results-column {
    flex-grow: 1;
    min-width: 0;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.sort-by-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #fff;
}

.product-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product-list-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-width: 0;
}

.product-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-top {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.image-overlay-bottom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: auto;
    z-index: 2;
}

.image-count {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
}

.image-count svg {
    width: 16px;
    height: 16px;
}

.product-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-address {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 15px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.product-card-specs-inline {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.product-card-specs-inline span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card-specs-inline svg {
    width: 16px;
    height: 16px;
}

.floating-filter-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}

.filter-overlay.is-active {
    display: block;
}

.btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.btn-group.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.product-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    border-radius: 4px;
    line-height: 1;
}

.label-sold {
    background-color: #555;
}

.label-good-price {
    background-color: #e74c3c;
}

.favorite-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    padding: 0;
}

.favorite-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.explore-section {
    max-width: 1100px;
    margin: 60px auto 0 auto;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.explore-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.explore-description {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 25px 0;
}

.type-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.type-tag {
    display: inline-block;
    text-decoration: none;
    background-color: #e9ecef;
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.type-tag:hover {
    background-color: var(--primary-light-color);
    color: var(--primary-color);
}

.explore-cta-card {
    display: flex;
}

.cta-card-link {
    display: block;
    width: 100%;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.3s ease;
    position: relative;
}

.cta-card-link:hover {
    opacity: 1;
}

.cta-image-overlay {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.cta-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cta-card-link:hover .cta-image-overlay img {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.cta-card-link:hover .cta-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.cta-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    width: 90%;
    z-index: 2;
}

.cta-card-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cta-card-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cta-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.cta-card-button:hover {
    background-color: var(--primary-dark-color);
}

.cta-card-button svg {
    transition: transform 0.2s ease;
}

.cta-card-link:hover .cta-card-button svg {
    transform: translateX(3px);
}

.price-history-section {
    max-width: 1100px;
    margin: 60px auto 0 auto;
}

.price-history-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.price-history-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.year-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.year-tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.year-tab-btn:hover {
    color: var(--primary-color);
}

.year-tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
}

.summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 30px;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.summary-row:hover {
    background-color: #f8f9fa;
}

.summary-row-wrapper.active .summary-row {
    background-color: var(--primary-light-color);
}

.summary-label {
    font-weight: 600;
    color: var(--text-dark);
}

.summary-value {
    font-weight: 500;
    color: var(--text-light);
}

.summary-row-wrapper.active .detailed-table-content {
    padding: 10px 15px 15px 15px;
}

.detailed-table th, .detailed-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.detailed-table th {
    font-weight: 600;
    color: var(--text-light);
    font-size: 12px;
}

.detailed-table th .unit {
    font-weight: 400;
}

.detailed-table td {
    color: var(--text-dark);
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.chart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 8px;
    min-height: 250px;
    color: #999;
}

.price-chart-container {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-header .chart-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.chart-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.chart-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-filter-group label {
    font-weight: 500;
    color: var(--text-light);
}

.year-filter-buttons button {
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    margin: 5px;
}

.chart-area-dropdown {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    font-weight: 500;
}

@media (max-width: 991px) {
    .price-history-content {
        grid-template-columns: 1fr;
    }

    .price-chart-container {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
        margin-top: 30px;
    }

    .listing-filter-sidebar.is-open {
        top: 0px;
    }
}

.seo-faq-section {
    max-width: 1100px;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.faq-container .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:first-child {
    border-top: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-header span:first-child {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 15px;
}

.accordion-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform 0.3s ease-out;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}

.accordion-content p {
    padding: 0 15px 20px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.seo-content-container .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.seo-content-container h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    margin: 0 0 20px 0;
}

.seo-image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.seo-image-wrapper img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.seo-image-wrapper:hover img {
    transform: scale(1.05);
}

.text-content-wrapper {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.text-content-wrapper.expanded {
    max-height: 1000px;
}

.text-content-wrapper p {
    margin-bottom: 1em;
    line-height: 1.7;
}

.text-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, white);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.text-content-wrapper.expanded .text-fade-overlay {
    opacity: 0;
}

.read-more-btn {
    margin-top: 15px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.hero-actions .action-button svg {
    width: 22px;
    height: 22px;
}

#chart-year-filters button.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

body.drawer-open {
    overflow: hidden;
}

#favorites-drawer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
}

.favorites-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.favorites-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

#favorites-drawer-container.is-open {
    pointer-events: auto;
    visibility: visible;
}

#favorites-drawer-container.is-open .favorites-drawer-overlay {
    opacity: 1;
}

#favorites-drawer-container.is-open .favorites-drawer {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
}

.drawer-content {
    flex-grow: 1;
    overflow-y: auto;
}

.drawer-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.btn-primary-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

.favorite-item:hover {
    background-color: #f8f9fa;
}

.favorites-empty-message {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
}

.favorite-item-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.favorite-item-wrapper:hover {
    background-color: #f0f2f5;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    flex-grow: 1;
}

.favorite-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-right: 12px;
}

.favorite-item-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.remove-favorite-item-btn {
    background-color: transparent;
    border: none;
    color: #888;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    padding: 0 12px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.remove-favorite-item-btn:hover {
    color: var(--primary-color);
}

.drawer-actions {
    margin-bottom: 15px;
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.clear-favorites-btn {
    background: none;
    border: 1px solid #e5e7eb;
    color: #666;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.clear-favorites-btn:hover {
    background-color: #fcebeb;
    border-color: #f5caca;
    color: #c53030;
}

.summary-arrow {
    transition: transform 0.2s ease-in-out;
    margin-left: auto;
    flex-shrink: 0;
}

.summary-row-wrapper.active .summary-arrow {
    transform: rotate(90deg);
}

.chart-container, .chart-wrapper {
    position: relative;
    height: 450px;
}

.detailed-table-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.detailed-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.detailed-table th,
.detailed-table td {
    white-space: nowrap;
}

.btn-group button {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}

.btn-group button:hover {
    background-color: var(--body-bg);
    border-color: #ccc;
}

.btn-group button.active,
.btn-group button:active {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-group button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(83, 185, 102, 0.3);
}

.search-suggestions-container.visible {
    display: block;
}

.suggestions-group {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.suggestions-group:last-child {
    border-bottom: none;
}

.suggestions-group-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    padding: 5px 20px;
    margin: 0;
    text-transform: uppercase;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.suggestions-list li a:hover {
    background-color: var(--body-bg);
}

.suggestions-list li a span {
    color: var(--text-light);
    font-size: 13px;
    margin-left: auto;
    white-space: nowrap;
}

.suggestion-icon {
    font-size: 20px;
    line-height: 1;
}

.suggestions-list li {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
}

.suggestions-list li a .suggestion-icon {
    margin-right: 8px;
}

.suggestions-list li a span.text {
    font-size: 15px !important;
    color: var(--text-dark) !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    opacity: 1 !important;
}

.suggestions-list li a span:last-child {
    margin-left: auto;
    padding-left: 10px;
    font-size: 0.9em;
    opacity: 0.7;
}

.suggestions-list li a span.text-ward {
    margin-left: 0;
    padding-left: 0;
    font-size: 1em;
}

.main-nav .has-dropdown > a.active {
    color: var(--primary-color);
    padding: 0px;
}

#cct-mega-menu {
    position: fixed;
    top: 81px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    visibility: hidden;
}

#cct-mega-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#cct-mega-menu .menu-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

#cct-mega-menu .menu-panel-columns {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
}

#cct-mega-menu .menu-panel-col {
    min-width: 0;
    text-align: left;
}

#cct-mega-menu .menu-panel-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
}

#cct-mega-menu .menu-panel-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-start;
}

#cct-mega-menu .menu-panel-col.col-1 ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#cct-mega-menu .menu-panel-col.col-1 li {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: var(--text-dark);
    margin: 0px;
}

#cct-mega-menu .menu-panel-col.col-1 li:hover {
    background-color: #f4f7f6;
    color: var(--primary-color);
}

#cct-mega-menu .menu-panel-col.col-1 li.active {
    background-color: #f4f7f6;
    color: var(--primary-color);
    font-weight: 600;
}

#cct-mega-menu .menu-panel-col.col-1 a.direct-link {
    display: block;
    color: inherit;
    text-decoration: none;
    margin: -12px -15px;
    padding: 12px 15px;
}

#cct-mega-menu .menu-panel-col.col-2 ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#cct-mega-menu .menu-panel-col.col-2 li {
    width: 100%;
    margin: 0px;
}

#cct-mega-menu .menu-panel-col.col-2 a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#cct-mega-menu .menu-panel-col.col-2 a:hover {
    background-color: #f4f7f6;
    color: var(--primary-color);
}

#cct-mega-menu .featured-project-card {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 0px;
    overflow: hidden;
    background-color: var(--body-bg);
    transition: box-shadow 0.3s ease;
}

#cct-mega-menu .featured-project-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#cct-mega-menu .featured-project-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#cct-mega-menu .featured-project-info {
    padding: 15px;
}

#cct-mega-menu .featured-project-info h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

#cct-mega-menu .featured-project-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

#cct-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--white-color);
    z-index: 10002;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

#cct-mobile-menu.is-open {
    transform: translateX(0);
}

#cct-mobile-menu .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

#cct-mobile-menu .mobile-menu-header .logo {
    height: 35px;
}

#cct-mobile-menu .mobile-menu-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
}

#cct-mobile-menu .mobile-menu-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px 0;
}

#cct-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cct-mobile-menu > .mobile-menu-body > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

#cct-mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--body-bg);
}

#cct-mobile-menu li.open > .sub-menu {
    max-height: 1000px;
}

#cct-mobile-menu .sub-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px 12px 30px;
    font-size: 15px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

#cct-mobile-menu .sub-menu .sub-menu a {
    padding-left: 45px;
}

#cct-mobile-menu .sub-menu a:hover {
    color: var(--primary-color);
}

#cct-mobile-menu .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #aaa;
    transition: transform 0.3s ease;
}

#cct-mobile-menu li.open > .parent-link > .arrow {
    transform: rotate(-180deg);
}

#cct-mega-menu .menu-panel-columns.is-single-col-data .col-1 {
    grid-column: 1 / 3;
}

#cct-mega-menu .menu-panel-columns.is-single-col-data .col-2 {
    display: none;
}

.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--white-color) !important;
    transition: transform 0.3s ease-in-out;
}

.header-wrapper.header--hidden {
    transform: translateY(-100%);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header-right-block {
    display: flex;
    align-items: center;
    gap: 100px;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li {
    margin: 0 15px;
    position: relative;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    padding: 0px 0;
    white-space: nowrap;
}

.main-nav li a:hover {
    color: var(--primary-color);
}

.has-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 6px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='currentColor'%3e%3cpath d='M0 0h24v24H0V0z' fill='none'/%3e%3cpath d='M7 10l5 5 5-5H7z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.search-button-new {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.search-button-new:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

body.menu-open-mobile {
    overflow: hidden;
}

.main-header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.search-button {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
}

.hamburger-button span {
    display: block;
    width: 24px;
    height: 3px;
    background: #555;
    border-radius: 3px;
    transition: all .3s ease-in-out;
    margin: 0 auto;
}

.menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #00000080;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility 0s .35s linear;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.main-nav {
    margin-right: 40px;
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    z-index: 101;
    transform: translate(-100%);
    transition: transform .35s cubic-bezier(.23, 1, .32, 1);
    overflow: hidden;
}

.main-nav.is-open {
    transform: translate(0);
}

.main-nav>ul#main-menu-list {
    display: none;
}

.menu-slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform .35s cubic-bezier(.23, 1, .32, 1);
}

.menu-panel {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.panel-back-button {
    color: var(--text-secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    margin-left: -.5rem;
    margin-right: .5rem;
}

.panel-title {
    font-weight: 600;
}

.panel-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.panel-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.panel-list li:last-child a {
    border-bottom: none;
}

.panel-list .has-submenu>a:after {
    content: "›";
    font-size: 1.5rem;
    color: #ccc;
}

.panel-list .mega-menu,
.panel-list .simple-menu {
    display: none;
}

.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00221dcc;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    z-index: 1000;
}

.close-popup-button {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.search-popup-content {
    width: 100%;
    max-width: 700px;
}

#popup-search-input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background-color: var(--white-color);
}

#popup-search-input:focus {
    outline: none;
}

.search-suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 40vh;
    overflow-y: auto;
    margin-top: 1rem;
    padding: .5rem;
}

.suggestion-group {
    padding: .5rem 1rem;
}

.suggestion-group-title {
    color: #999;
    font-size: .8rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
    font-weight: 600;
}

.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestion-item {
    padding: .75rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color .2s;
}

.suggestion-item:hover {
    background-color: #f1f3f5;
}

.main-content {
    padding: 0 1rem;
}

.search-results-page {
    max-width: 1100px;
    margin: 2rem auto;
}

.results-header h1 {
    text-align: left;
    font-size: 1.8rem;
}

.results-header h1 span {
    color: var(--primary-color);
}

.results-header p {
    color: var(--text-secondary-color);
    margin-top: -1rem;
}

.results-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.result-tabs {
    display: flex;
    flex-wrap: wrap;
}

.tab-button {
    padding: .75rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-secondary-color);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-button span {
    font-size: .8em;
    font-weight: 500;
    margin-left: 6px;
}

.result-filters {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.result-filters select,
#sort-by {
    padding: .5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--white-color);
    font-size: .9rem;
}

.results-list {
    display: grid;
    gap: 1.5rem;
}

.no-results-message {
    text-align: center;
    padding: 4rem;
    background-color: var(--white-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s ease-in-out;
    position: relative;
}

.result-item:hover {
    box-shadow: 0 4px 12px #00000014;
}

.result-item .item-thumbnail {
    flex-shrink: 0;
    width: 200px;
    background-color: #eee;
}

.result-item .item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-item .item-content {
    flex-grow: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.item-header {
    margin-bottom: .25rem;
}

.item-header h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 100px;
}

.item-header h2 a {
    text-decoration: none;
    color: var(--secondary-color);
}

.item-header h2 a:hover {
    color: var(--primary-color);
}

.item-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    flex-shrink: 0;
    padding: .25em .75em;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50px;
    color: var(--white-color);
}

.item-description,
.item-address,
.item-price,
.item-date {
    font-size: .9rem;
    color: var(--text-secondary-color);
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--danger-color);
    margin-top: auto;
}

.item-date {
    font-size: .8rem;
    color: #999;
}

.search-extra-suggestions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1rem;
}

.suggestions-section {
    flex: 1;
}

.suggestions-title {
    color: #a0aec0;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.suggestion-tag {
    background-color: #ffffff1a;
    color: #edf2f7;
    padding: .4rem .8rem;
    border-radius: 20px;
    font-size: .9rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .2);
    transition: all .2s ease;
}

.suggestion-tag:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

@media (min-width: 1025px) {
    .main-header {
        background-color: var(--white-color);
        border-bottom: 1px solid var(--border-color);
        padding: 0 2rem;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 4px #0000000d;
    }

    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
    }

    .main-nav {
        display: flex;
        position: static;
        width: auto;
        height: 100%;
        transform: none;
        transition: none;
        background-color: transparent;
        box-shadow: none !important;
        overflow: visible;
        margin: auto;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--secondary-color);
        text-decoration: none;
    }

    .logo span {
        color: var(--primary-color);
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: .5rem;
        margin-left: 1rem;
    }

    .search-button {
        background: none;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        transition: all .2s;
    }

    .search-button:hover {
        background-color: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        height: 100%;
    }

    .main-nav li {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .main-nav>ul>li>a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0 1.5rem;
        height: 100%;
        text-decoration: none;
        color: #555;
        font-weight: 500;
        transition: color .2s, background-color .2s;
    }

    .simple-menu,
	.mega-menu {
        right: 0;
        background-color: var(--white-color);
        box-shadow: 0 8px 16px #0000001a;
        border: 1px solid var(--border-color);
        border-top: 3px solid var(--primary-color);
        opacity: 0;
        transform: translate(-50%);
        transition: opacity .2s ease, transform .2s ease;
        display: none;
        position: fixed;
        top: 70px;
        z-index: 99;
        width: 100vw;
        left: 50%;
    }

    .simple-menu-content,
	.mega-menu-content {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
    }

    .mega-menu-column {
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .mega-menu-column.col-1 {
        flex: 0 0 30%;
        border-right: 1px solid #d1d5db;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .mega-menu-column.col-2 {
        flex: 0 0 35%;
        border-right: 1px solid #d1d5db;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .mega-menu-column.col-3 {
        flex: 0 0 35%;
        background-color: #f8f9fa;
    }

    .mega-menu-column h4 {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: .9rem;
        text-transform: uppercase;
        color: #888;
        font-weight: 600;
    }

    .mega-menu-column ul,
	.simple-menu ul {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mega-menu-column ul li,
	.simple-menu li {
        display: block;
        height: auto;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .mega-menu-column ul a,
	.simple-menu ul a {
        display: block;
        padding: 8px 12px 8px 8px;
        margin: 2px 0;
        color: var(--text-color);
        text-decoration: none;
        transition: all .2s ease;
        box-sizing: border-box;
        width: 100%;
    }

    .mega-menu-column ul a:after,
	.simple-menu ul a:after {
        display: none;
    }

    .mega-menu-column ul a:hover,
	.simple-menu ul a:hover,
	.mega-menu-column ul a.active {
        background-color: #f0f2f5;
        color: var(--primary-color);
    }

    .featured-card {
        text-decoration: none;
        display: block;
        color: inherit;
    }

    .featured-card img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: .75rem;
        border: 1px solid var(--border-color);
        aspect-ratio: 3/2;
        object-fit: cover;
    }

    .featured-card-content h5 {
        margin: 0 0 .25rem;
        font-size: 1rem;
        color: var(--secondary-color);
    }

    .featured-card-content p {
        margin: 0;
        font-size: .9rem;
        color: #666;
    }

    .spinner {
        border: 4px solid rgba(0, 0, 0, .1);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border-left-color: var(--secondary-color);
        animation: spin 1s ease infinite;
        margin: 1rem auto;
    }

    @keyframes spin {
        0% {
            transform: rotate(0);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .search-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #00221dcc;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        display: none;
        align-items: flex-start;
        justify-content: center;
        padding-top: 15vh;
        z-index: 1000;
    }

    .close-popup-button {
        position: absolute;
        top: 40px;
        right: 40px;
        font-size: 3rem;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        line-height: 1;
    }

    .search-popup-content {
        width: 100%;
        max-width: 700px;
    }

    .search-form {
        display: flex;
        gap: 1rem;
    }

    #popup-search-input {
        flex-grow: 1;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        border: 2px solid var(--primary-color);
        border-radius: 50px;
        background-color: var(--white-color);
    }

    #popup-search-input:focus {
        outline: none;
    }

    .search-form button {
        padding: 1rem 2rem;
        border: none;
        background-color: var(--primary-color);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 50px;
        cursor: pointer;
    }

    .search-suggestions-container {
        display: none;
        margin-top: 1rem;
        background-color: var(--white-color);
        border-radius: 8px;
        padding: .5rem;
        max-height: 40vh;
        overflow-y: auto;
    }

    .suggestion-group {
        padding: .5rem 1rem;
    }

    .suggestion-group-title {
        color: #999;
        font-size: .8rem;
        text-transform: uppercase;
        margin-bottom: .5rem;
        font-weight: 600;
    }

    .suggestion-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .suggestion-item {
        padding: .75rem 1rem;
        cursor: pointer;
        border-radius: 6px;
        transition: background-color .2s;
    }

    .suggestion-item:hover {
        background-color: #f1f3f5;
    }

    .main-content {
        padding: 0 1rem;
    }

    .search-results-page {
        max-width: 1100px;
        margin: 2rem auto;
    }

    .results-header h1 {
        text-align: left;
        font-size: 1.8rem;
    }

    .results-header h1 span {
        color: var(--primary-color);
    }

    .results-header p {
        color: var(--text-secondary-color);
        margin-top: -1rem;
    }

    .results-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1.5rem;
    }

    .result-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .tab-button {
        padding: .75rem 1rem;
        border: none;
        background: none;
        cursor: pointer;
        font-size: .95rem;
        font-weight: 600;
        color: var(--text-secondary-color);
        border-bottom: 3px solid transparent;
        margin-bottom: -1px;
    }

    .tab-button.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
    }

    .tab-button span {
        font-size: .8em;
        font-weight: 500;
        margin-left: 6px;
    }

    .result-filters {
        display: flex;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .result-filters select,
	#sort-by {
        padding: .5rem 1rem;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background-color: var(--white-color);
        font-size: .9rem;
    }

    .results-list {
        display: grid;
        gap: 1.5rem;
    }

    .no-results-message {
        text-align: center;
        padding: 4rem;
        background-color: var(--white-color);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .result-item {
        display: flex;
        background-color: var(--white-color);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        transition: box-shadow .2s ease-in-out;
        position: relative;
    }

    .result-item:hover {
        box-shadow: 0 4px 12px #00000014;
    }

    .result-item .item-thumbnail {
        flex-shrink: 0;
        width: 200px;
        background-color: #eee;
    }

    .result-item .item-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .result-item .item-content {
        flex-grow: 1;
        padding: 1.25rem 1.5rem;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .item-header {
        margin-bottom: .25rem;
    }

    .item-header h2 {
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 100px;
    }

    .item-header h2 a {
        text-decoration: none;
        color: var(--secondary-color);
    }

    .item-header h2 a:hover {
        color: var(--primary-color);
    }

    .item-badge {
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
        flex-shrink: 0;
        padding: .25em .75em;
        font-size: .75rem;
        font-weight: 700;
        border-radius: 50px;
        color: var(--white-color);
    }

    .item-description,
	.item-address,
	.item-price,
	.item-date {
        font-size: .9rem;
        color: var(--text-secondary-color);
        margin: 4px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .item-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--danger-color);
        margin-top: auto;
    }

    .item-date {
        font-size: .8rem;
        color: #999;
    }

    .search-extra-suggestions {
        margin-top: 1.5rem;
        display: flex;
        gap: 2rem;
        border-top: 1px solid rgba(255, 255, 255, .1);
        padding-top: 1.5rem;
    }

    .suggestions-section {
        flex: 1;
    }

    .suggestions-title {
        color: #a0aec0;
        font-size: .9rem;
        font-weight: 600;
        margin-bottom: .75rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .suggestions-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .suggestion-tag {
        background-color: #ffffff1a;
        color: #edf2f7;
        padding: .4rem .8rem;
        border-radius: 20px;
        font-size: .9rem;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, .2);
        transition: all .2s ease;
    }

    .suggestion-tag:hover {
        background-color: var(--primary-color);
        color: var(--white-color);
        border-color: var(--primary-color);
    }

    .hamburger-button {
        display: none;
    }

    .menu-overlay {
        display: none !important;
    }

    .main-nav.is-open {
        transform: none;
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        z-index: 100;
        overflow-y: auto;
    }

    .main-nav .has-submenu>a:after {
        content: "▼";
        font-size: .6em;
        margin-top: 2px;
        transition: transform .2s ease-in-out;
    }

    .simple-menu.is-active,
	.mega-menu.is-active {
        display: block;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .simple-menu ul,
	.simple-menu li {
        display: block;
        height: auto;
    }

    .simple-menu a {
        width: 100%;
        height: auto;
        padding: .75rem 1rem;
        box-sizing: border-box;
    }

    .simple-menu a:after {
        display: none;
    }

    .simple-menu-content {
        max-width: 1100px;
        margin: 0 auto;
        padding: 1rem 1.5rem;
    }

    .simple-menu.menu-align-right,
	.mega-menu.menu-align-right {
        left: auto;
        right: 0;
    }

    .main-nav.active .simple-menu,
	.main-nav.active .mega-menu {
        display: none;
        position: static;
        border: none;
        box-shadow: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background-color: #f8f9fa;
    }

    .main-nav.active .has-submenu.open>.simple-menu,
	.main-nav.active .has-submenu.open>.mega-menu {
        display: block;
    }

    .main-nav>ul#main-menu-list {
        display: flex;
        align-items: center;
        height: 100%;
        margin: auto;
    }

    .main-nav>ul>li>a:hover {
        background-color: #f0f2f5;
        color: var(--primary-color);
    }
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-bottom: 2rem;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: .5rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 .5rem;
    font-weight: 500;
    transition: all .2s ease;
}

.page-link:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 700;
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: #f9fafb;
    cursor: not-allowed;
    border-color: var(--border-color);
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
        gap: .75rem;
    }

    .search-form button {
        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        font-size: 1.1rem;
    }
}

.badge-PROJECT {
    background-color: #198754;
}

.badge-PRODUCT_SALE {
    background-color: #dc3545;
}

.badge-PRODUCT_RENT {
    background-color: #0d6efd;
}

.badge-NEWS_ARTICLE {
    background-color: #0dcaf0;
}

.badge-WIKI_ARTICLE {
    background-color: #6c757d;
}

.badge-BUSINESS_PROFILE {
    background-color: #ffc107;
    color: #000;
}

body {
    font-family: "Be Vietnam Pro", sans-serif;
    margin: 0;
    background-color: var(--white-color);
    color: var(--text-dark);
    line-height: 1.7;
}

.experts-section,
.projects-section,
.press-section,
.news-scroll-wrapper,
.projects-scroll-wrapper {
    overflow-x: hidden;
}

.widget a > img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.header-footer-limiter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-limiter {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-section {
    background-color: var(--secondary-color);
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 40px;
}

.banner-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.banner-text {
    flex-basis: 55%;
}

.banner-text h1 {
    font-size: 42px;
    color: var(--secondary-color);
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.worry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 20px;
}

.worry-title {
    font-weight: 600;
    margin: 10px 0 5px 0;
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.worry-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    padding-top: 5px;
}

.worry-detail {
    margin: 0;
    font-size: 15px;
    color: var(--white-color);
}

.banner-image {
    flex-basis: 45%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 0px;
    margin-top: 30px;
}

.banner-image img {
    max-height: 420px;
    width: auto;
    min-width: 100%;
    min-height: 100%;
    animation: subtleZoom 15s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.experts-section {
    padding: 60px 0;
    background-color: #fff;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.expert-card {
    text-align: center;
}

.expert-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease;
}

.expert-card:hover .expert-avatar img {
    transform: scale(1.1);
}

.expert-content {
    min-height: 150px;
}

.expert-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.expert-title a {
    color: var(--secondary-color);
}

.expert-title a:hover {
    color: var(--primary-color);
}

.expert-author {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.post-thumbnail-large {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1366 / 768;
}

.post-thumbnail-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-thumbnail-large:hover img {
    transform: scale(1.05);
}

.post-thumbnail-large::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0) 60%);
    z-index: 1;
}

.post-content-large {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.post-title-large {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
}

.post-title-large a {
    color: var(--white-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.post-title-large a:hover {
    text-decoration: underline;
}

.secondary-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.secondary-post-small {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.post-thumbnail-small img {
    width: 165px;
    aspect-ratio: 1366 / 768;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.post-title-small {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    height: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-title-small a {
    color: var(--text-dark);
}

.post-title-small a:hover {
    color: var(--primary-color);
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.footer-wrapper {
    background-color: var(--white-color);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 50px 0 20px 0;
    margin-top: 0px;
}

.site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 30px;
}

.footer-widget a {
    color: var(--text-dark);
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-widget p.widget-title {
    font-size: 18px;
    margin: 0 0 20px 0;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
    border: none;
    cursor: default;
}

.footer-widget p.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.7;
}

.widget-links li {
    padding-bottom: 12px;
}

.widget-links li:last-child,
.footer-widget p:last-of-type {
    padding-bottom: 0;
}

.bct-logo {
    width: 150px;
}

.copyright-text {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 14px;
}

.logo-link {
    margin-right: auto;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    #cct-mega-menu {
        position: fixed;
        top: 81px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        visibility: hidden;
    }

    #cct-mega-menu.is-open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    @media (max-width: 1024px) {
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease;
        }

        .menu-overlay.is-visible {
            opacity: 1;
            visibility: visible;
        }

        #main-nav {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 320px;
            max-width: 85vw;
            height: 100%;
            background-color: var(--white-color);
            z-index: 1001;
            transform: translateX(-100%);
            transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
            overflow: hidden;
        }

        #main-nav.is-open {
            transform: translateX(0);
        }

        .menu-slider {
            display: flex;
            height: 100%;
            width: 100%;
            transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .menu-panel {
            width: 100%;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
            background-color: var(--white-color);
        }

        .panel-header {
            display: flex;
            align-items: center;
            padding: 0 1rem;
            height: 80px;
            border-bottom: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        .panel-back-button {
            color: var(--text-light);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            margin-left: -0.5rem;
            margin-right: 0.5rem;
        }

        .panel-back-button svg {
            width: 24px;
            height: 24px;
        }

        .panel-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }

        .panel-list {
            list-style: none;
            padding: 0;
            margin: 0;
            overflow-y: auto;
            flex-grow: 1;
        }

        .panel-list li a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            text-decoration: none;
            color: var(--text-dark);
            border-bottom: 1px solid var(--border-color);
            font-weight: 500;
        }

        .panel-list li.has-submenu > a::after {
            content: "›";
            font-size: 1.5rem;
            color: #ccc;
        }

        .panel-list .list-group-title {
            padding: 15px 20px 10px 20px;
            font-size: 14px;
            font-weight: 700;
            color: var(--text-light);
            background-color: var(--body-bg);
            text-transform: uppercase;
        }
    }

    .panel-header .mobile-menu-close {
        background: none;
        border: none;
        font-size: 32px;
        color: var(--text-light);
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
        line-height: 1;
        font-weight: 300;
    }

    .panel-header .mobile-menu-close:hover {
        color: var(--text-dark);
    }

    .logo {
        height: 40px;
        width: auto;
    }

    .menu-panel .panel-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .menu-panel .panel-list > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-panel .panel-list > li:last-child {
        border-bottom: none;
    }

    .menu-panel .panel-list > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
    }

    .menu-panel .panel-list > li.has-submenu > a::after {
        content: "›";
        font-size: 24px;
        color: #ccc;
    }

    .main-nav {
        display: none;
    }

    .hamburger-button .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 5px auto;
    }

    .site-header {
        position: relative;
        justify-content: space-between;
    }

    .logo-link {
        margin-right: 0;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hamburger-button, .header-actions {
        z-index: 1;
    }

    .header-right-block {
        gap: 40px;
        display: none;
    }

    .hamburger-button {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
}

.projects-section {
    padding: 60px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    transition: background 0.5s ease;
}

.project-card-content {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.project-price {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: inline-block;
}

.btn-project-detail {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.project-card:hover .project-card-content {
    text-align: center;
    color: var(--white-color);
}

.project-card:hover::after {
    background: rgba(0, 0, 0, 0.6);
}

.project-card:hover .btn-project-detail {
    opacity: 1;
    transform: translateY(0);
}

.developers-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.developer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    min-height: 120px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-logo {
    max-height: 100%;
    transition: all 0.3s ease;
}

.developer-name {
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.developer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.developer-card:hover .developer-logo {
    max-height: 50px;
}

.developer-card:hover .developer-name {
    opacity: 1;
    transform: translateY(0);
}

.press-section {
    padding: 60px 0;
    background-color: #fff;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.press-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    text-decoration: none;
}

.press-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.press-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.press-card-content {
    padding: 20px;
}

.press-logo {
    max-height: 25px;
    width: auto;
    margin-bottom: 15px;
}

.press-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--body-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--secondary-color);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-details-list svg {
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details-list a {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.contact-details-list a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-dark);
    font-size: 16px;
    font-family: "Be Vietnam Pro", sans-serif;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form button.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.form-privacy-note {
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
    margin-top: 0;
}

.sidebar-column {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    order: 1;
    transition: top 0.3s ease-in-out;
}

.sidebar-column.sidebar--header-hidden {
    top: 32px;
}

.breadcrumb {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.article-detail h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.article-detail .article-meta {
    margin-bottom: 15px;
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.article-meta span {
    margin-right: 15px;
}

.featured-image-detail {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.article-content p,
.article-content ul,
.article-content ol {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 40px;
}

.article-content h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 30px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: var(--text-light);
}

.toc-container {
    background-color: var(--body-bg);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.toc-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--secondary-color);
}

.toc-list {
    margin: 0;
    padding-left: 20px;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
}

.toc-list a:hover {
    color: var(--primary-color);
}

.lightbox-trigger {
    cursor: zoom-in;
}

.lightbox-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    gap: 10px;
}

.lightbox-control-btn svg {
    width: 20px;
    height: 20px;
}

.lightbox-close {
    display: none;
}

.lightbox-close:hover {
    color: #ccc;
}

.related-project-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-project-header svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.related-project-header h4 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 20px;
}

.related-project-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.related-project-image img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-project-info .project-name {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.related-project-info .project-name a {
    color: var(--secondary-color);
    font-weight: 600;
}

.related-project-info .project-address,
.related-project-info .project-price {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 8px 0;
}

.related-project-info .project-price {
    font-weight: 600;
    color: var(--primary-color);
}

.related-project-item .btn-primary.btn-small {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 14px;
    flex-shrink: 0;
}

.article-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share strong {
    font-weight: 600;
    margin-right: 5px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
}

.social-share-btn:hover {
    background-color: var(--body-bg);
    border-color: #ccc;
    color: var(--text-dark);
}

.social-share-btn.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-share-btn svg {
    width: 16px;
    height: 16px;
}

.related-articles-section {
    margin-top: 40px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.related-article-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-thumbnail img {
    transform: scale(1.05);
}

.related-article-title {
    font-size: 18px;
    line-height: 1.5;
    margin: 15px 0 0 0;
}

.related-article-title a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.related-article-title a:hover {
    color: var(--primary-color);
}

.author-profile-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background-color: var(--body-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-name {
    font-size: 32px;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
}

.author-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.author-experience {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.author-socials {
    display: flex;
    gap: 15px;
}

.author-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-dark);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-socials a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.author-bio {
    margin-bottom: 40px;
}

.author-posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card-horizontal {
    display: flex;
    gap: 20px;
}

.post-card-thumbnail img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.post-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.post-card-title a {
    color: var(--secondary-color);
}

.post-card-meta {
    font-size: 14px;
    color: var(--text-light);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 450px;
}

.gallery-main-image, .gallery-side-image {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 8px;
    position: relative;
}

.gallery-main-image img, .gallery-side-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main-image:hover img, .gallery-side-image:hover img {
    transform: scale(1.05);
}

.gallery-side-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.project-hero-info {
    padding-top: 30px;
}

.project-title-detail {
    font-size: 36px;
    color: var(--secondary-color);
    margin: 10px 0;
}

.project-address-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.project-address-detail svg {
    flex-shrink: 0;
}

.project-params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.param-item {
    font-size: 15px;
    align-items: center;
}

.param-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

.param-item span {
    color: var(--text-light);
}

.project-overview-section {
    padding: 60px 0;
    background-color: #fff;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-content p {
    margin-bottom: 1.5em;
    color: var(--text-light);
}

.overview-content strong {
    color: var(--text-dark);
}

.overview-image img {
    border-radius: 12px;
}

.gallery-main-image {
    position: relative;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: white;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main-image:hover .gallery-overlay {
    opacity: 1;
}

.project-hero-section {
    background-color: var(--body-bg);
    padding-bottom: 50px;
    position: relative;
}

.hero-gallery-container {
    position: relative;
}

.hero-gallery-desktop {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 450px;
    width: 100%;
}

.hero-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-gallery-item:hover img {
    transform: scale(1.05);
}

.hero-gallery-item.main-image {
    grid-row: 1 / 3;
}

.view-all-desktop-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-gallery-item.side-image-bottom:hover .view-all-desktop-btn {
    opacity: 1;
    visibility: visible;
}

.hero-gallery-mobile {
    display: none;
}

.hero-action-btn {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.hero-project-info {
    padding: 30px 0;
}

.hero-project-info h1 {
    margin: 10px 0;
}

.gallery-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 12000;
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    background-color: white;
    width: 90%;
    height: 95%;
    max-width: 1400px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.gallery-modal-header {
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.gallery-modal-header h2 {
    margin: 0;
    color: var(--secondary-color);
}

.gallery-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-modal-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.lightbox-container {
    display: none;
    position: fixed;
    z-index: 11000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85%;
    object-fit: contain;
    cursor: grab;
    transition: transform 0.2s ease;
}

.lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    max-height: 10%;
}

.lightbox-control-btn {
    position: absolute;
    background-color: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    z-index: 11001;
}

.lightbox-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.top-right {
    top: 15px;
    right: 15px;
}

.nav-left {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.nav-right {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.connectivity-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.timeline-container {
    position: relative;
    width: 100%;
    margin: 30px auto;
}

.timeline-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ddd;
    z-index: 1;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border: 5px solid var(--body-bg);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-card {
    background-color: var(--white-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    position: relative;
}

.timeline-card h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.timeline-card p {
    margin: 0 0 15px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-card-image {
    background-color: transparent;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.timeline-card-image .swiperTimeline {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.timeline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 3/4;
}

.distance-tag {
    display: inline-block;
    background-color: var(--body-bg);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.timeline-image {
    position: relative;
}

.floor-plan-section {
    padding: 60px 0;
    background-color: #fff;
}

.floor-plan-interactive-area {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.floor-plan-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.floor-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.floor-btn, .dropdown-toggle-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.floor-btn:hover, .dropdown-toggle-btn:hover {
    background-color: var(--body-bg);
    border-color: #ccc;
}

.floor-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 10;
    padding: 5px 0;
    border: 1px solid var(--border-color);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
    font-size: 16px;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--body-bg);
}

.dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.unit-selector label {
    font-weight: 500;
    margin-right: 10px;
}

.unit-selector select {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}

.floor-plan-display img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.amenities-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.amenity-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    display: block;
    text-decoration: none;
}

.amenity-card .amenity-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.amenity-card:hover .amenity-bg {
    transform: scale(1.1);
}

.amenity-card.large {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.view-all-card {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-all-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 66, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.view-all-card:hover .view-all-overlay {
    background-color: rgba(0, 66, 56, 0.85);
}

.view-all-content span {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--white-color);
}

.view-all-content p {
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    margin: 10px 0 0 0;
}

.view-all-card:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.amenities-mobile-layout {
    display: none;
}

.mobile-main-amenity {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
}

.amenity-card-mobile {
    position: relative;
    flex: 0 0 220px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.amenity-card-mobile .amenity-overlay {
    display: flex;
}

.amenity-card-mobile .amenity-overlay h5 {
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.pricing-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.pricing-cards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pricing-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(83, 185, 102, 0.1);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
}

.product-area {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    flex-shrink: 0;
}

.pricing-card-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.price-box {
    display: block;
    background-color: var(--body-bg);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.price-box:not(.disabled):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.price-label {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.price-main {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.price-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.price-cta {
    font-weight: 600;
    color: var(--primary-color);
}

.price-box.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f0f0f0;
}

.price-box.disabled .price-main {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
}

.payment-schedule-section {
    padding: 60px 0;
    background-color: #fff;
}

.table-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

.payment-schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.payment-schedule-table th,
.payment-schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.payment-schedule-table th {
    background-color: var(--body-bg);
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 16px;
}

.payment-schedule-table td {
    font-size: 15px;
    color: var(--text-light);
}

.payment-schedule-table tbody tr:hover {
    background-color: #fcfcfc;
}

.payment-schedule-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.section-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

.additional-info p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.additional-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

.handover-standards-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.standards-carousel-container {
    position: relative;
}

.carousel-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    padding: 0 20px;
}

.carousel-slide {
    flex: 0 0 356px;
    width: 356px;
    height: 475px;
    margin: 0 15px;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.03);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-weight: 600;
    text-align: center;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.arrow-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.arrow-prev {
    left: 0px;
}

.arrow-next {
    right: 0px;
}

@media (max-width: 1100px) {
    .arrow-prev {
        left: 10px;
    }

    .arrow-next {
        right: 10px;
    }
}

.subdivision-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.subdivision-carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0px;
    box-sizing: border-box;
}

.subdivision-carousel-wrapper {
    overflow: hidden;
    cursor: grab;
}

.subdivision-carousel-wrapper:active {
    cursor: grabbing;
}

.subdivision-carousel-track {
    display: flex;
    gap: 30px;
    padding: 10px;
    margin: -10px;
}

.subdivision-card {
    flex: 0 0 calc(50% - 15px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: block;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.subdivision-card:hover {
    transform: translateY(-5px);
}

.subdivision-card .card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.subdivision-card:hover .card-bg {
    transform: scale(1.1);
}

.subdivision-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 20%, transparent);
    z-index: 2;
}

.subdivision-card-info h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.subdivision-card-price {
    display: flex;
    gap: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.subdivision-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 40, 30, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.btn-secondary {
    padding: 12px 24px;
    background-color: var(--primary-color) !important;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white-color) !important;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.subdivision-card:hover .subdivision-card-hover-overlay {
    opacity: 1;
}

.subdivision-card:hover .btn-secondary {
    transform: translateY(0);
    opacity: 1;
}

.subdivision-carousel-container .arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.subdivision-carousel-container .arrow-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.subdivision-carousel-container .arrow-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.subdivision-carousel-container .arrow-prev {
    left: 0;
}

.subdivision-carousel-container .arrow-next {
    right: 0;
}

.actual-photos-section {
    padding: 60px 0;
    background-color: #fff;
}

.photo-year-group {
    margin-bottom: 50px;
}

.photo-year-group:last-child {
    margin-bottom: 0;
}

.year-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 25px 0;
    text-align: center;
}

.photo-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
}

.photo-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    background-color: var(--body-bg);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-weight: 500;
    font-size: 15px;
    z-index: 2;
    transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.photo-card.view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.photo-card.view-more:hover .photo-card-overlay {
    background-color: rgba(0, 66, 56, 0.85);
}

.photo-card.view-more .photo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 66, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.photo-card.view-more:hover {
    background-color: #005a4d;
}

.view-more-content span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--white-color);
}

.view-more-content p {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    margin: 5px 0 0 0;
}

@keyframes shake {
    10%, 90% {
        transform: rotate(-8deg);
    }

    20%, 80% {
        transform: rotate(8deg);
    }

    30%, 50%, 70% {
        transform: rotate(-8deg);
    }

    40%, 60% {
        transform: rotate(8deg);
    }
}

@keyframes shake-cycle {
    0%, 66% {
        transform: rotate(0);
    }

    70% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(-8deg);
    }

    80% {
        transform: rotate(8deg);
    }

    85% {
        transform: rotate(-8deg);
    }

    90% {
        transform: rotate(8deg);
    }

    95% {
        transform: rotate(-8deg);
    }

    100% {
        transform: rotate(0);
    }
}

.fixed-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.action-btn svg {
    width: 28px;
    height: 28px;
}

.uptop-btn {
    background-color: #fff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.uptop-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-float-btn svg {
    animation: shake-cycle 5s infinite;
    animation-delay: 0.1s;
}

.contact-float-btn:hover svg {
    animation-play-state: paused;
}

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 998;
    display: none;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white-color);
    font-weight: 600;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.mobile-action-btn.zalo-btn {
    background-color: #0068ff;
}

.mobile-action-btn:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

#mobile-call-btn svg {
    animation: shake-cycle 5s infinite;
    animation-delay: 0.1s;
}

#mobile-call-btn:hover svg {
    animation-play-state: paused;
}

.modal-content > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-phone-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
}

.modal-phone-link svg {
    color: var(--primary-color);
}

.modal-separator {
    text-align: center;
    color: #ccc;
    margin: 25px 0;
    position: relative;
}

.modal-separator::before, .modal-separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 1px;
    background-color: var(--border-color);
}

.modal-separator::before {
    left: 0;
}

.modal-separator::after {
    right: 0;
}

.related-news-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    display: block;
    text-decoration: none;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.news-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    height: calc(1.5em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-readmore {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
}

.nearby-projects-section {
    padding: 60px 0;
    background-color: #fff;
}

.nearby-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nearby-project-card {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease;
}

.nearby-project-card:hover {
    transform: translateY(-8px);
}

.nearby-project-card:hover .card-background-image {
    transform: scale(1.05);
}

.card-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.card-text-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    box-sizing: border-box;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0.4) 40%, transparent 70%);
}

.project-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.project-address {
    font-size: 15px;
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.project-price-info {
    font-size: 16px;
    font-weight: 600;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    align-self: flex-start;
}

.main-container {
    padding: 40px 0;
    background-color: var(--body-bg);
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.main-column {
    flex: 1;
    min-width: 0;
    order: 2;
}

.category-header {
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
}

.category-header p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.search-section {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.search-form {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-form input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 40px 12px 20px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    border-color: var(--primary-color);
}

.search-form .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-form button {
    padding: 0 25px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: var(--secondary-color);
}

.topic-tabs-wrapper {
    overflow: hidden;
}

.topic-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.topic-tabs::-webkit-scrollbar {
    display: none;
}

.topic-tabs a {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.topic-tabs a:hover {
    background-color: #e9e9e9;
}

.topic-tabs a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.article-thumbnail {
    flex-shrink: 0;
    width: 280px;
    display: block;
    aspect-ratio: 1366 / 768;
    border-radius: 4px;
    overflow: hidden;
    max-width: 100%;
}

.article-thumbnail img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 1366 / 768;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.05);
}

.article-content {
    min-width: 0;
}

.article-content .article-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-content .article-title a {
    color: var(--secondary-color);
}

.article-content .article-title a:hover {
    color: var(--primary-color);
}

.article-meta a {
    color: var(--text-dark);
    font-weight: 600;
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta a.author-link {
    color: var(--text-dark);
    font-weight: 600;
}

.article-meta a.author-link:hover {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    font-weight: 600;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 10px 18px;
    min-width: 24px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
}

.widget {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    border-bottom: 1px dashed #ddd;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.topic-tabs-container {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 25px;
}

.topic-tabs-container::-webkit-scrollbar {
    display: none;
}

.topic-tabs-container a {
    display: block;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.topic-tabs-container a:hover {
    background-color: #e9e9e9;
    color: var(--text-dark);
}

.topic-tabs-container a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.investor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.investor-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.investor-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.investor-card img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.investor-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 30px 0;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.company-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background-color: var(--body-bg);
    border-radius: 12px;
    margin-bottom: 30px;
}

.company-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    object-fit: contain;
}

.company-info h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.company-info .slogan {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
}

.company-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.company-info li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.company-info li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    position: relative;
    border-left: 3px solid rgba(83, 185, 102, 0.2);
    padding-left: 30px;
}

.timeline-item {
    padding: 15px 0;
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    display: block;
    content: "";
    position: absolute;
    left: -38px;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.connectivity-section .timeline-item::before {
    display: none !important;
}

.timeline-item .year {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 18px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    aspect-ratio: 3 / 4;
    padding: 25px;
    border-radius: 12px;
    overflow: hidden;
    color: var(--white-color);
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    justify-content: center;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-image-wrapper {
    height: 200px;
    position: relative;
    background-color: #eee;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 66, 56, 0.85);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.project-info-wrapper {
    padding: 20px;
}

.project-card .project-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.project-card .project-details {
    font-size: 14px;
    color: var(--text-light);
}

.nearby-projects-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.wiki-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.wiki-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.wiki-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.wiki-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.wiki-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wiki-card:hover .wiki-card-image img {
    transform: scale(1.05);
}

.wiki-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wiki-card-title {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wiki-card-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.wiki-card-cta {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.wiki-card:hover .wiki-card-cta {
    gap: 10px;
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success-message h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.form-success-message p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.favorite-btn .heart-solid {
    display: none;
    color: #ff4d4f;
}

.favorite-btn .heart-outline {
    display: block;
}

.favorite-btn.active .heart-solid {
    display: block;
    color: #ef4444;
}

.favorite-btn.active .heart-outline {
    display: none;
}

.hero-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-actions .action-button {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    border: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.hero-actions .action-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.image-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-gallery-popup.open {
    display: flex;
}

.image-gallery-popup .gallery-container {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    width: 95%;
    max-width: 1400px;
    height: 90%;
    max-height: 800px;
    overflow: hidden;
}

.image-gallery-popup .gallery-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.image-gallery-popup .gallery-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.image-gallery-popup .gallery-main-view {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.image-gallery-popup #gallery-main-image {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 40px);
    object-fit: contain;
    border-radius: 4px;
    cursor: grab;
    touch-action: none;
    transition: transform 0.2s ease-out;
}

#gallery-main-image.is-dragging {
    cursor: grabbing;
}

.image-gallery-popup .gallery-caption {
    color: #ccc;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    height: 25px;
}

.image-gallery-popup .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery-popup .gallery-main-view:hover .gallery-nav-btn {
    opacity: 0.7;
}

.image-gallery-popup .gallery-nav-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.image-gallery-popup .gallery-nav-btn.prev {
    left: 20px;
}

.image-gallery-popup .gallery-nav-btn.next {
    right: 20px;
}

.image-gallery-popup .gallery-thumbnail-strip {
    flex: 0 0 200px;
    background-color: #111;
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    box-sizing: border-box;
    z-index: 1;
}

.image-gallery-popup .gallery-thumbnail-strip img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    margin-bottom: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.image-gallery-popup .gallery-thumbnail-strip img:hover {
    opacity: 1;
}

.image-gallery-popup .gallery-thumbnail-strip img.active {
    border-color: #53b966;
    opacity: 1;
}

.page-bottom-contact-section {
    display: none;
    padding: 60px 0;
    background-color: var(--body-bg);
}

.page-bottom-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.page-bottom-form input,
.page-bottom-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-dark);
    font-size: 16px;
    font-family: "Be Vietnam Pro", sans-serif;
    box-sizing: border-box;
}

.page-bottom-form button {
    padding: 15px;
    font-size: 16px;
    border: none;
}



.amenity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.7) 40%, transparent 80%);
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.amenity-overlay h4, 
.amenity-overlay h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.amenity-overlay .amenity-desc {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.amenity-card:hover .amenity-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.7) 60%, transparent 90%);
}

.amenity-card:hover .amenity-desc {
    opacity: 1;
    max-height: 100px;
}

.amenity-card.large .amenity-overlay {
    padding: 30px;
}

.amenity-card.large .amenity-overlay h4 {
    font-size: 24px;
}

.amenity-card.large .amenity-desc {
    opacity: 1;
    max-height: 100px;
    font-size: 16px;
}

.header-favorite-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin-left: 10px;
}

.header-favorite-btn svg {
    width: 26px;
    height: 26px;
    transition: all 0.2s ease;
}

.header-favorite-btn:hover svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

.favorite-counter {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
    border: 2px solid white;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.favorite-counter.visible {
    transform: scale(1);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
}

.footer-widget .widget-links {
    line-height: 1.7;
}

.footer-widget p {
    margin: 0;
    padding-bottom: 12px;
}

.footer-widget p,
.footer-widget .widget-links li {
    padding-bottom: 12px;
}

.footer-widget p:last-of-type,
.footer-widget .widget-links li:last-child {
    padding-bottom: 0;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-dark);
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    fill: #fff;
    transform: scale(1.1);
}

h1, h2, h3, h4, h5, h6, p, a, li, span {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.lightbox-control-btn:disabled {
    opacity: 0.3;
    cursor: default;
    transform: scale(1) !important;
}

img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.banner-text h2 {
    font-size: 24px;
    color: var(--white-color);
    margin: 0 0 10px 0;
}

.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container.open {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 25px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-container .modal-content {
    background-color: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content .contact-form input,
.modal-content .contact-form textarea,
.modal-content .contact-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
    margin-bottom: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
}

.modal-content .contact-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.modal-content .contact-form input:focus,
.modal-content .contact-form textarea:focus,
.modal-content .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(83, 185, 102, 0.2);
}

#xay-nha-result-wrapper h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

#xay-nha-result-wrapper h4:first-child {
    margin-top: 0;
}

.info-details p {
    margin: 8px 0;
    font-size: 15px;
    color: var(--text-light);
}

.info-details p strong {
    color: var(--text-dark);
    width: 150px;
    display: inline-block;
}

.analysis-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.analysis-item .analysis-icon {
    flex-shrink: 0;
}

.analysis-item .analysis-content h5 {
    margin: 0 0 5px 0;
    padding: 0;
    border: none;
    font-size: 16px;
}

.analysis-item .analysis-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.analysis-item.good {
    background-color: #e9f5e9;
    border-left: 4px solid #4CAF50;
}

.analysis-item.good .result-text {
    color: var(--secondary-color);
    font-weight: 700;
}

.analysis-item.bad {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.analysis-item.bad .result-text {
    color: #c62828;
    font-weight: 700;
}

.final-conclusion {
    margin-top: 25px;
    padding: 15px;
    background-color: var(--body-bg);
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}


#xay-nha-result-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    color: var(--text-dark);
}

#xay-nha-result-title .good-year {
    color: var(--primary-color);
    font-weight: 700;
}

#xay-nha-result-title .bad-year {
    color: #c62828;
    font-weight: 700;
}

#xay-nha-info-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
}

#xay-nha-info-col-1 {
    flex-grow: 1;
}

#xay-nha-info-col-1 h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

#xay-nha-info-col-2 {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
    padding-top: 20px;
}

#xay-nha-info-col-2 .zodiac-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#xay-nha-back-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#xay-nha-back-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.modal-disclaimer {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    text-align: left;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.modal-disclaimer strong {
    font-style: normal;
    color: var(--text-dark);
}

.modal-content h3 {
    text-align: center;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.modal-close-btn {
    position: sticky;
    float: right;
    z-index: 10001;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    top: 0px;
    right: 0px;
    font-size: 28px;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.toggle-checkbox:checked {
    right: 0;
    border-color: var(--primary-color);
}

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

button:disabled {
    background-color: #9CA3AF !important;
    cursor: not-allowed !important;
}

.estimator-wrapper {
    font-family: "Be Vietnam Pro", sans-serif;
    --primary-color: #53b966;
    --secondary-color: #004238;
}

.estimator-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.estimator-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.hidden {
    display: none !important;
}

.estimator-stepper {
    max-width: 700px;
    margin: 30px auto 40px auto;
}

.stepper-track {
    display: flex;
    align-items: flex-start;
}

.step-item {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.step-item:last-child {
    flex-grow: 0;
    flex-shrink: 0;
}

.step-circle-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #D1D5DB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-label {
    margin-left: 12px;
}

.step-title {
    font-weight: 700;
    color: #6B7280;
}

.step-desc {
    font-size: 14px;
    color: #9CA3AF;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #D1D5DB;
    margin: 0 16px;
    transition: background-color 0.3s ease;
}

.step-item:last-child .step-line {
    display: none;
}

.step-item.active .step-circle {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step-item.active .step-title {
    color: var(--text-dark);
}

.step-item.completed .step-circle {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.step-item.completed .step-title {
    color: var(--text-dark);
}

.step-item.completed .step-line {
    background-color: var(--secondary-color);
}

.step-item.completed .step-circle::before {
    content: "✓";
    font-size: 20px;
}

.estimator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.estimator-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-fieldset {
    border: none;
    border-top: 1px solid var(--border-color);
    padding: 20px 0 0 0;
    margin-top: 15px;
}

.form-fieldset.full-width {
    grid-column: 1 / -1;
}

.form-fieldset legend {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 15px;
    margin-left: 10px;
}

.form-grid-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 30px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input[type="number"], .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
}

.form-group input[readonly] {
    background-color: #F3F4F6;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    margin-bottom: 0;
}

.form-error-message {
    color: #EF4444;
    font-size: 13px;
    margin-top: 5px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-separator {
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 20px;
}

.full-width-placeholder {
    display: none;
}

.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    height: 100%;
    box-sizing: border-box;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
}

.toggle-label {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #D1D5DB;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.toggle-group label {
    margin-bottom: 0;
    font-weight: 500;
}

.toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-checkbox + .toggle-label::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: var(--primary-color);
}

.toggle-checkbox:checked + .toggle-label::after {
    transform: translateX(24px);
}

.estimator-preview-sticky {
    position: sticky;
    top: 20px;
}

.estimator-image-wrapper {
    background-color: #F9FAFB;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.estimator-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

#cong-trinh-caption {
    text-align: center;
    font-weight: 500;
    margin-top: 12px;
    color: var(--text-dark);
}

.cursor-zoom-in {
    cursor: zoom-in;
}

.estimator-navigation {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimator-navigation button {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    cursor: pointer;
}

.estimator-navigation button#back-btn {
    background-color: #F3F4F6;
}

.estimator-navigation button:disabled {
    background-color: #E5E7EB !important;
    color: #9CA3AF;
    cursor: not-allowed !important;
}

.estimator-zoom-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 10001;
}

.estimator-zoom-modal #close-zoom-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

.estimator-zoom-modal #zoomed-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .step-label {
        display: none;
    }

    .step-line {
        margin: 0 8px;
    }
}

.form-grid-columns.one-col {
    grid-template-columns: 1fr;
    gap: 15px;
}

.form-group-compound {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.compound-label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
    padding-right: 20px;
}

.compound-label label {
    font-weight: 500;
    margin-bottom: 0;
}

.compound-input {
    flex: 1;
    min-width: 250px;
}

.compound-input label {
    display: none;
}

.input-hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#dien-tich-bc-truoc-container, #dien-tich-bc-sau-container {
    opacity: 1;
    visibility: visible;
}

.image-slider-container {
    position: relative;
    line-height: 0;
}

.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(3px);
}

.slider-button {
    background: transparent;
    color: white;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.2s ease;
}

.slider-button:hover:not(:disabled) {
    transform: scale(1.2);
}

.slider-button:disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

#image-index {
    color: white;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.payment-schedule-table .summary-row {
    font-weight: 700;
    background-color: #f7fafc;
    color: var(--secondary-color);
}

.payment-schedule-table .summary-row td {
    color: var(--secondary-color);
}

.payment-schedule-table .summary-row-background {
    background-color: #f7fafc;
}

.payment-schedule-table .summary-cell {
    font-weight: 700;
    color: var(--secondary-color);
}

#khai-toan-xay-dung-modal details > summary {
    list-style: none;
}

#khai-toan-xay-dung-modal details > summary::-webkit-details-marker {
    display: none;
}

#khai-toan-xay-dung-modal details > summary > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

#khai-toan-xay-dung-modal details > summary > span:first-child::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: var(--text-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
}

#khai-toan-xay-dung-modal details[open] > summary > span:first-child::before {
    transform: rotate(45deg);
}

.total-cost-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .pricing-card-body {
        grid-template-columns: 1fr 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .estimator-layout {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }

    .form-grid-columns.two-cols {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid-columns.three-cols {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .full-width-placeholder {
        display: block;
    }

    .total-cost-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.summary-cost-item {
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-cost-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.summary-cost-item p {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.summary-cost-item p span {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.label-with-tooltip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.label-with-tooltip label {
    margin-bottom: 0;
}

.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tooltip-icon {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 180px;
    background-color: #333;
    color: #fff;
    text-align: left;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 10;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.mega-menu-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    box-sizing: border-box;
}

.mega-menu-search:focus {
    outline: none;
    border-color: #53b966;
    box-shadow: 0 0 0 2px rgba(83, 185, 102, 0.2);
}

.mega-menu-list-wrapper {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    padding-right: 15px;
}

.mega-menu-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.mega-menu-group-title:first-child {
    margin-top: 0;
}

.mega-menu-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mega-menu-col-1-list li {
    margin: 2px 0;
}

#mega-menu-col-1-list li a {
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: block;
    padding: 8px 15px;
    border-radius: 6px;
}

#mega-menu-col-1-list li a:hover {
    color: #53b966;
}

#mega-menu-col-1-list li.active > a {
    color: #53b966;
    font-weight: 700;
}

#mega-menu-col-3-content {
    overflow-y: auto;
    max-height: 350px;
    padding-right: 15px;
    padding-left: 5px;
}

.mega-menu-list-wrapper::-webkit-scrollbar,
    #mega-menu-col-3-content::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-list-wrapper::-webkit-scrollbar-track,
    #mega-menu-col-3-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mega-menu-list-wrapper::-webkit-scrollbar-thumb,
    #mega-menu-col-3-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.mega-menu-list-wrapper::-webkit-scrollbar-thumb:hover,
    #mega-menu-col-3-content::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

body.scroll-locked {
    overflow: hidden;
}

.panel-search-wrapper {
    padding: 0 15px 15px 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    margin-top: 15px;
}

.mobile-menu-search:focus {
    outline: none;
    border-color: #53b966;
}

.header-wrapper.scroll-locked {
    padding-right: var(--scrollbar-width, 0px);
}

.param-item svg {
    color: var(--primary-color);
}
@media (max-width: 992px) {
    .banner-section {
        height: auto;
        padding: 20px 0;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-image {
        margin-top: 30px;
        max-width: 400px;
    }

    .banner-image img {
        max-height: none;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .worry-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .horizontal-scroll-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .press-card {
        width: 300px;
        flex-shrink: 0;
    }

    .developers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col-1, .footer-col-4 {
        grid-column: span 2;
        text-align: left;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-scroll-wrapper,
    .press-grid-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
        margin-left: -20px;
        margin-right: -20px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
    }

    .expert-card {
        width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .project-card {
        width: calc(100vw - 40px);
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .experts-grid,
    .projects-grid,
    .press-grid {
        display: flex;
        grid-template-columns: unset;
        width: max-content;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0;
        max-width: none;
        padding: 0 20px;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .amenity-card.large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        aspect-ratio: 16/9;
    }

    .carousel-track {
        padding: 10px 20px;
        gap: 15px;
    }

    .carousel-slide {
        margin: 0;
        width: 80vw;
        flex: 0 0 80vw;
        height: auto;
        aspect-ratio: 3 / 4;
        scroll-snap-align: start;
    }

    .standards-carousel-container .carousel-arrows {
        display: none;
    }

    .subdivision-carousel-container {
        padding: 0 15px;
    }

    .subdivision-carousel-container .arrow-prev {
        left: 0;
    }

    .subdivision-carousel-container .arrow-next {
        right: 0;
    }

    .subdivision-carousel-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px;
        padding-bottom: 15px;
    }

    .subdivision-carousel-track {
        padding: 10px 20px;
        gap: 20px;
    }

    .subdivision-card {
        flex-basis: 45%;
        scroll-snap-align: start;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nearby-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-wrapper {
        flex-direction: column;
    }

    .image-gallery-popup .gallery-container {
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .image-gallery-popup .gallery-main-view {
        min-height: 0;
    }

    .image-gallery-popup #gallery-main-image {
        flex-shrink: 1;
        min-height: 0;
    }

    .image-gallery-popup .gallery-nav-btn {
        display: none;
    }

    .image-gallery-popup .gallery-thumbnail-strip {
        flex: 0 0 auto;
        width: 100%;
        height: 120px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        order: -1;
        background-color: #000;
    }

    .image-gallery-popup .gallery-thumbnail-strip img {
        width: 140px;
        height: 90px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .sidebar-column {
        width: 100%;
        position: static;
        margin-top: 40px;
        order: 2;
    }
}
@media (max-width: 768px) {
    .favorites-drawer {
        max-width: 320px;
    }

    .chart-wrapper {
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chart-container {
        position: relative;
        height: 500px;
        min-width: 700px;
    }

    .summary-row {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .summary-row .summary-label {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 4px;
    }

    .summary-row .summary-arrow {
        margin-left: 0;
    }

    .summary-row .summary-value {
        padding-left: 2px;
        margin-right: 16px;
    }

    .detailed-table th:first-child,
    .detailed-table td:first-child {
        padding-left: 16px;
    }

    .search-popup {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .main-content {
        padding: 0 .5rem;
    }

    .search-results-page {
        margin: 1rem auto;
    }

    .result-item {
        flex-direction: column;
    }

    .result-item .item-thumbnail {
        width: 100%;
        height: 180px;
    }

    .result-item .item-content {
        padding: 1rem;
    }

    .item-badge {
        top: 1rem;
        right: 1rem;
    }

    .item-header h2 {
        white-space: normal;
        padding-right: 0;
        line-height: 1.4;
    }

    .item-description {
        white-space: normal;
    }

    .results-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .result-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: -.5rem;
        margin-right: -.5rem;
        box-sizing: border-box;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .result-tabs::-webkit-scrollbar {
        display: none;
    }

    .result-filters {
        flex-direction: column;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: -.5rem;
        margin-right: -.5rem;
        box-sizing: border-box;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .results-header {
        text-align: left;
        padding: 1rem;
    }

    .results-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin: 0;
    }

    .results-header p {
        font-size: .9rem;
        margin-top: .25rem;
    }

    .result-filters select,
	#sort-by {
        padding: .5rem 1rem;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background-color: var(--white-color);
        font-size: .9rem;
        margin-left: 1rem;
    }

    .select-wrapper {
        position: relative;
        width: 100%;
    }

    .custom-select-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: .75rem 1rem;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background-color: var(--white-color);
        font-size: .9rem;
        cursor: pointer;
    }

    .custom-dropdown-panel {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        z-index: 10;
        background-color: var(--white-color);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        box-shadow: 0 4px 12px #0000001a;
        padding: .5rem;
        display: none;
    }

    .select-wrapper.is-open .custom-dropdown-panel {
        display: block;
    }

    .timeline-item::before {
        display: block;
        content: "";
        position: absolute;
        left: -38px;
        top: 15px;
    }

    #xay-nha-info-grid {
        flex-direction: column;
        align-items: center;
    }

    #xay-nha-info-col-2 {
        order: -1;
        padding-top: 0;
        margin-bottom: 15px;
    }

    .info-details p strong {
        width: 120px;
    }

    #xay-nha-result-title {
        font-size: 16px;
        font-weight: 700;
    }
    .listing-page-wrapper {
        flex-direction: column;
    }

    .listing-filter-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 320px;
        background-color: #fff;
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        border-radius: 0px;
        max-height: 100%;
        max-width: 85vw;
    }

    .listing-filter-sidebar.is-open {
        transform: translateX(0);
        width: 100%;
        padding: 10px 15px;
    }

    .filter-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .floating-filter-btn {
        display: flex;
    }

    .product-listing-grid {
        grid-template-columns: 1fr;
    }

    .filter-block-header {
        padding: 0px;
    }

    .explore-section {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .explore-by-type {
        text-align: center;
    }

    .type-tags-container {
        justify-content: center;
    }

    .cta-overlay-content {
        text-align: center;
    }

    .cta-card-title {
        font-size: 22px;
    }

    .cta-card-description {
        font-size: 15px;
    }

    .price-history-card {
        padding: 20px;
    }

    .summary-row-wrapper.active .detailed-table-content {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 0;
        padding-right: 0;
    }

    .detailed-table {
        font-size: 13px;
    }

    .detailed-table th, .detailed-table td {
        padding: 8px 5px;
    }

    .summary-row {
        display: flex;
        align-items: center;
    }

    .seo-faq-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-header {
        position: relative;
        justify-content: space-between;
    }

    .logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
    }

    .hamburger-button, .header-actions {
        z-index: 1;
    }

    .banner-text h1 {
        font-size: 28px;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }

    .expert-content {
        min-height: auto;
    }

    .footer-col-1 .footer-logo, .footer-col-4 .bct-logo {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-widget {
        border-bottom: 1px solid #3d6a63;
        padding: 15px 0;
    }

    .footer-wrapper {
        padding: 30px 0 20px 0;
    }

    .banner-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .banner-content {
        flex-direction: column;
    }

    .banner-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 30px auto;
    }

    .banner-image img {
        width: 100%;
        height: auto;
    }

    .banner-text {
        order: 2;
        text-align: center;
    }

    .worry-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .expert-card, .project-card, .press-card {
        width: 260px;
    }

    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details-list {
        align-items: center;
        justify-content: center;
    }

    .contact-details-list li {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .project-card {
        width: calc(100vw - 60px);
    }

    .horizontal-scroll-wrapper,
    .press-grid-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        scroll-padding: 0 15px;
    }

    .experts-grid, .projects-grid, .press-grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 20px;
    }

    .footer-col-1, .footer-col-4 {
        grid-column: auto;
        text-align: left;
    }

    .footer-widget:last-of-type {
        border-bottom: none;
    }

    .footer-widget p.widget-title {
        margin-bottom: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        width: 100%;
        padding-bottom: 0;
    }

    .footer-widget p.widget-title::before {
        content: none;
        color: #ccc;
        transition: transform 0.3s ease;
        display: none;
    }

    .footer-widget p.widget-title::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ccc' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        position: static;
        width: 16px;
        height: 16px;
        background-color: transparent;
        margin-left: auto;
        padding-left: 10px;
        transition: transform 0.3s ease;
    }

    .footer-col-4 h4.widget-title::after {
        display: none;
    }

    .footer-widget p.widget-title.accordion-toggle.active::after {
        transform: rotate(-180deg);
    }

    .widget-links {
        display: none;
        padding-top: 15px;
    }

    .press-section {
        margin-left: 15px;
    }

    .related-project-item {
        flex-wrap: wrap;
        gap: 15px;
    }

    .related-project-info {
        flex-basis: 100%;
        order: 2;
    }

    .related-project-image {
        flex-basis: 100%;
        order: 1;
    }

    .related-project-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .related-project-item .btn-primary.btn-small {
        margin-left: 0;
        margin-top: 10px;
        order: 3;
    }

    .article-actions {
        justify-content: flex-start;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .author-profile-box {
        flex-direction: column;
        text-align: center;
    }

    .author-socials {
        justify-content: center;
    }

    .post-card-horizontal {
        flex-direction: column;
    }

    .post-card-thumbnail img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .project-params-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-side-images {
        display: none;
    }

    .project-title-detail {
        font-size: 28px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .overview-image {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-gallery-desktop {
        display: none;
    }

    .hero-gallery-mobile {
        display: block;
    }

    .project-hero-section {
        padding: 0;
    }

    .mobile-main-image {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .mobile-main-image a, .mobile-main-image img {
        border-radius: 0;
    }

    .mobile-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-thumbnail-wrapper::-webkit-scrollbar {
        display: none;
    }

    .hero-thumbnail-wrapper {
        width: 100%;
        overflow-x: auto;
        background-color: #fff;
        padding: 10px 15px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hero-thumbnail-scroller {
        display: flex;
        width: max-content;
        gap: 8px;
    }

    .hero-thumbnail-scroller .thumbnail-item {
        display: block;
        flex-shrink: 0;
        width: 120px;
        height: 80px;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s ease;
    }

    .hero-thumbnail-scroller .thumbnail-item.active {
        border-color: var(--primary-color);
    }

    .hero-thumbnail-scroller .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .timeline-container::after {
        left: 45px;
    }

    .timeline-item {
        padding: 10px 0;
    }

    .timeline-marker {
        left: 10px;
        transform: translateY(-50%);
        width: 70px;
        height: 70px;
        font-size: 14px;
        border-width: 3px;
    }

    .timeline-card {
        margin-left: 70px;
    }

    .timeline-image {
        margin-left: 70px;
        margin-top: 25px;
    }

    .floor-selector {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .floor-selector::-webkit-scrollbar {
        display: none;
    }

    .floor-selector .dropdown {
        display: contents;
    }

    .floor-selector .dropdown-toggle-btn {
        display: none;
    }

    .floor-selector .dropdown-menu {
        display: contents;
    }

    .floor-selector .dropdown-item {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 600;
        border: 1px solid var(--border-color);
        background-color: #fff;
        color: var(--text-dark);
        border-radius: 8px;
    }

    .amenities-desktop-layout {
        display: none;
    }

    .amenities-mobile-layout {
        display: block;
    }

    .amenities-section .content-limiter {
        padding: 0;
    }

    .amenities-section .section-header {
        padding: 0 15px;
    }

    .mobile-main-amenity {
        margin-left: 15px;
        margin-bottom: 15px;
        width: auto;
    }

    .amenities-mobile-layout .horizontal-scroll-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        margin-left: 0;
        margin-right: 0;
        margin-top: 15px;
    }

    .mobile-amenities-scroll {
        display: flex;
        gap: 15px;
        width: max-content;
        padding: 0 15px;
    }

    .amenity-card-mobile {
        width: 200px;
    }

    .amenity-overlay {
        flex-direction: column;
        padding: 10px;
    }

    .amenity-desc {
        font-size: 14px;
        line-height: 1.4;
        opacity: 0.85;
    }

    .mobile-main-amenity .amenity-overlay {
        margin-left: -15px;
        padding: 10px;
    }

    .carousel-slide {
        width: 80vw;
        flex-basis: 80vw;
    }

    .fixed-action-buttons .desktop-actions {
        display: none;
    }

    .desktop-actions {
        display: none;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .contact-section {
        display: block;
    }

    .subdivision-carousel-container {
        padding: 0;
    }

    .subdivision-carousel-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0px;
    }

    .subdivision-carousel-track {
        padding: 10px 15px;
        gap: 15px;
    }

    .subdivision-card {
        flex-basis: 80%;
        aspect-ratio: 3 / 4;
        scroll-snap-align: start;
    }

    .subdivision-carousel-container .arrow-btn {
        display: none;
    }

    .news-scroll-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .news-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .news-grid {
        display: flex;
        grid-template-columns: unset;
        width: max-content;
        gap: 15px;
        padding: 0 15px 0 20px;
    }

    .news-card {
        width: 80vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .projects-scroll-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        margin: 0px;
    }

    .projects-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .nearby-projects-grid {
        display: flex;
        grid-template-columns: unset;
        width: max-content;
        gap: 15px;
        padding: 0 15px;
    }

    .nearby-project-card {
        width: 80vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .header-footer-limiter, .content-limiter {
        padding: 0 15px;
    }

    .project-overview-section,
    .connectivity-section,
    .floor-plan-section,
    .amenities-section,
    .pricing-section,
    .payment-schedule-section,
    .handover-standards-section,
    .subdivision-section,
    .related-news-section,
    .nearby-projects-section,
    .contact-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .floor-plan-interactive-area {
        margin-left: -15px;
        margin-right: -15px;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .category-header h1 {
        font-size: 28px;
    }

    .search-section {
        padding: 15px;
    }

    .search-form {
        background-color: transparent;
        padding: 0;
        border: none;
    }

    .search-form input {
        border: 1px solid var(--border-color);
        background-color: #fff;
        border-radius: 8px;
    }

    .search-form button {
        border-radius: 8px;
        padding: 12px;
    }

    .article-card {
        flex-direction: column;
    }

    .article-thumbnail {
        width: 100%;
        aspect-ratio: 1366 / 768;
    }

    .article-content .article-title {
        font-size: 20px;
    }

    .topic-tabs-container {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .topic-tabs-container::-webkit-scrollbar {
        display: none;
    }

    .topic-tabs-container a {
        display: block;
        padding: 8px 15px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 15px;
        color: var(--text-dark);
        white-space: nowrap;
        transition: all 0.3s ease;
        border-bottom: 3px solid transparent;
    }

    .topic-tabs-container a:hover {
        background-color: #e9e9e9;
        color: var(--text-dark);
    }

    .topic-tabs-container a.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
    }

    .investor-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .investor-card img {
        max-width: 100px;
        max-height: 60px;
        margin-bottom: 10px;
    }

    .investor-card h3 {
        font-size: 14px;
    }

    .company-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .company-info h1 {
        font-size: 28px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .nearby-projects-grid.two-columns {
        display: grid;
        grid-template-columns: 1fr;
        width: auto;
        padding: 0;
        gap: 20px;
    }

    .nearby-projects-grid.two-columns .nearby-project-card {
        width: 100%;
    }

    .wiki-grid {
        grid-template-columns: 1fr;
    }

    .page-bottom-contact-section {
        display: block;
        padding: 40px 0;
    }

    .fixed-action-buttons .contact-float-btn {
        display: none;
    }
}

:root {
    --surface-1: #f5f5f3;
    --surface-2: #ffffff;
    --text-primary: #1a1a18;
    --border-strong: rgba(0,0,0,0.18);
    --radius: 8px;
    --green-dark: #004238;
    --green-bg: #e6f4ee;
}

@media (prefers-color-scheme: dark) {
    :root {
    --surface-1: #1e1e1c;
    --surface-2: #2a2a27;
    --text-primary: #e8e7e2;
    --border-strong: rgba(255,255,255,0.18);
    --green-bg: #0d2b1f;
    --green-dark: #7dd99b;
    }
}

.rs-wrap { 
    border-radius: 10px;
    background: white;
    max-width: 100%;
    padding: 10px 15px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.rs-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 8px;
    flex-wrap: wrap;
}

.rs-head p {
    margin-bottom: 0;
}

.rs-title { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.rs-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

.rs-slider-wrap { overflow: hidden; }

.rs-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.rs-card {
    flex: 0 0 calc(50% - 6px);
    background: #F9F9F8;
    border: 0.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rs-card:hover{
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 500px) {
    .rs-card { flex: 0 0 calc(33.333% - 8px); }
}

.rs-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0.5px solid var(--border);
}

.rs-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-thumb i { font-size: 36px; color: var(--text-muted); }

.rs-body { padding: 10px 12px 12px; }

.rs-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.4em * 2);
}

.rs-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rs-price { font-size: 15px; font-weight: 500; color: #d83c32; }
.rs-area { font-size: 12px; color: var(--text-muted); }

.rs-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.rs-bed {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 3px;
}

.rs-chip {
    font-size: 11px;
    color: var(--green-dark);
    background: var(--green-bg);
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
}

.rs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    position: relative;
}

.rs-nav .swiper-pagination{
    position:static;
    width:auto;
    text-align:left;
    flex:1;
}

.rs-nav .swiper-button-prev:after,
.rs-nav .swiper-button-next:after{
    display: none !important;
}
.rs-nav .swiper-button-prev, .rs-nav .swiper-button-next{
    position: static;
    margin: 0;
}

.rs-nav .swiper-pagination-bullet-active{
    background: var(--primary-color);
    width: 20px;
    border-radius: 10px;
}

.rs-nav .swiper-pagination-bullet{
    transition: all 0.3s;
}

/* .rs-nav .swiper-button-prev i, .rs-nav .swiper-button-next i{
    color: gray;
} */

.rs-arrows { display: flex; gap: 8px; }

.rs-arr {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0.5px solid var(--border-strong);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 16px;
    transition: background 0.15s;
    font-family: inherit;
}

.rs-arr:hover { background: var(--surface-1); }
.rs-arr:disabled { opacity: 0.3; cursor: default; }

.rs-cta {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 7px;
    text-align: center;
    border: 0.5px solid var(--green);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--green-dark);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    color: #555;
}

.rs-cta:hover { background: var(--green-bg); }