/*
Theme Name: ListingHive-Child
Theme URI: https://hivepress.io/themes/listinghive
Template: listinghive
Author: HivePress
Author URI: https://hivepress.io
Description: A multipurpose WordPress theme that allows you to build any type of directory and listing websites. Whether it's a business directory, job board, real estate, classifieds or basically any listing website — ListingHive is a great choice for it.
Tags: right-sidebar,custom-colors,custom-menu,custom-logo,custom-header,featured-image-header,featured-images,footer-widgets,theme-options,threaded-comments,translation-ready
Version: 1.2.11.1757619258
Updated: 2025-09-11 19:34:18
*/

/* Ensure sidebar supports flexbox */
.hp-page__sidebar {
    display: flex !important;
    flex-direction: column !important;
}

/* Move map to top */
.hp-map {
    order: -999 !important;
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
}

/* Style for pinned location display */
.pinned-location-display {
    order: -998 !important;
    text-align: center !important;
    padding: 15px !important;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    margin-bottom: 15px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Listing boxes styling */
.listing-box {
    background-color: #f7f7f7;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #0073aa;
    border-radius: 6px;
}

.listing-box h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

.listing-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Hide report listing for ALL users (logged in and logged out) */
.hp-listing__action--report,
.hp-listing__action-link[href*="report"],
a[href*="listing_report"],
[class*="report-listing"],
.hp-button--listing_report,
a[href="#listing_report_modal"] {
    display: none !important;
}

/* Hide the report modal */
#listing_report_modal {
    display: none !important;
}

/* Fix Elementor mobile click blocking */
@media (max-width: 768px) {
  .elementor-widget-html {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
  }
  
  .elementor-widget-html * {
    pointer-events: auto !important;
  }
  
  /* Ensure section doesn't block */
  .elementor-section,
  .elementor-container {
    pointer-events: auto !important;
  }
}

.hp-listings {
  min-height: 600px;
  transition: none !important;
}
