/* ============================================================
   EEAOC – Widget Noticias para Elementor
   Estética fiel al sitio eeaoc.org.ar
   ============================================================ */

/* ── Contenedor principal ── */
.eeaoc-noticias-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 8px 20px;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Encabezado "Noticias ▾" ── */
.eeaoc-noticias-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.eeaoc-noticias-titulo-bloque {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    line-height: 1;
}

.eeaoc-dropdown-icon {
    color: #1a1a1a;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Lista de noticias ── */
.eeaoc-noticias-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Ítem individual ── */
.eeaoc-noticia-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f4f4f4;
    position: relative;
}

.eeaoc-noticia-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

/* ── Miniatura ── */
.eeaoc-noticia-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    text-decoration: none;
}

.eeaoc-noticia-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.eeaoc-noticia-thumb:hover img {
    transform: scale(1.04);
}

.eeaoc-noticia-thumb--placeholder {
    background: #f0f0f0;
}

/* ── Contenido (título + extracto) ── */
.eeaoc-noticia-contenido {
    flex: 1;
    min-width: 0;
    padding-right: 36px; /* espacio para el botón arrow */
}

.eeaoc-noticia-titulo {
    display: block;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.eeaoc-noticia-titulo:hover {
    color: #6B21A8;
}

.eeaoc-noticia-extracto {
    font-size: 12px;
    color: #888888;
    line-height: 1.45;
    margin: 0;
    /* Clamp a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Botón flecha violeta ── */
.eeaoc-noticia-arrow {
    position: absolute;
    top: 12px;
    right: 0;
    width: 28px;
    height: 28px;
    background-color: #6B21A8;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.eeaoc-noticia-arrow:hover {
    background-color: #581c87;
    transform: scale(1.08);
}

.eeaoc-noticia-arrow svg {
    display: block;
}

/* ── Sin resultados ── */
.eeaoc-sin-resultados {
    font-size: 14px;
    color: #888;
    padding: 12px 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .eeaoc-noticias-wrapper {
        padding: 16px 16px 6px 16px;
        border-radius: 12px;
    }

    .eeaoc-noticia-thumb,
    .eeaoc-noticia-thumb img {
        width: 68px;
        height: 68px;
    }

    .eeaoc-noticia-titulo {
        font-size: 13px;
    }

    .eeaoc-noticia-extracto {
        font-size: 11px;
    }
}
