/* Estilos específicos para la página de índice de Aprende */

.aprende-header {
    text-align: center;
    max-width: 700px;
    margin: 0.8rem auto 3rem auto;
}

.aprende-header h1 {
    font-size: 2.5rem;
    color: var(--color-principal);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.aprende-header p {
    font-size: 1.1rem;
    color: #555;
}

.aprende-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna en móvil por defecto */
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.aprende-card {
    display: block;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-texto);
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.aprende-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

/* El sombreado alternado que sugeriste */
.aprende-card:nth-child(even) {
    background-color: #fdfdfd; 
}

.card-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 169, 143, 0.08); /* Verde principal con mucha transparencia */
    z-index: 0;
}

.card-title {
    font-size: 1.4rem;
    color: var(--color-principal);
    margin-bottom: 0.75rem;
    position: relative; /* para que esté por encima del número */
    z-index: 1;
}

.card-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-cta {
    font-weight: 600;
    color: var(--color-principal);
    position: relative;
    z-index: 1;
}

/* Media query para pantallas más grandes (tablets y desktop) */
@media (min-width: 768px) {
    .aprende-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    }
}
@media (max-width: 768px) {
    .aprende-header h1 {
        font-size: 2rem;
    }
}