/*
 * Tema: single-propiedad
 * Descripción: Estilos específicos para la plantilla de página individual de propiedades.
 * Autor: InmoProptech
 * Versión: 1.0.7
 */
/* ========================================= */
/* === Estilos generales para el contenedor principal === */
/* ========================================= */
.property-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

/* ========================================= */
/* === Contenedores de fondo blanco para cada bloque === */
/* ========================================= */
.property-overview-block {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 20px;
}

.property-nav,
.property-section {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 20px;
}

/* Ajuste para los enlaces de ancla */
:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

/* Asegurar que los títulos de las secciones tengan espacio suficiente */
.property-section h2 {
    padding-top: 80px;
    margin-top: -60px;
}

/* ========================================= */
/* === Estilos del Encabezado de la Propiedad === */
/* ========================================= */
.custom-property-header .header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.custom-property-header .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.custom-property-header .header-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-property-header .header-nav-buttons .nav-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.custom-property-header .header-nav-buttons .nav-btn i {
    margin-right: 5px;
}

.custom-property-header .header-nav-buttons .btn-mis-propiedades {
    background-color: #e0ecfb;
    color: #074EBA;
    white-space: nowrap;
}

.custom-property-header .header-nav-buttons .btn-mis-propiedades:hover {
    background-color: #c6d9f3;
    color: #053b8e;
}

.custom-property-header .header-nav-buttons .btn-whatsapp {
    background-color: #25D366;
    color: white;
    white-space: nowrap;
}

.custom-property-header .header-nav-buttons .btn-whatsapp:hover {
    background-color: #1DA851;
}

.custom-property-header .header-nav-buttons .menu-toggle {
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 1.8rem;
    padding: 0;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}

.custom-property-header .header-nav-buttons .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================= */
/* === Estilos del Menú Móvil === */
/* ========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 999;
    padding-top: 60px;
    list-style: none;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.mobile-menu li a:hover {
    background-color: #f0f0f0;
    color: #0367FD;
    border-bottom: 1px solid #0367FD;
}

/* ========================================= */
/* === Estilos del Encabezado de la Propiedad === */
/* ========================================= */
.property-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.property-title-info h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.property-address {
    font-size: 15px;
    color: #666;
    margin-top: 5px;
}

.property-buttons-section {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.btn-property-type {
    background-color: #e0ecfb;
    color: #0367FD;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-property-type:hover {
    background-color: #c6d9f3;
    color: #053b8e;
}

.btn-operation-type {
    background-color: #0367FD;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.btn-operation-type:hover {
    background-color: #053b8e;
}

/* Selector más específico para el precio principal */
.single-propiedad-page .property-price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 1.2rem;
    font-weight: 700; /* <-- Peso final: 700 */
    color: #000;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    background-color: #0367FD;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-contact i {
    margin-right: 8px;
}

.btn-contact:hover {
    background-color: #053b8e;
}

/* ========================================= */
/* === Estilos de la Galería de Imágenes === */
/* ========================================= */
.property-media-section {
    margin-bottom: 30px;
}

.property-main-media {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.main-image-container {
    height: 400px; 
    overflow: hidden;
    border-radius: 8px;
}

.main-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* --- Estilos para Galería Vertical (Corregido) --- */
.side-media-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px; /* <-- LÍNEA AÑADIDA: Forzamos la misma altura que la imagen principal */
}

.side-media-image-block {
    display: block;
    position: relative;
    width: 100%;
    height: calc(50% - 10px); /* Este cálculo ahora funcionará correctamente */
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.side-media-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-images-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 16px !important; /* <-- TAMAÑO CORREGIDO Y FORZADO */
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

/* --- Adaptación a Móviles para la Nueva Galería --- */
@media (max-width: 768px) {

    .property-main-media {
        grid-template-columns: 1fr;
    }
    .main-image-container {
        height: 250px;
    }
    .side-media-blocks {
        height: auto; /* Dejamos que la altura en móvil sea automática */
        flex-direction: row;
        gap: 15px;
    }
    .side-media-image-block {
        height: 120px;
        width: 50%;
    }
}
/* ========================================= */
/* === Estilos de las Características Principales === */
/* ========================================= */
.property-features-section {
    margin-top: 20px;
    margin-bottom: 30px;
}

.key-features {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px 30px !important;
    padding: 15px 20px !important;
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    align-items: center !important;
}

.feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    height: auto !important;
    padding: 5px 0;
}

.feature-item .feature-icon {
    height: 32px !important;
    width: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    filter: invert(24%) sepia(99%) saturate(6970%) hue-rotate(218deg) brightness(97%) contrast(92%) !important;
}

.feature-item .feature-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: auto !important;
}

