.heroInner--insights {
  background-position: center bottom;
  margin-block-end: 80px !important;
}

/*********************
START: IMAGE SECTION
*********************/
.image-section {
  width: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/heroInner-contact.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: var(--baseLight-color);
  position: relative;
  height: 600px;
}

.image-section::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.custom-intro {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.custom-intro__title {
  margin-bottom: 0px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 70px;
  color: var(--baseLight-color);
  font-weight: 400;
}

/*********************
END: IMAGE SECTION
*********************/

/*********************
START: TESTIMONIALS
*********************/
.testimonials {
  padding-top: calc(2 / 4 * var(--global-section-padding)) !important;
  padding-bottom: calc(2 / 4 * var(--global-section-padding)) !important;
}

.testimonials ul {
  padding-inline: 128px;
  max-width: 1080px;
  margin-inline: auto;
}

.testimonials__item {
  margin-block-end: 24px;
  padding: 36px 0;
  font-size: 16px;
  color: #5c5c5c;
}

.testimonials .name__position {
  display: flex;
  align-items: center;
  margin-block-end: 24px;
}

.testimonials .author__image {
  min-width: 96px;
  min-height: 96px;
  max-width: 96px;
  max-height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #e7e7e7;
  margin-right: 24px;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.testimonials .author__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author__name {
  font-size: 43px;
  line-height: 56px;
  margin-bottom: 0;
  font-weight: 400;
  text-transform: uppercase;
}

.testimonials-list__item-content > p {
  font-weight: 300 !important;
  letter-spacing: 1px;
  line-height: 1.6 !important;
}
/*********************
END: TESTIMONIALS
*********************/

/*********************
START: BLOGS
*********************/
.category-blog {
  background-color: var(--Gray-1);
}

.related--post {
  background: var(--Gray-3);
  padding-block: 120px;
}

.related--post h3.title--medium {
  margin-block-end: 2.5rem;
}

.blogs--search {
  margin-block-start: -7rem;
}

.form--group {
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding-block: 1.5rem;
  padding-inline: 1rem;
  width: 100%;
  margin-block-end: 3.75rem;
  border: 1px solid var(--Gray-3);
  background: var(--Gray-1);
  position: relative;
  z-index: 1;
}

.form--group input {
  border: none !important;
}

.form--group input::placeholder {
  color: #b3b3b3;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.16px;
}

.blogs--content ul {
  display: flex;
  flex-wrap: wrap;
  margin-block-end: 5rem;
  justify-content: center;
}

.blogs--content ul li {
  margin: 16px;
  flex-basis: calc(33.33% - 32px);
  position: relative;
  background: var(--Gray-2);
}

.blogs--content ul li > a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: 1px solid var(--Gray-1);
  border-radius: 6px;
}

.blogs--content ul li a .imageIndex {
  position: relative;
}

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

.blogs--content 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;
}

.blogs--content ul li .info {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  padding: 1.5rem;
  min-height: 185px;
}

.blogs--content 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;
}

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

/*********************
END: BLOGS
*********************/

/*********************
START: NEIGHBORHOODS for neighborhoods page and neighborhoods single page
*********************/
.post-type-archive-neighborhoods .neighborhoods {
  background-color: var(--Gray-1);
}
.neighborhoods--related {
  padding-block: 100px;
  background-color: var(--bg-color);
}

.neighborhoods--search {
  margin-block-start: -2rem;
}

.neighborhoods--content ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-start: 2.5rem;
}

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

.related-neighbour {
  background-color: var(--Gray-3);
  padding-block: 72px 56px;
  margin-block-end: 0 !important;
}

.related-neighbour ul.rch-neighborhoods-archive li {
  overflow: unset;
  width: auto;
}

.related-neighbour ul.rch-neighborhoods-archive li .item-wrapper {
  padding-bottom: unset;
}

.related-neighbour ul.rch-neighborhoods-archive li .overlay,
.related-neighbour ul.rch-neighborhoods-archive li .image-holder,
.related-neighbour ul.rch-neighborhoods-archive li .image-holder img {
  position: unset;
}

.related-neighbour ul.rch-neighborhoods-archive li .image-holder {
  background-color: transparent;
}

.related-neighbour ul.rch-neighborhoods-archive li:hover .image-holder {
  transform: unset;
}

.neighborhoods--content ul li a div:first-child > img {
  width: 100%;
  height: auto;
  aspect-ratio: 440/560;
  object-fit: cover;
  border-radius: 2px;
}

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

.neighborhoods--content ul li a:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(33, 37, 41, 0.5);
}

