.contacto {
  position: relative;
  background-color: white;
  z-index: 100;
  width: 100%;
  padding-bottom: 50px;
}
.contacto__header {
    background-color: var(--s4);
    text-align: center;
}
.contacto__header .wrapper {
    position: relative;
    padding: 50px 0 140px 0;
}
.contacto__header p {
    color: var(--e2);
}
.contacto__header h3 {
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
} 
.contacto__warren {
    position: absolute;
    bottom: -70px;
    left: 7%;
    z-index: 1;
}
.contacto__warren p {
    position: absolute;
    top: 117px;
    right: -160px;
    max-width: 183px;
    background-color: #fff;
    font-size: 26px;
    letter-spacing: -1px;;
    color: var(--e2);
    font-weight: 700;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 0;
    text-align: left;
    padding: 15px 20px 15px 25px;
    line-height: normal;
}
.contacto__warren p::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -14px;
    right: 0;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 16px solid #fff;
}
.contacto__content {
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.contacto__content p {
    color: #000000;
    letter-spacing: 0;
}
.card-4 {
    width: 450px;
    height: 320px;
    background-color: #eeeeee;
    border-radius: 20px;
    padding: 30px 40px;
    box-sizing: border-box;
    display: flex;
    flex-flow: column
}
.card-4 a.more {
    align-self: center;
    margin-top: auto;
    width: 250px;
    text-align: center;;
} 

/* LIGHTOBX GLOSARIO*/
#glosario-lightbox .lightbox-card .lightbox-card__content {
    display: flex;
    background-image: linear-gradient(to right, 
    transparent calc(50% - 0.5px), 
    #330072 calc(50% - 0.5px), 
    #330072 calc(50% + 0.5px), 
    transparent calc(50% + 0.5px)
  );
}
#glosario-lightbox .lightbox-card .lightbox-card__content > div:first-child {
    width: 45%;
    padding-right: 5%;
    flex-grow: 0;
    position: relative;
}

#glosario-lightbox .lightbox-card .lightbox-card__content > div:last-child  {
    padding-left: 5%;
    width: 45%;
}
#glosario-lightbox .lightbox-card__footer {
    display: block;
    position: absolute;
    bottom: 40px;
    right: 4%;
}

@media only screen and (max-width: 1600px) {
    #glosario-lightbox .lightbox-card__content {
        height: calc(95vh - 279px);
        overflow-Y: scroll;
    }
    #glosario-lightbox .lightbox-card {
        height: 95vh;
    }
}
@media only screen and (max-width: 1448px) {
    .contacto__warren {
        left: 0;
      }
}

@media only screen and (max-width: 1248px) {
    .contacto__warren {
        bottom: auto;
        top: 33%;
      }
      .contacto__content {
        padding-top: 130px;
    }
}
@media only screen and (max-width: 1024px) {
    .contacto__warren {
        top: 40%;
      }
      .card-4 {
        width: 100%;
        max-width: 670px;
        height: auto;
    }
      
}
@media only screen and (max-width: 900px) {
    .contacto__header .wrapper {
        padding: 50px 0 190px 0;
    }
    .contacto__warren {
        top: 50%;
    }
    .contacto__content {
        padding-top: 140px;
    }
}
@media only screen and (max-width: 800px) {
    #glosario-lightbox .lightbox-card .lightbox-card__content {
        display: block;
        background-image: none;
    }
    #glosario-lightbox .lightbox-card .lightbox-card__content > div:first-child {
        width: 100%;
        padding: 0;
        border-right: none;
    }
    #glosario-lightbox .lightbox-card .lightbox-card__content > div:last-child {
        padding: 0;
        width: 100%;
    }
    
}
@media only screen and (max-width: 768px) {
    .contacto__header h3 {
        max-width: 500px;
      }
      .contacto__content {
        padding-top: 160px;
    }
    .card-4 {
        padding: 30px 20px;
    }
}
@media only screen and (max-width: 525px) {
    .contacto__warren img {
        width: 70%;
    }
    .contacto__warren p {
        font-size: 20px;
        top: 68px;
        right: -95px;
        padding: 10px 15px 10px 20px;
    }
    .contacto__content {
        padding-top: 70px;
    }
}