.way-section {
  max-width: 1920px;
  margin: 0 auto;
  padding: 100px 32px;
  overflow: hidden;
}

.way-title {
  margin-bottom: 56px;
}

.way-wrapper {
  max-width: 1420px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
}

.way-left, .way-right {
  max-width: 660px;
  width: 100%;
}

.way-img-wrapper {
  position: relative;
}

.way-img {
  max-width: 660px;
  width: 100%;
  border-radius: 6px;
  display: flex;
  aspect-ratio: 660/350;
  overflow: hidden;
}
.way-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.way-left .way-img {
  margin: 32px 0 50px 0;
}
.way-left .way-quote {
  left: 0;
  padding: 20px 100px 20px 16px;
  background: #64B499;
  border-radius: 0 6px 6px 0;
  color: white;
}

.way-right .way-img {
  margin-bottom: 67px;
}
.way-right .way-quote-inner::before {
  background: black;
}
.way-right .way-quote {
  right: 0;
  padding: 20px 16px 20px 66px;
  background: #ffc527;
  border-radius: 6px 0 0 6px;
  color: black;
}
.way-right .way-quote::before {
  left: unset;
  right: 2px;
  transform: translateX(100%);
  background: #ffc527;
}

.way-quote-inner {
  position: relative;
}
.way-quote-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  width: 4px;
  height: 100%;
  background: white;
}

.way-quote {
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  width: calc(100% - 50px);
  padding: 20px 0;
  font-family: Play;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: uppercase;
  z-index: 1;
}
.way-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  transform: translateX(-100%);
  width: 100%;
  height: 100%;
  background: #64B499;
  z-index: -1;
}

.way-line {
  display: block;
  width: 4px;
  height: 20px;
  background: white;
}

@media (max-width: 1100px) {
  .way-section {
    padding: 0 32px 100px 32px;
  }
  .way-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 64px;
  }
  .way-right {
    display: flex;
    flex-direction: column-reverse;
  }
  .way-right .way-img {
    margin-bottom: 0;
  }
}
@media (max-width: 900px) {
  .way-section {
    padding: 0 16px 100px 16px;
  }
}
@media (max-width: 768px) {
  .way-section {
    padding: 0 16px 56px 16px;
  }
  .way-title {
    margin-bottom: 12px;
  }
  .way-wrapper {
    gap: 0;
  }
  .way-left .way-img-wrapper, .way-right .way-img-wrapper {
    padding-top: 100px;
  }
  .way-left .way-img, .way-right .way-img {
    margin: 0;
  }
  .way-left .way-quote, .way-right .way-quote {
    top: 100px;
    bottom: unset;
    left: 0;
    transform: translateY(-100%);
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .way-section {
    padding: 0 0 56px 0;
  }
  .way-left .way-img, .way-right .way-img {
    border-radius: 0;
  }
  .way-left .way-quote, .way-right .way-quote {
    width: 100vw;
    padding: 16px 16px 16px 26px;
    border-radius: 0;
  }
  .way-left .way-quote::before, .way-right .way-quote::before {
    top: 0;
    left: 2px;
    transform: translateX(-100%);
  }
  .way-left .way-quote-inner::before, .way-right .way-quote-inner::before {
    left: -12px;
  }
  .way-left {
    display: flex;
    flex-direction: column-reverse;
    padding: 0;
  }
  .way-left .way-text {
    padding: 24px 16px 0;
  }
  .way-right {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .way-right .way-text {
    padding: 24px 16px 0;
  }
}