/* === General Layout === */
.properties-container,
.properties-list,
.featured-properties{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /*justify-content: space-between;*/
  justify-content: flex-start;
  /*padding: 20px;*/
  box-sizing: border-box;
}

#properties-list {
  box-sizing: border-box;
}

.featured-properties {
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
}

/* === Property Card === */
.property-item,
.property-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 24pt;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0px 0px 15px 0px;
}

.property-item {
  width: calc(33.333% - 20px);
  align-items: center;
}

@media (max-width: 1024px) {
  .property-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .property-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .propertyLinks a {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }
}

.property-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
}

/* === Images === */ 
.listing-pictures img,
.property-card img,
.property-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
}

.listing-pictures img{
  border-top-left-radius: 24pt !important;
  border-top-right-radius: 24pt !important;
}
.listing-pictures{
	width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
}

.featuredImage{
	width: 100%; height: 100%; object-fit: cover;
}

/* === Content Styling === */
.propertyDetails,
.property-details {
  padding: 10px 15px;
  text-align: center;
}

.propertyTitle,
.property-card h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: bold;
  margin-top: 10px;
  color: #333;
  min-height: 55px;
}

.propertyTitle a,
.property-card p {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  word-break: break-word;
}

.propertyTitle:hover,
.property-card h3:hover {
  color: #f79421;
}

.propertyDetailsValue {
  font-size: 0.95rem;
  color: #555;
  margin-top: 8px;
  text-align: center;
  margin-bottom: 10px;
}
.propertyPrice {
  font-weight: 500;
  font-size: 18px;
  color: #00204A;
  font-family: "Work Sans", sans-serif;
}
.propertyPrice span{
	font-size: 13px;
}
.rentalPropertyPrice{
	line-height: 12px;
}

.rentalDistrict, .propertyPrice{
	padding-bottom: 12px;
}

/* === Links and Buttons === */
.propertyLinks {
  text-align: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 0;
}

.propertyLinks a,
.propertyLinks button,
.property-card .view-details,
.loadMoreBtn,
.searchBtn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f79421;
  color: #fff;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: "Work Sans", sans-serif;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
}

.propertyLinks a:hover,
.propertyLinks button:hover,
.property-card .view-details:hover,
.loadMoreBtn:hover {
  background-color: #e6821c;
  color:#00204A;

}

/* === Load More Button Container === */
.loadMoreBtnDiv {
  text-align: center;
  padding-bottom: 80px;
}

/* === Search Form === */
.searchFormFiellds {
  width: 100%;
  background-color: #fff;
  padding: 12px 0;
}

.search-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 10px;
}

.search-input,
.search-propertyType,
.search-district {
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}

.search-propertyType {
  padding-top: 7px;
}

.search-input input,
.search-propertyType select,
.search-district select {
  width: 100%;
}

.districtDropDown,
.propertyTypeDropDown,
.propertyTitleText {
  background: none;
  border: none;
}

.propertyTypeDropDown {
  height: 35px;
  padding-left: 20px;
  border-left: 1px solid #999;
}

.districtDropDown {
  height: 45px;
}

.propertyTitleText {
  height: 45px;
  border-radius: 5px;
  font-size: 16px;
  padding: .375rem .75rem;
  resize: none;
  color: #1a1a1a;
}

/* === Typography === */
.search-page-title {
  color: #00204A;
  font-family: "Work Sans", sans-serif;
  font-size: 32px;
  font-weight: 400;
}

.search-page-header p {
  color: #797979;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
}

.search-page-header {
  margin-bottom: 20px;
}

/* === Pagination === */
.pagination {
  text-align: center;
  margin: 20px 0;
}
.property-meta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.property-meta-line .meta-icon {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    color: #222;
}

.property-meta-line .meta-icon i {
    margin-right: 6px;
    opacity: 0.6;
    font-size: 16px;
    color:#00204A;
}
.propertylabelSpan{
  /*font-weight: 600;*/
}
/* === Responsive === */
@media (max-width: 1024px) {
  .property-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .search-inner {
    flex-direction: column;
  }

  .search-input,
  .search-propertyType,
  .search-district,
  .searchBtn {
    flex: 1 1 100%;
  }
}

@media (max-width: 767px) {
  .propertyTypeDropDown {
    border-left: none !important;
    padding-left: 6px !important;
  }
}

@media (max-width: 600px) {
  .property-item {
    width: 100%;
  }

  .propertyLinks a {
    width: 100%;
    box-sizing: border-box;
    display: block;
  }

  .featured-properties {
    flex-direction: column;
    align-items: center;
  }

  .property-card {
    max-width: 90%;
  }
}


/*Search Box*/
.property-search-wrapper {
    padding: 45px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    /*margin: 0 auto 40px;*/
    margin: 20px auto 0px;
}

.property-search-fields {
    display: flex;
    align-items: stretch;
    gap: 15px;
    flex-wrap: nowrap;
}

.form-fields-group {
    display: flex;
    flex: 1;
    gap: 15px;
    flex-wrap: nowrap;
}

.form-group {
    flex: 1;
    padding-bottom: 0 !important;
    display: flex;
}

.input-text,
.input-select {
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f8f8;
    color: #757575;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-select:focus,
.input-text:focus {
    border-color: #ffa500;
    background-color: #fff;
}

.search-button-group {
    flex: 0 0 auto;
    display: flex;
}

.search-button {
    height: 50px;
    padding: 0 28px;
    background: #ffa500;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-button:hover {
    background: #e08200;
}

/* Tablet */
@media (max-width: 992px) {
    .property-search-fields {
        flex-direction: column;
    }

    .form-fields-group {
        flex-wrap: wrap;
    }

    .form-fields-group .form-group {
        flex: 1 1 calc(50% - 8px);
    }

    .search-button-group {
        width: 100%;
    }

    .search-button {
        width: 100%;
        border-radius: 8px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .property-search-wrapper {
        padding: 25px 15px;
    }

    .form-fields-group {
        flex-direction: column;
        gap: 12px;
    }

    .form-fields-group .form-group {
        flex: 1 1 100%;
    }

    .property-search-fields {
        gap: 12px;
    }

    .input-text,
    .input-select,
    .search-button {
        height: 48px;
        min-height: 48px;
        font-size: 15px;
    }
}