/*********************
START: HERO
*********************/
.hero {
  height: 85vh;
  position: relative;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .scrollTo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  cursor: pointer;
}
.search-header {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
}
/*********************
END: HERO
*********************/

/*********************
START: RESULTS
*********************/
.results ul {
  display: flex;
  justify-content: center;
  margin-block-start: 2rem;
}

.results ul li {
  margin: 10px;
  min-height: 380px;
  flex-basis: calc(33.33% - 20px);
  background-color: var(--box-color);
  border-radius: var(--border-radius30);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.results ul li > img {
  width: 60px;
  height: 66px;
  margin-inline: auto;
}

.results ul li > div {
  display: flex;
  margin-inline: auto;
  margin-block: 1.5rem 0.75rem;
}

.results ul li > div span {
  color: var(--baseDark-color);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.results ul li > div span.count {
  margin-inline: 0.3rem;
}

.results ul li p {
  color: var(--baseDark-color);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-block-end: 3.625rem;
}

/*********************
END: RESULTS
*********************/

/*********************
START: ABOUT
*********************/
.about {
  display: none;
}
.about--content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about--text {
  width: 55%;
}

.about--text p.text--medium {
  margin-block: 1.25rem 1.5rem;
  margin-inline-end: 12rem;
}

.about--img {
  width: 40%;
  position: relative;
}

.about--img::before {
  position: absolute;
  content: "";
  left: 0;
  top: -40px;
  background-image: url("../img/rectangle.svg");
  background-repeat: no-repeat;
  z-index: -1;
}

.about--img img,
.about--img::before {
  width: 90%;
  height: 600px;
}

.about--img img {
  display: block;
  object-fit: cover;
  margin-inline-start: auto;
  border-radius: 250px 250px 30px 30px;
}

/*********************
END: ABOUT
*********************/

/*********************
START: PROPERTIES
*********************/
.properties--container {
  min-height: 100vh;
  padding-block: 120px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.properties--container::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 120, 120, 0.6);
}

.properties--content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  row-gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}
.properties--container .rechat-listing-card__price,
.properties--container .rechat-listing-card__property-info,
.properties--container .rechat-listing-card__address {
  color: var(--baseLight-color);
}

.properties--container .rechat-listing-card__mls-source,
.properties--container .rechat-listing-card__mls {
  color: var(--border-color-2);
}
/*********************
END: PROPERTIES
*********************/

/*********************
START: NEIGHBORHOODS
*********************/
.neighborhoods--content > p.text--medium {
  margin-inline: auto;
  width: 70%;
  margin-block: 2rem 2.5rem;
}

.neighborhoods--content ul {
  display: flex;
  justify-content: center;
}

.neighborhoods--content ul li {
  margin: 18px;
  flex-basis: calc(33.33% - 36px);
}

.neighborhoods--content ul li img {
  width: 100%;
  height: auto;
  aspect-ratio: 426/600;
  object-fit: cover;
  border-radius: 250px 250px 30px 30px;
}

.neighborhoods--content ul li a > p {
  color: var(--baseDark-color);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-block-start: 1.25rem;
}

.neighborhoods--content a.btn {
  margin-inline: auto;
  margin-block-start: 3.75rem;
}

/*********************
END: NEIGHBORHOODS
*********************/

/*********************
START: WORK WITH US
*********************/
.workUs {
  padding-block: 120px 200px;
  background-color: var(--box-color);
}

.workUs--content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workUs--text {
  width: 40%;
}

.workUs--text p {
  margin-block: 1.5rem 2rem;
  padding-inline-end: 3rem;
}

.workUs--text .workUs--text__btn {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.workUs--img {
  width: 60%;
  position: relative;
}

.workUs--img img {
  object-fit: cover;
  border-radius: var(--border-radius30);
}

.workUs--img .workUs-img-1 {
  width: 490px;
  height: 680px;
  display: block;
  margin-inline-start: auto;
}

.workUs--img .workUs-img-2 {
  width: 270px;
  height: 380px;
  position: absolute;
  left: 0;
  top: 60px;
}

.workUs--img .workUs-img-3 {
  width: 380px;
  height: 270px;
  position: absolute;
  left: -110px;
  bottom: -55px;
}

/*********************
END: WORK WITH US
*********************/

/*********************
START: 
*********************/
.featured--content .swiper {
  margin-block-start: 2.5rem;
  min-height: 300px;
}

.featured--content .swiper-slide {
  display: flex;
  flex-direction: column;
  padding-block-end: 100px;
}

.featured--content .swiper-slide picture > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/4.9;
  object-fit: cover;
  margin-block-end: 1.25rem;
  border-radius: var(--border-radius30);
}

