/* --- Estilos principales de la página y tipografía --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* --- Estilos del encabezado (Header y Navbar) --- */
.hero-header {
    background-color: #1a237e;
    color: white;
    position: relative;
    /* Estilo de altura y fondo omitido para mantenerlo limpio, pero puedes añadir: height: 400px; */
}

.header-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.top-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo-header img {
    height: 50px;
}

.navbar a, .dropdown span {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
}

/* --- Estilos del Contenido principal (.page-content) --- */
.page-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 40px auto;
    line-height: 1.6;
}

.page-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.page-content h3 {
    font-size: 1.8rem;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- Estilos de Tablas (.content-table) --- */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
    background-color: #007bff;
    color: #ffffff;
    text-align: left;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    text-align: left;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

/* --- Estilos para imágenes en el cuerpo del contenido --- */
.image-container {
    text-align: center;
    margin: 30px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
}

/* --- Estilos del pie de página (Footer) --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #34495e;
    color: white;
    margin-top: 20px;
}