/**
 * Styles for Vietnam Real Estate Projects
 *
 * @package vn-real-estate-projects
 * @author Sơn Lê
 * @version 1.3.4
 */

/* Project Archive Styles */
.vn-real-estate-projects-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.vn-real-estate-projects-header {
    margin-bottom: 30px;
    text-align: center;
}

.vn-real-estate-projects-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.vn-real-estate-projects-description {
    color: #666;
    line-height: 1.6;
}

/* Filter Styles */
.vn-real-estate-projects-filter {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.vn-real-estate-projects-filter-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.vn-real-estate-projects-filter-field {
    margin-bottom: 10px;
}

.vn-real-estate-projects-filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
}

.vn-real-estate-projects-filter-field select,
.vn-real-estate-projects-filter-field input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.vn-real-estate-projects-filter-button {
    background-color: #2c73d2;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vn-real-estate-projects-filter-button:hover {
    background-color: #245fb1;
}

/* Projects Grid Styles */
.vn-real-estate-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vn-real-estate-project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.vn-real-estate-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.vn-real-estate-project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.vn-real-estate-project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vn-real-estate-project-card:hover .vn-real-estate-project-card-image img {
    transform: scale(1.1);
}

.vn-real-estate-project-card-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    background-color: #999;
}

.vn-real-estate-project-card-status.completed {
    background-color: #28a745;
}

.vn-real-estate-project-card-status.under-construction {
    background-color: #ffc107;
}

.vn-real-estate-project-card-status.upcoming {
    background-color: #dc3545;
}

.vn-real-estate-project-card-content {
    padding: 20px;
}

.vn-real-estate-project-card-title {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.vn-real-estate-project-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.vn-real-estate-project-card-title a:hover {
    color: #2c73d2;
}

.vn-real-estate-project-card-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.vn-real-estate-project-card-location i {
    margin-right: 5px;
    color: #888;
}

.vn-real-estate-project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #555;
}

.vn-real-estate-project-card-price,
.vn-real-estate-project-card-area,
.vn-real-estate-project-card-completion {
    display: flex;
    align-items: center;
}

.vn-real-estate-project-card-price i,
.vn-real-estate-project-card-area i,
.vn-real-estate-project-card-completion i {
    margin-right: 5px;
    color: #2c73d2;
}

.vn-real-estate-project-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.vn-real-estate-project-card-link {
    display: inline-flex;
    align-items: center;
    color: #2c73d2;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.vn-real-estate-project-card-link:hover {
    color: #245fb1;
}

.vn-real-estate-project-card-link i {
    margin-left: 5px;
}

/* Pagination Styles */
.vn-real-estate-projects-pagination {
    text-align: center;
    margin-top: 30px;
}

.vn-real-estate-projects-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.vn-real-estate-projects-pagination .page-numbers.current {
    background-color: #2c73d2;
    color: white;
    border-color: #2c73d2;
}

.vn-real-estate-projects-pagination .page-numbers:hover {
    background-color: #f5f5f5;
}

.vn-real-estate-projects-pagination .page-numbers.current:hover {
    background-color: #2c73d2;
}

.vn-real-estate-projects-pagination .prev,
.vn-real-estate-projects-pagination .next {
    font-weight: 500;
}

.vn-real-estate-projects-not-found {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .vn-real-estate-projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .vn-real-estate-projects-filter-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .vn-real-estate-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .vn-real-estate-projects-title {
        font-size: 24px;
    }
}

/* Project Detail Styles */
.vn-real-estate-project-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.vn-real-estate-project-header {
    margin-bottom: 30px;
}

