/*********************
START: HERO
*********************/
.hero {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 55%;
}

.hero--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  pointer-events: none;
}

.hero::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 29, 54, 0.5);
}

.hero--content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  z-index: 1;
  margin-inline: auto;
}

.hero--content h1 {
  margin-block-start: 343px;
}

.hero--content a.btn--gray-7 {
  margin-block-start: 3rem;
  width: 340px;
  height: 48px;
  padding: 16px 32px;
}

.hero--content > p {
  color: var(--Gray-2);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.14px;
  width: 60%;
  margin-block: 2rem;
}

.hero .scrollTo {
  cursor: pointer;
  margin-block: 23px 48px;
}

.search_address_input__field_wrapper {
  border: none;
}

.search-header {
  width: 100%;
}
/*********************
END: HERO
*********************/

/*********************
START: AGENT CARD
*********************/
/* The header is absolutely positioned over the hero, so the card is offset by the header height */
.rodeo-hero-agent {
  --agent-card-top: 80px;
  position: absolute;
  top: var(--agent-card-top);
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  background: rgba(20, 35, 70, 0.55);
  color: var(--baseLight-color, #fff);
  font-family: var(--font-family-Work);
}

.rodeo-hero-agent__photo img {
  display: block;
  width: 105px;
  height: 150px;
  object-fit: cover;
  border: 5px solid #fff;
}

.rodeo-hero-agent__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block-start: 4px;
}

.rodeo-hero-agent__name {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
}

.rodeo-hero-agent__title,
.rodeo-hero-agent__license {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: inherit;
}

.rodeo-hero-agent__phone {
  margin-block-start: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: inherit;
}

.rodeo-hero-agent__email {
  font-size: 15px;
  line-height: 1.4;
  color: inherit;
  text-decoration: underline;
}

@media screen and (max-width: 992px) {
  .rodeo-hero-agent__photo img {
    width: 80px;
    height: 115px;
    border-width: 4px;
  }

  .rodeo-hero-agent__name {
    font-size: 18px;
  }

  .rodeo-hero-agent__title,
  .rodeo-hero-agent__license {
    font-size: 13px;
  }

  .rodeo-hero-agent__phone,
  .rodeo-hero-agent__email {
    font-size: 14px;
  }

  .rodeo-hero-agent__phone {
    margin-block-start: 6px;
  }
}

/* Mobile: compact full-width strip with name, phone and Email Me only */
@media screen and (max-width: 767px) {
  .rodeo-hero-agent {
    right: 0;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
  }

  .rodeo-hero-agent__photo img {
    width: 48px;
    height: 64px;
    border-width: 3px;
  }

  .rodeo-hero-agent__info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 12px;
    padding-block-start: 0;
  }

  .rodeo-hero-agent__name {
    flex-basis: 100%;
    margin-block-end: 2px;
    font-size: 16px;
  }

  .rodeo-hero-agent__title,
  .rodeo-hero-agent__license {
    display: none;
  }

  .rodeo-hero-agent__phone {
    margin-block-start: 0;
  }
}
/*********************
END: AGENT CARD
*********************/

/*********************
START: RESULTS
*********************/
.results {
  background-color: var(--Gray-1);
  padding-block: 105px 123px;
}

.results--title {
  display: flex;
  justify-content: space-between;
  margin-block-end: 2.5rem;
}

.results--title h2 {
  font-weight: 600;
}

.results--title > div {
  width: 44.25%;
}

.results--title > div p {
  margin-block-start: 1rem;
}

.results ul {
  display: flex;
  justify-content: center;
  column-gap: 24px;
}

