.ln-neighbour-home-wrapper {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   grid-column-gap: 72px;
   grid-row-gap: 48px;
}

.ln-neighbour-home-item {
   max-width: 100%;
   overflow-x: hidden;
   position: relative;
   border-radius: 20px!important;
}

.ln-neighbour-home-item .ln-home-image-gallery {
   display: flex;
   border-radius: 20px;
   width: 100%;
   max-width: 582px !important;
   max-height: 446px;
   min-height: 446px;
   min-width: 100%!important;
}

.ln-neighbour-home-item .ln-home-image-gallery img {
   min-width: 100%!important;
   border-radius: 20px;
   max-width: none !important;
   object-fit: cover;
   object-position: center;
}

.ln-neighbour-home-item .ln-home-more-details-wrapper {
   display: flex;
   align-items: center;
   gap: 26px;
}

.ln-neighbour-home-item .ln-home-beds-count-flex {
   display: flex;
   align-items: center;
   gap: 10px;
}

.ln-neighbour-home-item .ln-home-area-size-flex {
   display: flex;
   align-items: center;
   gap: 10px;
}

.ln-neighbour-home-item .swiper {
   width: 100%;
   height: 100%;
}

.ln-neighbourhood-home-slider-pagination.hide-rent-pagi {
   display: none;
}

.ln-neighbourhood-home-slider-pagination {
   display: flex;
   gap: 13px;
   justify-content: flex-end;
   position: absolute;
   right: 0;
   transform: translate(-18px, -32px);
}

.ln-neighbourhood-home-slider-pagination .swiper-pagination-bullet {
   width: 16px;
   height: 16px;
   display: block;
   border-radius: 100%;
   border: 1px solid #fff;
   cursor: pointer;
}

