.property-archive-list{
	display: flex;
	flex-wrap: wrap;
}
.property-item{
	padding: 10px;
}

.excerpt{
	min-height: 105px;
}

.card {
    width: 400px; /* Fixed width */
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
}

.card-img-top {
    height: 300px; /* Ensures all images are the same height */
    object-fit: cover; /* Prevents image distortion */
}

.card-body {
    flex-grow: 1; /* Allows even distribution of space */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title {
  overflow: hidden;
  margin-bottom: 10px;
}
.post-title-link{
  color: #143636;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;;
}

.card-text {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  font-weight: 500;
  font-style: italic;
  font-size: .9rem;
}

.card-text-excerpt{
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 14px;
  min-height: 100px;
  padding-top: 30px;
}

.btn {
    margin-top: auto; /* Pushes button to the bottom */
}

#property-header-banner{
	background: linear-gradient(
    to right,
    #000020, /* Deep Navy Blue */
    #001f3f,
    #003366,
    #004c99,
    #0066cc,
    #0080ff,
    #00bfff  /* Light Ocean Blue */
  );
	border-radius: 50px;
	margin-left: auto;
	margin-right: auto;
}

#bannehr-head-property{
	font-size:2rem;
	color: #FFCE07;
}
#banner-head-container{
	flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 0 50px;
}
#bannehr-text-property{
	color: #fff;
	font-size: 1rem;
	font-weight: 200;
}

.btn-row {
	display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0px;
}

@media (max-width: 575.98px) {
	.wrap-fullwidth{
		padding: 20px;
	}
}

@media (max-width: 767.98px){
	#bannehr-text-property, 
	#bannehr-head-property{
		text-align: center;
	}
}


.property-search{
    padding: 0px;
    margin-bottom: 20px;
}

.search-submit-wrapper{
    display: flex;
    width: inherit;
    gap: 10px;
}

.search-wrapper{
    width: 100%;
}

@media (max-width: 525px){
    .search-submit{
        width: 100%;
    }
    .search-submit-wrapper{
        flex-wrap: wrap;
    }
}

@media (max-width: 350px){
    .search-wrapper{
        max-width: 184px;
    }
}

#searchAccordion{
    padding: 10px;
}

.nearby-area-title{
  padding: 0px 30px;
}
/* -----------------------------------------------
   1. Wrapper styles: position arrows + hide overflow
   ----------------------------------------------- */
.pill-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;            /* fill the parent container */
  max-width: 100%;
  overflow: hidden;       /* hide native scrollbar */
  box-sizing: border-box; 
  border-radius: 4px;
  background: #fff;       /* white background behind pills */
}

/* Arrow button styling */
.pil-arrow {
  background: none;
  border: none;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 100%;
  cursor: pointer;
  color: #555;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Left arrow sits on left edge with a slight fade‐out */
.pil-arrow-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
}

/* Right arrow sits on right edge with fade‐out */
.pil-arrow-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
}


/* -----------------------------------------------
   2. <select> reset + horizontal scrolling
   ----------------------------------------------- */
#location-filter {
  /* remove default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 100%;
  border: none;
  padding: 0 2.5rem;
  background: transparent;
  box-sizing: border-box;
  outline: none;

  /* force horizontal layout */
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;

  /* hide scrollbar in Firefox/IE */
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: 50px;
}
/* hide scrollbar in WebKit (Chrome/Safari/Edge) */
#location-filter::-webkit-scrollbar {
  display: none;
}


select#location-filter:-internal-list-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0;
}


/* -----------------------------------------------
   3. Style each <option> as a “pill”
   ----------------------------------------------- */
#location-filter option {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin: 0.25rem 0.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 16px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
}

#location-filter option:checked {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}
#location-filter option:hover:not(:checked) {
  background-color: #e2e2e2;
  border-color: #bbb;
}
.custom-multiselect {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 8px 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
}

.custom-multiselect::-webkit-scrollbar {
    display: none; 
}

.custom-option {
    padding: 6px 14px;
    border: 1px solid #a0a0a0;
    border-radius: 16px;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.2s, border 0.2s;
    flex: 0 0 auto;
    white-space: nowrap;
}

.custom-option.selected {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.card-info-points{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.infor{
  display: flex;
  align-items: center;
  gap: 5px;
  border-left: 2px solid #143636;
  padding: 5px 5px;
  font-size: 12px;
}

.badge-primary{
  color: #fff;
  background-color: #143636;
  padding: 10px;
  border-radius: 10px;
  font-weight: 400;
  transition: color 0.3s, background-color 0.3s;
}

.badge-primary:hover{
  color: #143636;
  background-color: #FFCE07;
}


.property-types{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.prime-range-filter-wrapper {
  margin: 0px 30px 0px 30px;
}
.prime-range-filter-wrapper>div{
  padding: 10px 10px;
}

#price-slider, #bed-slider { 
  margin: 15px 0;
  width: 96%;
}
.slider-values {
  display: flex; justify-content: space-between; font-weight: bold;
}
.slider-values span { min-width: 40px; text-align: center; }
.noUi-target {
  background: #e0e0e0; border-radius: 8px;
}
.noUi-connect { background: #143636 !important; }


.noUi-horizontal {
    height: 3px !important;
    position: relative;
}
.noUi-horizontal .noUi-handle{
  top: 50% !important;
  transform: translateY(-50%);
  border-radius: 10%;
  background: #143636;
}

.noUi-handle:after, .noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: 7px !important;
    width: 1px;
    background: #E8E7E6;
    left: 7px !important;
    top: 3px !important;
}

.noUi-horizontal .noUi-handle {
  width: 17px !important;
  height: 14px !important;
  right: -17px !important;
}



.expand-filters{
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  width: 100%;
  border-radius: 0px;
  background-color: #143636;
  font-family: var(--primary-font);
  font-weight: 400;
  letter-spacing: 2px;
}

/* Initially collapsed */
.jb-collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

/* Expanded state */
.jb-expanded {
  max-height: 500px;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

.filter-header{
  margin: 0px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #143636;
}

.advance-filter-container{
  padding: 10px 15px;
}