/***************************************** BLOG PAGE *****************************************/
/*********************
START: HERO BLOG
*********************/
.heroBlog {
   min-height: 100vh;
    padding-block: 10rem;
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

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

.heroBlog h1{
	position: relative;
}

.heroBlog .indexText {
    width: 70%;
	position: relative;
    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: center;
    row-gap: 1.5rem;
    margin-block-start: 4rem;
}

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

.blog ul li picture {
    position: relative;
    display: block;
    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: 40%;
    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
*********************/
.heroInnerNeighborhood {
   min-height: 100vh;
    padding-block: 10rem;
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

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

.heroInnerNeighborhood h1{
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

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

.rch-neighborhoods-archive .item {
  width: 49%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: var(--border-radius-4);
}

ul.rch-neighborhoods-archive li .item-wrapper{
	overflow: hidden;
}


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;
    top: 2.5rem;
    left: 2.5rem;
	text-align: left;
	font-size: var(--text-2xl);
    line-height: var(--line-height120);
}

ul.rch-neighborhoods-archive li .content-container h3:before{
	position: absolute;
	content:"";
	width: 1rem;
	height: 1rem;
	right: 0;
	top: 0;
	background-image: url("../img/icons/pin.svg");
	background-repeat: no-repeat;	
}

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;
}

.neighborhood--item__label {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    z-index: 1;
    padding: 1.25rem 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    backdrop-filter: blur(25px);
    border-radius: var(--border-radius-16);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    transition: all 0.3s ease;
}

ul.rch-neighborhoods-archive li:hover .neighborhood--item__label {
    opacity: 1;
    bottom: 2rem;
}

.neighborhood--item__label>.btn {
    max-width: unset;
    width: max-content;
    margin-inline: auto 0;
    background-color: var(--baseLight-color);
    color: var(--gray-primary);
    font-size: var(--text-sm);
    font-weight: 500;
}

.neighborhood--item__label>.btn img {
    filter: brightness(0.1);
    width: 16px;
    height: 16px;
}


/* 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;
    }
}

/*********************
END: neighborhoods archive
*********************/

body.single-neighborhoods header,
body.single-neighborhoods .heroInner{
	background-color: var(--bg-green-dark);
}

body.single-neighborhoods .content-area{
	margin-block-start: -2.5rem !important;
}

body.single-neighborhoods header .header--logo > a > img{
	filter: unset ;
}

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

body.single-neighborhoods .heroInner{
	padding-block: 0;
}

body.single-neighborhoods .heroInner h1{
	color: var(--baseLight-color);
	padding-block-start: 2rem;
}

body.single-neighborhoods .container-map{
	margin-block-start: 0;
}

.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: linear-gradient(to bottom, rgba(49, 48, 47, 1) 0%, rgba(0, 0, 0, 1) 100%);
}
 */
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: linear-gradient(to bottom, rgba(49, 48, 47, 1) 0%, rgba(0, 0, 0, 1) 100%);
	width: 100%;
	margin-inline: auto;
	color: var(--baseLight-color);
	margin-block-end: 2rem;
	border-bottom-left-radius: var(--border-radius-12);
	border-bottom-right-radius: var(--border-radius-12);
}

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;
}

.rechat-text-field{
	border: 1px solid var(--border-color);
	border-top: 0;
    border-left: 0;
	border-right: 0;
    border-radius: 0;
	color: var(--baseLight-color);
}

.rechat-popover__trigger{
	border: 1px solid var(--border-color);
	color: var(--baseLight-color);
	border-radius: 24px;
}

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

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

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

/*********************
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%;
    }
}

@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 {
       flex-basis: calc(50% - 16px);
    }
	
   .rch-neighborhoods-archive .item{
     width: 100% !important;
   }
}

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

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

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

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