/* =====================================================
   Wiki Greblje
   Search module
   ===================================================== */


/* =====================================================
   SEARCH MAP
   ===================================================== */

.wg-search-filters {
    margin-top: 1rem;
    border-top: 1px solid var(--wg-green-100);
}


.wg-search-filters summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 1rem 0 0;

    color: var(--wg-green-700);
    font-weight: 600;

    cursor: pointer;
    list-style: none;
}


.wg-search-filters summary::-webkit-details-marker {
    display: none;
}


.wg-search-filter-body {
    padding-top: 1rem;
}


.wg-search-filter-group-label {
    padding-top: 0.25rem;
    border-bottom: 1px solid var(--wg-green-100);

    color: var(--wg-green-700);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


.wg-search-filter-body .form-label {
    color: var(--wg-green-900);
    font-size: 0.9rem;
    font-weight: 600;
}

#search-map {
    width: 100%;
    height: 520px;
    min-height: 520px;

    overflow: hidden;

    border: 1px solid var(--wg-green-100);
    border-radius: 12px;

    background: #f3f5f3;

    z-index: 1;
}


.wg-search-map-card {
    position: sticky;
    top: 1.5rem;
}


/* =====================================================
   SEARCH MAP EMPTY STATE
   ===================================================== */

.wg-search-map-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 320px;

    gap: 0.75rem;

    border: 1px dashed var(--wg-green-100);
    border-radius: 12px;

    color: #6c757d;

    text-align: center;
}


.wg-search-map-empty i {
    font-size: 2rem;
}


.wg-search-map-empty p {
    max-width: 360px;
    margin: 0;
}


/* =====================================================
   SEARCH RESULTS
   ===================================================== */

.wg-search-result-title {
    color: var(--wg-green-700);

    transition: color 0.2s ease;
}


.wg-search-result-title:hover {
    color: var(--wg-green-900);
}
