#differentials {
  padding: 50px 0;
  text-align: center;
  background-color: #f8f8f8;
}

#differentials .title {
  font: normal normal normal 54px 'Bebas Neue', Inter, Arial, sans-serif;
  letter-spacing: 0px;
  color: #c8102e;
  line-height: 0.95;
  text-transform: uppercase;
}

#differentials .description {
  font: normal normal normal 16px Inter;
  letter-spacing: 0px;
  color: #333333;
  margin: 15px auto 0;
  max-width: 780px;
  line-height: 1.5;
  padding: 0 24px;
}

#differentialsContainer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 36px 40px 20px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

.differential {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0px 12px 30px #11111114;
  border-radius: 8px;
  margin: 0;
  padding: 28px 22px 30px;
  width: 30%;
  max-width: 330px;
  height: auto;
  overflow: visible;
  align-self: stretch;
}

.differential::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 20px;
  background: #c8102e;
  opacity: 0.18;
  clip-path: polygon(0 42%, 70% 42%, 70% 14%, 100% 50%, 70% 86%, 70% 58%, 0 58%);
  transform: rotate(-35deg);
}

.differential:nth-child(2)::before {
  transform: rotate(35deg);
}

.differential:nth-child(3)::before {
  transform: none;
  opacity: 0.24;
}

.differential .image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  overflow: hidden;
}

.differential .image.iconImage {
  width: 86px;
  height: 86px;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  background: #f8f8f8;
}

.differential .image.iconImage img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.differential .image.photoImage {
  width: 100%;
  height: 108px;
  border-radius: 8px;
  background: #111111;
}

.differential .image.photoImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.differential .title {
  font: normal normal 800 20px Inter !important;
  margin-top: 16px;
  line-height: 120%;
  text-transform: none !important;
}

.differential .title.pink {
  color: #c8102e !important;
}

.differential .title.blue {
  color: #555555 !important;
}

.differential .title.yellow {
  color: #76232f !important;
}

.differential .description {
  font: normal normal normal 14px Inter !important;
  color: #333333 !important;
  line-height: 1.5;
  margin-top: 10px !important;
  padding: 0 !important;
}

#differentialsNav {
  display: none;
}

#differentialsNav svg {
  margin: 4px;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  #differentialsContainer {
    display: block;
    padding-top: 10px;
    white-space: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  #differentialsContainer::-webkit-scrollbar {
    display: none;
  }

  #differentialsNav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .differential {
    width: 72%;
    margin: 4%;
    display: inline-flex;
    white-space: normal;
    vertical-align: top;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    max-width: 340px;
  }

  .differential .image.photoImage {
    height: 130px;
  }
}

@media screen and (max-width: 600px) {
  #differentials .description {
    padding: 0 5%;
  }

  .differential .description {
    padding: 0;
  }
}

@media screen and (max-width: 400px) {
  .differential {
    width: 74%;
  }

  #differentialsContainer {
    padding: 5px;
  }

  .differential .image.photoImage {
    height: 118px;
  }
}
