/***************************************** BLOG PAGE *****************************************/
/*********************
START: HERO BLOG
*********************/
.heroBlog {
  padding-block-start: 10rem;
}

.heroBlog .indexText {
  width: 70%;
  margin-block: 2.5rem 2rem;
}

.heroBlog picture img {
  width: 100%;
  margin-block-end: 2rem;
  border-radius: var(--border-radius-4);
}

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

/*********************
START: BLOG LIST
*********************/
.blog {
  padding-block-end: 10rem;
}

.blog ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 2rem;
  margin-block-start: 3rem;
}

.blog ul li {
  width: 32%;
  position: relative;
}

.blog ul li picture {
  position: relative;
  display: block;
  margin-block-end: 1rem;
  overflow: hidden;
  border-radius: var(--border-radius-4);
}

.blog ul li img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-block-end: 1rem;
  transition: all 0.5s;
  border-radius: var(--border-radius-4);
}

.blog ul li:hover img {
  mix-blend-mode: normal;
  transform: scale(1.015);
}

.blog ul li a.btn {
  position: absolute;
  top: 55%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.blog ul li:hover a.btn {
  top: 45%;
  opacity: 1;
}

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

/***************************************** SERVICES PAGE *****************************************/
/*********************
START: HERO SERVICES
*********************/

.heroServices {
  padding-block-start: 10rem;
}

.heroServices p.indexText {
  width: 70%;
  margin-block: 2.5rem 2rem;
}

.heroServices picture img {
  width: 100%;
  margin-block: 2rem 3rem;
  border-radius: var(--border-radius-4);
}

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

/*********************
START: SERVICES
*********************/
.services {
  padding-block-end: 10rem;
}

.services ul li {
  display: flex;
  justify-content: space-between;
  margin-block-end: 1rem;
}

.services ul li:nth-child(odd) {
  flex-direction: row;
}

.services ul li:nth-child(even) {
  flex-direction: row-reverse;
}

.service--text,
.service--img {
  width: 49.5%;
}

.service--text {
  row-gap: 2rem;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  background-color: var(--bg-green);
  border-radius: var(--border-radius-4);
}

.service--text p {
  margin-block-start: auto;
}

.service--img picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/2.25;
  object-fit: cover;
  border-radius: var(--border-radius-4);
}

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

/***************************************** AGENTS PAGE *****************************************/
/*********************
START: HERO AGENTS
*********************/

.heroAgents {
  padding-block: 10rem;
}

.heroAgents p.indexText {
  width: 70%;
  margin-block: 2.5rem 2rem;
}

.heroAgents picture img {
  width: 100%;
  margin-block: 2rem 3rem;
  border-radius: var(--border-radius-4);
}

/*********************
END: HERO AGENTS
*********************/

/***************************************** NEIGHBORHOODS ARCHIVE PAGE *****************************************/
/*********************
START: neighborhoods archive
*********************/

.rch-neighborhoods-archive {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
  padding: 0;
  list-style: none;
}

.rch-neighborhoods-archive .item {
  padding: 10px;
  box-sizing: border-box;
}

ul.rch-neighborhoods-archive li .item-wrapper {
  overflow: hidden;
}
/* 3 items row */
.rch-neighborhoods-archive .item:nth-child(5n + 1),
.rch-neighborhoods-archive .item:nth-child(5n + 2),
.rch-neighborhoods-archive .item:nth-child(5n + 3) {
  width: 33.333%;
}

/* 2 items row */
.rch-neighborhoods-archive .item:nth-child(5n + 4),
.rch-neighborhoods-archive .item:nth-child(5n + 5) {
  width: 50%;
}

ul.rch-neighborhoods-archive li .content-container {
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transform: unset;
  -moz-transform: unset;
  -ms-transform: unset;
  transform: unset;
  max-width: unset;
  width: 100%;
  height: 100%;
}

ul.rch-neighborhoods-archive li .content-container h3 {
  margin-bottom: 0;
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  text-align: left;
  font-size: var(--text-2xl);
  line-height: var(--line-height120);
}

