/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 21 2026 | 07:54:12 */
/* =====================================================
   TICKER DE NOTICIAS - EAEL
   ===================================================== */

#noticias-teletipo {
    width: 100%;
    overflow: hidden;
    position: relative;

    /* Evita gestos horizontales accidentales en móvil */
    touch-action: pan-y;
}


/* Pista que se desplaza */
#noticias-teletipo .eael-post-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;

    width: max-content !important;
    max-width: none !important;

    gap: 0 !important;

    animation: quattro-news-ticker var(--ticker-duration, 30s) linear infinite;

    will-change: transform;
}


/* Cada copia completa de las noticias */
#noticias-teletipo .news-ticker__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;

    gap: 35px;
    padding-right: 35px;
}


/* Cada noticia */
#noticias-teletipo .eael-grid-post {
    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
	
	display: flex;
    align-items: center;
}


/* Quitamos restricciones que pueda meter EAEL */
#noticias-teletipo .eael-grid-post-holder,
#noticias-teletipo .eael-grid-post-holder-inner {
    width: auto !important;
    height: auto !important;
}


/* Título + medio en horizontal */
#noticias-teletipo .eael-entry-wrapper {
    display: flex;
    align-items: center;

    gap: 10px;
}


/* Título */
#noticias-teletipo .eael-entry-title {
    margin: 0 !important;
    padding: 0 !important;
}


#noticias-teletipo .eael-grid-post-link {
    display: block;

    white-space: nowrap;

    text-decoration: none;
}


/* Medio: Faro de Vigo, Atlantico.net, etc. */
#noticias-teletipo .eael-entry-content {
    margin: 0 !important;
    padding: 0 !important;
}


#noticias-teletipo .eael-grid-post-excerpt,
#noticias-teletipo .eael-grid-post-excerpt p {
    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap;
}


/* Opcional: diferenciar visualmente el medio */
#noticias-teletipo .eael-grid-post-excerpt p {
    opacity: .6;
    font-size: .85em;
}


/* Separador entre noticias */
#noticias-teletipo .eael-grid-post::after {
    content: "•";
    display: inline-block;

    margin-left: 35px;
    opacity: .35;
}


/* Movimiento infinito */
@keyframes quattro-news-ticker {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}


/* PAUSA al hacer hover sobre el ticker */
#noticias-teletipo:hover .eael-post-grid,
#noticias-teletipo:focus-within .eael-post-grid,
#noticias-teletipo.is-paused .eael-post-grid {
    animation-play-state: paused;
}


/* ===========================
   MÓVIL
   =========================== */

@media (max-width: 767px) {

    #noticias-teletipo .news-ticker__group {
        gap: 24px;
        padding-right: 24px;
    }

    #noticias-teletipo .eael-grid-post::after {
        margin-left: 24px;
    }

}


/* Accesibilidad:
   personas que tienen desactivadas las animaciones */
@media (prefers-reduced-motion: reduce) {

    #noticias-teletipo .eael-post-grid {
        animation: none !important;
        transform: none !important;
    }

    #noticias-teletipo {
        overflow-x: auto;
    }

}