/**
 * BC Online Store Regional Directory & AdSense Styles
 * Palette: Light-to-mid grey studio palette (#f8fafc, #f1f5f9, #e2e8f0, #475569, #0f172a) with crisp modern accents
 */

/* Global Light Studio Canvas (Override any black custom-background or theme body defaults) */
body,
body.custom-background,
body.home,
#page,
#content,
.renoval-content,
.post-section,
.av-container {
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #1e293b;
}

/* Master Responsive Containers with generous outer margin & padding */
.hivelogic-homepage-hub-container,
.hivelogic-directory-container {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 32px 24px 64px 24px !important;
    box-sizing: border-box !important;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

@media (max-width: 768px) {
    .hivelogic-homepage-hub-container,
    .hivelogic-directory-container {
        padding: 20px 16px 40px 16px !important;
    }
}

/* Replace Construction Guy Banner with Scenic Community Banner (Brightened & Luminous) */
#breadcrumb-section,
.breadcrumb-section {
    background-image: linear-gradient(rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.48)), url('../images/community-banner.jpg') !important;
    background-size: cover !important;
    background-position: center 35% !important;
    background-color: transparent !important;
    background-blend-mode: normal !important;
    padding: 60px 0 !important;
}
#breadcrumb-section .breadcrumb-heading h1,
.breadcrumb-section .breadcrumb-heading h1 {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}
#breadcrumb-section .breadcrumb-list,
.breadcrumb-section .breadcrumb-list,
#breadcrumb-section .breadcrumb-list a,
.breadcrumb-section .breadcrumb-list a {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
/* Suppress duplicate breadcrumb banner on front page so Hero Search shines directly */
body.home #breadcrumb-section,
body.home .breadcrumb-section {
    display: none !important;
}


/* Ad Placement Containers */
.hl-ad-wrapper {
    margin: 24px 0;
    text-align: center;
    clear: both;
}
.hl-ad-header {
    margin-bottom: 28px;
}
.hl-ad-footer {
    margin-top: 36px;
}
.hl-ad-disclaimer {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 6px;
}
.hl-ad-placeholder-box {
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 28px 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 90px;
}

/* Search & Filter Bar */
.hl-search-bar-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    margin-bottom: 32px;
}
.hl-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hl-search-input-col {
    flex: 2 1 240px;
}
.hl-filter-select-col {
    flex: 1.5 1 180px;
}
.hl-filter-btn-col {
    display: flex;
    gap: 8px;
}
.hl-input-field, .hl-select-field, .hl-textarea-field {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.hl-input-field:focus, .hl-select-field:focus, .hl-textarea-field:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.hl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.hl-btn-primary {
    background: #0284c7;
    color: #ffffff !important;
}
.hl-btn-primary:hover {
    background: #0369a1;
}
.hl-btn-secondary {
    background: #f1f5f9;
    color: #475569 !important;
    border-color: #e2e8f0;
}
.hl-btn-secondary:hover {
    background: #e2e8f0;
}
.hl-btn-outline {
    background: #ffffff;
    color: #0284c7 !important;
    border-color: #0284c7;
}
.hl-btn-outline:hover {
    background: #f0f9ff;
}
.hl-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
.hl-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}
.hl-btn-block {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    gap: 8px;
}

/* Business Grid */
.hl-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
}
.hl-listing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hl-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}
.hl-card-featured {
    border: 2px solid #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}
.hl-card-media {
    position: relative;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
}
.hl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hl-placeholder-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    color: #94a3b8;
}
.hl-placeholder-thumbnail .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}
.hl-badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hl-card-body {
    padding: 18px;
    flex-grow: 1;
}
.hl-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.hl-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}
.hl-tag-region {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.hl-tag-category {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.hl-card-title {
    margin: 8px 0 6px 0;
    font-size: 18px;
    font-weight: 700;
}
.hl-card-title a {
    color: #0f172a;
    text-decoration: none;
}
.hl-card-title a:hover {
    color: #0284c7;
}
.hl-card-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
}
.hl-card-meta {
    font-size: 12px;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}
.hl-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.hl-meta-item a {
    color: #0284c7;
    text-decoration: none;
}
.hl-card-footer {
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* In-Feed Ad Item in Grid */
.hl-grid-infeed-ad-item {
    grid-column: 1 / -1;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 16px;
}

/* Regional Showcase */
.hl-regions-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.hl-region-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}
.hl-region-card:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}
.hl-region-featured {
    border-top: 4px solid #0284c7;
}
.hl-region-card h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #0f172a;
}
.hl-region-card p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