ul.rch-neighborhoods-archive li.item .content-container .button-wrapper {
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

ul.rch-neighborhoods-archive li.item .content-container .button-wrapper span {
  background-color: var(--bg-orange) !important;
  color: var(--baseLight-color) !important;
  border: 1px solid var(--bg-orange) !important;
  border-radius: var(--border-radius-6) !important;
}

ul.rch-neighborhoods-archive
  li.item
  .content-container
  .button-wrapper
  span:hover {
  border: 1px solid var(--bg-orange-dark) !important;
  background-color: var(--bg-orange-dark) !important;
}

/* container of neighborhoods-archive */
body.post-type-archive-neighborhoods .content-area {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1320px 1fr;
  grid-template-areas: ". content .";
}

body.post-type-archive-neighborhoods .content-area > * {
  grid-area: content;
}

@media screen and (min-width: 1920px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 1400px 1fr;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 1330px 1fr;
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 1310px 1fr;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1319px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 1140px 1fr;
  }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 970px 1fr;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 750px 1fr;
  }
}

@media screen and (max-width: 768px) {
  body.post-type-archive-neighborhoods .content-area {
    grid-template-columns: 1fr 95% 1fr;
  }
}

ul.rch-archive-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

ul.rch-archive-agents li {
  height: auto;
  margin: 8px;
  flex-basis: calc(25% - 16px);
}
/*********************
END: neighborhoods archive
*********************/

body.single-neighborhoods .heroInner {
  padding-block-end: 0 !important;
}
body.single-neighborhoods.single {
  padding-block: 0;
}
body.single-neighborhoods.single .single--content {
  max-width: 100% !important;
}
.related-neighbour {
  margin-block-start: 3rem;
}

.related-neighbour h2 {
  margin-bottom: 2rem;
}

.rch-neighborhood-local-logic {
  width: 99% !important;
  margin-inline: auto !important;
}

body.single-neighborhoods .rch-listing-block-gutenberg .filters {
  padding-block: 6rem 2rem;
  background-color: var(--bg-green-dark);
  width: 100%;
  margin-inline: auto;
  color: var(--baseLight-color);
  margin-block-end: 2rem;
}

body.single-neighborhoods .rch-listing-block-gutenberg .container_listing_sdk {
  width: 100%;
}

body.single-neighborhoods .rch-listing-block-gutenberg .wrapper {
  width: 99%;
  margin-inline: auto;
}

/***************************************** ACTIVE LISTING PAGE *****************************************/
/*********************
START: active-listings
*********************/
body.page-template-listing header {
  background-color: var(--bg-green-dark);
  top: 0;
  padding-block: 2rem;
}

body.page-template-listing header .header--logo > a > img {
  filter: unset;
}

body.page-template-listing header .nav-icon:after,
body.page-template-listing header .nav-icon:before,
body.page-template-listing header .nav-icon div {
  background-color: var(--baseLight-color);
}

body.page-template-listing .container-map {
  margin-block-start: 0;
}

body.page-template-listing .rch-listing-block-gutenberg .filters {
  padding-block: 6rem 2rem;
  background-color: var(--bg-green-dark);
  width: 100%;
  margin-inline: auto;
  color: var(--baseLight-color);
  margin-block-end: 2rem;
}

body.page-template-listing .rch-listing-block-gutenberg .container_listing_sdk {
  width: 100%;
}

body.page-template-listing .rch-listing-block-gutenberg .wrapper {
  width: 99%;
  margin-inline: auto;
}

body.page-template-listing .activeListing {
  margin-top: 8.5rem;
}

.rechat-popover__trigger {
  border: 1px solid var(--border-color);
  color: var(--bg-green);
}

.map-listings-filters__dropdown_trigger.active {
  border-color: var(--border-color);
}

.rechat-button.variant-ghost {
  color: var(--bg-green);
}

.rch-listing-block-gutenberg .listings .listing-card:hover {
  border: unset;
  box-shadow: unset;
}
/*********************
END: active-listings
*********************/

.list-pagination__root {
  padding: 0;
  min-height: auto;
}
/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
}

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

@media screen and (max-width: 1200px) {
  .heroBlog .indexText,
  .heroServices p.indexText,
  .heroAgents p.indexText {
    width: 100%;
  }

  .rch-neighborhoods-archive .item {
    width: 50% !important;
  }

  ul.rch-archive-agents li {
    flex-basis: calc(33.33% - 16px);
  }
}

@media screen and (max-width: 992px) {
  .services ul li {
    margin-block-end: 2rem;
    flex-direction: column-reverse !important;
  }

  .service--text,
  .service--img {
    width: 100%;
  }

  .service--text {
    margin-block-start: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .blog ul li {
    width: 49%;
  }

  .rch-neighborhoods-archive .item {
    width: 100% !important;
  }

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

@media screen and (max-width: 576px) {
  .blog ul li {
    width: 100%;
  }
}

@media screen and (max-width: 425px) {
  ul.rch-archive-agents li {
    flex-basis: calc(100% - 16px);
  }
}

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

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