.college-directory-hero .gr-hero-inner {
    padding-top: 34px;
    padding-bottom: 34px;
}

.college-directory-section {
    padding: 28px 0 56px;
    background: #f5f7fa;
}

.college-filter-panel {
    padding: 22px;
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(20, 48, 74, 0.07);
}

.college-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.college-filter-heading h2 {
    margin: 3px 0 0;
    color: #163a5f;
    font-size: 24px;
    line-height: 1.25;
}

.college-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.college-filter-field {
    min-width: 0;
}

.college-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: #283d50;
    font-size: 13px;
    font-weight: 700;
}

.college-filter-field select,
.college-search-control input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #b8c5d1;
    border-radius: 5px;
    background: #ffffff;
    color: #172b3d;
    font-size: 14px;
}

.college-filter-field select {
    padding: 8px 34px 8px 11px;
}

.college-search-field {
    grid-column: span 2;
}

.college-search-control {
    position: relative;
}

.college-search-control i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #60788e;
    transform: translateY(-50%);
    pointer-events: none;
}

.college-search-control input {
    padding: 9px 12px 9px 38px;
}

.college-filter-field select:focus,
.college-search-control input:focus,
.college-reset-btn:focus-visible {
    outline: 3px solid rgba(7, 109, 172, 0.25);
    outline-offset: 1px;
    border-color: #076dac;
}

.college-reset-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #aebdca;
    border-radius: 5px;
    background: #ffffff;
    color: #23445f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.college-reset-btn:hover {
    border-color: #076dac;
    color: #076dac;
}

.college-results-summary {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 17px 4px 12px;
    color: #4b6174;
    font-size: 14px;
}

.college-results-summary strong {
    color: #163a5f;
    font-size: 18px;
}

.college-table-wrap {
    overflow-x: auto;
    border: 1px solid #d6dfe7;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(20, 48, 74, 0.06);
}

.college-table {
    width: 100%;
    min-width: 1850px;
    border-collapse: collapse;
    color: #263d50;
    font-size: 13px;
}

.college-table th {
    padding: 12px 9px;
    border: 1px solid #1f2933;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
}

.college-table td {
    padding: 11px 9px;
    border: 1px solid #d8e0e7;
    vertical-align: top;
    line-height: 1.45;
}

.college-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.college-table tbody tr:hover {
    background: #edf6fb;
}

.college-table tbody tr[hidden] {
    display: none;
}

.college-table th:nth-child(1),
.college-table td:nth-child(1) { width: 48px; text-align: center; }
.college-table th:nth-child(2),
.college-table td:nth-child(2) { width: 105px; }
.college-table th:nth-child(3),
.college-table td:nth-child(3) { width: 190px; }
.college-table th:nth-child(4),
.college-table td:nth-child(4) { width: 235px; }
.college-table th:nth-child(5),
.college-table td:nth-child(5) { width: 95px; }
.college-table th:nth-child(6),
.college-table td:nth-child(6) { width: 95px; }
.college-table th:nth-child(7),
.college-table td:nth-child(7) { width: 185px; }
.college-table th:nth-child(8),
.college-table td:nth-child(8) { width: 230px; }
.college-table th:nth-child(9),
.college-table td:nth-child(9) { width: 165px; }
.college-table th:nth-child(10),
.college-table td:nth-child(10) { width: 95px; text-align: center; }
.college-table th:nth-child(11),
.college-table td:nth-child(11) { width: 145px; }
.college-table th:nth-child(12),
.college-table td:nth-child(12) { width: 125px; text-align: center; }
.college-table th:nth-child(13),
.college-table td:nth-child(13) { width: 145px; }

.college-table td > strong,
.college-table td > span,
.college-table td > a {
    display: block;
}

.college-name {
    margin-bottom: 4px;
    color: #113d62;
    font-size: 14px;
    line-height: 1.35;
}

.college-gujarati:empty {
    display: none;
}

.college-meta,
.college-gujarati {
    margin-top: 3px;
    color: #607487;
}

.college-total-intake {
    color: #076a44;
}

.college-table address {
    margin: 0 0 7px;
    color: #304a5e;
    font-style: normal;
}

.college-contact-link {
    max-width: 100%;
    margin-top: 4px;
    color: #0568a4;
    overflow-wrap: anywhere;
}

.college-contact-link i {
    width: 16px;
    color: #47677f;
    text-align: center;
}

.college-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #dfe6ec;
    color: #4a6276;
    font-size: 12px;
}

.college-facilities i {
    color: #287751;
}

.college-ncte {
    margin-top: 5px;
    color: #5c6f80;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.college-empty-state td {
    padding: 48px 20px;
    color: #50697d;
    text-align: center;
}

.college-empty-state i,
.college-empty-state strong,
.college-empty-state span {
    display: block;
}

.college-empty-state i {
    margin-bottom: 10px;
    color: #7890a4;
    font-size: 24px;
}

.college-empty-state strong {
    margin-bottom: 4px;
    color: #24455f;
    font-size: 16px;
}

.college-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #cbd8e2;
    border-radius: 6px;
    background: #ffffff;
    color: #304d64;
}

.college-alert-error {
    border-color: #d9a3a3;
    background: #fff7f7;
    color: #9a2727;
}

@media (max-width: 991px) {
    .college-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .college-search-field {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .college-directory-section {
        padding: 20px 0 40px;
    }

    .college-filter-panel {
        padding: 17px 14px;
    }

    .college-filter-heading {
        align-items: flex-end;
    }

    .college-filter-heading h2 {
        font-size: 21px;
    }

    .college-filter-grid {
        grid-template-columns: 1fr;
    }

    .college-filter-field select,
    .college-search-control input {
        font-size: 16px;
    }

    .college-search-field {
        grid-column: auto;
    }

    .college-reset-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .college-reset-btn {
        width: 42px;
        padding: 8px;
    }

    .college-results-summary {
        justify-content: space-between;
        gap: 12px;
        font-size: 12px;
    }

    .college-results-summary strong {
        font-size: 16px;
    }

    .college-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .college-table {
        display: block;
        max-width: 100%;
        min-width: 0;
    }

    .college-table thead {
        display: none;
    }

    .college-table tbody,
    .college-table tr,
    .college-table td {
        display: block;
        width: 100%;
    }

    .college-table .college-row {
        margin-bottom: 14px;
        border: 1px solid #d4dee6;
        border-radius: 7px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(20, 48, 74, 0.06);
    }

    .college-table td,
    .college-table td:nth-child(n) {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(125px, 42%) minmax(0, 1fr);
        gap: 11px;
        padding: 11px 13px;
        border-bottom: 1px solid #e4e9ed;
        text-align: left;
    }

    .college-table td:last-child {
        border-bottom: 0;
    }

    .college-table td::before {
        content: attr(data-label);
        color: #50697d;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .college-table td > * {
        grid-column: 2;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .college-table td::before {
        grid-column: 1;
        grid-row: 1;
    }

    .college-table tbody tr:nth-child(even),
    .college-table tbody tr:hover {
        background: #ffffff;
    }

    .college-empty-state td {
        display: block;
        padding: 40px 18px;
        border: 1px solid #d4dee6;
        background: #ffffff;
    }

    .college-empty-state td::before {
        display: none;
    }

    .college-empty-state td > * {
        display: block;
    }
}

@media (max-width: 420px) {
    .college-results-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .college-table td,
    .college-table td:nth-child(n) {
        grid-template-columns: 115px minmax(0, 1fr);
        padding-right: 10px;
        padding-left: 10px;
    }
}