.feature-item .feature-label {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.feature-item .feature-value {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* ========================================= */
/* === Estilos del Menú y Pestañas === */
/* ========================================= */
.property-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    padding-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.property-nav::-webkit-scrollbar {
    height: 8px;
}

.property-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.property-nav::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.property-nav::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.nav-tab {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
}

.nav-tab:hover,
.nav-tab.active {
    color: #0367FD;
    border-color: #0367FD;
}

/* ========================================= */
/* === Estilos de la Zona Circundante (Carrusel) === */
/* ========================================= */
.zona-circundante {
    position: relative;
    padding-bottom: 20px;
}

.zona-circundante h3 {
    font-size: 16px;
    font-weight: 400;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-align: center;
}

.carrusel-container {
    position: relative;
    padding: 0 40px;
}

.carrusel-wrapper {
    overflow: hidden;
}

.zona-grid-carrusel {
    display: grid;
    grid-auto-flow: column;
    gap: 1rem;
    transition: transform 0.5s ease-in-out;
}

.zona-item {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zona-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.zona-item .fas {
    font-size: 1.5rem;
    color: #0367FD;
}

.zona-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.zona-label {
    font-size: 15px;
    font-weight: 400;
    color: #2d3748;
    margin-bottom: 0.2rem;
    text-align: left;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #1a202c;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrusel-btn:hover {
    color: #0367FD;
}

.carrusel-btn.prev-btn {
    left: 0;
}

.carrusel-btn.next-btn {
    right: 0;
}

/* ========================================= */
/* === Secciones Varias === */
/* ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding-top: 60px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

body.single-propiedad .wp-post-image {
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
}

body.single-propiedad .wp-post-image:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* ========================================= */
/* === Overrides FAVE === */
/* ========================================= */
.property-features-section .key-features {
    width: 100%;
}

.property-features-section .feature-item {
    justify-content: center !important;
}

.property-features-section .feature-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.property-features-section .feature-value,
.property-features-section .feature-label {
    width: 100%;
    text-align: center !important;
    margin-left: 0 !important;
}

@media (min-width: 1024px) {
    .property-features-section .key-features {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* ========================================= */
/* === Fixes Generales === */
/* ========================================= */
.single-propiedad-container,
.gallery-container,
.key-features,
.feature-list,
.galeria-principal,
.galeria-thumbs {
    box-sizing: border-box;
    max-width: 100%;
}

.single-propiedad-container {
    overflow-x: hidden;
}

.gallery-container img,
.gallery-main img,
.gallery-thumbs img,
.galeria-miniaturas img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.key-features,
.feature-list,
.otras-caracteristicas-lista,
.propiedad-details-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.key-feature-item,
.feature-item,
.detail-item,
.key-feature-item > * {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.key-feature-value,
.feature-value,
.detail-value,
.feature-label,
.key-feature-label {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.feature-icon,
.key-feature-icon {
    flex-shrink: 0;
    max-width: 48px;
    max-height: 48px;
}

.single-propiedad-container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ========================================= */
/* === Media Queries === */
/* ========================================= */
@media (max-width: 992px) {
    .custom-property-header .header-nav-buttons .btn-mis-propiedades {
        display: none;
    }
    .custom-property-header .header-right {
        gap: 10px;
    }
    .custom-property-header .search-button {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .custom-property-header {
        padding: 8px 5px;
    }
    .custom-property-header .header-inner-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .custom-property-header .header-left,
    .custom-property-header .header-right {
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 0;
    }
    .custom-property-header .header-center {
        order: 3;
        margin-top: 10px;
        flex-basis: 100%;
    }
    .custom-property-header .header-nav-buttons {
        justify-content: center;
        width: 100%;
    }
    .custom-property-header .search-bar-wrapper {
        max-width: 100%;
    }
    .custom-property-header .header-left .logo img {
        height: 35px;
    }
    .custom-property-header .header-nav-buttons .btn-whatsapp {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    .custom-property-header .header-nav-buttons .menu-toggle {
        font-size: 1.3rem;
        height: 35px;
        width: 35px;
    }
    .property-main-media {
        grid-template-columns: 1fr;
    }
    .main-image-container {
        height: 250px;
    }
    .image-slider-container {
        height: 250px;
    }
    .property-header-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .property-price-info {
        margin-top: 15px;
        align-items: flex-start;
    }
    .key-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .feature-item {
        align-items: flex-start !important;
    }
    .property-buttons-section {
        justify-content: flex-start;
    }
    .image-slide {
        flex: 0 0 90%;
    }
}

@media (max-width: 1024px) {
    .key-features,
    .feature-list,
    .propiedad-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }
    .gallery-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .key-features,
    .feature-list,
    .propiedad-details-grid {
        grid-template-columns: 1fr !important;
    }
    .gallery-thumbs img,
    .galeria-miniaturas img {
        height: 110px !important;
    }
}





/* ========================================= */
/* Estilos para la sección "Descripción Técnica"
/* ========================================= */


#descripcion-tecnica .technical-subsection {
    margin-bottom: 2rem;
}

#descripcion-tecnica .technical-subsection h3 {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

#descripcion-tecnica .technical-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

#descripcion-tecnica .technical-feature {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f7fafc;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#descripcion-tecnica .technical-icon {
    margin-right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#descripcion-tecnica .technical-icon img {
    width: 2.0rem;
    height: 2.0rem;
    filter: brightness(0) saturate(100%) invert(27%) sepia(99%) saturate(2000%) hue-rotate(220deg) brightness(90%) contrast(100%);
}

#descripcion-tecnica .technical-label {
    font-weight: 500;
    color: #4a5568;
    font-size: 15px;
    flex-grow: 1;
}

#descripcion-tecnica .technical-value {
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
}






/* ========================================= */
/* === Estilos para la sección "Apto Para"  === */
/* ========================================= */

/* Estilos para la sección "Apto Para" */
#apto-para.property-section {
    background-color: #fff;
    border-radius: 0.5rem;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

#apto-para.property-section h2 {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

#apto-para .technical-container {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}

#apto-para .technical-subsection {
    margin-bottom: 2rem;
}

#apto-para .technical-subsection h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}

#apto-para .technical-features-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
}

#apto-para .technical-feature-compact {
    flex: 1 1 calc(20% - 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    padding: 0.5rem;
    box-sizing: border-box;
}

#apto-para .icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
}

#apto-para .technical-icon-compact {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(99%) saturate(2000%) hue-rotate(220deg) brightness(95%) contrast(100%);
}

