#feachersSec {
  position: relative;
  margin-bottom: var(--space-between-sections);
  overflow: hidden;
}

#feachersSec .feachers {
  display: flex;
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 100px;
  /* Evita que el #header.sticky (position:fixed) tape la parte de arriba del item
     al llegar por enlace con ancla (ej. #servicio-85 desde el bloque de facilities) */
  scroll-margin-top: 120px;
}

#feachersSec .feachers:last-child {
  margin-bottom: 100px;
}

#feachersSec .feachers .bgBoxMainRight1 {
  width: 50%;
  height: 70px;
  background: var(--color-grey);
  position: absolute;
  top: 70px;
  right: calc(0px - var(--container-padding));
  z-index: -1;
}

#feachersSec .feachers .bgBoxMainRight2 {
  width: var(--container-padding);
  height: 50%;
  background: var(--color-grey);
  position: absolute;
  bottom: -70px;
  right: calc(0px - var(--container-padding));
  z-index: -1;
}

#feachersSec .feachers .bgBoxMainLeft1 {
  width: var(--container-padding);
  height: 70%;
  background: var(--color-grey);
  position: absolute;
  top: 0;
  left: calc(0px - var(--container-padding));
  z-index: -1;
}

#feachersSec .feachers .bgBoxMainLeft2 {
  width: var(--container-padding);
  height: 70%;
  background: var(--color-grey);
  position: absolute;
  top: 140px;
  left: calc(0px - var(--container-padding));
  z-index: -1;
}

#feachersSec .feachers .image {
  align-self: flex-start;
  position: relative;
  float: left;
  width: calc(50% + var(--container-padding));
  margin-left: calc(0px - var(--container-padding));
  margin-bottom: 70px;
  overflow: hidden;
}

#feachersSec .feachers .image img {
  width: 100%;
}

#feachersSec .feachers:nth-child(even) .image img {
  height: min(700px, calc(100vh - 120px));
  object-fit: cover;
}

#feachersSec .feachers .image:after {
  content: "";
  background: rgb(2 8 21 / 50%);
  position: absolute;
}

#feachersSec .feachers .image.shadowTop:after {
  width: 100%;
  height: 45%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 5%,
    var(--color-white-transparent) 65%,
    var(--color-white) 95%
  );
  top: 0;
  left: 0;
}

#feachersSec .feachers .image.shadowRight:after {
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 5%,
    var(--color-white-transparent) 65%,
    var(--color-white) 95%
  );
  top: 0;
  right: 0;
}

#feachersSec .feachers .image.shadowBottom:after {
  width: 100%;
  height: 45%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 5%,
    var(--color-white-transparent) 65%,
    var(--color-white) 95%
  );
  bottom: 0;
  left: 0;
}

#feachersSec .feachers .image.shadowLeft:after {
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 5%,
    var(--color-white-transparent) 65%,
    var(--color-white) 95%
  );
  top: 0;
  left: 0;
}

#feachersSec .feachers .content {
  position: relative;
  display: flex;
  flex-direction: column;
  float: left;
  width: calc(50% + var(--container-padding));
  margin-left: calc(0px - var(--container-padding));
  margin-top: 140px;
  padding: 70px 70px;
  padding-left: calc(var(--container-padding) + 30px);
  border: 1px solid var(--color-primary);
}

#feachersSec .feachers .content span.title {
  display: block;
  margin: 0 0 20px 0;
  font-family: var(--font-cursive-family);
  font-size: var(--font-subtitle-cursive-size);
  color: var(--color-primary);
  line-height: 50px;
}

#feachersSec .feachers .content h2 {
  margin: 0 0 20px 0;
  font-family: var(--font-title-family);
  font-size: var(--font-subtitle-size);
  color: var(--color-black);
  line-height: 32px;
  text-transform: uppercase;
}

#feachersSec .feachers .content p {
  margin: 0 0 20px 0;
  font-size: 16px;
  color: var(--color-black);
  font-weight: 400;
  line-height: 30px;
}

#feachersSec .feachers .content p:last-child {
  margin-bottom: 0;
}

#feachersSec .feachers:nth-child(even) .image {
  order: 2;
  margin-left: 0;
  margin-right: calc(0px - var(--container-padding));
}

#feachersSec .feachers:nth-child(even) .content {
  margin-left: 0;
  margin-right: calc(0px - var(--container-padding));
  padding-left: 70px;
  padding-right: calc(var(--container-padding) + 30px);
}