.ln-neighbourhood-home-slider-pagination .swiper-pagination-bullet-active {
   background: #fff;
   width: 16px;
   height: 16px;
   display: block;
   border-radius: 100%;
   border: 1px solid #fff;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper {
  padding: 24px 0px;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ssl-content-wrapper {
   padding: 54px 0px;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-title {
   font-size: 30px;
   line-height: 45px;
   font-weight: 400;
   color: var(--Navy, #015675);
}

.ln-home-title-flex {
   padding-bottom: 16px;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item  .ln-home-conetnt-wrapper .ln-home-tags-flex {
   font-weight: 800;
   font-size: 14px;
   letter-spacing: 1.28px;
   line-height: 24px;
   color: #919EAB;
   padding-top: 16px;
   padding-bottom: 16px;
   text-transform: uppercase;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-content {
   font-size: 18px;
   line-height: 26px;
   max-width: 500px;
   margin-bottom: 24px!important;
   color: var(--Black, #000);
   font-weight: 400;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-more-details-wrapper {
   margin-bottom: 8px;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-more-details-wrapper p {
   color: var(--Grey, #919EAB);
   font-size: 14px;
   font-style: normal;
   font-family: 'Avenir-Heavy-800',Helvetica,Arial,Lucida,sans-serif;
   line-height: 24px;
   letter-spacing: 1.12px;
   text-transform: uppercase;
}

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-price {
   font-size: 14px;
   font-family: 'Avenir-Heavy-800',Helvetica,Arial,Lucida,sans-serif;
   letter-spacing: 1.28px;
   line-height: 24px;
   color: #015676;
   display: flex;
   align-items: center;
   gap: 8px;
} 

.ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-price span {
   font-weight: 400;
   font-family: 'Avenir Roman',Helvetica,Arial,Lucida,sans-serif !important;
   font-size: 30px;
   line-height: 45px;
}

div#resale-title h2 {
   font-weight: 400 !important;
}

.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-next,
.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-prev {
   display: block;
   width: 30px;
   height: 30px;
   background-color: #ffffffc4;
   border-radius: 50%;
   cursor: pointer;
   overflow: hidden;
}

.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-next:after {
   content: url(/wp-content/uploads/2024/06/grid-slider-right.svg);
   position: relative;
   right: -2px;
   top: 2px;
   display: block;
}

.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-prev:after {
   content: url(/wp-content/uploads/2024/06/grid-slider-left.svg);
   position: relative;
   left: 7px;
   top: 5px;
   display: block;
}

.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-nav-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: relative;
   top: -226px;
   padding-left: 10px;
   padding-right: 10px;
}

.rent-apartment-cards .ln-neighbourhood-home-slider-pagination .swiper-pagination-bullet {
   width: 16px;
   height: 16px;
   display: block;
   border-radius: 100%;
   border: 1px solid #e2523b;
   cursor: pointer;
}

.rent-apartment-cards .ln-neighbourhood-home-slider-pagination .swiper-pagination-bullet-active {
   background: #e2523b;
   width: 16px;
   height: 16px;
   display: block;
   border-radius: 100%;
   border: 1px solid #e2523b;
}

.rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-prev:hover:after {
   animation: MoveLeftInitial .25s forwards, MoveLeftEnd .25s forwards .25s!important; 
 }

 
 .rent-apartment-cards .ln-neighbourhood-home-slider .swiper-button-next:hover:after {
 animation: MoveRightInitial .25s forwards, MoveRightEnd .25s forwards .25s!important;
}

/********************* senior living styles *********************************/
.property_cards img {
   object-fit: cover;
}

/********************* all neighbourhood styles *********************************/
.ln-all-hood-hero-sec .hero-section .et_pb_fullwidth_header_container.center .header-content {
   max-width: 1025px;
}

.ln-all-hood-homes-sec .lp-three-col-row .ln-all-hood-three-col-one {
   margin-top: -147px;
}

.ln-all-hood-homes-sec .lp-three-col-row .ln-all-hood-three-col-three {
   margin-top: 80px;
}

.ln-all-hood-homes-sec .ln-all-hood-home-types-row {
   display: grid;
   justify-content: end;
}

.ln-neighbour-home-wrapper h3.ln-home-title:after {
   content: '';
   width: 0%;
   height: 2px;
   background: #015676;
   display: block;
   transition: all 300ms ease-in-out;
}

.ln-neighbour-home-wrapper h3.ln-home-title {
   position: relative;
   width: max-content;
}

.ln-neighbour-home-item:hover h3.ln-home-title:after {
   width: 100%;
}



.ln-home-title-flex {
   display: flex;
   align-items: center;
   flex-direction: row-reverse;
   justify-content: space-between;
}

a.ln-home-learn-more {
   font-family: inherit;
   font-size: 14px;
   font-style: normal;
   font-weight: 900;
   line-height: 24px;
   letter-spacing: 2.24px;
   color: #e2523b;
   text-transform: uppercase;
}



@media screen and (min-width: 767px) and (max-width: 980px) {
   .ln-neighbour-home-wrapper {
       grid-template-columns: repeat(2, 1fr); /* Change to a single column layout */
       grid-column-gap: 24px; /* Adjust the gap between columns */
       grid-row-gap: 24px; /* Adjust the gap between rows */
   }
}

@media screen and (max-width: 768px)  {
  .ln-all-hood-homes-sec .lp-three-col-row .ln-all-hood-three-col-one, 
  .ln-all-hood-homes-sec .lp-three-col-row .ln-all-hood-three-col-three  {
     margin-top: 0px;
  }

  .ln-all-hood-homes-sec .ln-all-hood-home-types-row {
      justify-content: start;
   }
}

@media screen and (max-width: 767px)  {
   .ln-neighbour-home-wrapper {
       grid-template-columns: repeat(1, 1fr); /* Change to a single column layout */
       grid-row-gap: 64px; /* Adjust the gap between rows */
   }
	
	.ln-neighbour-home-item .ln-home-image-gallery {
		max-height: 100%;
		min-height: auto;
	}
	
   .ln-neighbour-home-item .ln-home-image-gallery img {
      border-radius: 20px;
      max-width: none !important;
	  max-height: 285px;
/*       height: 446px;
      object-fit: cover;
      aspect-ratio: 4 / 1; */
   }

   .ln-neighbourhood-home-slider-pagination {
      transform: translate(-25px, -35px);
  }

   .ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-title {
      font-size: 26px;
      line-height: 39px;
      padding-bottom: 16px!important;
      font-weight: 400;
      color: var(--Navy, #015675);
	  width:fit-content;
  }
  .ln-neighbour-home-wrapper .ln-neighbour-home-item .ln-home-conetnt-wrapper .ln-home-price span {
   font-size: 26px;
  }
	
}

@media(max-width:375px)
{
.et_pb_section.ln-section.ln-hero-section {
        background-position: -600px center !important;
}
}

@media (max-width:1025px)
{
	
	.ln-home-title-flex
	{
		flex-direction: column-reverse;
		   align-items: flex-start;
	}
	
	.ln-neighbour-home-wrapper h3.ln-home-title {
		width: fit-content;
	}
}