.residents-page h2 {
  text-align: center;
}
.residents-page .res-hero-copy h1 {
  margin-bottom: 30px;
}
.residents-page .res-payway {
  background-color: #f0e9e0;
  padding: 70px 0;
}
.residents-page .res-flexible {
  background-color: #fff;
  padding: 70px 0;
}
.residents-page .res-flexible .res-flexible-inner {
  display: flex;
  justify-content: center;
}
.residents-page .res-flexible .carousel-wrapper {
  width: auto;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "copy photo" "nav photo";
  -moz-column-gap: 60px;
       column-gap: 60px;
  align-items: center;
  --swiper-navigation-color: #282829;
}
.residents-page .res-flexible .res-flexible-copy {
  grid-area: copy;
  width: 460px;
  max-width: 100%;
}
.residents-page .res-flexible .res-flexible-copy h2 {
  text-align: left;
  margin-bottom: 20px;
}
.residents-page .res-flexible .res-flexible-copy p {
  min-height: 74px;
}
.residents-page .res-flexible .res-flexible-nav {
  grid-area: nav;
  display: flex;
  justify-content: space-between;
  width: 140px;
  margin: 24px 0 0;
}
.residents-page .res-flexible .res-flexible-nav .swiper-button-prev, .residents-page .res-flexible .res-flexible-nav .swiper-button-next {
  position: static;
  margin: 0;
  width: 44px;
  height: 44px;
}
.residents-page .res-flexible .photo-swiper {
  grid-area: photo;
  width: 493px;
  max-width: 100%;
}
.residents-page .res-flexible .photo-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.residents-page .res-recap {
  background-color: #bda0ff;
  padding: 70px 0;
  text-align: center;
}
.residents-page .res-recap p.res-recap-lede {
  font-family: Inter, "Inter", inter, inter-variable, open-sans, "Lato", lato, "Helvetica Neue", "Helvetica", helvetica, sans-serif;
  font-size: 18px;
  color: #282829;
  max-width: 800px;
  margin: 0 auto 10px;
}
.residents-page .res-steps {
  background-color: #f0e9e0;
  padding: 70px 0;
}
.residents-page .res-steps .res-steps-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.residents-page .res-steps .res-steps-phone {
  flex: 0 0 auto;
}
.residents-page .res-steps .res-steps-phone img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}
.residents-page .res-steps .res-steps-grid {
  flex: 1 1 500px;
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.residents-page .res-steps .res-step-card {
  background-color: transparent;
  border: 1px solid #282829;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.residents-page .res-steps .res-step-card .res-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #282829;
  color: #fff;
  font-family: Inter, "Inter", inter, inter-variable, open-sans, "Lato", lato, "Helvetica Neue", "Helvetica", helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.residents-page .res-steps .res-step-card p {
  font-size: 16px;
}
.residents-page .res-support {
  background-color: #fff;
  padding: 70px 0;
}
.residents-page .res-support p.res-support-lede {
  font-family: Inter, "Inter", inter, inter-variable, open-sans, "Lato", lato, "Helvetica Neue", "Helvetica", helvetica, sans-serif;
  font-size: 18px;
  color: #282829;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}
.residents-page .res-cta {
  background-color: #f0e9e0;
  padding: 80px 0;
  text-align: center;
}
.residents-page .res-cta .res-cta-illus {
  max-width: 110px;
  margin: 0 auto 10px;
  display: block;
}
.residents-page .res-cta .loft-btn {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .residents-page .res-flexible .carousel-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "copy";
    row-gap: 24px;
    align-items: stretch;
    width: 100%;
  }
  .residents-page .res-flexible .photo-swiper {
    width: auto;
    max-width: 80%;
    margin: 0 auto;
  }
  .residents-page .res-flexible .res-flexible-copy {
    width: auto;
    max-width: 100%;
    text-align: center;
  }
  .residents-page .res-flexible .res-flexible-copy h2 {
    text-align: center;
  }
  .residents-page .res-flexible .res-flexible-nav {
    grid-area: photo;
    width: auto;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    position: relative;
    z-index: 2;
    --swiper-navigation-size: 14px;
  }
  .residents-page .res-flexible .res-flexible-nav .swiper-button-prev, .residents-page .res-flexible .res-flexible-nav .swiper-button-next {
    pointer-events: auto;
    width: 22px;
    height: 22px;
    background-color: rgba(245, 245, 242, 0.85);
    border-radius: 50%;
  }
  .residents-page .res-steps .res-steps-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1337px) {
  .residents-page .res-steps-inner {
    flex-direction: column;
  }
}