#feachersSec .feachers.vertical .image {
  width: 50%;
  margin-left: 0;
}

#feachersSec .feachers.vertical .content {
  width: calc(50% + 70px);
  margin-left: -70px;
  margin-top: 70px;
  padding-left: calc(70px + 30px);
}

#feachersSec .feachers.vertical:nth-child(even) .image {
  margin-right: 0;
}

#feachersSec .feachers.vertical:nth-child(even) .content {
  margin-left: 0;
  margin-right: -70px;
  padding-left: 70px;
  padding-right: calc(70px + 30px);
}

#feachersSec .feachers.vertical .content p {
  margin-top: auto;
}

@media only screen and (min-width: 959px) and (max-width: 1180px) {
  #feachersSec .feachers {
    margin-bottom: 120px;
  }
  #feachersSec .feachers .bgBoxMainRight1 {
    height: 35px;
    top: 35px;
  }
  #feachersSec .feachers .content {
    margin-top: 70px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  #feachersSec .feachers {
    margin-bottom: 70px;
  }
  #feachersSec .feachers .bgBoxMainRight1 {
    height: 35px;
    top: 35px;
  }
  #feachersSec .feachers .content {
    width: calc(50% + 40px);
    margin-left: -40px;
    margin-top: 70px;
    padding: 15px 15px;
    padding-left: calc(40px + 15px);
  }
  #feachersSec .feachers .content span.title {
    margin: 0 0 15px 0;
    font-size: var(--font-subtitle-cursive-size);
    line-height: 40px;
  }
  #feachersSec .feachers .content h2 {
    margin: 0 0 10px 0;
    font-size: 35px;
    line-height: 45px;
  }
  #feachersSec .feachers .content p {
    font-size: 16px;
    line-height: 28px;
  }
  #feachersSec .feachers:nth-child(even) .content {
    margin-left: 0;
    margin-right: -40px;
    padding-left: 15px;
    padding-right: calc(40px + 15px);
  }
  #feachersSec .feachers.vertical .content {
    width: calc(50% + 40px);
    margin-left: -40px;
    margin-top: 70px;
    padding-left: calc(40px + 15px);
  }
  #feachersSec .feachers.vertical:nth-child(even) .content {
    margin-left: 0;
    margin-right: -40px;
    padding-left: 15px;
    padding-right: calc(40px + 15px);
  }
  #feachersSec .feachers.vertical .content p {
    margin-top: auto;
  }
}

@media only screen and (max-width: 767px) {
  #feachersSec .feachers {
    display: block;
    margin-bottom: 70px;
  }
  #feachersSec .feachers .bgBoxMainRight1 {
    display: none;
  }
  #feachersSec .feachers .bgBoxMainRight2 {
    display: none;
  }
  #feachersSec .feachers .bgBoxMainLeft1 {
    display: none;
  }
  #feachersSec .feachers .bgBoxMainLeft2 {
    display: none;
  }
  #feachersSec .feachers .image {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-bottom: 0;
  }
  #feachersSec .feachers .image img,
  #feachersSec .feachers:nth-child(even) .image img {
    height: 300px;
    object-fit: cover;
  }
  #feachersSec .feachers .image:after {
    width: 100% !important;
    height: 45% !important;
    background: linear-gradient(
      180deg,
      rgba(2, 8, 21, 0) 5%,
      var(--color-white-transparent) 65%,
      var(--color-white) 95%
    ) !important;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
  }
  #feachersSec .feachers .content {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    padding-left: 0;
    border: none;
  }
  #feachersSec .feachers .content span.title {
    margin: 0 0 15px 0;
    font-size: var(--font-subtitle-cursive-size);
    line-height: 40px;
  }
  #feachersSec .feachers .content h2 {
    margin: 0 0 10px 0;
    font-size: var(--font-subtitle-size);
    line-height: 45px;
  }
  #feachersSec .feachers .content p {
    font-size: var(--font-text-size);
    line-height: 28px;
  }
  #feachersSec .feachers:nth-child(even) .image {
    margin-right: 0;
    margin-left: -15px;
  }
  #feachersSec .feachers:nth-child(even) .content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #feachersSec .feachers.vertical .image {
    width: calc(100% + 30px);
    margin-left: -15px;
  }
  #feachersSec .feachers.vertical .content {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding-left: 0;
  }
  #feachersSec .feachers.vertical:nth-child(even) .content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #feachersSec .feachers.vertical .content p {
    margin-top: auto;
  }
}
