/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion - Clapps
Author URI: https://theme-fusion.com
Template: Avada
Version: 0.0.10
Text Domain:  Avada
*/

.noticias-leidas-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.noticias-leidas {
    flex: 1;
    min-width: 0; /* permite que el flex child encoja y habilita el ellipsis */
    list-style: none;
    padding: 0;
    margin: 0;
}

.noticias-leidas li {
    padding: 10px 35px;
    border-bottom: 1px solid #d6d6d6;
    cursor: pointer;
}

.noticias-leidas li:first-child {
    border-top: 1px solid #d6d6d6;
}

.noticias-leidas a {
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.4;
    color: #358290 !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noticias-leidas li:hover a {
    color: #67c6b9 !important;
}

.noticias-leidas__panel {
    width: 240px;
    aspect-ratio: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.noticias-leidas__panel-link {
    display: block;
    width: 100%;
    height: 100%;
}

.noticias-leidas__panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .noticias-leidas a {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}