/* Idearte Core Global Styles */

:root {
    --idearte-primary: #1A1A1A;
    --idearte-secondary: #4A4A4A;
    --idearte-accent: #D4AF37; /* Ejemplo: Dorado sobrio */
    --idearte-bg: #FAFAFA;
    --idearte-text: #333333;
    --idearte-border: #EAEAEA;
    --idearte-radius: 8px;
    --idearte-font: 'Inter', sans-serif;
}

/* Base resets for custom widgets */
.idearte-beneficios-grid,
.idearte-ruta-container,
.idearte-profesores-grid {
    font-family: var(--idearte-font);
    box-sizing: border-box;
}

/* Beneficios Grid */
.idearte-beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.idearte-beneficio-card {
    background: #fff;
    border: 1px solid var(--idearte-border);
    border-radius: var(--idearte-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.idearte-beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.idearte-beneficio-icon {
    font-size: 2.5rem;
    color: var(--idearte-accent);
    margin-bottom: 1rem;
}

.idearte-beneficio-title {
    font-size: 1.25rem;
    color: var(--idearte-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.idearte-beneficio-desc {
    font-size: 0.95rem;
    color: var(--idearte-text);
    line-height: 1.5;
}

/* Ruta Aprendizaje */
.idearte-ruta-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.idearte-ruta-nivel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 1.5rem 2rem;
    border: 1px solid var(--idearte-border);
    border-radius: var(--idearte-radius);
    min-width: 150px;
}

.idearte-ruta-numero {
    font-size: 2rem;
    font-weight: 700;
    color: var(--idearte-accent);
    margin-bottom: 0.5rem;
}

.idearte-ruta-title {
    font-size: 1.1rem;
    color: var(--idearte-primary);
    margin: 0;
}

.idearte-ruta-flecha {
    font-size: 2rem;
    color: var(--idearte-secondary);
}

/* Grilla Profesores */
.idearte-profesores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.idearte-profesor-card {
    background: #fff;
    border-radius: var(--idearte-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.idearte-profesor-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.idearte-profesor-name {
    font-size: 1.2rem;
    color: var(--idearte-primary);
    margin: 1.5rem 1.5rem 0.5rem;
    font-weight: 600;
}

.idearte-profesor-excerpt {
    font-size: 0.95rem;
    color: var(--idearte-text);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .idearte-ruta-flecha {
        transform: rotate(90deg);
    }
    .idearte-ruta-container {
        flex-direction: column;
    }
}
