
.detalle-noticia-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 3rem;
    background-color: #f5f6f8;
    margin-top:100px;
}

/* SECCIÓN SUPERIOR */
.detalle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ver-mas {
    display: flex;
    align-items: center;
}

.btn-ver-mas {
    text-decoration: none;
    font-weight: 600;
    color: #10183b;
    transition: color 0.3s ease;
}

.btn-ver-mas:hover {
    color: #12527F;
}


.separador {
    border: none;
    border-top: 2px solid #ccc;
    margin: 1rem 0 2rem 0;
}

/* SECCIÓN DETALLE */
.detalle-body .fecha-izquierda {
    text-align: left;
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.fecha-izquierda{
    color: #003A7B;
    font-weight: bolder;
    font-size: 3.5em;
}
.titulo-detalle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.imagen-detalle {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1.5rem;
            
}

.contenido-detalle {
    font-size: 1rem;
    line-height: 1.7;
    color: #000000;
    margin-top: auto;
    text-align: justify;
    width: 100%;
            
}

/* VIDEO DETALLE */
/* VIDEO DETALLE */
.video-detalle {
    max-width: 800px; 
    margin: 0 auto 10px auto; 
}

.video-marco-negro {
    background-color: #000;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 9 / 16 * 100 = 56.25% */
    border-radius: 12px;
    overflow: hidden; 
}

.video-detalle .video-centrado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    border-radius: 0; 
    display: block;
}

.compartir-video {
    text-align: center;
    margin-top: 0.5rem;
}

.texto-compartir {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.iconos-redes-video a {
    margin: 0 0.5rem;
}




.swiper.noticia-swiper {
    position: relative;
    margin-bottom: 1px;
    
    height: 500px;
}

/* Botones de navegación */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgb(18, 19, 19);
    opacity: 1;
}

/* Ícono de flecha */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Hover elegante */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #121421;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px #b4bbbcff;
}

/* Posición horizontal */
.swiper-button-next { right: 10px; }
.swiper-button-prev { left: 10px; }

/* ==========================================
    RESPONSIVE – CONTENEDOR GENERAL
========================================== */
@media (max-width: 992px) {
    .detalle-noticia-page {
        padding: 1.5rem 2rem;
    }

    .fecha-izquierda {
        font-size: 2.8em;
    }

    .titulo-detalle {
        font-size: 1.8rem;
    }

    .contenido-detalle {
        font-size: 0.95rem;
    }

    .swiper.noticia-swiper {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .detalle-noticia-page {
        padding: 1.2rem 1.5rem;
        margin-top: 80px;
    }

    .detalle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        margin-top: 20px;
    }

    .fecha-izquierda {
        font-size: 2.4em;
    }

    .titulo-detalle {
        font-size: 1.6rem;
    }

    .imagen-detalle {
        margin-bottom: 1rem;
    }

    .contenido-detalle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .video-detalle {
        max-width: 100%;
    }

    .swiper.noticia-swiper {
        height: 380px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .detalle-noticia-page {
        padding: 1rem 1rem;
        margin-top: 60px;
    }

    .fecha-izquierda {
        font-size: 2em;
        text-align: left;
    }

    .titulo-detalle {
        font-size: 1.4rem;
    }

    .contenido-detalle {
        font-size: 0.88rem;
        text-align: justify;
    }

    .swiper.noticia-swiper {
        height: 300px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 400px) {
    .detalle-noticia-page {
        padding: 0.8rem;
        margin-top: 50px;
    }

    .fecha-izquierda {
        font-size: 1.7em;
    }

    .titulo-detalle {
        font-size: 1.25rem;
    }

    .contenido-detalle {
        font-size: 0.85rem;
    }

    .swiper.noticia-swiper {
        height: 260px;
    }
}
/* Contenedor principal de compartir */
.compartir-seccion {
    text-align: center;
    margin: 2rem 0;
}

/* Texto "¡Compártelo!" */
.compartir-texto {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Contenedor de iconos */

.iconos-redes {
    display: flex;
    justify-content: center;
    gap: 0.5rem; /* Reducido de 1rem a 0.5rem */
    height: auto;
}
/* El Contenedor del enlace  */
.iconos-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    padding: 0px; 
    
}
.contenedor-icono {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem; /* Reducido de 1rem a 0.5rem */
    padding: 5px; /* También bajamos el padding si quieres que estén más juntos */
    text-decoration: none;
}
.icono-red {
    /* Aquí solo deja estilos de tamaño o filtros, no el flex */
    width: 50px; 
    height: 50px;
}
/* Iconos FontAwesome */
.iconos-redes a i.icono-red {
    font-size: 1.8rem; 
    color: #1b1c1d; 
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Iconos imagen  */
.iconos-redes a img.icono-red {
    width: 40px; /* Tamaño fijo para que todos se vean iguales */
    height: 40px; /* Tamaño fijo */
    object-fit: contain;
    gap: 1rem; 
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover: levantarse suavemente */
.iconos-redes a:hover i.icono-red {
    transform: translateY(-2px) scale(1.1); 
    color: #007bff; 
}

.iconos-redes a:hover img.icono-red {
    transform: translateY(-2px) scale(1.1); /* Ajustamos el desplazamiento y escala */
  
}

/* Responsive: iconos más pequeños en móviles */
@media (max-width: 992px) {

    .compartir-texto {
        font-size: 1.3rem;
        text-align: center;
    }

    .iconos-redes {
        gap: 0.8rem;
    }

    .iconos-redes a i.icono-red,
    .iconos-redes a img.icono-red {
        font-size: 1.6rem;
        width: 26px;
        height: 26px;
    }
}

/* Celulares medianos (≤ 768px) */
@media (max-width: 768px) {

    .compartir-texto {
        font-size: 1.2rem;
        text-align: center;
    }

    .iconos-redes {
        gap: 0.6rem;
    }

    .iconos-redes a i.icono-red,
    .iconos-redes a img.icono-red {
        font-size: 1.4rem;
        width: 24px;
        height: 24px;
    }
}

/* Celulares pequeños (≤ 480px) */
@media (max-width: 480px) {

    .compartir-texto {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .iconos-redes {
        gap: 0.5rem;
    }

    /* Ajuste fino para íconos */
    .iconos-redes a i.icono-red,
    .iconos-redes a img.icono-red {
        font-size: 1.2rem;
        width: 22px;
        height: 22px;
    }
}