.banner-prensa {
    background-image: url('../imagenes/sospecho/03_Desktop_Banner_Sospecho.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 94px;
  }
  
  /* Ahora sí el contenedor correcto */
  .contenedor-prensa {
    text-align: left;
    padding-left: 80px;   /* mismo padding lateral que usás en la web */
    padding-right: 80px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .prensa-subtitulo {
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin: 0 0 8px 0;
  }
  
  .linea-prensa {
    width: 41px;
    height: 2px;
    background-color: white;
  }
  
  .banner-titulo-prensa {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
  }
  
/* ================== BARRA DE BUSQUEDA PRENSA ================== */
.busqueda-prensa-section {
  display: flex;
  justify-content: center;
  margin-top: 30px; /* separación del banner */
}

.busqueda-form-prensa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1062px;
  height: 52px;
  border-radius: 10px;
}

/* Grupo del input */
.input-group-prensa {
  display: flex;
  align-items: center;
  width: 920px;
  height: 52px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group-text-prensa {
  background: transparent;
  border: none;
  margin-right: 10px;
  margin-left: 10px;
}

.form-control-prensa {
  flex: 1;
  height: 52px;
  border: none;
  outline: none;
  font-size: 16px;
  
  
}

/* Botón de búsqueda */
.buscar-btn-prensa {
  width: 102px;
  height: 52px;
  border: none;
  border-radius: 4px;
  background-color: #014375;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-left: 20px; /* separación entre barra y botón */
}

.buscar-btn-prensa:hover {
  background-color: #0260a1;
}


/* ================== FILTRO DE NOTICIAS ================== */
.filtro-noticias-section {
  width: 1030px;
  margin: 20px auto 0 auto;
  position: relative;
}
.ordenar-container {
  margin-left: auto; /* 🔥 lo fija a la derecha */
  position: relative;
}
/* Botón principal */
.ordenar-btn {
  background-color: transparent; /* sin fondo inicialmente */
  color: #014375; /* texto azul */
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ordenar-btn:hover {
  background-color: #014375; /* fondo azul al pasar el cursor */
  color: #fff; /* texto blanco al hover */
}
/* Menú desplegable */
.menu-filtros {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  width: 270px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 100;
}

.menu-filtros label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  cursor: pointer;
}

.menu-filtros input[type="radio"] {
  margin-right: 8px;
}

/* Botones inferiores */
.filtros-acciones {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  border-top: 1px solid #ccc;
}

.btn-filtro {
  width: 48%;
  padding: 8px 0;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-filtro.borrar {
  background-color: transparent;
  color: #014375;
  border: 1px solid #014375;
}



.btn-filtro.aplicar {
  background-color: #014375;
  color: #fff;
}

.btn-filtro.aplicar:hover {
  background-color: #0260a1;
}




/* ================== SECCIÓN DE NOTICIAS ================== */
/*.noticias-section {
  width: 1030px;
  height: 1044px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px auto;
  gap: 40px 0;
}*/
.noticias-section {
  width: 1030px;
  min-height: 1044px;      /* opcional */
  height: auto;            /* CLAVE */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px auto;
  gap: 40px 0;
}

/* Cada card */
.noticia-card {
  width: 488px;
  height: 312px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Imagen principal de la noticia */
.imagen-noticia {
  width: 488px;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #f0f0f0;
  display: block;
}

/* Contenedor título + descripción */
.noticia-titulo {
  width: 488px;
  height: 112px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  gap: 5px;
  border: 1px solid #014375; /* borde azul alrededor */
  border-radius: 0 0 8px 8px; /* redondea solo la parte inferior */
}

/* Contenedor para título y flecha */
.titulo-con-flecha {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* flecha junto al texto */
  gap: 10px; /* espacio entre título y flecha */
}

/* Título */
.titulo-noticia {
  font-size: 20px;
  color: #014375;
  font-weight: 600;
  margin: 0;
}

/* Flecha */
.flecha-noticia {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg); /* rota la flecha hacia la derecha */
  margin-left: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(300%) hue-rotate(180deg); /* tono azul */
}

/* Efecto hover opcional */
.noticia-card:hover .flecha-noticia {
  transform: rotate(-90deg) translateX(3px);
  filter: brightness(0) saturate(100%) invert(11%) sepia(82%) saturate(3641%) hue-rotate(190deg) brightness(95%) contrast(98%);
}

/* Descripción */
.descripcion-noticia {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  color: #333;
}
/* ===== EFECTO HOVER ===== */
.noticia-card:hover .noticia-titulo {
  background-color: #014375;
  color: #fff;
}

/* Cambia los textos dentro */
.noticia-card:hover .titulo-noticia,
.noticia-card:hover .descripcion-noticia {
  color: #fff;
}

/* Flecha se aclara en hover */
.noticia-card:hover .flecha-noticia {
  filter: brightness(0) invert(1);
}
.banner-prensa-container-celular{
  display: none;
}
.filtros-btn-container {
  display: flex;     
  margin-left: auto;
}
.btn.btn-primary.btn-cargar-mas{
  color: #014375;
  border-color: #014375;
  background-color: transparent;
}
.btn.btn-primary.btn-cargar-mas:hover{
  background-color: #014375;
  color: #fff;
  border-color: #014375;
}
/* CONTENEDOR PRINCIPAL */
.indicador-filtros-galeria {
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-right: 20px;
}
.barra-filtros-top-desktop {
  display: flex;
  align-items: center;
  width: 100%;
}
/* TEXTO */
.filtros-info {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filtros-label {
  font-weight: 600;
  color: #555;
}

.texto-filtros-activos {
  color: #222;
}

/* BOTÓN LIMPIAR */
.btn-limpiar-global {
  background: none;
  border: none;
  color: #007bff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-limpiar-global:hover {
  text-decoration: underline;
  color: #0056b3;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}
.limpiar-mobile-container {
  display: none;
}
/*Estilos para celulares (pantallas de hasta 767px) */
@media (max-width: 767px){
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  /* Ocultamos desktop */
  .banner-prensa,
  .busqueda-prensa-section {
    display: none;
  }

  /* Contenedor padre */
  .banner-prensa-container-celular {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    margin-top: 50px;
    box-sizing: border-box;
    position: relative;
  }

  /* Banner */
  .banner-prensa-celular {
    position: relative;
    background-image: url('../imagenes/sospecho/03_Desktop_Banner_Sospecho.jpg');
    background-size: cover;
    background-position: center;
    height: 252px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .contenedor-prensa-celular {
    padding: 0 20px;
  }

  .prensa-subtitulo-celular {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
  }

  .linea-prensa-celular {
    width: 42px;
    height: 1px;
    background-color: #fff;
  }

  .banner-titulo-prensa-celular {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

  /* ====== Barra de búsqueda ====== */
  .busqueda-prensa-section-celular {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .busqueda-form-prensa-celular {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 500px;
  }

  .input-group-prensa-celular {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 10px;
    width: 100%;
    margin-bottom: 12px;
  }

  .input-group-text-prensa-celular {
    background: none;
    border: none;
    color: #014375;
    font-size: 18px;
  }

  .form-control-prensa-celular {
    border: none;
    outline: none;
    flex: 1;
    height: 40px;
    background: transparent;
    font-size: 15px;
    appearance: none;
  }

  .form-control-prensa-celular::-webkit-search-decoration,
  .form-control-prensa-celular::-webkit-search-results-button,
  .form-control-prensa-celular::-webkit-search-results-decoration {
    -webkit-appearance: none;
  }

  .buscar-btn-prensa-celular {
    width: 100%;
    height: 44px;
    background-color: #014375;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
  }

  .buscar-btn-prensa-celular:hover {
    background-color: #0260a1;
  }

  /* ============== FILTROS ==================== */


  .limpiar-mobile-container {
    display: none;
    flex-shrink: 0; /* 🔥 evita que se achique */
  }
  .limpiar-mobile-container.activo {
    display: block;
  }
  .limpiar-mobile-container button {
    white-space: nowrap;
    font-size: 14px;
  }
  .btn-limpiar-global {
    font-size: 13px;
    color: #014375;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* 🔥 BARRA FILTROS MOBILE */
  .barra-filtros-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 24px;
    margin-top: 94px;
  }

  /* IZQUIERDA */
  .indicador-filtros-galeria-mobile {
    flex: 1;
    min-width: 0;
  }

 .filtros-info.mobile {
  display: flex;
  gap: 4px;
  overflow: hidden;
  white-space: nowrap;
  }

  .barra-filtros-mobile .filtros-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
  }

   .texto-filtros-activos-mobile {
    font-size: 13px;
    color: #014375;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .barra-filtros-mobile .btn-limpiar-global {
    font-size: 12px;
    background: none;
    border: none;
    color: #014375;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* DERECHA */
  .filtros-btn-container-mobile {
    margin-left: auto;
    flex-shrink: 0;
  }

  .btn-filtros-mobile {
    background: none;
    border: none;
    color: #014375;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .btn-filtros-mobile i {
    font-size: 18px;
  }
  .barra-filtros-mobile .filtros-btn-container-mobile {
    display: flex; /* forzar visibilidad */
    margin-left: auto;
  }
  .fila-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .filtros-info.mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  /* Contenido del panel lateral */
.offcanvas-body {
  padding: 20px;
}
.offcanvas-header {
  border-bottom: 0.5px solid #ccc;
}
.filtro-block {
  margin-bottom: 20px;
}

.filtro-block label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

.filtro-block input[type="radio"] {
  margin-right: 8px;
}

  .offcanvas-actions .btn-borrar {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .offcanvas-actions .btn-aplicar {
    background-color: #014375;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
  }
  .botones-filtro{
    width: 100%; /* ocupa todo el ancho disponible */
    border-top: 0.5px solid #ccc; /* o el color que prefieras */
    padding-top: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
  }
  /* ================= NOTICIAS ================= */

  .noticias-section {
    width: 100%;
    flex-direction: column;
    margin: 20px 0;
    gap: 20px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .noticia-card {
    width: 100%;
    height: 239px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .imagen-noticia {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

  .noticia-titulo {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #014375;
  }

  .titulo-con-flecha {
    display: flex;
    gap: 8px;
  }

  .titulo-noticia {
    font-size: 16px;
    color: #014375;
    font-weight: 600;
  }

  .descripcion-noticia {
    font-size: 13px;
    color: #333;
  }

}
