nav ul {
    padding:0px;
}

header .hero .btn-conocenos {
  margin-left: 20px; 
}


  /* TESTIMONIOS*/

  .testimonios {
    padding: 40px;
    text-align: center;
  }

.testimonios .antetitulo {
  color: white;
}

.testimonios .line {
  background-color: white;
  margin-top: 20px;
}

.testimonios .fh1 {
  color: white;
  margin-bottom: 50px;
}

.testimonios a {
  display: block;
  margin: 40px auto;
}



/* NUESTROS CLIENTES */

.casos-exito .fh1 {
    color: #095779;
    margin-top: 20px;
    margin: 40px;
}

.casos-exito {
    margin-bottom: 70px;
    padding-top: 40px;
    text-align: center;
}

.casos-exito .flex img {
    padding: 20px
}

.casos-exito .glider-dots {
    display: none;
}

.glider,
.glider-contain {
    margin: 0 auto;
    position: relative
}

.glider img,
.glider picture {
    max-width: 300px;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto
}

.glider,
.glider-track {
    transform: translateZ(0)
}

.glider-dot,
.glider-next,
.glider-prev {
    border: 0;
    padding: 0;
    user-select: none;
    outline: 0
}

.glider-contain {
    width: 100%
}

.glider {
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none
}

.glider-track {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    z-index: 1;
    margin-bottom: 20px;
}

.glider.draggable {
    user-select: none;
    cursor: -webkit-grab;
    cursor: grab
}

.glider {
    scrollbar-width: none
}

.glider-slide img {
    user-select: none;
    pointer-events: none
}

.glider.drag {
    cursor: -webkit-grabbing;
    cursor: grabbing
}

.glider-slide {
    user-select: none;
    justify-content: center;
    align-self: center;
    width: 100%;
    min-width: 100px;

}

.glider-slide img {
    max-width: 100%
}

.glider::-webkit-scrollbar {
    opacity: 0;
    height: 0
}


.nexti, .previ {
  background-color: white;
  color: var(--azul);
  border: none;
  padding: 10px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  font: var(--h1);
}

.glider-hide {
    opacity: 0
}

.glider-dots {
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 0
}

.glider-dot {
    display: block;
    cursor: pointer;
    color: #ccc;
    border-radius: 999px;
    background: #ccc;
    width: 8px;
    height: 8px;
    margin: 5px
}


.glider-dot.active {
    background: #a89cc8
}



.glider {
    max-width: 280px
}

@media screen and (min-width:700px) {
    .glider {
        max-width: 700px
    }

}

@media screen and (min-width:1024px) {
    .glider {
        max-width: 1024px
    }


    .previ {
        float: left;
    position: relative;
    left: 30px;
    top: -150px;
}

.nexti {
    float: right;
    position: relative;
    right: 30px;
    top: -150px;

}

}

/* NOSOTROS */

.especialistas {
    color: white;
    padding-top: 50px;
    padding-bottom: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 100,100 0,100' fill='%23303F4B'/%3E%3Cpolygon points='30,100 100,30 100,100 0,100' fill='%23F36E42'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.especialistas .fh1 {
  margin-left: 40px;
  margin-bottom: 50px;
}

.especialistas p {
  margin: 40px;
}

.especialistas .line {
  background-color: white;
  width: 70px;
  margin-left: 40px;
  margin-bottom: 2px;
}

.especialistas .antetitulo {
  padding-top: 10px;
  color: white;
  text-align: left;
  margin-left: 40px;
  margin-top: 10px;
}

.especialistas .imagen {
  margin: 40px;
}

.especialistas .boton {
  display: block;
  margin: 40px;
}

.especialistas img {
  max-width: 100%;
  height: auto;
}

/* 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(--smaller);
  color: var(--azul);
}

.publicaciones .boton {
  padding: 8px 10px;
  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) { 

.especialistas {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center; /* This will now work */
  align-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 100,100 0,100' fill='%23303F4B'/%3E%3Cpolygon points='87,0 100,60 100,70 85,0' fill='white'/%3E%3Cpolygon points='0,0 55,0 25,100 0,100' fill='%23F36E42'/%3E%3C/svg%3E");
  width: 100%;
}

header .hero .fh3 {
  margin-bottom: 20px;
}

header .hero .btn-conocenos {
  margin-left: 100px; 
}


.especialistas .nosotros {
  padding: 20px;
}

.especialistas .imagen {
  flex-shrink: 0; /* Prevents the container from shrinking smaller than its content */
  flex-basis: 40%; 
  padding: 20px;
  max-width: 40%;
  margin: 40px 0 40px 80px;
}


.especialistas img {
  max-width: 100%; 
  height: auto;
  display: block;
}

.posts-container {
      max-width: 80%;
}

.nosotros {
  max-width: 400px;
}

    .prev-btn {
        float: left;
    position: relative;
    left: 20px;
    top: -250px;
}

.next-btn {
    float: right;
    position: relative;
    right: 20px;
    top: -250px;

}

} 




@media (min-width: 1024px) { 
 .posts-item { 
 min-width: 40%; 
 } 
} 



@media screen and (min-width: 990px) {

.servicios {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 10,0 30,100 0,100' fill='%23F36E42'/%3E%3C/svg%3E");
}

.servicios br {
  display:none;
}




}