﻿
/* =========================================================
   CURSO CARD
   ========================================================= */

/*.curso-card {
    position: relative;
    height: 92px;
    min-width: 320px;
    padding: 16px 45px 16px 72px;
    background: #fffdfa;
    border: 1px solid #dfd5c8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}*/


    /* =========================================================
   HOVER
   ========================================================= */

    /*.curso-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
        border-color: #c9b9a6;
    }*/


    /* =========================================================
   CURSO ACTIVO
   ========================================================= */

    /*.curso-card.activo {
        background: linear-gradient( 135deg, #69091c, #850d25 );
        border-color: #69091c;
        color: #ffffff;
        box-shadow: 0 5px 15px rgba(105, 9, 28, 0.20);
    }*/


/* =========================================================
   FRANJA LATERAL DEL ACTIVO
   ========================================================= */

/*.curso-card-indicador {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: #e59a20;
}*/


/* =========================================================
   ICONO
   ========================================================= */

/*.curso-card-icono {
    position: absolute;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #75101f;
    background: rgba(117, 16, 31, 0.08);
}

.curso-card.activo .curso-card-icono {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
}*/


/* =========================================================
   CONTENIDO
   ========================================================= */

/*.curso-card-contenido {
    min-width: 0;
}

.curso-card-periodo {
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c17a18;
}

.curso-card.activo .curso-card-periodo {
    color: #e8ad45;
}


.curso-card-titulo {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    color: #541521;
}

.curso-card.activo .curso-card-titulo {
    color: #ffffff;
}*/


/* =========================================================
   CHECK DEL CURSO ACTIVO
   ========================================================= */

/*.curso-card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5a128;
    color: #ffffff;
    font-size: 0.65rem;
}*/


/* =========================================================
   FLECHA
   ========================================================= */

/*.curso-card-flecha {
    position: absolute;
    right: 15px;
    color: #6f1724;
    font-size: 1rem;
}

.curso-card.activo .curso-card-flecha {
    color: #ffffff;
}*/


/* =========================================================
   RESPONSIVE
   ========================================================= */

/*@media (max-width: 768px) {

    .curso-card {
        min-width: 280px;
    }
}

@media (max-width: 576px) {

    .curso-card {
        min-width: 100%;
        height: 88px;
        padding-left: 68px;
    }
}*/


/* =========================================================
   CURSO CARD - UNIDADES DIDÁCTICAS
   ========================================================= */

.curso-card {
    position: relative;
    width: 100%;
    height: 110px;
    min-width: 320px;
    padding: 14px 48px 14px 84px;
    background: #fffdfa;
    border: 1px solid #dfd5c8;
    border-radius: 11px;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}


    /* =========================================================
   HOVER
   ========================================================= */

    .curso-card:hover {
        transform: translateY(-1px);
        border-color: #cbbba7;
        box-shadow: 0 5px 14px rgba(75, 35, 25, 0.08);
    }


    /* =========================================================
   CURSO ACTIVO
   ========================================================= */

    .curso-card.activo {
        background: linear-gradient( 135deg, #70091d 0%, #850d25 100% );
        border-color: #70091d;
        box-shadow: 0 5px 14px rgba(105, 9, 28, 0.18);
    }


/* =========================================================
   FRANJA DORADA
   ========================================================= */

.curso-card-indicador {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: #e59a20;
}


/* =========================================================
   ICONO
   ========================================================= */

.curso-card-icono {
    position: absolute;
    left: 18px;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(117, 16, 31, 0.08);
    color: #75101f;
    font-size: 1.35rem;
}


.curso-card.activo .curso-card-icono {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.curso-card-contenido {
    min-width: 0;
    width: 100%;
}


/* =========================================================
   PERIODO
   ========================================================= */

.curso-card-periodo {
    margin-bottom: 4px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 600;
    color: #c17a18;
}


.curso-card.activo .curso-card-periodo {
    color: #e8ad45;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.curso-card-titulo {
    max-width: calc(100% - 10px);
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 700;
    color: #541521;
    padding-bottom : 4px;
}


.curso-card.activo .curso-card-titulo {
    color: #ffffff;
}


/* =========================================================
   CHECK
   ========================================================= */

.curso-card-check {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5a128;
    color: #ffffff;
    font-size: 0.65rem;
}


/* =========================================================
   FLECHA
   ========================================================= */

.curso-card-flecha {
    position: absolute;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f1724;
    font-size: 0.9rem;
}


.curso-card.activo .curso-card-flecha {
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .curso-card {
        min-width: 280px;
        height: 110px;
    }
}


@media (max-width: 576px) {

    .curso-card {
        min-width: 100%;
        height: 110px;
        padding-left: 76px;
    }
}