#case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    background-color: #f1f1f1;
    padding: 1rem;
}
#case-filters label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}
#case-filters label span {
    white-space: nowrap;
}
#case-filters .form-select {
    border-radius: 0;
}

.case-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-card {
    --cardWidth: 100%;
    --listGap: 0;
    flex: 1 0 var(--cardWidth);
    max-width: calc(var(--cardWidth) - var(--listGap));
    background-color: rgb(255,255,255);
    border: solid 1px rgba(0,0,0,0.175);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.case-card.hidden {
    display: none;
}
@media (min-width: 1200px) {
    .case-card {
        --cardWidth: 33.3333%;
        --listGap: .67rem;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .case-card {
        --cardWidth: 50%;
        --listGap: 1rem;
    }
}
.case-card .list-unstyled {
    margin-left: 0;
}
.case-card .list-unstyled > li:not(:last-child) {
    margin-bottom: .5rem;
}
.case-card .link {
    margin-top: auto;
}

#no-results {
    position: relative;
    padding: 1rem;
    color: #664d03;
    background-color: #fff3cd;
    border: #ffe69c;
    border-radius: 0;
    text-align: center;
}
#no-results.hidden {
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}