#u-reborn-map {
    height: 500px;
}

#u-reborn-map .leaflet-popup-content p {
    margin: 4px 0;
}

.organization-item {
    border: 1px solid #000;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
}

.organization-item-description h3 {
    margin-top: 0;
}

.organization-item-description p {
    margin-bottom: 16px;
}

.organization-item-description p:last-child {
    margin-bottom: 0;
}

.organization-item-description svg {
    width: 15px;
    height: 20px;
}

.organization-item-link {
    flex: 0 0 auto;
}

.organization-item-link a {
    padding: 12px 24px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    white-space: normal;
    font-size: 14px;
    transition: all 0.3s ease;
}

.organization-item-link a:hover {
    background: #fff;
    color: #000;
}

.organization-filters {
    display: flex;
    gap: 40px;
}

.organization-filters .u-search-select-wrapper {
    flex: 1 1 0;
}

.organization-filters .u-search-select {
    width: 100%;
}

.organization-count {
    margin-top: 32px;
}

/*selects styling*/
.u-search-select {
    position: relative;
    width: 320px;
    font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.u-ss-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.u-ss-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.u-ss-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    border: 1px solid #000;
    border-radius: 10px;
    background: #fff;
}

.u-ss-input {
    width: calc(100% - 24px) !important;
    margin: 10px 12px;
    padding: 10px 10px !important;
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    outline: none;
}

.u-ss-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 220px;
    overflow: auto;
}

.u-ss-option {
    padding: 10px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.u-ss-option:hover,
.u-ss-option.is-active {
    background: rgba(0,0,0,.06);
}

.u-ss-empty {
    padding: 10px;
    opacity: .7;
}

.organization-filters .u-ss-trigger {
    width: 100%;
    text-align: left;
    color: #000;
    border: 1px solid #000;
    border-radius: 10px;
    display: flex;
    background: #fff !important;
}

.organization-filters .u-ss-trigger:hover {
    color: #000;
    border: 1px solid #000;
    background: #fff;
}

.u-ss-caret svg {
    width: 12px;
    height: 8px
}

/*styling for tabs*/
.u-reborn-tabs {
    width: 100%;
}

.u-reborn-tabs__nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 16px;
}

.u-reborn-tabs__btn {
    padding: 10px 16px;
    background: none !important;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    flex: 1 1 0;
}

.u-reborn-tabs__btn:hover {
    background: none;
    color: #000;
}

.u-reborn-tabs__btn.is-active {
    color: #000;
    border-bottom: 2px solid #000;
    border-radius: 0;
}

.u-reborn-tabs__panel {
    display: none;
}

.u-reborn-tabs__panel.is-active {
    display: block;
}

@media (max-width: 575.98px) {
    /* styles for mobile only */
    .organization-item {
        flex-direction: column;
    }

    .organization-item {
        padding: 24px;
        margin-top: 24px;
    }

    .organization-filters,
    .u-reborn-tabs__nav {
        gap: 20px;
    }

    .leaflet-popup-content,
    .leaflet-popup-content-wrapper {
        max-width: 90vw;
    }

    .organization-filters .u-search-select-wrapper {
        max-width: calc(50% - 10px);
    }
}