.vn-real-estate-project-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.vn-real-estate-project-location {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.vn-real-estate-project-location i {
    margin-right: 5px;
    color: #888;
}

.vn-real-estate-project-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.vn-real-estate-project-header-meta > div {
    display: flex;
    flex-direction: column;
}

.vn-real-estate-project-header-meta .label {
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

.vn-real-estate-project-header-meta .value {
    font-weight: 500;
    color: #333;
}

.vn-real-estate-project-status.completed .value {
    color: #28a745;
}

.vn-real-estate-project-status.under-construction .value {
    color: #ffc107;
}

.vn-real-estate-project-status.upcoming .value {
    color: #dc3545;
}

.vn-real-estate-project-gallery {
    margin-bottom: 30px;
}

.vn-real-estate-project-main-image {
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.vn-real-estate-project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-real-estate-project-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.vn-real-estate-project-thumbnail {
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.vn-real-estate-project-thumbnail.active,
.vn-real-estate-project-thumbnail:hover {
    opacity: 1;
}

.vn-real-estate-project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-real-estate-project-body {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.vn-real-estate-project-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.vn-real-estate-project-section:last-child {
    border-bottom: none;
}

.vn-real-estate-project-section-title {
    font-size: 22px;
    color: #333;
    margin: 0 0 20px;
}

.vn-real-estate-project-description {
    color: #555;
    line-height: 1.7;
}

.vn-real-estate-project-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.vn-real-estate-project-feature {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.vn-real-estate-project-feature i {
    color: #28a745;
    margin-right: 10px;
}

.vn-real-estate-project-units {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.vn-real-estate-project-unit {
    margin-bottom: 10px;
}

.vn-real-estate-project-unit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vn-real-estate-project-unit-header:hover {
    background: #eef1f5;
}

.vn-real-estate-project-unit-content {
    padding: 20px;
    border-top: 1px solid #eee;
}

.vn-real-estate-project-unit-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.vn-real-estate-project-unit-detail {
    display: flex;
    flex-direction: column;
}

.vn-real-estate-project-unit-detail .label {
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

.vn-real-estate-project-unit-detail .value {
    font-weight: 500;
}

.vn-real-estate-project-unit-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vn-real-estate-project-unit-image {
    max-height: 300px;
    overflow: hidden;
    border-radius: 5px;
}

.vn-real-estate-project-unit-image img {
    width: 100%;
    height: auto;
}

.vn-real-estate-project-map {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

.vn-real-estate-project-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vn-real-estate-project-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vn-real-estate-project-document {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.vn-real-estate-project-document:hover {
    background: #eef1f5;
}

.vn-real-estate-project-document i {
    margin-right: 10px;
    color: #2c73d2;
}

.vn-real-estate-project-developer {
    display: flex;
    gap: 30px;
}

.vn-real-estate-project-developer-logo {
    flex: 0 0 150px;
}

.vn-real-estate-project-developer-logo img {
    max-width: 100%;
    height: auto;
}

.vn-real-estate-project-developer-info {
    flex: 1;
}

.vn-real-estate-project-developer-info h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.vn-real-estate-project-developer-info a {
    color: #2c73d2;
    text-decoration: none;
}

.vn-real-estate-project-developer-info a:hover {
    text-decoration: underline;
}

.vn-real-estate-project-contact {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.vn-real-estate-project-contact h3 {
    margin: 0 0 15px;
    font-size: 18px;
}

.vn-real-estate-project-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vn-real-estate-project-contact-info span {
    display: flex;
    align-items: center;
}

.vn-real-estate-project-contact-info i {
    margin-right: 10px;
    color: #2c73d2;
}

.vn-real-estate-project-contact-info a {
    color: #2c73d2;
    text-decoration: none;
}

.vn-real-estate-project-contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .vn-real-estate-project-main-image {
        height: 350px;
    }
    
    .vn-real-estate-project-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .vn-real-estate-project-features {
        grid-template-columns: 1fr;
    }
    
    .vn-real-estate-project-unit-details {
        grid-template-columns: 1fr;
    }
    
    .vn-real-estate-project-developer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .vn-real-estate-project-header h1 {
        font-size: 24px;
    }
    
    .vn-real-estate-project-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vn-real-estate-project-section {
        padding: 20px;
    }
    
    .vn-real-estate-project-map {
        height: 300px;
    }
}

/* Thêm CSS mới cho template kiểu batdongsan.com.vn */

/* Banner style */
.vn-real-estate-project-banner {
    height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.vn-real-estate-project-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
}

.vn-real-estate-project-banner-content {
    padding: 30px;
    color: #fff;
    max-width: 100%;
}

.vn-real-estate-project-banner-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.vn-real-estate-project-banner-address {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.vn-real-estate-project-banner-address i {
    margin-right: 10px;
}

/* Info bar */
.vn-real-estate-project-info-bar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.vn-real-estate-project-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.vn-real-estate-project-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 0;
}

.vn-real-estate-project-info-item {
    flex: 1;
    min-width: 160px;
    padding: 10px 15px;
    text-align: center;
    border-right: 1px solid #eee;
}

.vn-real-estate-project-info-item:last-child {
    border-right: none;
}

.info-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.info-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff !important;
    background: #999;
}

.info-status.completed {
    background: #28a745;
}

.info-status.under-construction {
    background: #ffc107;
    color: #333 !important;
}

.info-status.upcoming {
    background: #dc3545;
}

/* Content and Tabs */
.vn-real-estate-project-content {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.vn-real-estate-project-tabs {
    margin-bottom: 30px;
}

.vn-real-estate-project-tabs-nav {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.vn-real-estate-project-tabs-nav li {
    margin-bottom: -1px;
}

.vn-real-estate-project-tabs-nav li a {
    display: block;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.vn-real-estate-project-tabs-nav li.active a {
    border-color: #dee2e6 #dee2e6 #fff;
    color: #007bff;
}

.vn-real-estate-project-tabs-nav li a:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
}

.vn-real-estate-project-tabs-content {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 25px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Tổng quan Tab */
.vn-real-estate-project-description {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.vn-real-estate-project-scale h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.scale-content {
    line-height: 1.8;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

/* Tiện ích Tab */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.vn-real-estate-project-feature-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.vn-real-estate-project-feature-item i {
    color: #28a745;
    margin-right: 10px;
    font-size: 18px;
}

/* Vị trí Tab */
.location-address {
    margin-bottom: 25px;
}

.location-address h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.location-address p {
    display: flex;
    align-items: center;
}

.location-address i {
    margin-right: 10px;
    color: #dc3545;
}

.vn-real-estate-project-map {
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
}

/* Mặt bằng Tab */
.vn-real-estate-project-unit-item {
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.vn-real-estate-project-unit-header {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vn-real-estate-project-unit-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.unit-toggle i {
    transition: transform 0.3s;
}

.vn-real-estate-project-unit-header[aria-expanded="true"] .unit-toggle i {
    transform: rotate(180deg);
}

.vn-real-estate-project-unit-content {
    padding: 20px;
}

.unit-details {
    display: flex;
    flex-wrap: wrap;
}

.unit-info {
    flex: 1;
    min-width: 250px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.unit-info-item {
    margin-bottom: 10px;
    display: flex;
}

.unit-info-item .label {
    min-width: 120px;
    color: #888;
}

.unit-info-item .value {
    font-weight: 500;
}

.unit-description {
    flex: 2;
    min-width: 300px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.unit-image {
    width: 100%;
    margin-top: 20px;
}

.unit-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Gallery Tab */
.vn-real-estate-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Video & 3D Tab */
.vn-real-estate-project-videos h3,
.vn-real-estate-project-virtual-tour h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.vn-real-estate-project-video {
    border-radius: 5px;
    overflow: hidden;
}

.virtual-tour-container {
    margin-top: 20px;
}

/* Chủ đầu tư Tab */
.vn-real-estate-project-developer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.vn-real-estate-project-developer-logo {
    flex: 0 0 auto;
    max-width: 200px;
}

.vn-real-estate-project-developer-logo img {
    max-width: 100%;
    height: auto;
}

.vn-real-estate-project-developer-info {
    flex: 1;
}

.developer-name {
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
}

.developer-name a {
    color: #007bff;
    text-decoration: none;
}

.developer-name a:hover {
    text-decoration: underline;
}

.developer-description {
    line-height: 1.7;
}

/* Contact Section */
.vn-real-estate-project-contact-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.vn-real-estate-project-contact {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vn-real-estate-project-contact h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.vn-real-estate-project-contact-info {
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-item i {
    width: 30px;
    color: #007bff;
    font-size: 18px;
}

.contact-label {
    width: 100px;
    color: #666;
}

.contact-value a {
    color: #007bff;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.vn-real-estate-project-documents h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.documents-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vn-real-estate-project-document {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #e9ecef;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.vn-real-estate-project-document:hover {
    background: #dee2e6;
}

.vn-real-estate-project-document i {
    margin-right: 8px;
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .vn-real-estate-project-banner {
        height: 300px;
    }
    
    .vn-real-estate-project-info-item {
        flex: 0 0 calc(33.333% - 30px);
        border-right: none;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .vn-real-estate-project-banner-content h1 {
        font-size: 24px;
    }
    
    .vn-real-estate-project-info-item {
        flex: 0 0 calc(50% - 30px);
    }
    
    .vn-real-estate-project-tabs-nav li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .vn-real-estate-project-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .vn-real-estate-project-map {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .vn-real-estate-project-banner {
        height: 250px;
    }
    
    .vn-real-estate-project-info-item {
        flex: 0 0 100%;
    }
    
    .vn-real-estate-project-tabs-content {
        padding: 15px;
    }
    
    .gallery-item {
        height: 120px;
    }
    
    .vn-real-estate-project-map {
        height: 300px;
    }
}

/* Loan Calculator Widget */
.vn-real-estate-loan-calculator {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

.vn-loan-calculator-field {
    margin-bottom: 15px;
}

.vn-loan-calculator-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.vn-loan-calculator-input {
    position: relative;
    display: flex;
    align-items: center;
}

.vn-loan-calculator-input input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
}

.vn-loan-calculator-currency,
.vn-loan-calculator-unit {
    position: absolute;
    right: 10px;
    color: #666;
    font-weight: 600;
}

.vn-loan-calculator-row {
    display: flex;
    gap: 15px;
}

.vn-loan-calculator-col {
    flex: 1;
}

.vn-loan-calculator-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
}

/* Results section */
.vn-loan-calculator-results {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.vn-loan-calculator-results-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.vn-loan-calculator-total {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.vn-loan-calculator-progress {
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
}

.vn-loan-calculator-progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: width 0.3s ease;
}

.vn-loan-calculator-progress-equity {
    background-color: #27ae60;
}

.vn-loan-calculator-progress-principal {
    background-color: #8e44ad;
}

.vn-loan-calculator-progress-interest {
    background-color: #f39c12;
}

.vn-loan-calculator-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.vn-loan-calculator-breakdown li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.vn-loan-calculator-equity .vn-loan-calculator-label:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #27ae60;
    margin-right: 5px;
}

.vn-loan-calculator-principal .vn-loan-calculator-label:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #8e44ad;
    margin-right: 5px;
}

.vn-loan-calculator-interest .vn-loan-calculator-label:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f39c12;
    margin-right: 5px;
}

.vn-loan-calculator-label {
    color: #666;
    font-size: 14px;
}

.vn-loan-calculator-value {
    font-weight: 600;
    color: #333;
}

.vn-loan-calculator-monthly {
    background-color: #f7f9fa;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.vn-loan-calculator-monthly .vn-loan-calculator-value {
    font-size: 18px;
    font-weight: 700;
    color: #e53935;
}

.vn-loan-calculator-details-button {
    width: 100%;
    padding: 10px;
    background-color: #2980b9;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vn-loan-calculator-details-button:hover {
    background-color: #3498db;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .vn-loan-calculator-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .vn-loan-calculator-total {
        font-size: 20px;
    }
    
    .vn-loan-calculator-progress-percent {
        display: none;
    }
}

/* Top Title mặc định */
.vn-real-estate-top-title {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}

.vn-real-estate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.vn-real-estate-top-title-heading h1 {
    font-size: 28px;
    margin: 0 0 10px;
    color: #333;
}

.vn-real-estate-breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vn-real-estate-breadcrumbs li {
    display: flex;
    align-items: center;
    margin-right: 5px;
    color: #666;
    font-size: 14px;
}

.vn-real-estate-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.vn-real-estate-breadcrumbs a:hover {
    color: #2c73d2;
}

.vn-real-estate-breadcrumbs-separator {
    margin: 0 5px;
    color: #999;
}

.vn-real-estate-breadcrumbs-current {
    color: #2c73d2;
    font-weight: 500;
}

@media (max-width: 768px) {
    .vn-real-estate-top-title {
        padding: 30px 0;
    }
    
    .vn-real-estate-top-title-heading h1 {
        font-size: 24px;
    }
} 