/* breadcumbs */
/* titulo */

.tituloburo {
    margin-top: 6%;
    padding: 10px 0;
    background: #f3f5fa;
    min-height: 30px;
}

.tituloburo h2 {
    font-size: 28px;
    font-weight: 600;
    color: #37517e;
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
    .tituloburo {
        margin-top: 9%;
    }
}

@media (max-width: 992px) {
    .tituloburo {
        margin-top: 13%;
    }
    .tituloburo h2 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .tituloburo {
        margin-top: 20%;
    }

    .tituloburo h2 {
        font-size: 20px;
    }
}

/* carrucel noticias pagina principal */
/* Estilo del contenedor del carrusel */

.swiper {
    padding: 20px 0;
}

.swiper-slide:hover {
    transform: scale(1.03);
}

.noticias-carrusel {
    max-width: 90%;
    /* Limita el ancho total del contenedor */
    margin: 0 auto;
    /* Centra el contenedor */
    margin-top: -100px;
}

.noticias-carrusel img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}


/* Contenido de la tarjeta */

.carrusel-contenido {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
}


/* Título */

.carrusel-contenido h3 {
    font-size: 1.3rem;
    margin: 0;
}


/* Fecha */

.carrusel-fecha {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ddd;
}


/* Categoría */

.carrusel-categoria {
    display: inline-block;
    background-color: #ff5a5f;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}


/* Ajustes de navegación */

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    padding: 10px;
}

.swiper-pagination-bullet {
    background: #aaa;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #a40107;
    opacity: 1;
}

.boton-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -50px;
    /* Ajusta según sea necesario */
    min-height: 3vh;
    /* Reducir la altura mínima */
}


/* * {
    outline: 1px solid red;
} */

.boton-redireccion {
    background-color: #0a66c2;
    /* Azul similar */
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 25px;
    /* Bordes redondeados */
    display: inline-block;
    transition: background-color 0.3s ease;
    text-align: center;
}

.boton-redireccion:hover {
    background-color: rgb(8, 43, 83);
    /* Azul más oscuro en hover */
}


/* seccion Catalogo Noticias */


/* Estilos de noticias recientes */

.filtros {
    display: flex;
    justify-content: center;
    /* Centra el filtro horizontalmente */
    margin-top: 7%;
    /* Espaciado arriba y abajo */
}

.filtros select {
    background-color: #0a66c2;
    /* Color azul similar */
    color: white;
    border: none;
    border-radius: 25px;
    /* Bordes redondeados */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 200px;
    /* Ancho fijo en pantallas grandes */
    max-width: 100%;
    /* Para que no se desborde en móviles */
}


/* Efecto hover */

.filtros select:hover {
    background-color: #073e75;
    /* Azul más oscuro al pasar el cursor */
}

.noticias-recientes {
    margin-top: -100px;
}

.noticias-recientes h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.noticias-contenedor-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 88%;
    /* Limita el ancho total del contenedor */
    margin: 0 auto;
    /* Centra el contenedor */
    gap: 40px;
}

.noticias-tarjeta {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 16px 24px rgba(103, 25, 25, 0.227);
    overflow: hidden;
    transition: transform 0.3s;
}

.noticias-tarjeta:hover {
    transform: translateY(-5px);
}

.noticias-tarjeta a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.noticias-imagen-contenedor {
    height: 250px;
    overflow: hidden;
}

.noticias-imagen-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticias-contenido {
    padding: 15px;
}

.noticias-contenido h3 {
    font-size: 18px;
    font-weight: bold;
    padding-top: 5px;
}

.noticias-categoria {
    display: inline-block;
    background-color: #c00000;
    color: white;
    font-size: 12px;
    padding: 5px 5px 5px;
    border-radius: 5px;
}

.noticias-fecha {
    font-size: 14px;
    color: #666;
    bottom: 10px;
    /* Anclado a la parte inferior */
}


/* Noticias diseño individual*/

