.news-card{
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    height: 600px;

    background: #1B2026;

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255,255,255,0.02);

    text-decoration: none;
    color: #E6EDF3;
    position: relative;

    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(0, 229, 255, 0.25);

    border-color: rgba(0, 229, 255, 0.35);
}

.news-image{
    flex: 0 0 60%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    position: relative;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-card-secundario {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    width: 348px;
    height: 280px;

    background: #1A1F25;

    border: 1px solid rgba(255, 255, 255, 0.05);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255,255,255,0.015);

    text-decoration: none;
    color: #E6EDF3;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.news-card-secundario:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 229, 255, 0.22);

    border-color: rgba(0, 229, 255, 0.28);
}

.news-image-secundario{
    flex: 0 0 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-card-body{
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-body-secundario{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}

.news-category{
    font-size: 0.9rem;
    color: #4FCBFF;;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(79, 203, 255, 0.20);
}

.news-category-secundario {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4fcbff;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-shadow: rgba(79, 203, 255, 0.20) 0px 0px 6px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #6B7A87;
    white-space: nowrap;
}

.news-title{
    font-size: 1.6rem;
    font-weight: bold;
    color: #EAF2F8;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(79, 203, 255, 0.12);
}

.news-title-secundario {
    font-size: 1rem;
    font-weight: bold;
    color: #EAF2F8;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(79, 203, 255, 0.12);
}

.news-text{
    font-size: 1rem;
    line-height: 1.6;
    color: #9AA4AF;
    margin: 0;
}

.news-text-secundario {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #9AA4AF;
    margin-top: 10px; 
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date-secundario {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #6B7A87;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-read{
    background-color: #00c6ff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-read:hover {
  background-color: #009fd6;
}

@media (max-width: 768px) {

    /* ── Tarjeta principal ── */
    .news-card {
        height: auto;
        margin-bottom: 1.5rem;
    }

    .news-image {
        flex: 0 0 220px;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .news-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ── Columna de secundarias ── */
    .col-lg-4 > .row {
        height: auto !important;
        gap: 1rem;
    }

    /* ── Tarjetas secundarias ── */
    .news-card-secundario {
        width: 100%;
        height: auto;
        min-height: 240px;
    }

    .news-image-secundario {
        flex: 0 0 130px;
    }

    .news-title-secundario {
        font-size: 0.95rem;
    }

    .news-text-secundario {
        font-size: 0.82rem;
    }
}

/* HEADER DE NOTICIAS */
.news-header {
    text-align: center; 
    margin: 0 auto 20px auto;
    padding-top: 40px;
}

.news-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #E6EDF3;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.news-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #00c6ff; 
    border-radius: 2px;
}

.news-subheading {
    font-size: 1rem;
    color: #00E5FF;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
    margin-top: 10px;
}

/* === ETIQUETA DE TENDENCIAS === */
.trending-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #FF6A3D, #FF9F43);
    color: #F5F7FA;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;

    /* Neon glow controlado */
    box-shadow:
        0 0 6px rgba(255, 106, 61, 0.45),
        0 0 14px rgba(255, 159, 67, 0.35),
        0 4px 10px rgba(0,0,0,0.4);

    text-shadow:
        0 0 4px rgba(255, 180, 100, 0.6),
        0 0 8px rgba(255, 140, 70, 0.45);

    animation: pulse-neon 2.2s infinite ease-in-out;
}

.trending-badge .fire-icon {
    margin-right: 0.4rem;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(255, 150, 80, 0.8));
}

@keyframes pulse-neon {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 6px rgba(255, 106, 61, 0.4),
            0 0 14px rgba(255, 159, 67, 0.3),
            0 4px 10px rgba(0,0,0,0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow:
            0 0 10px rgba(255, 106, 61, 0.65),
            0 0 22px rgba(255, 159, 67, 0.5),
            0 6px 14px rgba(0,0,0,0.5);
    }
    100% {
        transform: scale(1);
        box-shadow:
            0 0 6px rgba(255, 106, 61, 0.4),
            0 0 14px rgba(255, 159, 67, 0.3),
            0 4px 10px rgba(0,0,0,0.4);
    }
}

@media (max-width: 768px) {
    .news-header {
        padding-top: 24px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .news-heading {
        font-size: 1.4rem;
    }

    .news-subheading {
        font-size: 0.9rem;
    }

    .trending-badge {
        font-size: 0.85rem;
        padding: 0.35rem 0.85rem;
    }

    .trending-badge .fire-icon {
        font-size: 1rem;
    }
}

/* === SECCIÓN ÚLTIMAS NOTICIAS === */
.latest-news{
    background-color: #181C20; 
}

.latest-news-header {
    text-align: center;
    margin-bottom: 2rem;
}

.latest-news-title {
    font-size: 2rem;
    font-weight: 700;
    color: #86EFAC;
    text-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
}

.latest-badge {
    display: inline-block;
    margin: 0.8rem auto;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, #22C55E, #86EFAC);
    color: #ECFEFF;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow:
    0 0 2px rgba(34, 197, 94, 0.8),
    0 0 4px rgba(134, 239, 172, 0.6),
    0 0 10px rgba(134, 239, 172, 0.4);
}

.latest-subheading {
    font-size: 1rem;
    color: #86EFAC;
    text-shadow: 0 0 6px rgba(34, 197, 94, 0.5)
}

/* === CARDS DE ÚLTIMAS NOTICIAS === */
.latest-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #1F2328;
}

.latest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.25);
}

