.splide__track {
  width: 100%;
}
section.before-after {
  padding: 4rem 2rem;
}
section.before-after .big-container {
  max-width: 1750px;
  margin: 0 auto;
  position: relative;
}
section.before-after a{
  color: #d10e1c;
}
section.before-after .big-container .slide-indicators {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
section.before-after .big-container .slide-indicators img {
  width: 28px;
  height: auto;
  cursor: pointer;
}
section.before-after .big-container .slide-indicators .prev {
  transform: rotate(180deg);
}
section.before-after .section-title {
  font-size: 50px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}
section.before-after .section-subtitle {
  font-size: 28px;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 400;
  text-transform: unset;
}
section.before-after .section-title strong {
  font-weight: 800;
  color: #263c8e;
}
section.before-after .items {
  display: flex;
  visibility: visible;
}
section.before-after .items .item {
  flex-grow: 1;
  flex-basis: 0;
  margin: 0.5rem;
}
section.before-after .items .item.type-image-text .content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.84);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  font-size: 16px;
  text-align: center;
}
section.before-after .items .item.type-image-text .content .p-content {
  padding: 1rem;
}
section.before-after .items .item.type-image-text .content .dupe-title {
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 12px;
  padding-top: 12px;
  border-bottom: 3px solid white;
  width: 100%;
}
section.before-after .items .item.type-image-text:hover .content {
  transform: translateY(0);
}
section.before-after .items .item.type-image-text .item-title {
  transition: opacity 0.5s ease;
}
section.before-after .items .item.type-image-text:hover .item-title {
  opacity: 0;
}
section.before-after .items .item-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}
section.before-after .items .item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
section.before-after .items .item img.after-img {
  z-index: 1;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}
section.before-after .items .item:hover img.after-img {
  transform: translateY(0);
}
section.before-after .items .item .item-title {
  border-top: 5px solid black;
  margin-top: 2rem;
  font-size: 28px;
  text-align: center;
  padding-top: 0.75rem;
  text-transform: unset;
}
@media (max-width: 1600px) {
  section.before-after .items .item .item-title {
    font-size: 24px;
  }
}
@media (max-width: 1200px) {
  section.before-after .section-title {
    font-size: 40px;
  }
  section.before-after .section-subtitle {
    font-size: 24px;
  }
  section.before-after .items .item .item-title {
    font-size: 20px;
  }
  section.before-after .items .item {
    min-width: 300px;
    margin-bottom: 6rem;
  }
  section.before-after .items {
    flex-wrap: wrap;
  }
}
@media (max-width: 992px) {
  section.before-after .items .item .item-title {
    font-size: 28px;
  }
  section.before-after .splide__slide:not(.is-active) .item .item-title {
    display: none;
  }
  section.before-after {
    padding: 4rem 0;
  }
  section.before-after .section-title,
  section.before-after .section-subtitle {
    padding: 0 2rem;
  }
  section.before-after .big-container .slide-indicators {
    display: flex;
  }
  section.before-after .items .item {
    margin: 0;
    min-width: unset;
    height: calc(100% - 6.5rem);
  }
  section.before-after .items .item.type-image-text .content {
    min-height: 300px;
  }
  section.before-after .items .item .item-title {
    padding-top: 1.5rem;
  }
  section.before-after .items .is-active .item .content {
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  section.before-after .section-title {
    font-size: 32px;
  }
  section.before-after .items .item.type-image-text .content {
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  section.before-after .big-container .slide-indicators {
    width: 90%;
  }
  section.before-after .section-title {
    font-size: 22px;
  }
  section.before-after .section-subtitle {
    font-size: 16px;
  }
}
