/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #0066cc;
    color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

header h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Navegación */
nav {
    background-color: white;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
    color: #0066cc;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Contenido principal */
main {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 2.5em;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

h2 {
    color: #0066cc;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Enlaces */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Listas */
ul, ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* Cajas de contenido */
.content-box {
    background-color: #f9f9f9;
    border-left: 4px solid #0066cc;
    padding: 15px;
    margin: 20px 0;
}

.pillar-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pillar-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pillar-card h3 {
    margin-top: 0;
    color: #0066cc;
}

/* Subpáginas */
.subpage-links {
    background-color: #f0f7ff;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.subpage-links ul {
    margin-left: 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
}