.latest-image {
    width: 100%;
    height: 180px;
    background-position: center;
    background-size: cover;
}

.latest-body {
    padding: 1rem;
}

.latest-category {
    font-size: 0.85rem;
    color: #4fcbff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-shadow: rgba(79, 203, 255, 0.20) 0px 0px 6px;
}

.latest-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #EAF2F8;
    text-shadow: 0 0 10px rgba(79, 203, 255, 0.12);
}

/* Contenedor difuminado */
.see-more-container {
    position: relative;
    text-align: center;
    margin-top: -150px; 
    padding-top: 100px; 
    background: linear-gradient(
        to top,
        rgba(8, 10, 12, 1),
        rgba(24, 28, 32, 0)
    );
}

/* Botón estético */
.see-more-btn {
    background: #ff6f61;        
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;         
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); 
}

.see-more-btn:hover {
    background: #ff5722;
    transform: scale(1.05);
}

.see-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,198,255,0.4); 
}

/*
*MEDIA QUERY PARA LA SECCIÓN DE ÚLTIMAS NOTICIAS
*/
@media (max-width: 768px) {

    /* ── Encabezado ── */
    .latest-news-title {
        font-size: 1.4rem;
    }

    .latest-badge {
        font-size: 0.78rem;
        padding: 0.3rem 0.75rem;
    }

    .latest-subheading {
        font-size: 0.9rem;
    }

    /* ── Sidebar de anuncios: se oculta en móvil ── */
    .ads-sidebar {
        display: none;
    }

    /* ── Cards ── */
    .latest-card {
        margin-bottom: 1.2rem;
    }

    .latest-image {
        height: 160px;
    }

    .latest-title {
        font-size: 1rem;
    }

    .latest-category {
        font-size: 0.78rem;
    }

    /* ── Botón ver más ── */
    .see-more-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* SECCION NOTICIAS DOBLES */
.nscad{
    background: #1B2026;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mnnws img{
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.mnnws h2{
    font-size: 1.3rem;
    margin: 18px;
    font-weight: 600;
    color: #EAF2F8;
    text-shadow: 0 0 10px rgba(79, 203, 255, 0.12);
}

.scdarnws{
    padding: 18px;
    background: #1B2026;
    border-top: 1px solid #eee;
    background: rgba(255,0,0,0.05);
}

.scdarnws h3{
    font-size: 1.05rem;
    margin-top: 0;
    font-weight: 600;
    color: #EAF2F8;
    text-shadow: 0 0 10px rgba(79, 203, 255, 0.12);
}

.scdarnws p{
    margin: 8px 0 0;
    font-size: 0.92rem;
    color: #9AA4AF;
    line-height: 1.4rem;
}

.fchapbcn{
    display: block;
    font-size: 0.85rem;
    color: #9AA4AF;
    text-shadow:
        0 0 2px rgba(68, 123, 129, 0.5),
        0 0 2px rgba(50, 86, 90, 0.5);
    margin: 12px 18px 0;
}

.fchapbnsdra{
    display: block;
    font-size: 0.78rem;
    color: #9AA4AF;
    margin-bottom: 6px;
    text-shadow: 0 0 2px rgba(68, 123, 129, 0.5), 0 0 2px rgba(50, 86, 90, 0.5);
}

.ctgagral{
    color: #4fcbff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px 10px 10px 10px;
    display: inline-block;
    margin: 20px auto 0 auto;
    transform: translateY(-10px);
    text-shadow: rgba(79, 203, 255, 0.20) 0px 0px 6px;
}


/* VIDEOS ANIMALITOS */
.vdsamts{
    padding: 40px 20px;
    background: #181C20;
}

.vdacrd{
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    transition: transform .3s ease, box-shadow .3s ease;
    padding: 0 !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
}

.vdothm{
    width: 100%;
    height: 280px;
    background: #000;
    overflow: hidden;         
    border-radius: 10px;
}

.vdothm video{
    width: 100%;
    height: 100%;
    object-fit: cover;           /* CLAVE */
    display: block;
}

.vdodscpn{
    padding: 15px 15px 40px 15px;
    font-size: 0.9rem;
    line-height: 1.3em;
    color: #E6EDF3;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);

    /* Mostrar solo 2 renglones */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: #20262D;
    margin-bottom: 0;
}

.btnmsctn{
    text-align: center;
    margin-top: 25px;
}

.btnmstms{
    background: #ff7f50;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}

.btnmstms:hover {
    background: #ff5722;
    transform: scale(1.05);
}

/* GOOGLE ADS STYLES */
.ads {
    background: #20262D;
    border-radius: 12px;
    padding: 15px;
    margin: 30px auto;
    text-align: center;
    min-height: 90px;

    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.04),
        0 8px 20px rgba(0,0,0,0.5);
}

.ads-2{
    background: #20262D;
    border-radius: 12px;
    padding: 15px;
    margin: 30px auto;
    text-align: center;
    min-height: 150px;

    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.04),
        0 8px 20px rgba(0,0,0,0.5);
}

.ads::before, .ads-2:before {
    content: "Publicidad";
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ads-top {
    max-width: 100%;
}

.ads-in-article {
    max-width: 700px;
}

.ads-sidebar {
    position: sticky;
    top: 0px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .ad {
        position: static;
        margin: 20px auto;
    }

    .ads-sidebar {
        position: static;
    }
}

/* MAMADAS */
.fondochingon{
    background-color: #14181C;
}