.results ul li {
  min-height: 227px;
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.results ul li:not(:last-child) {
  width: 27%;
}

.results ul li:last-child {
  width: 46%;
}

.results ul li > img {
  width: 60px;
  height: 66px;
}

.results ul li > div {
  display: flex;
  margin-block: 4.5rem 1rem;
}

.results ul li > div span {
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

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

.results ul li p {
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

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

/*********************
START: ABOUT
*********************/
.about {
  position: relative;
}

.about::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
}

.about--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
  margin-block: 8rem;
}

.about--text p {
  margin-block: 1.5rem 4rem;
  width: 47%;
}

.about--text a.btn {
  display: block;
  width: 242px;
  height: 48px;
}

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

/*********************
START: PROPERTIES
*********************/
.properties {
  padding-block: 72px 56px;
  background-color: var(--Gray-3);
}

.properties--content {
  position: relative;
}

.properties--content p.text--medium {
  margin-block-start: 1rem;
}

.properties--content > ul {
  margin-block: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 16px;
  column-gap: 16px;
}

.properties--content > ul > li {
  position: relative;
}

.properties--content > ul > li::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 2px;
  background: rgba(33, 37, 41, 0.3);
}

.properties--content > ul > li img.imageIndex {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 440/412;
  border-radius: 2px;
}

.properties--content > ul > li div.info {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 13px;
}

.properties--content > ul > li div.info h4 {
  color: var(--Gray-9);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.16px;
}

.properties--content > ul > li div.info p {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.14px;
  margin-block: 0.5rem 1rem;
}

.properties--content > ul > li div.info > ul {
  display: flex;
  flex-wrap: wrap;
}

.properties--content > ul > li div.info > ul > li:not(:last-child) {
  padding-inline-end: 0.5rem;
  margin-inline-end: 0.5rem;
  border-right: 2px solid #adb5bd;
}

.properties--content > ul > li div.info > ul > li span {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.14px;
}

.properties--content a.btn {
  width: 278px;
  padding: 16px 24px;
  margin-inline: auto;
}

.listing-card .listing-card__image {
  border-radius: 16px;
}

.listing-card
  .listing-card__properties
  .listing-card__attributes-splitter:last-child {
  display: none;
}
/*********************
END: PROPERTIES
*********************/

/*********************
START: NEIGHBORHOODS
*********************/
.neighborhoods {
  background: var(--Gray-1);
  padding-block: 120px;
}

.neighborhoods--title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-end: 3rem;
}

.neighborhoods--title > div p {
  margin-block-start: 1rem;
}

.neighborhoods--title a.btn {
  width: 278px;
  padding: 16px 24px;
}

.neighborhoods--content ul {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
}

.neighborhoods--content ul li {
  position: relative;
}

.neighborhoods--content ul li img {
  width: 100%;
  height: 589px;
  border-radius: 2px;
  object-fit: cover;
}

.neighborhoods--content ul li div {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 21px;
  color: var(--Gray-9);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.18px;
}

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

/*********************
START: WORK WITH US
*********************/
.workUs {
  padding-block: 90px;
  background-color: var(--Gray-3);
  display: none;
}

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

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

.workUs--text p {
  margin-block: 1.5rem 3.5rem;
  line-height: 140%;
}

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

.workUs--text .workUs--text__btn a.btn {
  width: 49%;
}

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

.workUs--img img {
  width: 100%;
  height: auto;
  aspect-ratio: 706/800;
  object-fit: cover;
  border-radius: 4px;
}

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

/*********************
START: 
*********************/
.featured {
  padding-block: 146px 162px;
}

.featured--content p.text--medium {
  margin-block-start: 1rem;
}

.featured .featured-listing.swiper {
  margin-block: 3.5rem;
  min-height: 300px;
}

.featured .featured-listing .swiper-wrapper {
  transition-timing-function: linear;
}

.featured .featured-listing .swiper-slide {
  position: relative;
}

.featured .featured-listing .swiper-slide::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 2px;
  background: rgba(33, 37, 41, 0.3);
}

.featured .featured-listing .swiper-slide img.imageIndex {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 446.667 / 416;
  border-radius: 2px;
}

.featured .featured-listing .swiper-slide div.info {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 13px;
}

.featured .featured-listing .swiper-slide div.info h4 {
  color: var(--Gray-9);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.16px;
}

.featured .featured-listing .swiper-slide div.info p {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.14px;
  margin-block: 0.5rem 1rem;
}

