/* --- Ticker: Bloqueo de Desborde Lateral --- */
.ahora-ticker-wrapper {
    background: #E11C24;
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden; /* Corta cualquier cosa que intente salir del borde */
    height: 45px;
    font-family: Arial, sans-serif;
    position: relative;
    border-radius: 8px;
    width: 100% !important;
    max-width: 100vw !important; /* Obliga a no ser más ancho que la pantalla del celular */
    box-sizing: border-box;
    margin: 10px 0;
}

/* --- Etiqueta AHORA --- */
.ahora-label {
    background: #a3141a;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #ffffff !important;
    z-index: 10;
}

/* --- Animación de Noticias --- */
.ahora-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ahora-move {
    display: inline-block;
    padding-left: 100%;
    animation: ahora-scroll 35s linear infinite;
}

@keyframes ahora-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- Links (Siempre Blancos) --- */
.ahora-noticia-link, 
.ahora-noticia-link:visited, 
.ahora-noticia-link:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 0 35px;
    display: inline-block;
}

/* --- SOLUCIÓN PARA LOGO Y ZOOM (MOBILE) --- */
@media (max-width: 768px) {
    /* Forzamos el logo a no 'explotar' y ser siempre visible */
    header img, 
    .elementor-widget-image img,
    img[src*="logo"] {
        max-width: 180px !important;
        width: 180px !important;
        height: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 10px auto !important;
    }

    /* BLOQUEO MECÁNICO DE ZOOM OUT */
    /* Esto simula el comportamiento que tenés cuando el plugin está apagado */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        max-width: 100vw !important;
    }

    .ahora-ticker-wrapper {
        border-radius: 4px;
        margin: 5px 0;
    }
}