/* =================================================================== */
/* CSS ESPECÍFICO PARA MÓDULOS DE MAPA MENTAL (v2.1 - Mejorado)      */
/* =================================================================== */

body.layout-fullscreen {
    padding: 20px; /* Reducido para mejor ajuste inicial */
    box-sizing: border-box;
}

.layout-fullscreen .main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.layout-fullscreen .map-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.layout-fullscreen h1 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin: 0 0 10px 0;
    border-bottom: none;
}

.layout-fullscreen .description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- NUEVO: Contenedor para el botón de regresar --- */
.map-header-actions {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.layout-fullscreen #mindmap-container {
    width: 100%;
    height: 75vh;
    min-height: 600px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    background-color: var(--color-paper);
    overflow: hidden;
}

.layout-fullscreen svg.markmap {
    width: 100%;
    height: 100%;
}

/* --- NUEVO: Unifica la tipografía dentro del mapa --- */
.markmap text {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
}

.layout-fullscreen .credit {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-top: 15px;
}

/* --- NUEVO: Media Query para Responsividad --- */
@media (max-width: 768px) {
    body.layout-fullscreen {
        padding: 15px;
    }

    .layout-fullscreen h1 {
        font-size: 1.8rem; /* Título más pequeño en móviles */
    }

    .layout-fullscreen .description {
        font-size: 1rem; /* Descripción más pequeña */
    }

    .layout-fullscreen #mindmap-container {
        height: 70vh; /* Un poco menos de altura en móviles */
        min-height: 500px;
    }
}