/* Submission Form */
.hl-submission-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    margin: 32px auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.hl-form-row {
    margin-bottom: 18px;
}
.hl-form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}
.hl-form-row label, .hl-form-col label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.hl-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* Studio 2-Column Single Listing */
.hivelogic-single-listing-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
}
.hl-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}
/* Suppress Theme Blog Post Overlays & Badges on Business Listings */
.single-business_listing #post-section .post-image,
.single-business_listing #post-section .post-date-badge,
.single-business_listing #post-section .post-content-page > .post-meta,
.single-business_listing #post-section .post-content-page > .post-title,
.single-business_listing #post-section .widget-single-page,
.single-business_listing #post-section .comments-area,
.single-business_listing #post-section .post-author-box,
.single-business_listing #post-section .comment-respond {
    display: none !important;
}
.single-business_listing #post-section .post-content-page {
    padding: 0 !important;
    margin: 0 !important;
}
.hl-single-main-col {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
}
.hl-single-featured-image {
    margin: 16px 0 24px 0;
    border-radius: 8px;
    overflow: hidden;
}
.hl-single-featured-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}
.hl-single-hours-box {
    margin-top: 24px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.hl-single-hours-box h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hl-single-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hl-sidebar-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}
.hl-sidebar-contact-card h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    color: #0f172a;
}
.hl-sidebar-details-list {
    margin: 16px 0;
}
.hl-detail-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
}
.hl-detail-row strong {
    display: block;
    color: #1e293b;
    font-size: 12px;
}
.hl-detail-row p {
    margin: 2px 0 0 0;
}
.hl-sidebar-socials,
.hl-social-links,
.hl-social-btn,
.widget-social-widget,
.social-icon {
    display: none !important;
}
.hl-sticky-ad-container {
    position: sticky;
    top: 24px;
}

@media (max-width: 860px) {
    .hl-single-grid {
        grid-template-columns: 1fr;
    }
    .hl-form-row-grid {
        grid-template-columns: 1fr;
    }
}

/* Direct Sponsor Placement Ad Units */
.hl-ad-placement {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    text-align: left;
    overflow: hidden;
}
.hl-ad-placement-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    padding: 20px 24px;
}
.hl-placement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hl-placement-text {
    flex: 1 1 340px;
}
.hl-placement-tag {
    display: inline-block;
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.hl-placement-text h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}
.hl-placement-text p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* In-Feed Native Placement */
.hl-ad-placement-infeed {
    border: 2px dashed #0284c7;
    background: #f0f9ff;
    padding: 24px;
    border-radius: 12px;
}
.hl-badge-sponsored {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.hl-placement-infeed-card h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #0f172a;
    font-weight: 800;
}
.hl-placement-infeed-card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    max-width: 640px;
}
.hl-placement-infeed-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hl-placement-subtext {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* Sidebar Placement */
.hl-ad-placement-sidebar {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    text-align: center;
}
.hl-ad-placement-sidebar h4 {
    margin: 8px 0 6px 0;
    font-size: 16px;
    color: #0f172a;
}
.hl-ad-placement-sidebar p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

/* Footer Placement Banner */
.hl-ad-placement-footer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
}
.hl-ad-placement-footer a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
}

/* Anti-Spam Email Protection */
.hl-detail-row-email strong {
    color: #0f172a;
}
.hl-reveal-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0284c7;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}
.hl-reveal-email-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.hl-revealed-email-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    margin-top: 4px;
}