.featured .featured-listing .swiper-slide div.info ul {
  display: flex;
  flex-wrap: wrap;
}

.featured .featured-listing .swiper-slide div.info ul li:not(:last-child) {
  padding-inline-end: 0.5rem;
  margin-inline-end: 0.5rem;
  border-right: 2px solid #adb5bd;
}

.featured .featured-listing .swiper-slide div.info ul li span {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.14px;
}

.featured a.btn {
  width: 299px;
  padding: 16px 24px;
  margin-inline: auto;
}
/*********************
END: 
*********************/

/*********************
START: BLOG
*********************/
section.blog {
  padding-block: 8rem;
  background-color: var(--bg-green);
}

.blog--head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  row-gap: 1rem;
  column-gap: 1.5rem;
  flex-wrap: wrap;
  margin-block-end: 2rem;
}

.blog--head a {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

section.blog ul {
  display: flex;
  flex-wrap: wrap;
  margin-block-end: 5rem;
}

section.blog ul li {
  margin: 16px;
  flex-basis: calc(33.33% - 32px);
  position: relative;
}

section.blog ul li a .imageIndex {
  position: relative;
}

section.blog ul li a .imageIndex:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(33, 37, 41, 0.2);
}

section.blog ul li a .imageIndex img {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 440/429;
}

section.blog ul li .info {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  background: var(--Gray-2);
  padding: 1.5rem;
  min-height: 185px;
}

section.blog ul li .info h2 {
  color: var(--Gray-7);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.18px;
  margin-block-end: 0.75rem;
}

section.blog ul li .info p {
  color: var(--Gray-7);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
}

/*********************
END: BLOG
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {

  .results ul li > div span {
    font-size: 40px;
  }

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

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 66%;
  }

  .properties--content > ul {
    row-gap: 32px;
    column-gap: 32px;
  }

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

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .results ul {
    column-gap: 20px;
  }

  .results ul li > div span {
    font-size: var(--text-4xl);
  }

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

  .properties--content > ul {
    row-gap: 24px;
    column-gap: 24px;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 67%;
  }

  .neighborhoods--content ul li img {
    height: 550px;
  }
}

@media screen and (max-width: 1319px) {
  .results--title > div {
    width: 44%;
  }

  .results ul {
    column-gap: 18px;
  }

  .results ul li > div span {
    font-size: var(--text-3xl);
  }

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

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

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 77%;
  }

  .neighborhoods--title {
    flex-direction: column;
    align-items: flex-start;
  }

  .neighborhoods--title > div p {
    margin-block: 1rem;
  }

  .neighborhoods--content ul li img {
    height: 530px;
  }
}

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

  .results ul li {
    padding: 1.5rem;
  }

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

  .about--text p {
    width: 60%;
  }

  .properties--content > ul {
    margin-block: 2rem;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 91%;
  }

  .properties--content > ul > li div.info p,
  .featured--content .swiper-slide > div.info p {
    margin-block: 0.5rem;
  }

  .neighborhoods--content ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .neighborhoods--content ul li img {
    height: 500px;
  }

  .workUs--img,
  .workUs--text {
    width: 48%;
  }

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

@media screen and (max-width: 992px) {
  .property-search-form .rcw-search-bar {
    flex-direction: column;
  }

  .property-search-form .rcw-search {
    width: 100%;
  }

  .property-search-form .search_address_input {
    width: 100%;
    border-bottom: 1px solid #e1e1e1 !important;
  }

  .property-search-form .rcw-search-btn {
    margin-inline: auto;
  }
  .hero--content > p {
    width: 65%;
  }

  .results--title {
    flex-direction: column;
  }

  .results--title > div {
    width: 100%;
    margin-block-start: 2.5rem;
  }

  .results ul {
    column-gap: unset;
  }

  .results ul li {
    padding: 1.5rem 1rem;
    width: auto !important;
    margin: 8px;
    flex-basis: calc(33.33% - 16px);
  }

  .results ul li > div span {
    font-size: var(--text-2xl);
  }

  .about--text p {
    width: 80%;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 100%;
  }

  .properties--content > ul {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media screen and (max-width: 768px) {
  .property-search-form {
    width: auto;
  }

  .property-search-form .rcw-search-bar {
    flex-direction: column;
  }

  .rcw-filters {
    flex-direction: column;
    width: 100%;
  }
  .property-search-form .rcw-filters > *,
  .property-search-form .rcw-search-btn,
  .rcw-filter,
  .rechat-filter-templated .rcw-pop,
  .rechat-filter-templated .rcw-trigger {
    width: 100%;
  }

  .rechat-filter-templated .rcw-chevron {
    margin-inline-start: auto;
  }

  .hero--content > p {
    width: 90%;
    font-size: var(--text-lg);
  }

  .results,
  .properties,
  .neighborhoods,
  .workUs,
  .featured {
    padding-block: 80px;
  }

  .about--text p {
    width: 100%;
  }

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

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

  .workUs--img {
    width: 70%;
    margin-block-end: 2rem;
  }

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

@media screen and (max-width: 576px) {
  .hero--content > p {
    width: 100%;
  }

  .results ul {
    flex-wrap: wrap;
  }

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

  .properties--content > ul {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .neighborhoods--content ul li img {
    height: auto;
    aspect-ratio: 4/4;
  }
}

@media screen and (max-width: 470px) {
  .results ul li {
    flex-basis: calc(100% - 16px);
  }
  .workUs--img {
    width: 80%;
  }

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

@media screen and (max-width: 425px) {
  .workUs--img {
    width: 100%;
  }

  .workUs--text p {
    margin-block: 1.5rem;
  }

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

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

@media screen and (max-width: 375px) {
  .hero--content a.btn--gray-7 {
    width: 290px;
  }
}

@media screen and (max-width: 320px) {
  .hero--content a.btn--gray-7 {
    width: 200px;
  }
}

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

/*********************
START: CLIENT TESTIMONIALS (homepage, Rechat shortcode)
*********************/
.clientSay {
  padding-block: 96px 104px;
  background-color: var(--baseLight-color);
}

