/* Componentes Título Enlaces Relacionados
v1.0 - 9-Abril-2023 */
/* Mensaje de error */
.error-msg {
    font-size: 12px;
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 4px;
    background-color: #f8d7da;
    color: #842029;
    margin: 5px;
}

/* Contenedor de todos los enlaces */
.enlaces-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 16px 0;
    gap: 16px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 16px;
}

/* Enlace */
.enlace-box {
    -webkit-transition-duration: 0.5s;
         -o-transition-duration: 0.5s;
            transition-duration: 0.5s;
    width: 230px;
    height: 148px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 1px solid #3366CC;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
}

/* Enlace - Hover */
.enlace-box:hover {
    -webkit-transform: scale(1.030);
        -ms-transform: scale(1.030);
            transform: scale(1.030);
}

/* Hipervínculo */
.enlace-box a {
    text-decoration: none !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 10px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 16px;
    height: 100%;
}

/* Titulo (Texto) */
.enlace-box .titulo {
    font-family: "Work Sans", sans-serif;
    font-size: var(--fuente0);
    font-weight: 700;
    line-height: 2rem;
    color: #333333;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    overflow: hidden;

    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        -o-text-overflow: ellipsis;
           text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}