/* CareerLink Logos Limpios 1.0.0 — solo afecta las tarjetas de empresas CareerLink. */

/* Eliminar los bloques de color detrás de los logos. */
.cl-home-country-section .cl-home-company-art,
.cl-home-country-section .cl-home-company-art:hover {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #f0e5df;
    min-height: 125px !important;
    padding: 15px 12px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
}
.cl-home-country-section .cl-home-company-identity {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 90px !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.cl-home-country-section .cl-home-company-identity > img,
.cl-home-country-section .cl-home-company-logo {
    position: relative !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(95%, 220px) !important;
    max-height: 88px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    box-shadow: none !important;
    image-rendering: auto !important;
}
.cl-home-country-section .cl-home-company-identity > img[style*="display: none"] {
    display: none !important;
}
.cl-home-country-section .cl-home-company-artname { display: none !important; }
.cl-home-country-section .cl-home-company-identity > .cl-home-company-initial {display:none!important;}
.cl-home-country-section .cl-home-company-identity > .cl-home-company-initial--visible,
.cl-home-country-section .cl-home-company-identity > img[style*="display: none"] + .cl-home-company-initial {display:grid!important;}

/* Página Empresas: evitar cuadrados y bordes sobre el logotipo. */
.cl-company-list .cl-company-directory-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    flex-basis: 90px !important;
    width: 90px !important;
    height: 80px !important;
}
.cl-company-list .cl-company-directory-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 90px !important;
    max-height: 75px !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
}
.cl-company-list .cl-company-directory-logo img + .cl-company-directory-initial {
    display: none !important;
}

@media (max-width: 640px) {
    .cl-home-country-section .cl-home-company-art {min-height:104px!important;}
    .cl-home-country-section .cl-home-company-identity {min-height:70px!important;}
    .cl-home-country-section .cl-home-company-identity > img,
    .cl-home-country-section .cl-home-company-logo {max-height:68px!important;max-width:min(95%,190px)!important;}
    .cl-company-list .cl-company-directory-logo {width:75px!important;flex-basis:75px!important;}
    .cl-company-list .cl-company-directory-logo img {max-width:75px!important;max-height:64px!important;}
}
