/*
 * expo-actividades.css
 * Sección de actividades por categoría con botones coloridos
 */

.expo-actividades {
    background: transparent;
}

/*
 * Huecos exactos de 120px: arriba (vs. sección anterior) y abajo (vs. .expo-video).
 * Anula margin-top: 9.375rem (150px) de styles.css.
 */
.elige-bloque-espaciado.expo-actividades {
    margin-top: 7.5rem; /* 120px */
    padding-top: 0;
    padding-bottom: 0;
}

.expo-actividades__titulo {
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    text-align: center;
    margin: 0;
}

.expo-actividades__fecha {
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(2.125rem, 5vw, 3.125rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
    color: var(--color-accent-orange, #ff6b35);
    margin: 0;
    text-transform: none;
}

/* Grid de botones — mobile-first: 1 col */
.expo-actividades__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 75rem;
    margin: 0 auto;
}

/* Botones / enlaces de categorías */
.expo-actividades__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(3.5rem, 7vw, 4.5rem);
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-decoration: none;
    background: var(--btn-bg, #64748b);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.expo-actividades__btn:hover,
.expo-actividades__btn:focus-visible {
    color: #ffffff;
    text-decoration: none;
}

.expo-actividades__btn:focus-visible {
    outline: 0.125rem solid #008888;
    outline-offset: 0.1875rem;
}

.expo-actividades__btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.expo-actividades__btn:active {
    transform: translateY(0);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Colores específicos por categoría */
.expo-actividades__btn--artes {
    --btn-bg: #4d3a89;
    background: #4d3a89;
}

.expo-actividades__btn--artes:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(77, 58, 137, 0.4);
}

.expo-actividades__btn--sociales {
    --btn-bg: #ad5c5e;
    background: #ad5c5e;
}

.expo-actividades__btn--sociales:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(173, 92, 94, 0.4);
}

.expo-actividades__btn--ciencias {
    --btn-bg: #a7b632;
    background: #a7b632;
}

.expo-actividades__btn--ciencias:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(167, 182, 50, 0.4);
}

.expo-actividades__btn--ingenieria {
    --btn-bg: #547d8a;
    background: #547d8a;
}

.expo-actividades__btn--ingenieria:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(84, 125, 138, 0.4);
}

.expo-actividades__btn--negocios {
    --btn-bg: #82b86f;
    background: #82b86f;
}

.expo-actividades__btn--negocios:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(130, 184, 111, 0.4);
}

.expo-actividades__btn--padres {
    --btn-bg: #d45f2a;
    background: #d45f2a;
}

.expo-actividades__btn--padres:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(212, 95, 42, 0.4);
}

.expo-actividades__btn--profesores {
    --btn-bg: #e37331;
    background: #e37331;
}

.expo-actividades__btn--profesores:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(227, 115, 49, 0.4);
}

.expo-actividades__btn--admin {
    --btn-bg: #eb8943;
    background: #eb8943;
}

.expo-actividades__btn--admin:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(235, 137, 67, 0.4);
}

/* Tablet y up: 2 columnas (desde ~576px; cubre tablet portrait) */
@media (min-width: 36rem) {
    .expo-actividades__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 columnas */
@media (min-width: 64rem) {
    .expo-actividades__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tema oscuro */
[data-theme="dark"] .expo-actividades__titulo {
    color: #f1f5f9;
}
