* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #82a9f9; /* Color de fondo oficial */
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Barra Superior --- */
.barra-superior {
    width: 100%;
    height: 60px;
    background-color: #fffafb;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.boton-volver {
    width: 70px;
    height: 100%;
    background-color: #dbdbdb;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-right: 1px solid #c5c5c5;
}

.icono-flecha {
    width: 32px;
    height: 32px;
    fill: #000000;
}

.titulo-cabecera {
    flex-grow: 1;
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #000000;
    padding-right: 70px; /* Balancea el botón para centrar perfectamente */
}

/* --- Lista de Contenido --- */
.contenido-contenedor {
    flex-grow: 1;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.lista-clases {
    list-style: none; /* Quitamos las viñetas por defecto */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.item-clase {
    display: flex;
    align-items: flex-start; /* Alínea el punto con la primera línea de texto */
    margin-bottom: 40px;
}

/* Viñeta circular oscura personalizada */
.punto-decorativo {
    width: 20px;
    height: 20px;
    background-color: #3b3a3e; /* Color oscuro de los círculos */
    border-radius: 50%;
    flex-shrink: 0; /* Evita que el círculo se deforme */
    margin-right: 20px;
    margin-top: 4px; /* Centra sutilmente el círculo con la primera línea */
}

.texto-clase {
    font-size: 1rem;
    line-height: 1.4;
    color: #000000;
    text-align: left;
}

/* Estilo para los títulos iniciales en color grisáceo */
.resaltado {
    color: #3b3a3e;
    font-weight: bold;
    font-size: 1.15rem;
}

/* ==========================================================================
   2. VISTA MOBILE (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .lista-clases {
        max-width: 440px; /* Controla el ancho en pantallas pequeñas */
        margin: 0 auto;
    }
}

/* ==========================================================================
   3. VISTA DESKTOP (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .contenido-contenedor {
        padding: 60px 40px;
    }

    .lista-clases {
        max-width: 750px; /* Estrecha las líneas para mejorar legibilidad en web */
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.15); /* Tarjeta contenedora decorativa */
        padding: 50px;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .texto-clase {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .item-clase {
        margin-bottom: 35px;
    }

    .boton-volver:hover {
        background-color: #cdcdcd;
        transition: background-color 0.2s ease;
    }
}