/* Dynamic Pagination */
.hl-pagination-wrapper ul.page-numbers {
    display: flex;
    gap: 6px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.hl-pagination-wrapper ul.page-numbers li a,
.hl-pagination-wrapper ul.page-numbers li span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    transition: all 0.2s ease;
}
.hl-pagination-wrapper ul.page-numbers li span.current {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.hl-pagination-wrapper ul.page-numbers li a:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* AJAX Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hl-hero-search-wrapper {
        padding: 24px 16px !important;
        margin: 10px auto 20px auto !important;
        border-radius: 14px !important;
    }
    .hl-hero-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-bottom: 10px !important;
    }
    .hl-hero-title,
    .hl-hero-search-wrapper h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin: 0 0 8px 0 !important;
    }
    .hl-hero-subtitle,
    .hl-hero-search-wrapper p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 0 auto 16px auto !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .hl-hero-search-form {
        flex-direction: column !important;
        padding: 6px !important;
        gap: 6px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    }
    .hl-hero-input-group {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    .hl-hero-search-form input,
    .hl-hero-search-form select {
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 12px 0 36px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
    }
    .hl-hero-search-form .dashicons {
        font-size: 18px !important;
        left: 10px !important;
        top: 11px !important;
    }
    .hl-hero-submit-btn,
    .hl-hero-search-form button {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
        width: 100% !important;
        border-radius: 8px !important;
    }
    .hl-hero-quick-chips {
        margin-top: 14px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        gap: 6px !important;
        justify-content: flex-start !important;
        scrollbar-width: none !important;
    }
    .hl-hero-quick-chips::-webkit-scrollbar {
        display: none !important;
    }
    .hl-hero-quick-chips a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    .hl-chips-label {
        flex: 0 0 auto !important;
        font-size: 11px !important;
    }
}

/* Strict Email-Only Contact Policy - Suppress phone call triggers, tel: links & off-canvas phone drawer */
a[href^="tel:"],
.widget-contact,
aside.widget-contact,
.about-toggle-list,
.author-popup,
.author-anim,
.dashicons-phone,
.hl-meta-phone {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   DUAL-TRACK DIRECTORY & FILTER PILLS
   ========================================================================== */
.hl-track-toggle-container {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.hl-track-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.hl-track-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.hl-track-pill.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   5-STEP SUBMISSION WIZARD & STEPPER
   ========================================================================== */
.hl-wizard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hl-wizard-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
    gap: 8px;
}
.hl-wizard-stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}
.hl-step-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    flex: 1;
}
.hl-step-badge .hl-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}
.hl-step-badge .hl-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}
.hl-step-badge.active .hl-num {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}
.hl-step-badge.active .hl-label {
    color: #0284c7;
    font-weight: 700;
}

/* Track Selection Grid */
.hl-track-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.hl-track-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    display: block;
}
.hl-track-card input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
}
.hl-track-card.active,
.hl-track-card:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}
.hl-track-card-content .hl-track-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.hl-track-card-content h4 {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #0f172a;
    font-weight: 700;
}
.hl-track-card-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
}
.hl-track-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #0369a1;
    font-weight: 500;
    line-height: 1.6;
}

/* Tier Rate Cards */
.hl-tier-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.hl-tier-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
}
.hl-tier-card input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
}
.hl-tier-card.active,
.hl-tier-card:hover {
    border-color: #0284c7;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.1);
}
.hl-tier-badge {
    display: inline-block;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    width: fit-content;
}
.hl-badge-popular {
    background: #fef3c7;
    color: #92400e;
}
.hl-tier-card h4 {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #0f172a;
    font-weight: 700;
}
.hl-tier-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}
.hl-tier-price span {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
}
.hl-tier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

/* Wizard Buttons Container */
.hl-wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   HOMETOWN DIRECTORY ENHANCEMENTS: NO-THUMB CARDS, SCENIC HUBS & TRAILS
   ========================================================================== */

/* Clean Collapsed Cards when no Logo/Thumbnail is provided */
.hl-listing-card.hl-card-no-thumb {
    border-top: 4px solid #94a3b8;
    background: #ffffff;
}
.hl-listing-card.hl-card-no-thumb.hl-card-featured {
    border-top: 4px solid #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}
.hl-card-no-thumb .hl-card-body {
    padding: 24px 22px 18px 22px;
}
.hl-card-no-thumb .hl-card-title {
    margin-top: 8px;
    font-size: 19px;
    font-weight: 800;
}
.hl-card-no-thumb .hl-card-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}

