﻿/* =========================================================
   UNIDADES DIDÁCTICAS
   ========================================================= */

/*.unidades-didacticas {
    width: 100%;
}*/


/* =========================================================
   CABECERA
   ========================================================= */

/*.unidades-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}*/


/* =========================================================
   TÍTULO
   ========================================================= */

/*.unidades-titulo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


.unidades-icono {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #641525;
    font-size: 1.05rem;
}


.unidades-titulo {
    margin: 0;
    color: #571322;
    font-size: 1.02rem;
    font-weight: 700;
    white-space: nowrap;
}*/


/* =========================================================
   LÍNEA
   ========================================================= */

/*.unidades-linea {
    flex: 1;
    height: 1px;
    background: #ddd3c6;
}*/


/* =========================================================
   VER TODAS
   ========================================================= */

/*.btn-ver-todas {
    height: 36px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #ddcfbe;
    border-radius: 20px;
    background: transparent;
    color: #5c1a27;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}


    .btn-ver-todas:hover {
        background: #f8f0e5;
        border-color: #cdbba4;
        transform: translateY(-1px);
    }


    .btn-ver-todas i {
        font-size: 0.78rem;
    }*/


/* =========================================================
   CARRUSEL
   ========================================================= */

/*.unidades-carrusel {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}*/


/* =========================================================
   ÁREA VISIBLE
   ========================================================= */

/*.cursos-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}*/


/* =========================================================
   LISTA
   ========================================================= */

/*.cursos-lista {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}*/


    /* =========================================================
   FORZAR CARD A OCUPAR SU COLUMNA
   ========================================================= */

    /*.cursos-lista ::deep .curso-card {
        width: 100%;
        min-width: 0;
    }*/


/* =========================================================
   BOTONES DE NAVEGACIÓN
   ========================================================= */

/*.carrusel-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4d9ca;
    border-radius: 50%;
    background: #faf5ec;
    color: #641525;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


    .carrusel-btn:hover:not(:disabled) {
        background: #f5eadb;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(90, 40, 25, 0.08);
    }


    .carrusel-btn:disabled {
        opacity: 0.40;
        cursor: default;
    }*/


/* =========================================================
   SIN CURSOS
   ========================================================= */

/*.sin-cursos {
    grid-column: 1 / -1;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed #d9cdbd;
    border-radius: 11px;
    background: #fffdfa;
    color: #806f60;
    font-size: 0.85rem;
}


    .sin-cursos i {
        color: #a77a3b;
    }*/


/* =========================================================
   TABLET
   ========================================================= */

/*@media (max-width: 850px) {

    .cursos-lista {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}*/


/* =========================================================
   MÓVIL
   ========================================================= */

/*@media (max-width: 650px) {

    .unidades-header {
        gap: 10px;
    }


    .unidades-linea {
        display: none;
    }


    .btn-ver-todas {
        margin-left: auto;
        padding: 0 12px;
    }


        .btn-ver-todas span {
            display: none;
        }


    .unidades-carrusel {
        gap: 8px;
    }


    .carrusel-btn {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 0.78rem;
    }


    .cursos-lista {
        grid-template-columns: 1fr;
    }
}*/


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

/*@media (max-width: 450px) {

    .carrusel-btn {
        display: none;
    }
}*/
