.nasacre-re-hubs {
    --re-hubs-border: var(--global-palette1, #3182ce);
    --re-hubs-text: var(--global-palette3, #1f2937);
    color: var(--re-hubs-text);
}

.nasacre-re-hubs__header {
    margin-bottom: 1.5rem;
}

.nasacre-re-hubs__filters {
    display: grid;
    grid-template-columns: minmax(14rem, 2fr) repeat(2, minmax(10rem, 1fr));
    gap: .75rem;
    align-items: end;
    padding: 0 0 1.25rem;
    margin-bottom: 1.25rem;
}

.nasacre-re-hubs__field label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
}

.nasacre-re-hubs__field input,
.nasacre-re-hubs__field select {
    width: 100%;
    min-height: 3.75rem;
    padding: .85rem 1rem;
    border: 1px solid var(--re-hubs-border);
    border-radius: 0;
    background: #fff;
    color: var(--re-hubs-text);
    font-size: 1rem;
}

.nasacre-re-hubs__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nasacre-re-hubs__actions button {
    min-height: 3.75rem;
    padding: .85rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: var(--re-hubs-border);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.nasacre-re-hubs__count {
    margin: 1rem 0;
    font-weight: 700;
}

.nasacre-re-hubs__back {
    margin: 0 0 1rem;
}

.nasacre-re-hubs__region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: .75rem;
}

.nasacre-re-hubs__region {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 4.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--re-hubs-border);
    border-radius: 0;
    color: var(--re-hubs-text);
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.nasacre-re-hubs__region:hover,
.nasacre-re-hubs__region:focus-visible {
    background: var(--re-hubs-border);
    color: #fff;
}

.nasacre-re-hubs__region:focus-visible {
    outline: 3px solid var(--re-hubs-border);
    outline-offset: 3px;
}

.nasacre-re-hubs__results {
    padding-top: 5px;
    border-top: 1px solid var(--re-hubs-border);
}

.nasacre-re-hubs__entry {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--re-hubs-border);
    margin-bottom: 5px;
}

.nasacre-re-hubs__entry summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    min-height: 4.5rem;
    padding: .75rem 0;
    cursor: pointer;
}

.nasacre-re-hubs__entry summary:focus-visible {
    outline: 3px solid var(--re-hubs-border);
    outline-offset: 3px;
}

.nasacre-re-hubs__entry-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.nasacre-re-hubs__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.nasacre-re-hubs__badge {
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.nasacre-re-hubs__badge--place {
    background: #dbeafe;
    color: #1e40af;
}

.nasacre-re-hubs__badge--speaker {
    background: #dcfce7;
    color: #166534;
}

.nasacre-re-hubs__details {
    padding: 1.25rem;
    margin: 0 0 1rem;
    background: #eee;
}

.nasacre-re-hubs__details > div {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: 1rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(49, 130, 206, .3);
}

.nasacre-re-hubs__details > div:last-child {
    border-bottom: 0;
}

.nasacre-re-hubs__details dt {
    font-weight: 700;
}

.nasacre-re-hubs__details dd {
    margin: 0;
}

@media (max-width: 760px) {
    .nasacre-re-hubs__filters {
        grid-template-columns: 1fr;
    }

    .nasacre-re-hubs__entry summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .nasacre-re-hubs__badges {
        justify-content: flex-start;
    }

    .nasacre-re-hubs__details > div {
        grid-template-columns: 1fr;
        gap: .1rem;
    }

    .nasacre-re-hubs__region-grid {
        grid-template-columns: 1fr;
    }
}
