/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
}


/* Estilos para selector de idioma */
.lang-switch {
    margin-top: 10px;
    text-align: center;
}

.lang-switch label {
    margin-right: 8px;
    font-size: 0.9em;
    color: #ffffff;
}

.lang-switch select {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
}

header {
    background-color: #003366;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

/* Estilo para la marca del sitio (nombre y cargo) */
.site-brand h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.site-brand p {
    margin: 5px 0 15px;
    font-size: 1em;
    font-weight: 300;
}

header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

header p {
    margin: 5px 0 15px;
    font-size: 1em;
    font-weight: 300;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 10px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #005299;
}

nav a[aria-current="page"] {
    background-color: #005299;
    font-weight: bold;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
    border-bottom: 2px solid #003366;
    padding-bottom: 5px;
    color: #003366;
}

section h3 {
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #005299;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

footer {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}

a {
    color: #003366;
    text-decoration: underline;
}

a:hover {
    color: #005299;
}

/* Clases específicas */
.about p {
    margin-bottom: 15px;
}

.publication-list li {
    margin-bottom: 12px;
}