/* Extracted from resources/views/frontend/pages/exio-certified-projects.blade.php inline <style> */
.exio-cert-page {
    padding-bottom: 72px;
}
.exio-cert-hero {
    background: linear-gradient(135deg, rgba(0, 83, 149, 0.12) 0%, #ffffff 55%, rgba(0, 83, 149, 0.06) 100%);
    padding: 48px 0 36px;
    border-bottom: 1px solid rgba(0, 83, 149, 0.08);
}
.exio-cert-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    color: var(--heading-text, #1a1a1a);
    margin-bottom: 12px;
    line-height: 1.2;
}
.exio-cert-hero p.lead {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--gray-color, #666);
    max-width: 720px;
    margin: 0 auto 16px;
    line-height: 1.65;
}
.exio-cert-badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.exio-cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: var(--white-color, #fff);
    border: 1px solid rgba(0, 83, 149, 0.2);
    color: var(--blue-color, #005395);
    box-shadow: 0 4px 14px rgba(0, 83, 149, 0.08);
}
.exio-cert-empty {
    text-align: center;
    padding: 48px 24px;
    border-radius: 16px;
    background: var(--white-color, #fff);
    border: 1px dashed rgba(0, 83, 149, 0.25);
    max-width: 560px;
    margin: 0 auto;
}
.exio-cert-empty i {
    font-size: 42px;
    color: rgba(0, 83, 149, 0.35);
    margin-bottom: 16px;
}
#exioCertPagination {
    margin-top: 32px;
}
/* Suggestions dropdown extends below the bar; avoid clipping / map stealing clicks */
.exio-cert-page .listing-top-bar,
.exio-cert-page .search-section,
.exio-cert-page .searchBar.searchKeyup {
    overflow: visible;
}
.exio-cert-loader-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1080;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
}
.exio-cert-loader-overlay.is-flex {
    display: flex !important;
}
/* Ensure map pane has size while Google tiles attach */
#exioCertMapViewContainer #exioCertListingMap {
    min-height: 500px;
    height: 600px;
    width: 100%;
    background: #e8e6e1;
}

/* Map view behavior by screen size:
   - desktop: keep sidebar visible
   - tablet/mobile: allow full-width map by hiding sidebar */
@media (min-width: 1200px) {
    .exio-cert-page .listing-wrapper.ec-map-view {
        gap: 30px;
    }
    .exio-cert-page .listing-wrapper.ec-map-view .listing-sidebar {
        display: block !important;
    }
    .exio-cert-page .listing-wrapper.ec-map-view .listing-main {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 1199px) {
    .exio-cert-page .listing-wrapper.ec-map-view {
        gap: 0;
    }
    .exio-cert-page .listing-wrapper.ec-map-view .listing-sidebar {
        display: none !important;
    }
    .exio-cert-page .listing-wrapper.ec-map-view .listing-main {
        width: 100%;
        max-width: 100%;
    }
}

/* Defensive initial state before JS init */
.exio-cert-page #distanceSelectorDropdown,
.exio-cert-page #clearLocationBtn {
    display: none;
}

/* Utility helpers (extracted from inline styles) */
.ec-hidden { display: none !important; }
.ec-ml-5 { margin-left: 5px; }
.ec-flex-1 { flex: 1; }
