/* =====================================
   HORARIO – TARJETAS POR DÍA
   =====================================*/
.schedule-section {
    margin-top: 1.5rem;
    background: var(--panel-bg);
    border-radius: 1.2rem;
    padding: 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 0 #b1b1b1;
}

.schedule-title {
    font-family: "Press Start 2P", system-ui;
    font-size: 0.8rem;
    color: var(--mario-red);
    text-align: center;
    text-shadow: 2px 2px var(--mario-dark-red);
    margin-bottom: 0.4rem;
}

.schedule-subtitle {
    font-size: 0.85rem;
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 1rem;
}

/* Cada día como card */
.schedule-day {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
    background: #fdf6ec;
}

/* Encabezado de cada día, con color distinto */
.schedule-day-header {
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Colores por día estilo videojuego */
.day-friday {
    background: linear-gradient(135deg, var(--block-orange), #f8cf7a);
}

.day-saturday {
    background: linear-gradient(135deg, var(--pipe-green), #00c46c);
}

.day-sunday {
    background: linear-gradient(135deg, var(--deep-sky), var(--sky-blue));
}

.day-tag {
    font-family: "Press Start 2P", system-ui;
    font-size: 0.45rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    align-self: flex-start;
    color: #333;
}

.day-name {
    font-family: "Press Start 2P", system-ui;
    font-size: 0.75rem;
    color: #ffffff;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.35);
}

.day-desc {
    font-size: 0.8rem;
    color: #fffbe8;
}

/* Lista de actividades */
.schedule-list {
    list-style: none;
    padding: 0.6rem 0.75rem 0.7rem;
    display: grid;
    gap: 0.4rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

.schedule-item:nth-child(odd) {
    background: rgba(255, 244, 218, 0.95);
}

.time {
    font-family: "Press Start 2P", system-ui;
    font-size: 0.55rem;
    color: #333;
}

.activity {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* Mobile first ya está; solo ajustamos en pantallas grandes */
@media (min-width: 768px) {

    .schedule-section {
        padding: 1.2rem 1.5rem;
    }

    .schedule-day {
        margin-bottom: 1.2rem;
    }

    .schedule-list {
        grid-template-columns: 1fr 1fr;
    }

    .schedule-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }
}


/* Todo el horario hereda del contenedor .reader */
.schedule-section {
    font-size: 1em;
    /* 1em = lo que diga .reader */
}

/* Títulos y jerarquía de texto usando em (escala relativa) */
.schedule-section .levels-title {
    font-size: 1.4em;
    font-weight: 800;
}

.schedule-section .levels-subtitle {
    font-size: 1em;
}

/* Cabeceras de cada día */
.schedule-day-header .day-name {
    font-size: 1.3em;
    font-weight: 700;
}

.schedule-day-header .day-desc {
    font-size: 0.95em;
}

/* Ítems del horario */
.schedule-item {
    font-size: 1em;
    /* hereda y escala con A-/A+ */
}

.schedule-item .time {
    font-weight: 700;
    font-size: 0.95em;
}

.schedule-item .activity {
    font-size: 0.95em;
}