#school-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
#school-filters input[type="text"], #school-filters select, #school-filters button {
    padding: 8px;
    min-width: 150px;
    border: 1px solid #afafaf;
    border-radius: 5px;
}
.filter-dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}
.dropdown-content label,
.filter-checkboxes label {
    display: flex;
    gap: 5px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 300;
    margin-bottom: 10px;
}
.filter-dropdown button {
    display: flex;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    line-height: 2px;
    font-size: 14px;
    padding: 18px 10px !important;
    background: #fff;
    color: #484848;
}
.filter-dropdown.active .dropdown-content {
    display: block;
    box-shadow: 0px 2px 9px 2px #ebebeb;
    width: 100%;
}
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.school-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
}
.pagination {
    margin-top: 20px;
}
.pagination a {
    margin-right: 5px;
}
#selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.chip {
    background: #eee;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.chip .remove {
    cursor: pointer;
    color: red;
    font-weight: bold;
}

/* GRID */
.school-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.school-grid .featured-sch {
    margin-bottom: 0;
}


#school-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: 1rem 0;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.top-row .search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.5rem;
}

.sort-select,
.styled-select {
    padding: 0.5rem;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='black' height='20' width='20' viewBox='0 0 20 20'><polygon points='0,0 20,0 10,10'/></svg>") no-repeat right 0.5rem center;
    background-size: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
}

.filter-btn { background: #0073aa; color: #fff; cursor: pointer; }
.clear-btn { background: #ccc; color: #000; cursor: pointer; }
.fcol-1 > button { 
    cursor: pointer;
    background: #0db1c4;
    color: #fff;
    border-color: #0db1c4 !important;
    transition: .2s ease;

}
.fcol-1 button:hover {
    color: #000;
    background: #fff;
}
.filter-dropdown {
    position: relative;
}
.filter-dropdown .dropdown-toggle {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.filter-dropdown .arrow {
    font-size: 26px;
    color: #535d66;
}
.filter-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}
.filter-dropdown.open .dropdown-content {
    display: block;
}

.checkbox-row {
    flex-wrap: wrap;
    gap: 2rem;
}
.filter-checkboxes label {
    display: block;
    margin: 0.25rem 0;
}

.fcol-1,
.fcol-2,
.fcol-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: fit-content;
}
.results-count {
    margin-bottom: 2rem;
}
.results-count span {
    color: #0db1c4;
    font-size: 36px;
    font-weight: 600;
}

/* Taxonomies */
.header-section {
    background-color: #22272c;
}
.header-section .wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}
.header-section .img-col img {
    max-width: 300px;
    margin: 20px 0;
}
.header-section .tax-content {
    padding: 30px 0;
}
.header-section h1 {
    color: #fff;
    font-size: 36px;
    line-height: 50px;
}
.header-section p {
    color: #e0e0e0;
    font-weight: 300;
}

/* Tabs */
.all-schools .tabs {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
}
.all-schools .tab {
    background: #f0f0f0;
    border: none;
    padding: 7px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    font-size: 12px;
}
.all-schools .tab.active {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
}

@media ( min-width: 650px ){

  .school-grid {
    grid-template-columns: 1fr 1fr;
  }

}
@media ( min-width: 900px ){

  .school-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

}
@media ( min-width: 1300px ){

  .school-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

}

@media( max-width: 768px ){
    
    .header-section .img-col img {
        max-width: 225px;
    }
    .header-section .tax-content {
        padding-top: 0;
    }
    .header-section .wrapper {
        flex-wrap: wrap;
    }

}