@charset "utf-8";

/* Estilos SOLO para el currículum */
.curriculum {
    font-family: 'Arial', sans-serif;
	font-size: 0.8em;
    margin: 40px auto;
    max-width: 960px;
    line-height: 1.0;
    color: #333;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.curriculum h1,
.curriculum h2,
.curriculum h3,
.curriculum h4 {
    font-weight: bold;
    color: #222;
}

.curriculum h1 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    text-align: center;
}

.curriculum h2 {
    font-size: 1.8em;
    margin-top: 1.8em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5em;
}

.curriculum h3 {
    font-size: 1.0em;
    margin-top: 1em;
}

.curriculum h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0.5em;
}

.curriculum .section {
    margin-bottom: 3em;
}

.curriculum .subsection {
    margin-bottom: 1.5em;
}

.curriculum .date {
    font-style: italic;
    color: #777;
    margin-bottom: 0.5em;
}

.curriculum ul {
    list-style-type: disc;
    padding-left: 20px;
}

.curriculum li {
    margin-bottom: 0.5em;
}

.curriculum a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.curriculum a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.curriculum header {
    margin-bottom: 2em;
}

.curriculum header p {
    color: #555;
    font-style: italic;
    text-align: center;
}

/* Experiencia Profesional (Opción con dos columnas adaptable) */
.curriculum #experiencia .trabajo {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    margin-bottom: 2em;
    align-items: flex-start;
}

.curriculum #experiencia .trabajo h3 {
    margin-bottom: 0;
}

.curriculum #experiencia .trabajo .fecha {
    text-align: right;
}

@media (max-width: 768px) {
    .curriculum #experiencia .trabajo {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .curriculum #experiencia .trabajo .fecha {
        text-align: left;
    }
}

/* Estilos para "Sobre Mí" */
.curriculum #sobre-mi ul {
    list-style-type: none;
    padding-left: 0;
}

.curriculum #sobre-mi li {
    margin-bottom: 0.8em;
}

/* Media Queries generales para mejor responsividad (AHORA DENTRO DE .curriculum) */
@media (max-width: 992px) {
    .curriculum {
        font-size: 15px;
        margin: 30px auto; /* Mantener el centrado */
    }
}

@media (max-width: 768px) {
    .curriculum {
        font-size: 14px;
        margin: 20px auto; /* Mantener el centrado */
        padding: 20px;
    }

    .curriculum h1 {
        font-size: 2em;
    }

    .curriculum h2 {
        font-size: 1.5em;
    }

    .curriculum h3 {
        font-size: 1.2em;
    }
}