.featured--content .swiper-slide > p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.16px;
}

.featured--content .swiper-slide > h6 {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.2px;
  margin-block: 0.75rem;
}

.featured--content .swiper-slide ul {
  display: flex;
  flex-wrap: wrap;
}

.featured--content .swiper-slide ul li {
  margin-block-end: 4px;
}

.featured--content .swiper-slide ul li:not(:last-child) {
  border-right: 1px solid var(--baseDark-color);
  margin-inline-end: 4px;
  padding-inline-end: 4px;
}

.featured--content .swiper-slide ul li img {
  width: 12px;
  height: 12px;
}

.featured--content .swiper-slide ul li span {
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.14px;
}

.featured--content .swiper-pagination {
  display: flex;
  justify-content: center;
  position: unset !important;
  margin-block-start: 2rem;
}

.featured--content .swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  text-align: center;
  opacity: 1 !important;
  background: rgba(113, 121, 121, 0.5) !important;
  color: #717979;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.featured--content .swiper-pagination-bullet-active {
  color: var(--baseLight-color);
  font-weight: 500;
  background: rgba(0, 120, 120, 0.9) !important;
}

.featured--content .slide--arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  width: max-content;
  padding-block-end: 2rem;
}
/*********************
END: 
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
  .results ul li > div span {
    font-size: 60px;
  }

  .results ul li p {
    font-size: var(--text-xl);
  }

  .about--text p.text--medium {
    margin-inline-end: 9.5rem;
  }

  .properties--container .swiper-slide > p {
    font-size: var(--text-lg);
  }

  .properties--container .swiper-slide > h6 {
    font-size: 22px;
  }

  .properties--container .swiper-slide ul li span {
    font-size: var(--text-lg);
  }

  .neighborhoods--content > p.text--medium {
    width: 70%;
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-3xl);
  }

  .workUs--img .workUs-img-2 {
    width: 280px;
    height: 380px;
  }

  .workUs--img .workUs-img-3 {
    width: 390px;
    height: 270px;
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .results ul li p {
    font-size: var(--text-lg);
  }

  .about--text p.text--medium {
    margin-inline-end: 8rem;
  }

  .properties--container .swiper-slide > p {
    font-size: var(--text-base);
  }

  .properties--container .swiper-slide > h6 {
    font-size: var(--text-xl);
  }

  .properties--container .swiper-slide ul li span {
    font-size: var(--text-base);
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-2xl);
  }
}

@media screen and (max-width: 1319px) {
  .results ul li p {
    font-size: var(--text-lg);
  }

  .about--img {
    width: 45%;
  }

  .about--text {
    width: 50%;
  }

  .about--text p.text--medium {
    margin-inline-end: 0;
  }

  .properties--container .swiper-slide > h6 {
    font-size: var(--text-lg);
  }

  .properties--container .swiper-slide ul li span {
    font-size: var(--text-sm);
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-2xl);
  }

  .workUs--img .workUs-img-1 {
    width: 380px;
    height: 570px;
  }

  .workUs--img .workUs-img-2 {
    width: 270px;
    height: 380px;
    top: 10px;
    left: 10px;
  }

  .workUs--img .workUs-img-3 {
    width: 380px;
    height: 270px;
    bottom: -110px;
    left: -100px;
  }

  .workUs--text .workUs--text__btn {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1rem;
  }

  .workUs--text .workUs--text__btn a.btn {
    width: 200px;
  }
}

@media screen and (max-width: 1200px) {
  .results ul li {
    padding: 2rem 1rem;
  }

  .about--text {
    width: 45%;
  }

  .about--img {
    width: 52%;
  }

  .about--img img,
  .about--img::before {
    height: 550px;
  }

  .about--img::before {
    top: -30px;
  }

  .neighborhoods--content > p.text--medium {
    width: 75%;
  }

  .neighborhoods--content ul li {
    margin: 12px;
    flex-basis: calc(33.33% - 24px);
  }

  .workUs {
    padding-block: 100px;
  }

  .workUs--content {
    flex-direction: column-reverse;
  }

  .workUs--text {
    width: 100%;
    margin-block-start: 10rem;
  }

  .workUs--img {
    width: 70%;
    margin-inline: auto;
  }

  .workUs--text .workUs--text__btn {
    flex-direction: row;
  }
}

@media screen and (max-width: 992px) {
  .results ul li {
    min-height: 350px;
  }

  .results ul li p {
    font-size: var(--text-base);
  }

  .about--img img,
  .about--img::before {
    height: 425px;
    width: 93%;
  }

  .about--img::before {
    top: -20px;
  }

  .properties--content .navigation .swiper-button-next img,
  .properties--content .navigation .swiper-button-prev img {
    width: 40px !important;
    height: 40px !important;
  }

  .properties--content .navigation .swiper-button-next,
  .properties--content .navigation .swiper-rtl .swiper-button-prev {
    margin-inline-start: 0;
  }

  .neighborhoods--content ul li {
    margin: 8px;
    flex-basis: calc(33.33% - 16px);
  }

  .neighborhoods--content > p.text--medium {
    width: 95%;
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-xl);
  }

  .workUs--img {
    width: 90%;
  }

  .workUs--img .workUs-img-3 {
    width: 320px;
    left: -40px;
  }
}

@media screen and (max-width: 768px) {
  .about--content {
    flex-direction: column;
  }

  .about--text {
    width: 100%;
    margin-block-start: 2rem;
  }

  .about--img {
    width: 100%;
  }

  .about--img img,
  .about--img::before {
    width: 380px;
    height: 450px;
  }

  .about--img img {
    margin-inline: auto;
  }

  .about--img::before {
    left: 40%;
    transform: translateX(-40%);
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-lg);
  }

  .neighborhoods--content > p.text--medium {
    width: 100%;
  }

  .workUs--text {
    margin-block-start: 2rem;
  }

  .workUs--img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .workUs--img .workUs-img-1 {
    width: 100%;
  }

  .workUs--img .workUs-img-2,
  .workUs--img .workUs-img-3 {
    position: unset;
    width: 49%;
    margin-block-start: 1rem;
  }

  .featured--content .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
  }

  .featured--content .swiper-button-next,
  .featured--content .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .featured--content .swiper-button-next,
  .featured--content .swiper-rtl .swiper-button-prev {
    margin-inline-start: 0.75rem;
  }

  .featured--content .swiper-button-prev,
  .featured--content .swiper-rtl .swiper-button-next {
    margin-inline-end: 0.75rem;
  }
}

@media screen and (max-width: 576px) {
  .results ul {
    flex-wrap: wrap;
  }

  .results ul li {
    flex-basis: calc(50% - 20px);
    min-height: 320px;
  }

  .about--img img,
  .about--img::before {
    width: 300px;
    height: 380px;
  }

  .properties--content .navigation .swiper-button-next img,
  .properties--content .navigation .swiper-button-prev img {
    width: 35px !important;
    height: 35px !important;
  }

  .neighborhoods--content ul {
    flex-wrap: wrap;
  }

  .neighborhoods--content ul li {
    flex-basis: calc(50% - 16px);
  }

  .neighborhoods--content ul li a > p {
    font-size: var(--text-base);
  }
}

@media screen and (max-width: 470px) {
  .results ul li {
    flex-basis: calc(100% - 20px);
    min-height: 250px;
  }

  .results ul li p {
    margin-block-end: 0;
  }

  .about--img img,
  .about--img::before {
    width: 250px;
    height: 330px;
  }

  .about--img::before {
    top: -15px;
  }

  .about--img::before {
    left: 37%;
    transform: translateX(-40%);
  }

  .properties--content .navigation .swiper-button-next img,
  .properties--content .navigation .swiper-button-prev img {
    width: 30px !important;
    height: 30px !important;
  }

  .neighborhoods--content a.btn {
    margin-block-start: 2.75rem;
  }

  .workUs--img .workUs-img-2,
  .workUs--img .workUs-img-3 {
    width: 100%;
  }

  .workUs--text .workUs--text__btn {
    flex-direction: column;
  }
}

@media screen and (max-width: 425px) {
}

@media screen and (max-width: 375px) {
  .about--img::before {
    left: 35%;
    transform: translateX(-40%);
  }

  .neighborhoods--content ul li {
    flex-basis: calc(100% - 16px);
  }
}

@media screen and (max-width: 320px) {
  .about--img::before {
    content: unset;
  }

  .about--img img {
    width: 100%;
  }
}

/*********************
END: MEDIA
*********************/

/* listing sliders run edge to edge; on phones inset them to the 20px container gutter */
@media screen and (max-width: 768px) {
  .propertiesSwiper {
    padding-inline: 20px;
  }
}
