/* IMAGO NOTICIAS - ESTILOS */
.main-header {
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
}

    .main-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255,255,255,0.02);
    }

.header-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
}

.logo-img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    transition: all 0.3s ease;
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.5));
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #7575ff;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-clock {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

    .live-clock .date {
        font-size: 0.75rem;
        color: #aaa;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .live-clock .time {
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        font-family: 'Montserrat', sans-serif;
    }

.news-ticker {
    background: #c41e3a;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

    .ticker-label::after {
        content: '';
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        border: 6px solid transparent;
        border-left-color: rgba(0,0,0,0.4);
    }

.ticker-content {
    margin-left: 160px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-scroll {
    display: inline-block;
    animation: ticker-scroll 80s linear infinite;
}

    .ticker-scroll:hover {
        animation-play-state: paused;
    }

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

    .ticker-item:hover {
        color: #ffeb3b !important;
        text-decoration: none;
    }

.main-nav {
    background: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 25px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-item:hover {
        color: #fff !important;
        background: rgba(255,255,255,0.1);
        text-decoration: none;
    }

    .nav-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: #e94560;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-item:hover::after {
        width: 80%;
    }

    .nav-item.active::after {
        width: 80%;
    }

    .nav-item svg {
        width: 20px;
        height: 20px;
        opacity: 0.9;
        transition: all 0.3s;
        fill: currentColor;
    }

    .nav-item:hover svg {
        opacity: 1;
        transform: scale(1.15);
    }

    .nav-item.politica:hover::after {
        background: #ff6b6b;
    }

    .nav-item.economia:hover::after {
        background: #4ecdc4;
    }

    .nav-item.deportes:hover::after {
        background: #45b7d1;
    }

    .nav-item.tecnologia:hover::after {
        background: #96ceb4;
    }

    .nav-item.sociales:hover::after {
        background: #dda0dd;
    }

    .nav-item.otros:hover::after {
        background: #f9ca24;
    }

.channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #cc0000;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

    .channel-badge svg {
        width: 18px;
        height: 18px;
    }

.header-ad {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.noticias-hoy-container {
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

    .noticias-hoy-container:hover {
        transform: translateY(-3px);
    }

.noticias-hoy-header {
    background: #e94560;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

    .noticias-hoy-header svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

.noticias-hoy-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.noticias-hoy-body {
    padding: 0;
    position: relative;
}

    .noticias-hoy-body .ratio {
        border-radius: 0 0 16px 16px;
        overflow: hidden;
    }

.noticias-leidas-container {
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

    .noticias-leidas-container:hover {
        transform: translateY(-2px);
    }

.noticias-leidas-header {
    background: #f39c12;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.noticias-leidas-icon {
    width: 24px;
    height: 24px;
    fill: white;
    animation: rotate-star 3s ease-in-out infinite;
}

@keyframes rotate-star {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

.noticias-leidas-header span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.noticias-leidas-body {
    padding: 10px 0;
}

.noticia-leida-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .noticia-leida-item:last-child {
        border-bottom: none;
    }

    .noticia-leida-item:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
        text-decoration: none;
    }

.noticia-rank {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

    .noticia-rank.gold {
        background: #ffd700;
        box-shadow: 0 0 15px rgba(255,215,0,0.4);
        color: #000;
    }

    .noticia-rank.silver {
        background: #c0c0c0;
        box-shadow: 0 0 10px rgba(192,192,192,0.3);
        color: #000;
    }

    .noticia-rank.bronze {
        background: #cd7f32;
        box-shadow: 0 0 10px rgba(205,127,50,0.3);
        color: #fff;
    }

.noticia-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.noticia-titulo {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noticia-views {
    font-size: 0.7rem;
    color: #888;
}

@media(max-width:768px) {
    .brand-title {
        font-size: 1.8rem;
    }

    .logo-img {
        width: 80px;
    }

    .nav-item {
        padding: 12px 15px;
        font-size: 0.8rem;
    }

        .nav-item svg {
            display: none;
        }

    .live-clock {
        display: none;
    }

    .ticker-label {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .ticker-content {
        margin-left: 100px;
    }

    .ticker-item {
        font-size: 0.85rem;
    }
}

h2, h2 a, .text-primary {
    color: #000 !important;
    text-decoration: none;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

    .social-btn:hover {
        transform: scale(1.1);
    }

    .social-btn.youtube {
        background: #FF0000;
    }

    .social-btn.twitter {
        background: #000;
    }

.social-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.channel-badge {
    text-decoration: none;
    transition: all 0.3s ease;
}

    .channel-badge:hover {
        text-decoration: none;
        transform: scale(1.05);
    }

    .channel-badge.twitter {
        background: #000;
    }

/* NEWS CARDS */
.news-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #e94560;
    overflow: hidden
}

    .news-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12)
    }

    .news-card.politica {
        border-left-color: #ff6b6b
    }

    .news-card.economia {
        border-left-color: #4ecdc4
    }

    .news-card.deportes {
        border-left-color: #45b7d1
    }

    .news-card.tecnologia {
        border-left-color: #96ceb4
    }

    .news-card.sociales {
        border-left-color: #dda0dd
    }

    .news-card.otros {
        border-left-color: #f9ca24
    }

.news-card-thumb {
    width: 200px;
    min-height: 120px;
    overflow: hidden;
    flex-shrink: 0
}

    .news-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease
    }

.news-card:hover .news-card-thumb img {
    transform: scale(1.05)
}

.news-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3
}

    .news-card-title a {
        color: #1a1a2e;
        text-decoration: none;
        transition: color 0.3s
    }

        .news-card-title a:hover {
            color: #e94560;
            text-decoration: none
        }

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #666
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 4px
}

.news-card-cat {
    background: #e94560;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600
}

    .news-card-cat.politica {
        background: #ff6b6b
    }

    .news-card-cat.economia {
        background: #4ecdc4
    }

    .news-card-cat.deportes {
        background: #45b7d1
    }

    .news-card-cat.tecnologia {
        background: #96ceb4
    }

    .news-card-cat.sociales {
        background: #dda0dd
    }

    .news-card-cat.otros {
        background: #f9ca24;
        color: #333
    }

.news-card-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1
}

.news-card-video {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,0,0,0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px
}

@media(max-width:768px) {
    .news-card {
        flex-direction: column
    }

    .news-card-thumb {
        width: 100%;
        min-height: 180px
    }
}

.nav-item.actualidad:hover::after {
    background: #9b59b6
}

.nav-item.entretenimiento:hover::after {
    background: #e74c3c
}

.nav-item.internacionales:hover::after {
    background: #3498db
}

.news-card.actualidad {
    border-left-color: #9b59b6
}

.news-card.entretenimiento {
    border-left-color: #e74c3c
}

.news-card.internacionales {
    border-left-color: #3498db
}

.news-card-cat.actualidad {
    background: #9b59b6
}

.news-card-cat.entretenimiento {
    background: #e74c3c
}

.news-card-cat.internacionales {
    background: #3498db
}

/* COUNTDOWN F1 - ESTILO ROJO F1 */
a.countdown-f1 {
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    a.countdown-f1:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(225,6,0,0.3);
    }

.countdown-f1 {
    background: rgba(225,6,0,0.15) !important;
    border: 1px solid rgba(225,6,0,0.4) !important;
}

    .countdown-f1 .date {
        color: #ff6b6b !important;
    }

    .countdown-f1 .time {
        color: #fff !important;
    }

/* COUNTDOWN GRAN HERMANO - ESTILO AZUL TELEFE */
a.countdown-granhomano {
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    a.countdown-granhomano:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,150,199,0.3);
    }

.countdown-granhomano {
    background: rgba(0,150,199,0.15) !important;
    border: 1px solid rgba(0,150,199,0.4) !important;
    text-decoration: none !important;
}

    .countdown-granhomano .date {
        color: #00c8ff !important;
        text-decoration: none !important;
    }

@media(max-width:992px) {
    .countdown-f1, .countdown-granhomano {
        display: none !important
    }
}


/* OCULTAR ANUNCIOS VACIOS DE ADSENSE */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

ins.adsbygoogle[data-ad-status="unfilled"] + div,
ins.adsbygoogle[data-ad-status="unfilled"] ~ div {
    display: none !important;
}

/* MEJORAR ESPACIADO DE ANUNCIOS */
ins.adsbygoogle {
    margin: 10px auto;
}

/* FOOTER SIMPLE */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 3px solid #e94560;
}

.site-footer a {
    color: #7575ff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}



/* FIX PARA SCROLL - Contrarresta estilos inyectados por AdSense */
html, body {
 overflow-x: hidden !important;
 overflow-y: auto !important;
 height: auto !important;
 min-height: 100vh !important;
}

.container-fluid,
.container-fluid > .row,
.container-fluid > .row > div,
#feed,
#feed > .container {
 height: auto !important;
 min-height: auto !important;
 overflow: visible !important;
}

/* Asegurar que el footer no bloquee el scroll */
.site-footer {
 position: relative !important;
 overflow: visible !important;
}

/* Evitar que elementos adsbygoogle bloqueen el scroll */
ins.adsbygoogle {
 display: block !important;
 overflow: visible !important;
}

