.webstories {
  margin: 30px 0 60px;
}

.webstories .content {
  display: flex;
  flex-direction: column;
}

.webstories .content .area-title {
  display: flex;
  flex-direction: column;
}

.webstories .content .area-title h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 33.6px;
  text-align: left;
  color: #212529;
}

.webstories .content .swiper-webstories {
  margin-top: 20px;
  width: 100%;
}

.webstories .content .swiper-webstories .swiper-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.webstories .content-pagination {
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  margin-top: 20px;
}

.webstories .content-pagination .swiper-pagination-bullet-active {
  background-color: #eb5757;
}

.webstories .content-pagination .swiper-pagination {
  position: initial;
}

.webstories .item-story {
  position: relative;
  height: 400px;
  max-width: 231px;
  width: 100%;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 20px;
  transition: 0.3s all;
  box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.webstories .item-story .background-img-story {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  bottom: 0;
  object-fit: cover;
  transition: 0.5s all;
}

.webstories .item-story:hover .background-img-story {
  transform: scale(1.2);
}

.webstories .background-capa-story {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
  bottom: 0;
}

.webstories .item-story:hover {
  text-decoration: none;
  opacity: 1;
}

.webstories .item-story .logo-mobilidade {
  z-index: 3;
  background-image: url("../img/logo-oficina.png");
  width: 100%;
  height: 32px;
  position: absolute;
  top: 30px;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0px 1px 2px black);
}

.webstories .item-story h4 {
  z-index: 3;
  color: #ffffff;
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
  text-align: left;
}

.webstories .swiper-webstories[data-count="4"] .swiper-wrapper,
.webstories .swiper-webstories[data-count="3"] .swiper-wrapper,
.webstories .swiper-webstories[data-count="2"] .swiper-wrapper,
.webstories .swiper-webstories[data-count="1"] .swiper-wrapper {
  justify-content: center;
}

@media (max-width: 1400px) {
  .webstories .swiper-webstories[data-count="4"] .swiper-wrapper {
    justify-content: initial;
  }
}

@media (max-width: 991px) {
  .webstories .swiper-webstories[data-count="3"] .swiper-wrapper,
  .webstories .swiper-webstories[data-count="2"] .swiper-wrapper {
    justify-content: initial;
  }
}

@media (max-width: 500px) {
  .webstories .swiper-webstories[data-count="1"] .swiper-wrapper {
    justify-content: initial;
  }
}

.banner-patrocinador {
  position: relative;
}

.banner-patrocinador .apresenta {
  height: auto !important;
  position: absolute;
  top: 0px;
  left: -60px;
}

.top-banner-partner-home {
  height: 580px !important;
}

.container-logo {
  margin-top: 160px !important;
}

@media (max-width: 991px) {
  .top-banner-partner-home {
    height: 360px !important;
  }
}

@media (max-width: 500px) {
  .container-logo {
    margin-top: -50px !important;
  }
  .seguros-home {
    padding-left: 190px !important;
  }
  .seguros img {
    margin-top: -4px !important;
  }
  .baner-text-mobilidade p,
  .banner-patrocinador-home p {
    text-align: center;
    margin-top: 40px;
    margin-left: -20px;
  }
  .banner-patrocinador .apresenta {
    top: 240px;
  }
  .baner-text-mobilidade form {
    display: none !important;
  }
  .container-logo .img-logo {
    position: relative;
    top: 90px;
    left: -60px;
  }
  .container-logo .img-logo img {
    height: 50px !important;
  }
  .row.top-banner-partner.top-banner-partner-home {
    background-position: -460px 3px !important;
  }
}
