.curso-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 0 1rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Información del curso ---------- */
.curso-info {
    flex: 1 1 480px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.curso-info h1 {
    font-size: 28px;
    color: #033787;
    margin-bottom: 15px;
}

.curso-info p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.5;
}

/* ---------- Video ---------- */
.curso-video {
    flex: 1 1 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.12);
}

/* ---------- Botones ---------- */
.boton-curso {
    width: 100%;
    text-align: center;
}

.boton-curso .btn {
    padding: 10px 24px;
    font-size: 16px;
    margin: 6px;
    border-radius: 8px;
    font-weight: bold;
}

.texto-acceso {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

/* ---------- Info especial para guía ---------- */
.info-box {
    background-color: #fffef7;
    border: 2px solid #f1c40f;
    padding: 25px;
    border-radius: 14px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.precio-box {
    background-color: #fdf3d6;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    color: #d35400;
    margin-bottom: 20px;
}

.info-box p {
    text-align: justify;
    margin-top: 16px;
    margin-bottom: 10px;
    color: #2d2d2d;
    line-height: 1.6;
}

.info-box ul {
    padding-left: 1.5rem;
    margin-bottom: 16px;
}

.info-box ul li {
    margin-bottom: 6px;
    line-height: 1.5;
    color: #333;
    font-size: 15px;
}

.info-box strong {
    color: #000;
}




/* ---------- Listas ---------- */
.info-box ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.info-box ul li {
    margin-bottom: 6px;
    line-height: 1.5;
    color: #333;
}

/* ---------- Enlace volver ---------- */
.btn-link {
    display: block;
    margin: 30px auto 0;
    text-align: center;
    font-size: 16px;
    color: #0066cc;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}




.descripcion,
.temas {
    text-align: justify !important;
}




/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .curso-container {
        flex-direction: column;
        padding: 0 1rem;
    }

    .curso-info,
    .curso-video {
        flex: 1 1 100%;
    }

    .video-wrapper {
        aspect-ratio: 16 / 9;
    }

    .boton-curso .btn {
        width: 100%;
        margin: 6px 0;
    }


    .descripcion,
    .temas {
        text-align: left;
    }
}