#apto-para .technical-text-compact {
    font-size: 15px; /* Cambia este valor para ajustar el tamaño del texto */
    color: #2d3748;
    text-align: center;
    width: 100%;
    word-break: break-word;
    line-height: 1.2;
}


/* Media Queries para "Apto Para" */
@media (max-width: 1200px) {
    #apto-para .technical-feature-compact {
        flex: 1 1 calc(25% - 1rem);
    }
}

@media (max-width: 992px) {
    #apto-para .technical-feature-compact {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    #apto-para .technical-feature-compact {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    #apto-para .technical-feature-compact {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 0.75rem;
    }
}



/* Estilos para la sección "Cumplimiento Normativo" */
#cumplimiento-normativo.property-section {
    background-color: #fff;
    border-radius: 0.5rem;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

#cumplimiento-normativo.property-section h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

#cumplimiento-normativo .technical-container {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}

#cumplimiento-normativo .technical-features-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
}

#cumplimiento-normativo .technical-feature-compact {
    flex: 1 1 calc(20% - 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    padding: 0.5rem;
    box-sizing: border-box;
}

#cumplimiento-normativo .icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
}

#cumplimiento-normativo .technical-icon-compact {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(99%) saturate(2000%) hue-rotate(220deg) brightness(95%) contrast(100%);
}

#cumplimiento-normativo .technical-text-compact {
    font-size: 15px;
    color: #2d3748;
    text-align: center;
    width: 100%;
    word-break: break-word;
    line-height: 1.2;
}

/* Media Queries para "Cumplimiento Normativo" */
@media (max-width: 1200px) {
    #cumplimiento-normativo .technical-feature-compact {
        flex: 1 1 calc(25% - 1rem);
    }
}

@media (max-width: 992px) {
    #cumplimiento-normativo .technical-feature-compact {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    #cumplimiento-normativo .technical-feature-compact {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    #cumplimiento-normativo .technical-feature-compact {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 0.75rem;
    }
}







/* Estilos para la sección "Multimedia" */
#multimedia.property-section {
    background-color: #fff;
    border-radius: 0.5rem;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

#multimedia.property-section h2 {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

#multimedia .technical-container {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}

#multimedia .multimedia-subsection {
    margin-bottom: 2rem;
}

#multimedia .multimedia-subsection h3 {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 700;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}

#multimedia .multimedia-content {
    width: 100%;
    margin: 0 auto;
}

#multimedia .multimedia-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#multimedia .multimedia-iframe {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media Queries para "Multimedia" */
@media (max-width: 768px) {
    #multimedia .multimedia-iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #multimedia .multimedia-iframe {
        height: 250px;
    }
}


/* Estilo uniforme para los títulos de las secciones en la Ficha Técnica */
.property-section h2 {
    font-size: 1.2rem !important;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

/*
 * Solución definitiva para el peso de la fuente del precio en la Ficha Técnica
 */
.single-propiedad-page .property-price-info .price-value {
    font-weight: 700 !important;
}

/* ========================================= */
/* === Estilos para la Descripción del Inmueble === */
/* ========================================= */
#descripcion-general .descripcion-general-content p {
    font-size: 15px;      /* Un poco más grande que el texto base */
    line-height: 1.7;       /* Mayor espaciado entre líneas */
    color: #4a5568;         /* Un tono de gris oscuro para suavizar la lectura */
    font-weight: 400;       /* <-- LÍNEA AÑADIDA (400 es normal, 700 es negrita) */
}