.abt-docentes {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.abt-docente {
    width: calc(50% - 12px);
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 58, 93, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abt-docente:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 25px rgba(0, 58, 93, 0.32);
}

.abt-docente-foto {
    width: 190px;
    min-width: 190px;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}

.abt-docente-foto a {
    display: block;
    width: 100%;
    height: 100%;
}

.abt-docente-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.abt-docente-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.abt-docente-titulo {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    color: #003A5D;
    font-weight: 700;
}

.abt-docente-lugar {
    margin-bottom: 14px;
    font-size: 15px;
    color: #D85F13;
    font-weight: 600;
}

.abt-docente-descripcion {
    font-size: 15px;
    line-height: 1.5;
    color: #333333;
}

.abt-docente-descripcion-texto {
    max-height: none;
    overflow: visible;
}

.abt-docente-ver-mas {
    display: none;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #D85F13;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.abt-docente-ver-mas:hover {
    color: #003A5D;
}

.abt-docente-contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.abt-docente-boton {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 40px;
    font-weight: 600;
    color: #003A5D;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 58, 93, 0.18);
    transition: all 0.2s ease;
}

.abt-docente-boton:hover {
    color: #ffffff;
    background: #D85F13;
    text-decoration: none;
}

.abt-docente-boton:hover {
    text-decoration: none;
}

@media screen and (max-width: 700px) {
    



    .abt-docente {
        width: 100%;
        flex-direction: column;
        gap: 18px;
        padding: 18px;
    }

    .abt-docente-foto {
        width: 100%;
        min-width: 0;
        aspect-ratio: 4 / 5;
    }

    .abt-docente-foto img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .abt-docente-titulo {
        font-size: 23px;
    }
    
    .abt-clase-horario {
    margin-bottom: 14px;
    font-size: 15px;
    color: #003A5D;
    font-weight: 600;
}

}

/* =========================================================
   CLASES GRUPALES
   ========================================================= */

.abt-clases-listado {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.abt-clase {
    width: calc(50% - 12px);
}

.abt-clase .abt-docente-info {
    flex: 1;
    min-width: 0;
}

.abt-clase-horario {
    margin-bottom: 14px;
    font-size: 15px;
    color: #003A5D;
    font-weight: 600;
}


/* CELULAR */

@media screen and (max-width: 700px) {

    .abt-clases-listado {
        flex-direction: column;
        gap: 24px;
    }

    .abt-clase {
        width: 100%;
        flex-direction: column;
    }

}

/* =========================================================
   ESTRUCTURA DE LOS DÍAS - CLASES GRUPALES
   ========================================================= */

.abt-clases {
    width: 100%;
    display: block !important;
}

.abt-clases-dia {
    width: 100% !important;
    display: block !important;
    margin-top: 38px;
    margin-bottom: 18px;
}

.abt-clases-dia-titulo {
    width: 100%;
    margin: 0 0 18px 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #003A5D;
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
}

.abt-clases-dia-titulo::before {
    content: "";
    width: 7px;
    height: 28px;
    background: #D85F13;
    border-radius: 4px;
    flex-shrink: 0;
}

.abt-clases-dia-titulo::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #003A5D;
    opacity: 0.25;
    border-radius: 2px;
}

.abt-clases-listado {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}


/* CELULAR */

@media screen and (max-width: 700px) {

    .abt-clases-dia {
        margin-top: 30px;
        margin-bottom: 16px;
    }

    .abt-clases-dia-titulo {
        font-size: 23px;
        margin-bottom: 16px;
        gap: 10px;
    }

    .abt-clases-dia-titulo::before {
        width: 6px;
        height: 24px;
    }

    .abt-clases-listado {
        flex-direction: column;
        gap: 24px;
    }

}


/* =========================================================
   DESCRIPCIÓN DE CLASE
   ========================================================= */

.abt-clase-leer-descripcion {
    display: inline-block;

    margin-top: 14px;
    padding: 10px 18px;

    border: none;
    border-radius: 20px;

    background: #e86f00 !important;
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(0, 58, 93, 0.15);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.abt-clase-leer-descripcion:hover {
    background: #d85f00 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   LEER DESCRIPCIÓN
   ========================================================= */

.abt-docente-ver-descripcion {
    display: inline-block;

    margin-top: 14px;
    padding: 10px 18px;

    border: none;
    border-radius: 20px;

    background: #e86f00 !important;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0, 58, 93, 0.15);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.abt-docente-ver-descripcion:hover {
    background: #d85f00 !important;
    transform: translateY(-1px);
}


.abt-docente-ver-descripcion {
    background: #e86f00 !important;
}