/* Estilos compartidos para las páginas de períodos */
.main-content {
    padding: 2rem 0;
}

.contenido-section {
    margin-bottom: 3rem;
}

.contenido-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-left: 5px solid #dc3545;
}

.contenido-title {
    color: #dc3545;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gramatica-section, .vocabulario-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

.gramatica-section h4, .vocabulario-section h4 {
    color: #007bff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.gramatica-section p, .vocabulario-section p {
    color: #555;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.ejemplos {
    margin-top: 1rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 3px solid #2196f3;
}

.ejemplos h5 {
    color: #2196f3;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ejemplos ul {
    margin: 0;
    padding-left: 1.5rem;
}

.ejemplos li {
    color: #555;
    margin-bottom: 0.3rem;
}

.indicadores-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
}

.indicadores-section h3 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.indicadores-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.indicadores-section li {
    color: #856404;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.back-to-home a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 1em 2em;
    border-radius: 2em;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.back-to-home a:hover {
    background: #0056b3;
}