/* ============================================================
   SEMANA MAIPUENSE - NOTA PRINCIPAL DE PORTADA (HERO CON OVERLAY OSCURO)
   Foto de fondo con desenfoque de relleno y degradado oscuro progresivo hacia el texto
   ============================================================ */

.noticia_portada_grande {
    width: 100%;
    margin-bottom: 20px;
}

/* 1. Contenedor principal del artículo (Hero 520px) */
.noticia_portada_grande_articulo {
    position: relative !important;
    width: 100%;
    max-width: 820px;
    height: 520px !important;
    overflow: hidden;
    border-radius: 8px;
    background-color: #0b151e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.noticia_portada_grande_articulo:hover {
    box-shadow: 0 8px 24px rgba(16, 65, 98, 0.35);
}

/* ------------------------------------------------------------
   2. FOTO DE FONDO CON BLUR Y FOTO CENTRAL NÍTIDA
   ------------------------------------------------------------ */
.noticia_portada_grande_articulo .capa_fotos {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Fondo difuminado para rellenar los laterales cuando la foto es vertical o 4:3 */
.noticia_portada_grande_blur {
    display: block !important;
    position: absolute !important;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(14px) brightness(0.7);
    -webkit-filter: blur(14px) brightness(0.7);
    transform: scale(1.08);
    z-index: 1;
}

/* Galería y contenedor de la imagen central nítida */
.noticia_portada_grande_galeria {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.noticia_portada_grande_galeria a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.noticia_portada_grande_imagen {
    position: relative;
    max-width: 100%;
    height: 100% !important;
    max-height: 520px;
    width: auto !important;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    z-index: 2;
    transition: transform 0.4s ease;
}

.noticia_portada_grande_articulo:hover .noticia_portada_grande_imagen {
    transform: scale(1.025);
}

/* Badge de Galería fotográfica en esquina superior derecha */
.noticia_portada_grande_galeria .badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 6;
    background: rgba(16, 65, 98, 0.9) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ------------------------------------------------------------
   3. OVERLAY OSCURO QUE SE PONE MÁS OSCURO HACIA EL TEXTO
   ------------------------------------------------------------ */
.noticia_portada_grande_articulo .capa_articulo {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 90px 24px 22px 24px !important;
    z-index: 3 !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.82) 42%,
        rgba(0, 0, 0, 0.45) 72%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    border-radius: 0 0 8px 8px !important;
    pointer-events: auto;
}

/* Volanta si existiera */
.noticia_portada_grande_volanta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f0c43a;
    margin-bottom: 6px;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Titular arriba en blanco nítido y de alto impacto */
.noticia_portada_grande_titulo {
    font-family: 'Montserrat', 'Roboto', sans-serif !important;
    font-size: 29px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.7) !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    transition: color 0.2s ease;
}

.noticia_portada_grande_titulo:hover,
.noticia_portada_grande_titulo_principal:hover {
    color: #f0c43a !important;
    text-decoration: none !important;
}

/* Copete / Bajada en blanco brillante y muy legible */
.noticia_portada_grande_copete {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.48 !important;
    color: #f8fafc !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8) !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 98%;
}

/* ------------------------------------------------------------
   4. REDES SOCIALES EN LA ESQUINA SUPERIOR IZQUIERDA
   ------------------------------------------------------------ */
.noticia_portada_grande_social {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.noticia_portada_grande_social br {
    display: none !important;
}

.noticia_portada_grande_social .articulo_social {
    margin: 0 !important;
    padding: 0 !important;
}

.noticia_portada_grande_social ul.xsocial {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.noticia_portada_grande_social ul.xsocial li {
    display: inline-block;
    margin: 0;
}

.noticia_portada_grande_social ul.xsocial li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.noticia_portada_grande_social ul.xsocial li a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #ffffff;
}

.noticia_portada_grande_social ul.xsocial li a strong {
    display: none !important;
}

.noticia_portada_grande_social ul.xsocial li.stwitter a {
    background-color: #0f1419;
}
.noticia_portada_grande_social ul.xsocial li.stwitter a::before {
    content: "\e61b";
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', sans-serif;
    font-size: 13px;
}

.noticia_portada_grande_social ul.xsocial li.sfb a {
    background-color: #3b5998;
}
.noticia_portada_grande_social ul.xsocial li.sfb a::before {
    content: "\f39e";
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', sans-serif;
    font-size: 14px;
}

.noticia_portada_grande_social ul.xsocial li.swsp a {
    background-color: #25d366;
}
.noticia_portada_grande_social ul.xsocial li.swsp a::before {
    content: "\f232";
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', sans-serif;
    font-size: 14px;
}

.noticia_portada_grande_separador,
.noticia_portada_grande_audios,
.noticia_portada_grande_articulo .capa_transparencia {
    display: none !important;
}

/* ------------------------------------------------------------
   5. ADAPTATIVIDAD RESPONSIVE (MÓVIL Y TABLET)
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .noticia_portada_grande_articulo {
        height: 440px !important;
    }

    .noticia_portada_grande_imagen {
        max-height: 440px;
    }

    .noticia_portada_grande_titulo {
        font-size: 24px !important;
    }

    .noticia_portada_grande_copete {
        font-size: 14.5px !important;
    }

    .noticia_portada_grande_articulo .capa_articulo {
        padding: 70px 18px 18px 18px !important;
    }
}

@media (max-width: 576px) {
    .noticia_portada_grande_articulo {
        height: 380px !important;
    }

    .noticia_portada_grande_imagen {
        max-height: 380px;
    }

    .noticia_portada_grande_titulo {
        font-size: 20px !important;
        line-height: 1.22 !important;
    }

    .noticia_portada_grande_copete {
        font-size: 13.5px !important;
        line-height: 1.38 !important;
    }

    .noticia_portada_grande_articulo .capa_articulo {
        padding: 60px 14px 14px 14px !important;
    }
}