/* Scenic Regional Showcase Cards */
.hl-region-card-scenic {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}
.hl-region-card-scenic:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px -6px rgba(15, 23, 42, 0.35) !important;
}
.hl-region-card-scenic .hl-btn:hover {
    background: #f59e0b !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Curated Themed Discovery Trails */
.hl-trail-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hl-trail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.12) !important;
}
.hl-trail-card:hover .hl-btn-outline {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
}

/* Hero Search Field Focus & Transitions */
.hl-hero-search-form input:focus,
.hl-hero-search-form select:focus {
    outline: none;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
}

/* Specialized Lifestyle Badges (Ski, Golf, Fly) */
.hl-badge-ski {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    font-weight: 700;
}
.hl-badge-golf {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #6ee7b7 !important;
    font-weight: 700;
}
.hl-badge-aviation {
    background: #e0e7ff !important;
    color: #3730a3 !important;
    border: 1px solid #a5b4fc !important;
    font-weight: 700;
}

/* Direct Online Booking Button */
.hl-btn-booking {
    background: #10b981 !important;
    color: #ffffff !important;
    transition: all 0.2s ease;
}
.hl-btn-booking:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

/* Lifestyle Filter Pills */
.hl-lifestyle-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hl-lifestyle-pill.active {
    box-shadow: 0 0 0 2px #0f172a, 0 4px 10px rgba(0,0,0,0.12) !important;
    font-weight: 800 !important;
}
.hl-lifestyle-pill[data-cat="ski-winter"].active {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}
.hl-lifestyle-pill[data-cat="golf-greens"].active {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}
.hl-lifestyle-pill[data-cat="fly-aviation"].active {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

/* Responsive lifestyle ops box */
@media (max-width: 640px) {
    .hl-pill-divider {
        display: none !important;
    }
}

/* ==========================================================================
   Advertise & Rate Card Multi-Column Grid System
   ========================================================================== */
.hl-advertise-page-container {
    max-width: 1140px;
    margin: 20px auto 40px;
    padding: 0 15px;
    font-family: inherit;
    color: #1e293b;
}

.hl-advertise-tiers-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    margin-bottom: 48px !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
}

.hl-advertise-tiers-grid > p,
.hl-sponsorship-grid > p {
    display: none !important;
}

.hl-advertise-tier-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    position: relative !important;
}

.hl-advertise-tier-card:hover {
    transform: translateY(-3px) !important;
}

.hl-advertise-tier-card.hl-tier-basic {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}

.hl-advertise-tier-card.hl-tier-featured {
    border: 2px solid #0284c7 !important;
    box-shadow: 0 10px 25px -5px rgba(2,132,199,0.18) !important;
}

.hl-advertise-tier-card.hl-tier-pro {
    grid-column: 1 / -1 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%) !important;
}

.hl-tier-popular-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hl-tier-price-box {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.hl-tier-features-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
    font-size: 14px !important;
    line-height: 2.0 !important;
    flex-grow: 1 !important;
}

.hl-sponsorship-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hl-sponsorship-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease !important;
}

.hl-sponsorship-card:hover {
    transform: translateY(-2px) !important;
}