.clientSay--head {
  max-width: 640px;
}

.clientSay--head p.text--medium {
  margin-block-start: 1rem;
}

.clientSay--grid {
  margin-block-start: 3rem;
}

.clientSay--grid .rch-testimonials rechat-root {
  background-color: transparent !important;
  border: none;
}

/* Fetch 4, show 3: the 4th card only signals "more exist" for the CTA. */
.clientSay--grid .testimonials__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  gap: 24px !important;
}

/* One or two testimonials: centre the whole section instead of leaving the row half empty. */
.clientSay:has(.testimonials__list > :first-child:nth-last-child(-n + 2)) .clientSay--head {
  margin-inline: auto;
  text-align: center;
}

.clientSay--grid .testimonials__list > :nth-child(n + 4) {
  display: none !important;
}

.clientSay--grid .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--Gray-2);
  background: var(--Gray-1);
  box-shadow: none;
}

.clientSay--grid .testimonial-card .testimonial-card__author {
  font-family: var(--font-family-Playfair);
  color: var(--Gray-9) !important;
}

.clientSay--grid .testimonial-card .testimonial-card__rating {
  color: var(--baseDark-color) !important;
}

.clientSay--cta {
  display: flex;
  justify-content: center;
  margin-block-start: 2.5rem;
}

@media screen and (max-width: 992px) {
  .clientSay {
    padding-block: 64px;
  }
  .clientSay--grid .testimonial-card {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .clientSay--grid .testimonials__list > :nth-child(n + 3) {
    display: none !important;
  }
}

@media screen and (max-width: 576px) {
  .clientSay {
    padding-block: 48px;
  }
  .clientSay--grid .testimonials__list {
    gap: 16px !important;
  }
  .clientSay--grid .testimonial-card {
    flex-basis: 100%;
    max-width: 100%;
  }
  .clientSay--grid .testimonials__list > :nth-child(n + 3) {
    display: none !important;
  }
}
/*********************
END: CLIENT TESTIMONIALS
*********************/
