/* Hide certain search elements */
#search_wrapper .types,
#search_wrapper .areas,
#search_wrapper .property_status {
  display: none;
}

#search_wrapper .adv1-holder {
  justify-content: center !important;
}

#accordion_property_details_map_collapse {
  min-height: 780px;
}

/* Hide unwanted property sections */
#accordion_property_page_views, [href="#accordion_property_page_views"],
#accordion_property_schedule_tour, [href="#accordion_property_schedule_tour"],
#accordion_property_details_mapx, [href="#accordion_property_details_mapx"],
#accordion_property_energy_savings, [href="#accordion_property_energy_savings"],
#accordion_property_address, [href="#accordion_property_address"],
#accordion_property_details, [href="#accordion_property_details"],
#slider_enable_mapx, [href="#slider_enable_mapx"],
#accordion_property_near_by, [href="#accordion_property_near_by"], 
.property_reviews_wrapper {
  display: none !important;
}

/* Container styling */
.property-page-overview-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Each overview block */
.overview_element {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f9f9;
  padding: 10px 14px;
  border-radius: 8px;
  min-width: 180px;
  flex: 1 1 auto;
  transition: background 0.3s ease, transform 0.2s ease;
}

.overview_element:hover {
  background: #f1f5ff;
  transform: translateY(-2px);
}

/* First column (icon or label) */
.overview_element .first_overview {
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Second column (value) */
.overview_element li:last-child {
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}

/* SVG icons */
.overview_element svg {
  width: 20px;
  height: 20px;
  fill: #4a4a4a;
}

/* Panel title */
.panel-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 4px;
}

/* Links inside overview */
.overview_element a {
  color: #007bff;
  text-decoration: none;
}

.overview_element a:hover {
  text-decoration: underline;
}

/* Accordion Container */
.accordion.property-panel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #fff;
  margin-bottom: 20px;
}

/* Accordion Header Button */
.accordion-button {
  background: #f8f9fa;
  font-weight: 600;
  color: #222;
  font-size: 16px;
  padding: 14px 18px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-button:hover {
  background: #eef4ff;
  color: #0056b3;
}

/* Remove default Bootstrap arrow, replace with custom */
.accordion-button::after {
  background-image: none;
  font-family: Arial, sans-serif;
  content: "▼";
  font-size: 14px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
  transform: rotate(-90deg);
}

/* Accordion Body */
.accordion-body {
  padding: 15px 20px;
  background: #fff;
}

/* Property details grid */
#accordion_property_address .listing_detail {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

#accordion_property_address .listing_detail strong {
  color: #222;
}

/* Google Maps link */
#accordion_property_address .acc_google_maps {
  display: inline-block;
  background: #007bff;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

#accordion_property_address .acc_google_maps:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Small screen adjustments */
@media (max-width: 768px) {
  #accordion_property_address .listing_detail {
    flex: 1 1 100%;
    font-size: 14px;
  }
}

/* Property Description */
.wpestate_property_description {
  background-color: #f9f7f5;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.wpestate_property_description .container {
  max-width: 1200px;
  margin: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.wpestate_property_description h2 {
  font-size: 28px;
  color: #2e2e2e;
  margin-bottom: 20px;
  line-height: 1.4;
}

.wpestate_property_description p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.wpestate_property_description a {
  color: #917c6b;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.wpestate_property_description a:hover {
  border-color: #917c6b;
  color: #5e4c3f;
}

@media (max-width: 768px) {
  .wpestate_property_description .container {
    padding: 20px;
  }
  .wpestate_property_description h2 {
    font-size: 22px;
  }
  .wpestate_property_description p {
    font-size: 15px;
  }
}

/* Title */
.title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

/* Features */
.blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.features-block {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease-in-out;
}

.features-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1a1a1a;
  border-left: 4px solid #0073aa;
  padding-left: 10px;
}

.features-block ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.features-block li {
  padding: 6px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.95rem;
  color: #555;
}

.features-block li:last-child {
  border-bottom: none;
}

/* Leaflet popup */
.leaflet-popup-content {
  width: 294px;
  max-width: 294px;
  font-family: Arial, sans-serif;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.leaflet-popup-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.leaflet-popup-content h4 {
  font-size: 14px;
  margin: 0 0 6px;
  line-height: 1.3;
  font-weight: 600;
  color: #333;
}

.leaflet-popup-content .property-meta {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* Detail List */
.detail-list {
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
}

.detail-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 1px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list li span:first-child {
  text-transform: none;
  letter-spacing: .02em;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-list li span:last-child {
  font-weight: 600;
  color: #111827;
  justify-self: end;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Small screen fallback (or narrow InfoWindow) */
@media (max-width: 360px) {
  .detail-list li {
    grid-template-columns: 1fr;
  }
  .detail-list li span:last-child {
    justify-self: start;
    text-align: left;
    max-width: 100%;
    white-space: normal;
  }
}

/* Navigation Menu */
.wpresidence-navigation-menu ul li.current-menu-item {
  background: #e0b833 !important;
}
.wpresidence-navigation-menu ul li.current-menu-item > a.menu-item-link {
  color: black !important;
  font-weight: bold !important;
}