@media (max-width: 991px) {
    .hl-advertise-tiers-grid,
    .hl-sponsorship-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ==========================================================================
   Legal, Privacy & Trust Documents (BC & Alberta PIPA)
   ========================================================================== */
.hl-legal-doc-container {
    max-width: 100%;
    width: 100%;
    margin: 32px auto 60px;
    padding: 0 15px;
    font-family: inherit;
    color: #1e293b;
    line-height: 1.75;
}

.hl-legal-header-banner {
    background: #0f172a;
    color: #ffffff;
    padding: 40px 32px;
    border-radius: 14px;
    margin-bottom: 32px;
    text-align: center;
}

.hl-legal-header-banner h1 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.hl-legal-header-banner p {
    color: #94a3b8;
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto;
}

.hl-legal-meta-strip {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
    color: #cbd5e1;
}

.hl-legal-toc-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hl-legal-toc-bar span {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hl-legal-toc-link {
    font-size: 13px;
    color: #0284c7;
    text-decoration: none;
    padding: 4px 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.hl-legal-toc-link:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    text-decoration: none;
}

.hl-legal-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.hl-legal-section-card h2,
.hl-legal-section-card h3 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hl-legal-sec-num {
    background: #e0f2fe;
    color: #0284c7;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.hl-legal-section-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 16px;
}

.hl-legal-section-card p:last-child {
    margin-bottom: 0;
}

.hl-legal-section-card ul {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 16px;
    padding-left: 24px;
}

.hl-legal-callout-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 18px 0;
}

.hl-legal-callout-box.info {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.hl-legal-callout-box.warning {
    background: #fffbeb;
    border-color: #fde68a;
}

/* ==========================================================================
   Footer Layout & Trust Integration
   ========================================================================== */
.footer-section {
    background: #0b1120 !important;
    color: #94a3b8 !important;
    padding-top: 48px !important;
    padding-bottom: 32px !important;
}

.footer_content_wrap .widget-title,
.footer-section .widget-title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.footer_content_wrap .widget-title::after,
.footer-section .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #0284c7;
}

.footer-section p {
    color: #94a3b8 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.footer-section a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.footer-section a:hover {
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

.footer-bottom {
    background: #070d18 !important;
    border-top: 1px solid #1e293b !important;
    padding: 22px 0 !important;
}

.copyright-text {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.copyright-text a {
    color: #38bdf8 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.copyright-text a:hover {
    text-decoration: underline !important;
}

.footer-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 18px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-menu li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-menu li a {
    color: #94a3b8 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-menu li a:hover {
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .footer-menu {
        justify-content: flex-start !important;
        margin-top: 12px !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   Social Media Sharing & Event Sharing Component
   ========================================================================== */
.hl-social-share-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 26px !important;
    margin: 28px 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.hl-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hl-share-header h4 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hl-share-header p {
    margin: 0 !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.hl-share-buttons-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

.hl-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    line-height: 1 !important;
}

.hl-share-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.hl-share-fb { background: #1877f2 !important; }
.hl-share-x { background: #0f172a !important; }
.hl-share-linkedin { background: #0a66c2 !important; }
.hl-share-whatsapp { background: #16a34a !important; }
.hl-share-email { background: #475569 !important; }
.hl-share-copy { background: #0284c7 !important; }
.hl-share-cal { background: #059669 !important; }

.hl-share-copy.hl-copied {
    background: #10b981 !important;
}

/* Sidebar Compact Share Strip */
.hl-sidebar-share-strip {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.hl-sidebar-share-strip strong {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
}

.hl-sidebar-share-icons {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.hl-sidebar-share-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.15s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.hl-sidebar-share-btn:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
}

/* Global Social Share Modal */
#hl-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hl-modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    box-sizing: border-box;
}

.hl-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hl-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hl-modal-card h3 {
    margin: 0 0 6px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.hl-modal-card p {
    margin: 0 0 20px !important;
    font-size: 14px !important;
    color: #64748b !important;
}

.hl-modal-copy-box {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.hl-modal-copy-input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #334155;
}

.hl-modal-copy-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.hl-modal-copy-btn:hover {
    background: #0369a1;
}

.hl-modal-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

/* ==========================================================================
   Zero-Spam & Clean UI: Author Box & Open Comment Suppression
   ========================================================================== */
.author-details,
.author-meta-det,
.auth-mata,
.author-name,
.post-meta .author-name,
.post-meta .comments-link,
.widget-single-page,
.social-single-page,
.sinlge-page-tag,
#comments.comments-area,
.comments-area,
.comment-respond,
#respond,
.comments-title,
.comment-list,
.comment-form {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Reusable BC Online Store UI Badge Component (navy #15264A / red #EE2A24)
   ========================================================================== */
.hl-honeycomb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    user-select: none;
}

.hl-honeycomb-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(21, 38, 74, 0.12) !important;
}

.hl-honeycomb-badge.hl-badge-verified:hover {
    border-color: #15264A !important;
}

.hl-honeycomb-badge.hl-badge-indigenous:hover {
    border-color: #EE2A24 !important;
    box-shadow: 0 4px 16px rgba(238, 42, 36, 0.14) !important;
}

.hl-honeycomb-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 16px 0;
}

/* ==========================================================================
   Comprehensive Mobile Compliance & Responsive Optimization Suite
   ========================================================================== */

/* 1. Global Viewport & Horizontal Scroll Lock */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Mobile Container Adjustments (Phones < 640px) */
@media (max-width: 640px) {
    .hivelogic-directory-container,
    .hivelogic-homepage-hub-container {
        padding: 16px 12px 36px 12px !important;
    }

    /* Listing Grid 1-Column Adaptation */
    .hl-listings-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    .hl-listing-card {
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 12px !important;
    }

    .hl-card-body {
        padding: 18px 16px 16px 16px !important;
    }

    .hl-card-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .hl-card-excerpt {
        font-size: 13.5px !important;
        margin-bottom: 14px !important;
    }

    .hl-card-footer {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 12px 16px !important;
    }

    .hl-card-footer a,
    .hl-card-footer button {
        flex: 1 1 calc(50% - 4px) !important;
        min-height: 42px !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 380px) {
    .hl-card-footer a,
    .hl-card-footer button {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

/* 3. Touch-Friendly Kinetic Horizontal Swipe for Filter Pills */
@media (max-width: 768px) {
    .hl-track-toggle-wrap {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .hl-track-toggle-wrap::-webkit-scrollbar {
        display: none !important;
    }
    .hl-track-pill,
    .hl-lifestyle-pill {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 6px 13px !important;
        font-size: 12px !important;
        min-height: 32px !important;
        border-radius: 16px !important;
    }
    .hl-pill-divider {
        display: none !important;
    }

    /* Mobile Form Stack & Compact Tap Targets */
    .hl-search-bar-wrap {
        padding: 12px !important;
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }
    .hl-filter-row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .hl-search-input-col,
    .hl-filter-select-col,
    .hl-filter-btn-col {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    .hl-filter-btn-col {
        display: flex !important;
        gap: 8px !important;
    }
    .hl-filter-btn-col button,
    .hl-filter-btn-col a {
        flex: 1 !important;
        height: 42px !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
    }

    /* Clean mobile input sizes */
    .hl-input-field,
    .hl-select-field,
    .hl-textarea-field {
        font-size: 15px !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 8px !important;
        padding: 0 12px !important;
    }
}

/* 4. Single Listing Mobile Responsiveness */
@media (max-width: 860px) {
    .hl-single-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .hl-single-sidebar-col {
        position: static !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
    .hl-sidebar-contact-card {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .hl-single-map-box {
        padding: 16px !important;
    }
    .hl-single-map-box iframe {
        height: 220px !important;
    }
    .hl-social-share-box {
        padding: 18px 14px !important;
    }
    .hl-social-share-box .hl-share-buttons-row {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        gap: 8px !important;
    }
    .hl-social-share-box .hl-share-btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 42px !important;
    }
    .hl-verified-reviews-box {
        padding: 18px 14px !important;
    }
    .hl-verified-reviews-box > div:first-child {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .hl-verified-reviews-box a.hl-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: 44px !important;
    }
}

/* 5. Mobile Header & Navigation Polish */
@media (max-width: 991px) {
    .main-mobile-menu {
        background: #0f172a !important;
        border-bottom: 1px solid #1e293b !important;
        padding: 10px 0 !important;
    }
    .main-mobile-menu .custom-logo {
        max-height: 42px !important;
        width: auto !important;
    }
    .main-mobile-menu .mobile-menu-trigger {
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mobile-menu-container {
        background: #0f172a !important;
    }
    .mobile-menu-container a {
        color: #e2e8f0 !important;
        font-size: 16px !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid #1e293b !important;
    }
}

/* 6. Honeycomb Badges Mobile Adaptability */
@media (max-width: 480px) {
    .hl-honeycomb-badge {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hl-honeycomb-badge-grid {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

/* ==========================================================================
   7. Free Listing Compact Card & Interactive Quick-View Modal
   ========================================================================== */
.hl-listing-card.hl-card-compact {
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}
.hl-listing-card.hl-card-compact:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.hl-listing-card.hl-card-compact .hl-card-badges {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.hl-listing-card.hl-card-compact .hl-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 4px 0 6px;
    line-height: 1.35;
}
.hl-listing-card.hl-card-compact .hl-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s;
}
.hl-listing-card.hl-card-compact .hl-card-title a:hover {
    color: #0284c7;
}
.hl-card-compact-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.hl-card-compact-meta .hl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hl-card-compact-meta .hl-meta-email-badge {
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
}
.hl-card-compact-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}
.hl-card-compact-footer .hl-compact-share-btn {
    margin-left: auto;
}

/* Quick-View Modal */
.hl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.hl-modal-container {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: hlModalSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes hlModalSlide {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.hl-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(15, 23, 42, 0.08);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.15s ease;
}
.hl-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* ==========================================================================
   Region / Category landing pages (HiveLogic_SEO template)
   ========================================================================== */
.hl-landing { background: #f8fafc; }
.hl-landing-hero {
    background: radial-gradient(1200px 400px at 85% -10%, rgba(245, 158, 11, 0.22), transparent 60%),
                linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
    color: #e2e8f0;
    padding: 96px 0 40px;
}
.hl-landing-crumbs { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; color: #94a3b8; }
.hl-landing-crumbs a { color: #bae6fd; text-decoration: none; }
.hl-landing-crumbs a:hover { text-decoration: underline; }
.hl-landing-crumbs [aria-current] { color: #f8fafc; font-weight: 600; }
.hl-landing-title { color: #ffffff; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.5px; }
.hl-landing-intro { max-width: 760px; font-size: 17px; line-height: 1.6; color: #cbd5e1; margin: 0 0 20px; }
.hl-landing-stats { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hl-landing-stat { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.hl-landing-stat strong { color: #fbbf24; }
.hl-landing-cta { background: #f59e0b; color: #0f172a !important; font-weight: 800; border-radius: 999px; padding: 8px 18px; font-size: 14px; text-decoration: none; }
.hl-landing-cta:hover { background: #fbbf24; }
.hl-landing-body { padding-top: 32px; padding-bottom: 56px; }
.hl-landing-h2 { font-size: 20px; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.hl-landing-h2 small { font-size: 13px; font-weight: 500; color: #64748b; margin-left: 8px; }
.hl-landing-chips-block { margin-bottom: 28px; }
.hl-landing-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hl-landing-chips li { margin: 0; }
.hl-landing-chips a { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: #0f172a; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hl-landing-chips a:hover { border-color: #0284c7; box-shadow: 0 2px 8px rgba(2, 132, 199, .12); }
.hl-landing-chips a span { background: #f1f5f9; color: #475569; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.hl-landing-chips-alt a { background: #fffbeb; border-color: #fde68a; }
.hl-landing-featured { background: #ffffff; border: 1px solid #e2e8f0; border-top: 4px solid #f59e0b; border-radius: 12px; padding: 20px; margin-bottom: 32px; }
.hl-landing-featured-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hl-landing-featured-head a { font-size: 13px; font-weight: 700; color: #b45309; text-decoration: none; }
.hl-landing-grid-title { margin-top: 8px; }
.hl-landing-pagination { margin-top: 32px; text-align: center; }
.hl-landing-nearby { margin-top: 40px; }
.hl-landing-join { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #0f172a; color: #cbd5e1; border-radius: 14px; padding: 24px 28px; }
.hl-landing-join .hl-landing-h2 { color: #ffffff; margin-bottom: 6px; }
.hl-landing-join p { margin: 0; max-width: 620px; }
.hl-landing-join-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hl-landing-join-actions .hl-btn-outline { background: transparent; color: #ffffff; border: 1px solid #475569; }
@media (max-width: 991px) {
    .hl-landing-hero { padding: 40px 0 28px; }
    .hl-landing-intro { font-size: 15px; }
}

/* Modern Events Calendar - Sleek Horizontal Banner for Opened Events & Top Padding */
.single-mec-events #content.renoval-content,
.single-mec-events #main-content.mec-container,
.single-mec-events .mec-container,
.single-mec-events .mec-wrap,
.single-mec-events .mec-single-event {
    padding-top: 36px !important;
}

.mec-events-event-image,
.mec-single-event .mec-events-event-image,
.mec-wrap .mec-events-event-image {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    margin-top: 8px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    background: #0f172a !important;
}

.mec-events-event-image img,
.mec-single-event .mec-events-event-image img,
.mec-wrap .mec-events-event-image img,
.hl-event-banner-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 240px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 14px !important;
    display: block !important;
}

@media (max-width: 768px) {
    .single-mec-events #content.renoval-content,
    .single-mec-events #main-content.mec-container,
    .single-mec-events .mec-container,
    .single-mec-events .mec-wrap,
    .single-mec-events .mec-single-event {
        padding-top: 24px !important;
    }
    .mec-events-event-image,
    .mec-single-event .mec-events-event-image,
    .mec-wrap .mec-events-event-image {
        height: 180px !important;
        max-height: 180px !important;
        margin-top: 6px !important;
        margin-bottom: 20px !important;
    }
    .mec-events-event-image img,
    .mec-single-event .mec-events-event-image img,
    .mec-wrap .mec-events-event-image img,
    .hl-event-banner-img {
        height: 180px !important;
        max-height: 180px !important;
    }
}

/* ==========================================================================
   ADMIN POST LIST & QUICK/BULK EDIT STYLES
   ========================================================================== */
.post-type-business_listing .wp-list-table th.column-listing_address,
.post-type-business_listing .wp-list-table td.column-listing_address {
    width: 17%;
    line-height: 1.45;
}

.post-type-business_listing .wp-list-table th.column-listing_contact,
.post-type-business_listing .wp-list-table td.column-listing_contact {
    width: 15%;
    line-height: 1.45;
}

.post-type-business_listing .wp-list-table th.column-listing_website,
.post-type-business_listing .wp-list-table td.column-listing_website {
    width: 13%;
    line-height: 1.45;
}

.post-type-business_listing .wp-list-table th.column-listing_featured,
.post-type-business_listing .wp-list-table td.column-listing_featured {
    width: 8%;
    text-align: center;
}

.post-type-business_listing .wp-list-table th.column-listing_verified,
.post-type-business_listing .wp-list-table td.column-listing_verified {
    width: 10%;
}

.inline-edit-hivelogic .inline-edit-group,
.inline-edit-hivelogic-bulk .inline-edit-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.inline-edit-hivelogic .inline-edit-group label,
.inline-edit-hivelogic-bulk .inline-edit-group label {
    display: flex;
    align-items: center;
    margin: 0;
}

.inline-edit-hivelogic .inline-edit-group label .title,
.inline-edit-hivelogic-bulk .inline-edit-group label .title {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.inline-edit-hivelogic .inline-edit-group input[type="text"],
.inline-edit-hivelogic .inline-edit-group input[type="email"],
.inline-edit-hivelogic .inline-edit-group input[type="url"],
.inline-edit-hivelogic-bulk .inline-edit-group input[type="text"],
.inline-edit-hivelogic-bulk .inline-edit-group select {
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
}

/* Full-Width Layout Across All Pages (Except Add-Business Onboarding Wizard) */
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > .col-lg-4,
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > [class*="col-lg-4"],
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > [class*="col-md-4"],
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > .sidebar,
body:not(.hl-focus-mode):not(.page-id-130) #post-section .sidebar-area,
body.hl-fullwidth-page #post-section .row > .col-lg-4,
body.hl-fullwidth-page #post-section .row > [class*="col-lg-4"],
body.hl-fullwidth-directory #post-section .row > .col-lg-4 {
    display: none !important;
}

body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > .col-lg-8,
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > [class*="col-lg-8"],
body:not(.hl-focus-mode):not(.page-id-130) #post-section .row > [class*="col-md-8"],
body.hl-fullwidth-page #post-section .row > .col-lg-8,
body.hl-fullwidth-page #post-section .row > [class*="col-lg-8"],
body.hl-fullwidth-directory #post-section .row > .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

