@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

.w-100{
	width:100%;
}

.m-auto {
	margin:auto;
}

.text-center {
	text-align:center;
}

.modal-backdrop.fade.show {
  z-index: -1;
}

.containerNoticiasGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas del mismo tamaño */
  grid-auto-rows: 250px;
  /* Altura automática para las filas */
  gap: 20px;
  padding: 10px;
}

.containerNoticiasGrid br {
  display: none;
}

.containerNoticiasGrid p:empty {
  display: none !important;
}

.containerNoticiasGrid .noticiaLaNucia {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.containerNoticiasGrid .noticiaLaNucia:hover {
  transform: scale(1.05);
  cursor: default;
}

.containerNoticiasGrid .noticiaLaNucia .imagenNoticiaLaNucia,
.containerNoticiasGrid .noticiaLaNucia .imagenNoticiaLaNuciaSinHover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: opacity 0.3s ease;
  border: 1px solid rgba(211, 211, 211, 0.9);
}

.containerNoticiasGrid .noticiaLaNucia .infoNoticiaLaNucia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(211, 211, 211, 0.9);
  /* Color gris claro con transparencia */
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  text-align: center;
  padding: 10px;
  font-weight: 600;
}

.containerNoticiasGrid .noticiaLaNucia:hover .infoNoticiaLaNucia {
  opacity: 1;
}

.containerNoticiasGrid .infoNoticiaLaNucia h3 {
  font-weight: 600;
  color: #001e7b;
  font-size: 20px;
}

.containerNoticiasGrid .noticiaLaNucia:hover .imagenNoticiaLaNucia {
  opacity: 0.3;
}

.containerNoticiasGrid .separadorInfoNoticiaTop {
  border-top: 1px solid black;
}

.containerNoticiasGrid .separadorInfoNoticiaBottom {
  border-bottom: 1px solid black;
}

.containerNoticiasGrid .linkNoticiaNoticiaLaNucia {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #001e7b;
  color: white;
  font-size: 20px;
  font-weight: 600;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border: none;
  padding-bottom: 4px;
}

.containerNoticiasGrid .contenedorInfoModal {
  width: 50%;
  height: 100%;
}

.containerNoticiasGrid .tituloModal {
  color: #001e7b;
  font-weight: 600;
  font-size: 25px;
}

.containerNoticiasGrid .h-10 {
  height: 10%;
}

.containerNoticiasGrid .h-15 {
  height: 15%;
}

.containerNoticiasGrid .h-20 {
  height: 20%;
}

.containerNoticiasGrid .h-30 {
  height: 30%;
}

.containerNoticiasGrid .h-35 {
  height: 35%;
}

.containerNoticiasGrid .h-40 {
  height: 40%;
}

.containerNoticiasGrid .h-45 {
  height: 45%;
}

.containerNoticiasGrid .h-55 {
  height: 55%;
}

.containerNoticiasGrid .h-60 {
  height: 60%;
}

.containerNoticiasGrid .h-70 {
  height: 70%;
}

.containerNoticiasGrid .h-80 {
  height: 80%;
}

.containerNoticiasGrid .pointer {
  cursor: pointer;
}

.containerNoticiasGrid .fw-500 {
  font-weight: 500;
}

.containerNoticiasGrid .fw-600 {
  font-weight: 600;
}

.containerNoticiasGrid .overflow-y-auto {
  overflow-y: auto;
}

.containerNoticiasGrid .imagenNoticiaLaNuciaMovil {
  display: none;
}
.containerNoticiasGrid .hijosW-100 > * {
  width: 100%;
  word-wrap: break-word;
}

.containerNoticiasGrid .contenidoModal {
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
}

/*ABAJO NOTICIA SUELTA*/

.containerNoticia {
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #001e7b;
  font-family: "Poppins", sans-serif;
}

.containerNoticia br {
  display: none;
}

.containerNoticia p:empty {
  display: none !important;
}

.containerNoticia .imageBanner,
.containerNoticia .videoBanner {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.containerNoticia .contenidoNoticia {
  max-width: 1000px;
  margin: auto;
  display: flex;
  margin-top: 20px;
}

.contenidoSocialNetwork {
  width: 100%;
  height: 65px;
  /* border-top: 1px solid #001e7b;
  border-bottom: 1px solid #001e7b; */
  border-top: 1px solid rgb(102, 102, 102);
  border-bottom: 1px solid rgb(102, 102, 102);
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.contenidoSocialNetwork a,
.contenidoSocialNetwork i {
  font-size: 25px;
  text-decoration: none;
}
.contenidoSocialNetwork a {
  color: inherit;
}

.containerNoticia .contenidoNoticia > div:nth-child(1) {
  flex: 5;
}

.containerNoticia .contenidoNoticia > div:nth-child(2) {
  flex: 2;
}

.containerNoticia h1 {
  font-size: 2.5rem;
  color: rgb(0, 30, 123);
}

.imageArchivo {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.containerNoticia .w-80 {
  width: 80%;
}

.containerNoticia .w-20 {
  width: 20%;
}

.containerNoticia .px-10 {
  padding-left: 5rem !important;
  padding-right: 5rem !important;
}

.containerNoticia .max-w-1000px {
  max-width: 1000px;
}

.tituloPagina {
  font-weight: 600;
}

.colorGrisContenido {
  color: rgb(102, 102, 102);
}

.colorGrisContenido a {
  color: rgb(0, 30, 123);
}

@media (max-width: 979px) {
  .containerNoticia .contenidoNoticia {
    flex-direction: column;
    padding: 0px 10px;
  }

  .tituloPagina {
    font-size: 24px !important;
  }

  .contenidoLetra {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .containerNoticiasGrid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
    min-width: auto;
  }

  .containerNoticiasGrid .noticiaModal {
    flex-direction: column;
  }

  .containerNoticiasGrid .infoNoticiaLaNucia,
  .containerNoticiasGrid .imagenNoticiaLaNucia,
  .containerNoticiasGrid .imagenNoticiaLaNuciaSinHover {
    display: none !important;
  }

  .containerNoticiasGrid .imagenNoticiaLaNuciaMovil {
    width: 100%;
    display: block !important;
    border-radius: 10px;
  }

  .containerNoticiasGrid .contenedorInfoModal {
    width: 100% !important;
  }

  .containerNoticiasGrid .linkNoticiaNoticiaLaNucia {
    padding-bottom: 4px;
  }

  .containerNoticiasGrid .tituloModal {
    text-align: center;
  }
}

.titleNoticiaFloat {
  position: absolute;
  bottom: 0;
  font-size: 20px;
  text-align: start;
  color: white;
  font-weight: 600;
  /* background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  ); */
  height: 100%;
  display: flex;
  align-items: end;
  padding: 30px 30px;
  background: linear-gradient(0deg, rgb(0, 0, 0, 0.9),rgb(15, 15, 15, 0.7),rgb(30, 30, 30, 0.5),rgb(43, 43, 43, 0.3),rgb(97, 97, 97, 0.2));/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