.noticias-contenedor {
    margin: 0 auto;
    padding: 20px 10px;
    min-height: calc(100vh - 80px);
    /* Altura completa menos el encabezado */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


/* Estilos para la noticia */

.noticia {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    overflow: hidden;
    text-align: left;
    font-size: 16px;
    margin-bottom: 20px;
}

.imagen-contenedor {
    position: relative;
    width: 100%;
    height: 650px;
    /* Tamaño de imagen */
    overflow: hidden;
    margin-top: 7%;
}

.imagen-noticia {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Contenido sobre la imagen */

.contenido-sobre-imagen {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
}

.categoria {
    background-color: #8c1414;
    color: #ffffff;
    font-size: 10px;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.titulo-noticia {
    font-weight: bold;
    margin: 5px 0;
    font-size: clamp(18px, 4vw, 40px);
    color: #ffffff;
    text-align: left;
}

.metadatos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: clamp(10px, 4vw, 18px);
    color: #ddd;
}

.descripcion {
    font-size: clamp(18px, 4vw, 18px);
    color: #555555;
    line-height: 1.5;
    margin: 30px;
    margin-top: 3%;
    text-align: justify;
}

.subtitulo {
    color: #37517e;
    font-weight: bold;
    /* Hace el texto en negritas */
    font-size: clamp(20px, 5vw, 23px);
    text-align: center;
    /* Centra el texto */
    margin: 20px;
    /* Espacio alrededor del título */
}

.link-descripcion {
    text-decoration: underline;
    font-weight: bold;
    color: #3d3d3d;
}

.parrafo2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    /* Espacio entre listas */
}

.lista {
    flex: 1;
    min-width: 250px;
    /* Asegura que en pantallas pequeñas las listas se apilen */
}

.lista-vineta {
    margin: 20px auto;
    padding-left: 15px;
    max-width: 80%;
    width: 90%;
}

.lista-vineta li {
    margin-bottom: 10px;
}

.lista-vineta li::marker {
    font-size: 1.2em;
    font-weight: bold;
}

.item-vineta {
    font-size: 1.2em;
    display: block;
    margin-bottom: 5px;
}

.lista-vineta p {
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

.lista-vineta span {
    font-size: 1em;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}


/* estilo diferente para vineta */

.lista-vineta-flecha {
    list-style: none;
    /* Elimina la viñeta predeterminada */
    padding: 0;
}

.lista-vineta-flecha li {
    position: relative;
    padding-left: 20px;
    /* Espacio para la flecha */
    font-weight: 500;
    color: #4a4a4a;
}

.lista-vineta-flecha li::before {
    content: "➜";
    /* Flecha como viñeta */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #333;
    /* Color de la flecha */
}


/* Contenedor del video */

.video-contenedor {
    display: flex;
    /* Para centrar el contenido horizontalmente */
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
    /* Asegura que se ajuste a la pantalla */
    max-width: 1200px;
    /* Define un ancho máximo para pantallas grandes */
    padding: 0 15px;
    /* Espaciado lateral */
    box-sizing: border-box;
}


/* Estilos para el video */

.video-contenedor video {
    width: 100%;
    /* El video ocupará todo el ancho del contenedor */
    max-width: 800px;
    /* Ancho máximo del video */
    height: auto;
    /* Mantiene la relación de aspecto */
    border-radius: 8px;
    /* Opcional: bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Opcional: sombra */
}


/* Contenedor de la imagen */

.imgVertical-contenedor {
    float: right;
    /* Coloca la imagen a la derecha */
    margin-left: 20px;
    /* Espacio entre la imagen y el texto */
    margin-right: 10px;
    margin-bottom: 20px;
    /* Espacio en la parte inferior para evitar que el texto quede pegado */
}

.imgVertical-contenedor img {
    width: 300px;
    /* Tamaño fijo de la imagen */
    height: auto;
    /* Mantiene las proporciones de la imagen */
    max-width: 100%;
    /* Hace la imagen responsive */
    border-radius: 8px;
    /* Opcional: bordes redondeados */
}

.imgDerecha-contenedor {
    float: left;
    margin-right: 4%;
    margin-left: 10px;
    margin-bottom: 20px;
    /* Espacio en la parte inferior para evitar que el texto quede pegado */
}

.imgDerecha-contenedor img {
    width: 300px;
    /* Tamaño fijo de la imagen */
    height: auto;
    /* Mantiene las proporciones de la imagen */
    max-width: 100%;
    /* Hace la imagen responsive */
    border-radius: 8px;
    /* Opcional: bordes redondeados */
}

.image-container-box {
    display: flex;
    justify-content: center;
    gap: 100px;
    /* Espacio entre las imágenes */
    flex-wrap: wrap;
}

.image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 80%;
    text-align: center;
}

.image-box img {
    width: 100%;
    max-width: 300px;
    /* Ajusta según tu diseño */
    height: auto;
}

.caption {
    font-size: 18px;
    word-wrap: break-word;
}

.noticias-imagen img {
  padding: 5px;
  width: 100%;
  align-items: center;
}




/* Responsividad */

@media screen and (min-width: 769px) and (max-width: 1366px) {
    .noticias-carrusel img {
        width: 100%;
        height: 300px;
    }
    .imagen-contenedor {
        height: 500px;
    }
    .item-vineta {
        font-size: 1.5em;
    }
    .image-container-box {
        gap: 40px;
    }
    .caption {
        font-size: 12px;
    }
    .noticias-imagen img {
  width: 100%;
}
}

@media (max-width: 768px) {
    .noticias-carrusel img {
        width: 100%;
        height: 300px;
    }
    .filtros select {
        width: 100%;
        /* Ocupa todo el ancho en móviles */
        margin-top: 20%;
    }
    .imagen-contenedor {
        height: 250px;
        margin-top: 18%;
    }
    .titulo-noticia {
        font-size: 18px;
    }
    .descripcion {
        font-size: 14px;
    }
    .noticias-contenedor-tarjetas {
        max-width: 80%;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .subtitulo {
        font-size: 2rem;
        /* Reduce el tamaño en pantallas pequeñas */
        margin: 15px;
        /* Ajusta el margen para pantallas pequeñas */
    }
    .imgVertical-contenedor img {
        width: 100%;
        /* La imagen ocupará el 100% del contenedor en pantallas pequeñas */
    }
    .imgVertical-contenedor {
        float: none;
        /* El float ya no se aplicará en dispositivos pequeños */
        margin: 0 auto;
        /* Centra la imagen en dispositivos pequeños */
        max-width: 70%;
    }
    .imgDerecha-contenedor {
        float: none;
        /* El float ya no se aplicará en dispositivos pequeños */
        margin: 0 auto;
        /* Centra la imagen en dispositivos pequeños */
        max-width: 70%;
    }
    .imgDerecha-contenedor {
        width: 100%;
    }
    .noticias-imagen img {
        width: 100%;
      }
}

@media (max-width: 480px) {
    .noticias-carrusel img {
        width: 100%;
        height: 300px;
    }
    .filtros {
        margin-top: 9%;
    }
    .noticia {
        width: 100%;
    }
    .encabezado {
        font-size: 18px;
        padding: 10px;
    }
    .titulo-noticia {
        font-size: 16px;
    }
    .descripcion {
        font-size: 13px;
    }
    .noticias-recientes h2 {
        font-size: 20px;
    }
    /* responsibidad catalogo*/
    .noticias-contenedor-tarjetas {
        max-width: 90%;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .imagen-contenedor {
        height: 200px;
        overflow: hidden;
        margin-top: 15%;
    }
    .noticias-contenido h3 {
        font-size: 18px;
        margin-top: 10px;
    }
    .noticias-contenido br {
        display: none;
    }
    .subtitulo {
        font-size: 1rem;
        /* Reduce aún más el tamaño para móviles */
        margin: 10px;
        /* Ajusta el margen aún más */
    }
    .lista-vineta {
        padding-left: 10px;
        /* Menos margen en móvil */
    }
    .lista-vineta p {
        font-size: 0.8rem;
    }
    .item-vineta {
        font-size: 0.9rem;
        /* Evitamos que el texto se vea muy grande */
    }
    .lista-vineta li::marker {
        font-size: 1em;
    }
    .espaciado {
        display: none;
    }
    .image-container-box {
        flex-direction: column;
        /* Cambia a columna en pantallas pequeñas */
        align-items: center;
        /* Centra las imágenes */
        gap: 20px;
        /* Menos espacio en pantallas pequeñas */
    }
    .image-box img {
        max-width: 70%;
        /* Reduce el tamaño en pantallas pequeñas */
    }
    .caption {
        font-size: 12px;
        word-wrap: break-word;
    }
}