/* PUBLICACIONES*/

.publicaciones {
  text-align: center;
  padding-top: 50px;
}

.publicaciones .posts-item {
  text-align: left;
}

.publicaciones .posts-item p:first-of-type {
  font: var(--small);
  color: var(--gris);
  margin-bottom: 10px;
}

.publicaciones .fh3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--azul2);
}

  .posts-container { 
 position: relative; 
 margin: auto; 
 overflow: hidden; 
} 

.posts { 
 display: flex; 
 transition: transform 0.5s ease-in-out; 
} 

.posts-item { 
 max-height: 100%; 
 min-width: 60%;
 padding: 20px; 
 text-align: center;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid #eee; 
 margin: 10px;
} 

.img-container {
  width: 100%;
  height: 148px; /* Ajusta la altura que desees */
  overflow: hidden; /* Oculta las partes de la imagen que se salgan del contenedor */
}

.posts-item img { 
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extracto {
  height: 80px;
  max-height: 80px;
  overflow: hidden;
  position: relative; 
  font: var(--small);
  color: var(--azul);
}

.publicaciones .boton {
  padding: 10px 15px;
  margin-top: 20px;
  display: block;
}

.prev-btn, .next-btn { 
  background-color: transparent;
  color: var(--azul);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font: var(--h1);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid #eee; 
 margin: 5px;
 margin-top: 20px;
} 

.prev-btn { 
 left: 10px; 
 display: inline-block;
} 

.next-btn { 
 right: 10px; 
  display: inline-block;
} 

.publicaciones .fondo-azul {
  background-color: var(--azul);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 40px;
  display: block;
  margin: 20px auto 50px;
}



@media (min-width: 768px) { 

.posts-container {
      max-width: 80%;
}
    .prev-btn {
        float: left;
    position: relative;
    left: 20px;
    top: -250px;
}

.next-btn {
    float: right;
    position: relative;
    right: 20px;
    top: -250px;

}


 .posts-item { 
 min-width: 250px;
 padding: 50px; 
 } 


}

/* FOR BIG DESKTOP */

@media (min-width: 1920px) {
  
   .posts-item { 
    min-width: 350px;
    margin-right: 100px;
}

  .img-container {
    height: 200px;
  }

  .extracto {
    height: 100px;
    max-height: 100px;
  }


}