.neighborhoods--content ul li a > p {
  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 for neighborhoods page and neighborhoods single page
*********************/

/*********************
START: PAGINATION
*********************/
.rch-loader {
  border-right-color: var(--Gray-9) !important;
}
.rch-pagination,
.rch-pagination-agent,
.rch-listing-pagination {
  margin-block: 3rem;
  align-items: center;
  justify-content: center;
  display: flex;
}

.rch-pagination .rch-pagination-container .current,
.rch-pagination-agent .rch-pagination-container .current {
  background-color: var(--navy-color);
  color: var(--baseLight-color) !important;
}

.rch-pagination .rch-pagination-container {
  display: flex;
  column-gap: 0.5rem;
}

.rch-pagination .rch-pagination-container > * {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rch-pagination .rch-pagination-container > *,
.rch-pagination-agent .rch-pagination-container > * {
  width: 40px;
  height: 40px;
  color: var(--navy-color);
  border: solid 1px var(--Gray-3);
}

.rch-pagination button,
.rch-pagination-agent button,
.rch-listing-pagination button {
  border-radius: 4px !important;
  border: none !important;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  color: var(--Gray-9);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  background-color: transparent !important;
}

.rch-pagination span,
.rch-pagination-agent span,
.rch-listing-pagination span {
  color: #717979;
}

.rch-pagination .active,
.rch-pagination-agent .active,
.rch-listing-pagination .active {
  border: none !important;
  color: var(--baseLight-color) !important;
  opacity: 0.9;
  background: var(--Gray-8) !important;
}

.rch-pagination button img,
.rch-pagination-agent button img,
.rch-listing-pagination button img {
  opacity: 0.5;
}

/*********************
END: PAGINATION
*********************/

/*********************
START: LISTING
*********************/
.page-id-290 .singlePost {
  padding-block-start: 0;
}
.page-id-290 .singlePost .rch-filters,
.page-id-290 .singlePost .rch-under-filter-in-mobile {
  padding-block: 56px 72px;
}

.rch-filters > div:not(:first-child) {
  border: none !important;
}

.rch-filters .box-filter-listing:hover {
  border: none !important;
}

.rch-filters {
  align-items: center;
}

.rch-filters > div .toggleMain {
  margin-top: 0 !important;
  padding: 0.75rem 2rem;
  color: var(--Gray-6) !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.14px;
}

.rch-filters > div {
  background-color: transparent !important;
}

.rch-filters > div.active .toggleMain {
  border-radius: 8px;
  background: var(--Gray-9) !important;
  color: var(--Gray-1) !important;
}

.rch-filters > div.active:not(:first-child) {
  border: none !important;
}

.box-filter-listing-text input[type="search"] {
  background-color: transparent !important;
  border-radius: 4px !important;
  color: #b3b3b3;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.16px;
  padding: 1rem !important;
}

.rch-listing-list .house-item {
  border: none !important;
  padding: 0 !important;
  position: relative;
}

/* .rch-listing-list .house-item a{
	position: relative;
} */

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

.rch-listing-list {
  column-gap: 0.5rem !important;
  row-gap: 0.75rem !important;
}

.rch-listing-list .house-item picture {
  border-radius: 2px !important;
  height: auto !important;
  margin-block-end: 0 !important;
}

.rch-listing-list .house-item picture img {
  aspect-ratio: 440 / 450;
  height: auto !important;
  object-fit: cover;
}

.rch-listing-list .house-item a .info {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 13px;
}

.rch-listing-list .house-item a .info h3 {
  color: var(--Gray-9);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.16px;
  margin-block-end: 0.5rem;
}

.rch-listing-list .house-item a .info p {
  color: var(--Gray-7);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.14px;
  margin-block-end: 1rem;
}

.rch-listing-list .house-item ul li {
  border: none;
  background: transparent;
  border-radius: 0;
  padding-block: 0;
  color: var(--Gray-7);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.14px;
  padding: 0;
}

.rch-listing-list .house-item ul li:not(:last-child) {
  padding-inline-end: 0.5rem;
  margin-inline-end: 0.5rem;
  border-right: 2px solid #adb5bd;
  text-transform: capitalize;
}

.rch-listing-list .house-item ul li:last-child {
  text-transform: lowercase;
}

.rch-listing-list .house-item ul li b {
  font-weight: 300;
  color: var(--Gray-7);
}

/**************************** Class rch-with-map is only used in version 5, i.e. Village 2, and is not and will not be used in any other version. Please be sure to pay attention to this. **************************************************/
.rch-listing-list.rch-with-map,
.rch-listing-list.rch-with-map ~ .rch-listing-skeleton-loader {
  --columns: 2;
}
/*********************
END: LISTING
*********************/

/*********************
START: AGENTS
*********************/
.post-type-archive-agents .singlePost {
  background-color: #f5f5f5;
  padding-block-start: 0;
  position: relative;
}

.post-type-archive-agents .singlePost--content {
  width: 100%;
}

.post-type-archive-agents .rch-profile-image {
  border-radius: 5px;
  object-position: top;
}

.rch-top-filter form#rch-agent-search-form {
  width: 100%;
  border-radius: 8px;
  margin-block-start: -25px;
  z-index: 1;
}

.rch-top-filter form#rch-agent-search-form > img {
  right: 2% !important;
  left: auto;
  margin-block: 0;
}

