.directory-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.directory-list-item {
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.13);
    border: 1px solid #f0f0f0;
    padding: 1.25rem;
}

.business-name,
.business-name > a {
    font: 20px/1.4em "Noto Serif Bold", Georgia, serif;
    margin-bottom: 1rem;
}

.directory-list-item .alumni-name,
.directory-list-item .location {
    color: #5c5757;
}

.directory-list-item .description,
.directory-list-item .industries {
    margin-top: 0.8rem;
}

.directory-list-item .industries ul {
    /*   margin-block-start: .35em;
  margin-block-end: 0; */
}

.directory-list-item .industries li {
    /*! padding-bottom: .25em; */
    color: #765da0;
}

.standard-page #page section.directory-list .directory-list-item:last-child {
    margin-bottom: 30px !important;
}

.loading-text {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
}

#main-content {
    margin-top: 2rem;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.catalog-wrapper label {
    display: block;
    font: 16px/1.5em "Akkurat Pro Bold",Arial,sans-serif;
    text-align: left;
    margin-bottom: .5rem;
}

.filter-select {
    width: 100%;
    font-size: 16px;
    font-family: "Akkurat Pro Light";
    border: 1px solid #e4e0ee;
}

.filter-select option {
    padding: 0.25rem;
}

.search-and-sort {
    display: flex;
    gap: 1rem;
}

.catalog-search {
    flex-grow: 1;
    margin-bottom: .75rem;
}

#searchError {
    color: red;
    font-size: 13px;
    font-style: italic;
    line-height: 1rem;
    height: 1rem;
}

.search-actions,
.search-secondary-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.search-actions {
    margin-bottom: 2.5rem;
}

.search-secondary-actions {
    line-height: 1.2;
}

#clearFilters {
    margin: 0;
    font-family: "Akkurat Pro Bold", Arial, sans-serif;
    line-height: 1.4em;
    color: #4e2a84;
    border-bottom: 1px dashed #4e2a84;
    cursor: pointer;
}

#clearFilters:hover {
    border-bottom: 1px solid #4e2a84;
}

/* label {
    display: block;
    font-family: "Poppins Bold";
    font-size: 18px;
    color: #4e2a84;
    margin-bottom: 5px;
}
.label-adjust {
    font-size: 12px;
    line-height: 0.75;
} */
#searchInput {
    width: 100%;
    border: 1px solid #d8d6d6;
    padding: .85rem 2.5rem .8rem .85rem;
    font: 16px "Akkurat Pro Regular", Arial, sans-serif;
    color: #342f2e;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

#searchInput::placeholder {
    color: #bbb8b8;
}

#searchInput:focus {
    outline: 3px solid #000;
    outline-offset: -3px;
}

.searchBar {
    position: relative;
}

.searchBar::after {
    content: "";
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15' fill='none'%3E%3Cpath d='M10.7204 9.43396H10.0429L9.80274 9.2024C10.6432 8.2247 11.1492 6.9554 11.1492 5.57461C11.1492 2.49571 8.65352 0 5.57461 0C2.49571 0 0 2.49571 0 5.57461C0 8.65352 2.49571 11.1492 5.57461 11.1492C6.9554 11.1492 8.2247 10.6432 9.2024 9.80274L9.43396 10.0429V10.7204L13.7221 15L15 13.7221L10.7204 9.43396ZM5.57461 9.43396C3.43911 9.43396 1.71527 7.71012 1.71527 5.57461C1.71527 3.43911 3.43911 1.71527 5.57461 1.71527C7.71012 1.71527 9.43396 3.43911 9.43396 5.57461C9.43396 7.71012 7.71012 9.43396 5.57461 9.43396Z' fill='%234E2A84'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/*#resultsPageWrapper {*/
/*    border-top: 1px solid #ddd8d8;*/
/*}*/

.results-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.results-hits {
    line-height: 32px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid #bbb8b8;
    border-radius: 2px;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f2f0f0;
    border-color: transparent;
    color: #4e2a84;
    font-weight: bold;
}

.pagination-btn.pagination-active {
    background: #4e2a84;
    border-color: #4e2a84;
    color: white;
    font-weight: bold;
    cursor: default;
}

.pagination-btn.pagination-disabled,
.pagination-btn:disabled:not(.pagination-active) {
    opacity: 0.25;
    cursor: default;
}

.pagination-btn.pagination-prev,
.pagination-btn.pagination-next {
    font-weight: bold;
    border: none;
    font-size: 18px;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    font-size: 14px;
    color: #bbb8b8;
}

/* SlimSelect variable definitions */
.ss-main {
    /* Colors */
    --ss-primary-color: #4e2a84;
    --ss-bg-color: #ffffff;
    --ss-font-color: #4d4d4d;
    --ss-border-color: #767676;
    --ss-border-radius: 2px;

    /* Heights */
    --ss-main-height: 40px;
    --ss-search-height: 40px;
    --ss-option-height: auto;
    --ss-content-height: 300px;

    /* Spacing */
    --ss-spacing-l: 9px;
    --ss-spacing-m: 7px;
    --ss-spacing-s: 5px;

    /* Other Properties */
    --ss-border-radius: 2px;
    --ss-animation-timing: 0.2s;
}

#innerWrap .ss-value-delete,
#innerWrap .ss-value-delete * {
    box-sizing: content-box;
    -ms-box-sizing: content-box;
}


@media screen and (min-width: 1120px) {
    .desktopHide {
        display: none;
    }

    .mobileHide {
        display: flex;
    }
}

@media screen and (max-width: 1119px) {
    .desktopHide {
        display: block !important;
    }

    .mobileHide {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .search-and-sort {
        flex-direction: column;
        gap: 0;
    }

    .filter-select {
        padding: 8px !important;
        font-size: 1rem;
        width: 100%;
    }

    .results-page {
        grid-template-columns: 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .filters-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 450px) {
    section {
        margin-bottom: 1.5rem !important;
    }

    .pagination-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
}