/* Category-map block — renders all geo-tagged items of a category on one map. */

.geo-category-block {
    margin: 16px 0 24px;
}

.geo-category-block__toggle {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.geo-category-block__toggle:hover {
    background: #e5e7eb;
}

.geo-category-block__count {
    color: #6b7280;
    font-weight: 400;
    margin-left: 6px;
}

.geo-category-block__map-wrap {
    position: relative;
    margin-top: 12px;
}

#geo-category-map {
    width: 100%;
    height: 380px;
    background: #e5e7eb; /* placeholder while map loads */
}

/* Cluster balloon list */
.geo-cat-balloon {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
}

.geo-cat-balloon li {
    border-bottom: 1px solid #f3f4f6;
}

.geo-cat-balloon li:last-child {
    border-bottom: none;
}

.geo-cat-balloon li a {
    display: block;
    padding: 6px 0;
    color: #1d4ed8;
    text-decoration: none;
}

.geo-cat-balloon li a:hover {
    text-decoration: underline;
}

/* Desktop: hide toggle, always show map */
@media (min-width: 992px) {
    .geo-category-block__toggle {
        display: none;
    }
    .geo-category-block__map-wrap[hidden] {
        display: block !important;
    }
    #geo-category-map {
        height: 480px;
    }
}