.rch-top-filter form#rch-agent-search-form input {
  padding-inline-start: 1rem !important;
  background-color: var(--Gray-1);
  border: 1px solid var(--Gray-3) !important;
  padding-block: 1rem;
  height: 60px;
}

ul.rch-archive-agents,
.rch-archive-regions-offices {
  row-gap: 1.5rem !important;
}
ul.rch-archive-agents {
  background-color: white;
  padding: 2rem !important;
}
ul.rch-archive-agents li {
  background-color: transparent;
  border: 1px solid var(--Gray-3);
  margin-block-end: 0 !important;
}

ul.rch-archive-agents li,
.rch-archive-regions-offices li {
  padding: 0 0 1rem 0 !important;
  position: relative;
}

ul.rch-archive-agents li picture {
  height: unset !important;
  border-top-left-radius: 2px !important;
  border-top-right-radius: 2px !important;
  max-height: unset !important;
  min-height: unset !important;
}

body.post-type-archive-agents .singlePost--content h3 {
  margin-block: 0;
}

ul.rch-archive-agents li .rch-archive-end-line {
  position: absolute;
  width: 90%;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

ul.rch-archive-agents li .rch-archive-name a {
  color: var(--Gray-9);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-inline: 1rem;
}

ul.rch-archive-agents li .rch-archive-name span {
  color: var(--Gray-9);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-block: 8px;
  padding-inline: 1rem;
}

ul.rch-archive-agents li .rch-archive-name .rch-agent-office {
  color: var(--Gray-9);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 8px;
  padding-inline: 1rem;
}

ul.rch-archive-agents li .rch-archive-name .rch-agent-office a {
  font-size: 14px;
  font-weight: 600;
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.single-offices ul.rch-archive-agents li .rch-archive-name span {
  display: none;
}

.singleOffice {
  margin-block: 5rem;
}

.singleOffice h1 {
  display: none;
}

.notfoundSingleAgentOffice {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-color: #edf1f5;
  border-radius: 4px;
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 600;
}

.rch-agents-rechat
  ul.rch-archive-agents
  li
  .rch-archive-end-line
  a:first-child {
  width: 100%;
  border-radius: 4px !important;
  background: var(--Gray-9) !important;
  color: var(--Gray-1) !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.rch-agent-phone-archive {
  display: none !important;
}
/*********************
END: AGENTS
*********************/

/*********************
START: Neighborhoods
*********************/
ul.rch-neighborhoods-archive
  li.item
  .content-container
  .button-wrapper
  .btn:hover {
  color: var(--baseDark-color) !important;
}
/*********************
END: Neighborhoods
*********************/

/*********************
START: SERVICES
*********************/
.realEstate {
  margin-block-end: 176px;
}

.realEstate--content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 40px;
}

.realEstate--content h3 {
  font-family: var(--font-family-Playfair);
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.realEstate--content p {
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 180%;
  width: 80%;
}

.services ul {
  width: 85%;
  margin-inline: auto;
}

.servicesinfo {
  margin-block-end: 200px;
}

.servicesinfo h4 {
  font-family: var(--font-family-Playfair);
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.servicesinfo p {
  font-style: normal;
  font-weight: 300;
  line-height: 180%;
  margin-block: 0.5rem 2rem;
}

.servicesinfo .servicesinfo--img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1192 / 600;
  border-radius: 2px;
}

.category-services {
  background-color: var(--Gray-1);
}

.category-services .heroInner {
  margin-block-end: 80px;
}

.category-services .heroInner .heroInner--content > h1 {
  width: 50% !important;
}

.category-services .heroInner .heroInner--content > .description p {
  width: 38% !important;
}

/*********************
END: SERVICES
*********************/

/*********************
START: OFFICES
*********************/
section.offices {
  margin-block: 8rem 5rem;
}

section.offices h1 {
  font-family: var(--font-family-Playfair);
}

ul.rch-archive-regions-offices {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-block-start: 2rem;
}

ul.rch-archive-regions-offices li {
  border-radius: 0.5rem;
  position: relative;
}

ul.rch-archive-regions-offices li > a {
  padding-block-end: 3rem;
  display: block;
}

ul.rch-archive-regions-offices li img {
  width: 100%;
  aspect-ratio: 4 / 4;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  margin-block-end: 1rem;
}

ul.rch-archive-regions-offices li h2 {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
}

body.single-offices .rch-profile-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/*********************
END: OFFICES
*********************/
body.page-template-archive-listing-template {
  background-color: unset;
}

body.page-template-archive-listing-template .singlePost {
  margin-block-start: 5rem;
}

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
  .neighborhoods--content ul li a > p {
    font-size: var(--text-lg);
  }

  .realEstate--content p {
    font-size: var(--text-xl);
  }

  .servicesinfo h4 {
    font-size: 28px;
  }

  .servicesinfo p {
    font-size: var(--text-2xl);
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .realEstate--content p {
    font-size: var(--text-xl);
  }

  .servicesinfo h4 {
    font-size: 28px;
  }

  .servicesinfo p {
    font-size: var(--text-2xl);
  }
}

@media screen and (max-width: 1319px) {
  .blogs--content ul li {
    margin: 12px;
    flex-basis: calc(33.33% - 24px);
  }

  .realEstate--content p {
    font-size: var(--text-lg);
  }

  .servicesinfo h4 {
    font-size: var(--text-2xl);
  }

  .servicesinfo p {
    font-size: var(--text-xl);
  }

  ul.rch-archive-regions-offices {
    gap: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .blogs--content ul li {
    margin: 8px;
    flex-basis: calc(33.33% - 16px);
  }

  .rch-listing-list {
    column-gap: 1rem !important;
    row-gap: 1rem !important;
  }

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

  .category-services .heroInner .heroInner--content > .description p {
    width: 50% !important;
  }

  .category-services .heroInner .heroInner--content > .description p {
    width: 50% !important;
  }

  .servicesinfo {
    margin-block-end: 150px;
  }

  ul.rch-archive-regions-offices {
    gap: 16px;
  }
}

@media screen and (max-width: 992px) {
  .blogs--content ul li {
    flex-basis: calc(50% - 16px);
  }

  .rch-listing-list.rch-with-map,
  .rch-listing-list.rch-with-map ~ .rch-listing-skeleton-loader {
    --columns: 1;
  }

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

  .category-services .heroInner .heroInner--content > h1 {
    width: 70% !important;
  }

  .category-services .heroInner .heroInner--content > .description p {
    width: 60% !important;
  }

  .testimonials ul {
    padding-inline: 40px;
  }

  ul.rch-archive-regions-offices {
    grid-template-columns: repeat(3, 1fr);
  }

  .rch-single-house-main-layout{
    flex-direction: column;
    row-gap: 2rem;
  }

  .rch-single-house-main-layout .rch-single-right-main-layout{
    flex-basis: 0;
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .rch-listing-list.rch-with-map,
  .rch-listing-list.rch-with-map ~ .rch-listing-skeleton-loader {
    --columns: 2;
  }

  .rch-listing-list .house-item a .info p {
    margin-block-end: 0.5rem;
  }

  .button-filter-for-mobile {
    margin-block-end: 0;
    border-radius: 4px !important;
  }

  li.services--content {
    flex-direction: column-reverse !important;
  }

  .realEstate--content p {
    font-size: var(--text-base);
  }

  .custom-intro__title {
    font-size: 32px;
  }

  .testimonials ul {
    padding-inline: 24px;
  }

  .author__name {
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0.75px;
  }

  .testimonials .author__image {
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    margin-right: 16px;
  }

  ul.rch-archive-regions-offices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .neighborhoods--content ul li {
    flex-basis: calc(100% - 16px);
  }

  .category-services .heroInner .heroInner--content > h1 {
    width: 100% !important;
  }

  .category-services .heroInner .heroInner--content > .description p {
    width: 100% !important;
  }

  .rch-listing-list,
  .rch-listing-skeleton-loader {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

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

  .blogs--content ul li .info h2 {
    font-size: var(--text-base);
  }

  .services ul {
    width: 90%;
  }

  .servicesinfo {
    margin-block-end: 100px;
  }

  ul.rch-archive-regions-offices {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 425px) {
  .services ul {
    width: 95%;
  }
}

@media screen and (max-width: 375px) {
  .services ul {
    width: 100%;
  }
}

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