/* Agent public college directory and college profile pages */
.agent-colleges-page,
.agent-college-profile {
    --directory-ink: #17324d;
    --directory-muted: #667b90;
    --directory-border: #e1e9f1;
    --directory-paper: #f4f7fb;
    color: var(--directory-ink)
}

.agent-colleges-hero {
    padding: 74px 0 68px;
    background: radial-gradient(circle at 84% 0%, rgba(50, 123, 179, .14), transparent 35%), linear-gradient(135deg, #f2f7fc, #fff 70%);
    border-bottom: 1px solid var(--directory-border)
}

.agent-colleges-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 0;
    color: var(--agent-primary, #1f5f91);
    font-size: 13px;
}

.agent-colleges-breadcrumb a {
    color: #506b84;
    text-decoration: none
}

.agent-colleges-breadcrumb a:hover {
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--agent-primary, #1f5f91);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase
}

.agent-colleges-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor
}

.agent-colleges-hero h1 {
    max-width: 800px;
    margin: 14px 0 12px;
    color: #132e48;
    font-size: clamp(30px, 3.3vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.04em
}

.agent-colleges-hero p {
    max-width: 670px;
    margin: 0;
    color: #61768b;
    font-size: 16px;
    line-height: 1.65
}

.agent-colleges-hero__count {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 21px;
    color: #60758b;
    font-size: 14px
}

.agent-colleges-hero__count strong {
    color: #183651
}

.agent-colleges-directory {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 82px
}

.agent-colleges-tabs {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--directory-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 42, 67, .055)
}

.agent-colleges-tabs__label {
    padding: 8px 10px 11px;
    color: #8292a2;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase
}

.agent-colleges-tabs button {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #526a80;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    transition: background .18s, color .18s
}

.agent-colleges-tabs button:hover {
    background: #f4f7fa;
    color: #1d4568
}

.agent-colleges-tabs button.is-active {
    background: color-mix(in srgb, var(--agent-primary, #1f5f91) 10%, white);
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-tab-icon {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border-radius: 10px;
    background: #f0f4f8;
    color: #6a839a
}

.agent-colleges-tabs button.is-active .agent-colleges-tab-icon {
    background: #fff;
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-tab-count {
    margin-left: auto;
    color: #8797a7;
    font-size: 12px;
    font-variant-numeric: tabular-nums
}

.agent-colleges-tabs button.is-active .agent-colleges-tab-count {
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-results__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 21px
}

.agent-colleges-results__heading h2 {
    margin: 8px 0 0;
    color: #16324d;
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -.03em
}

.agent-colleges-results__total {
    padding: 6px 10px;
    border: 1px solid var(--directory-border);
    border-radius: 99px;
    background: #fff;
    color: #78899a;
    font-size: 12px;
    white-space: nowrap
}

.agent-colleges-results__total strong {
    color: #1e3e5b
}

.agent-colleges-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.agent-college-card {
    overflow: hidden;
    border: 1px solid var(--directory-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 42, 67, .045);
    transition: transform .22s, box-shadow .22s, border-color .22s
}

.agent-college-card:hover {
    transform: translateY(-4px);
    border-color: #c9d8e6;
    box-shadow: 0 18px 38px rgba(15, 42, 67, .1)
}

.agent-college-card[hidden] {
    display: none
}

.agent-college-card__cover {
    position: relative;
    display: grid;
    height: 138px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #dfeaf3, #f2f6fa);
    color: #7893aa
}

.agent-college-card__cover>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.agent-college-card:hover .agent-college-card__cover>img {
    transform: scale(1.04)
}

.agent-college-card__cover>span {
    font-size: 2.5rem;
    opacity: .58
}

.agent-college-card__categories {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.agent-college-card__categories span {
    padding: 3px 9px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 99px;
    background: color-mix(in srgb, var(--agent-primary, #2b2929) 50%, transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(8px)
}

.agent-college-card__body {
    padding: 19px
}

.agent-college-card__university {
    margin: 0 0 6px;
    color: #868882;
    font-size: 13px;
    font-weight: 500;
}

.agent-college-card__university span {
    font-weight: 500
}

.agent-college-card h3 {
    margin: 0;
    color: #183651;
    font-size: 1.08rem;
    font-weight: 770;
    line-height: 1.35
}

.agent-college-card__description {
    min-height: 42px;
    margin: 9px 0 15px;
    color: #6d8093;
    font-size: .81rem;
    line-height: 1.55
}

.agent-college-card__stats {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid #edf1f5
}

.agent-college-card__stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #526b83;
    font-size: .76rem
}

.agent-college-card__stats i {
    width: 16px;
    color: #7691a9
}

.agent-college-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
    padding: 11px 13px;
    border-radius: 9px;
    background: #f1f6fa;
    color: var(--agent-primary, #1f5f91);
    text-decoration: none;
    font-size: .83rem;
    font-weight: 750;
    transition: background .18s, color .18s
}

.agent-college-card__link:hover {
    background: var(--agent-primary, #1f5f91);
    color: #fff
}

.agent-colleges-empty {
    grid-column: 1/-1;
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    border: 1px dashed #cbd8e4;
    border-radius: 16px;
    background: #fff;
    text-align: center
}

.agent-colleges-empty>span {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 16px;
    background: #eef4f8;
    color: #607f99;
    font-size: 1.25rem
}

.agent-colleges-empty h3 {
    margin: 0;
    color: #1b3852;
    font-size: 20px;
}

.agent-colleges-empty p {
    max-width: 430px;
    margin: 8px 0 0;
    color: #708397;
}

.agent-colleges-empty--filtered[hidden] {
    display: none
}

.agent-college-profile__hero {
    padding: 38px 0 58px;
    background: linear-gradient(135deg, #f2f7fc, #fff 72%);
    border-bottom: 1px solid var(--directory-border)
}

.agent-college-profile__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 30px
}

.agent-college-profile__hero h1 {
    max-width: 850px;
    margin: 12px 0;
    color: #15324d;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 820;
    line-height: 1.02;
    letter-spacing: -.055em
}

.agent-college-profile__hero-grid>div:first-child>p {
    max-width: 760px;
    color: #62788e;
    font-size: 1rem
}

.agent-college-profile__hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px
}

.agent-college-profile__hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid #e1e9f1;
    border-radius: 99px;
    background: #fff;
    color: #536d84;
    font-size: 14px;
}

.agent-college-profile__hero-mark {
    position: relative;
    display: grid;
    width: 160px;
    height: 160px;
    place-items: center;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(19, 53, 81, .09);
    color: var(--agent-primary, #1f5f91)
}

.agent-college-profile__hero-mark i {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.4rem;
    opacity: .5
}

.agent-college-profile__hero-mark span {
    font-size: 4rem;
    font-weight: 850
}

.agent-college-profile__content {
    padding-top: 55px;
    padding-bottom: 75px
}

.agent-college-profile__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.agent-college-profile__section-heading h2 {
    margin: 7px 0 0;
    color: #17324d;
    font-size: 25px;
    font-weight: 600;
}

.agent-college-profile__section-heading p {
    margin: 7px 0 0;
    color: #708398
}

.agent-college-profile__section-heading>a {
    padding: 10px 13px;
    border: 1px solid var(--directory-border);
    border-radius: 9px;
    color: #46647e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap
}

.agent-college-course-card {
    margin-top: 18px;
    padding: 25px;
    border: 1px solid var(--directory-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(15, 42, 67, .045)
}

.agent-college-course-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px
}

.agent-college-course-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px
}

.agent-college-course-card__badges span {
    padding: 4px 8px;
    border-radius: 99px;
    background: #eef4f8;
    color: #56718a;
    font-size: .68rem;
    font-weight: 750
}

.agent-college-course-card h3 {
    margin: 0;
    color: #183651;
    font-size: 18px;
    font-weight: 600;
}

.agent-college-course-card__header p {
    margin: 5px 0 0;
    color: #788b9d;
    font-size: 13px;
}


.agent-college-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px
}

.agent-college-course-card__meta span {
    padding: 7px 10px;
    border: 1px solid #e6edf3;
    border-radius: 99px;
    color: #62788c;
    font-size: 13px;
    white-space: nowrap
}

.agent-college-course-card__meta span i {
    margin-right: 4px;
}

.agent-college-course-card__overview,
.agent-college-course-card__eligibility {
    margin: 15px 0 0;
    color: #63798d;
    font-size: .9rem
}

.agent-college-course-card__eligibility strong {
    color: #294b67
}

.agent-college-course-card__semesters {
    margin-top: 22px
}

.agent-college-course-card__semesters>h4 {
    margin: 0 0 10px;
    color: #284762;
    font-size: .88rem;
    font-weight: 780
}

.agent-college-semester {
    border: 1px solid #e5ecf2;
    border-radius: 11px;
    background: #fff
}

.agent-college-semester+.agent-college-semester {
    margin-top: 8px
}

.agent-college-semester summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 15px;
    color: #294a66;
    font-size: .84rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none
}

.agent-college-semester summary::-webkit-details-marker {
    display: none
}

.agent-college-semester summary>span:first-child {
    display: flex;
    align-items: center;
    gap: 9px
}

.agent-college-semester summary>span:first-child i {
    color: var(--agent-primary, #1f5f91)
}

.agent-college-semester__fee {
    color: #26734d;
    font-size: .78rem;
    white-space: nowrap
}

.agent-college-semester__body {
    padding: 0 15px 15px;
    border-top: 1px solid #edf1f5;
    color: #667c90;
    font-size: .83rem
}

.agent-college-semester__body>p {
    margin: 12px 0 0
}

.agent-college-subjects {
    margin-top: 12px
}

.agent-college-subjects>strong {
    color: #2d4b65;
    font-size: .8rem
}

.agent-college-subjects ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 18px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none
}

.agent-college-subjects li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 7px;
    background: #f5f8fa;
    color: #536d83;
    font-size: .78rem
}

.agent-college-subjects li small {
    color: #8293a3;
    white-space: nowrap
}

.agent-college-semester__empty,
.agent-college-semester__fee-note {
    color: #73869a
}

.agent-college-course-card__no-semesters {
    margin-top: 18px;
    padding: 14px;
    border-radius: 9px;
    background: #f6f8fa;
    color: #71859a;
    font-size: .84rem
}

.agent-college-course-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf1f5
}

.agent-college-course-card__footer>a,
.agent-college-course-card__footer>button,
.agent-college-profile__contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #eaf7ef;
    color: #257849;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600
}

.agent-college-course-card__footer>button,
.agent-college-profile__contact>.container>.agent-college-enquiry-trigger {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.agent-college-profile__contact>.container>.agent-college-enquiry-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #fff;
    color: #1b7850;
    font-size: .82rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.agent-college-course-card__footer>button:hover,
.agent-college-profile__contact>.container>.agent-college-enquiry-trigger:hover {
    background: #dff1e7;
    color: #176a42;
}

.agent-college-profile__course-empty {
    padding: 25px
}

.agent-college-profile__contact {
    padding: 40px 0;
    background: #16324d;
    color: #fff
}

.agent-college-profile__contact>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}


.agent-college-profile__contact h2 {
    margin: 8px 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 780
}



.agent-college-profile__contact a {
    background: #fff;
    color: #1b7850;
    white-space: nowrap;
    font-weight: 600;
}

.agent-college-directory__college-row {
    display: flex;
    align-items: stretch;
    gap: 10px
}

.agent-college-directory__college-row .agent-college-directory__college-link {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    color: #102e57;
    text-decoration: none
}

.agent-college-directory__college-link>span:first-child {
    min-width: 0
}

.agent-college-directory__college-link>span:first-child small {
    display: block;
    margin-top: 3px;
    color: #647b94;
    font-size: 11px
}

.agent-college-directory__college-link .agent-college-directory__badge {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 6px;
    background: #edf3fa;
    color: #102e57;
    font-size: 11px;
    white-space: nowrap
}

.agent-college-directory__details-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--agent-primary, #1f5f91);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap
}

.agent-college-directory__quick-enquiry {
    align-self: center;
    padding: 7px 9px;
    border: 1px solid #d7e1eb;
    border-radius: 8px;
    background: #fff;
    color: #526e87;
    cursor: pointer
}

.agent-college-directory__quick-enquiry:hover {
    border-color: var(--agent-primary, #1f5f91);
    color: var(--agent-primary, #1f5f91)
}

.agent-college-modal__profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    color: var(--agent-primary, #1f5f91);
    text-decoration: none;
    font-size: .83rem;
    font-weight: 750
}

.agent-college-directory__list li>.agent-college-directory__quick-enquiry {
    display: grid;
    width: 38px;
    flex: 0 0 38px;
    place-items: center;
    justify-content: center;
    padding: 7px
}

@media(max-width:900px) {
    .agent-colleges-directory {
        grid-template-columns: 215px minmax(0, 1fr);
        gap: 22px
    }

    .agent-colleges-grid {
        grid-template-columns: 1fr
    }

    .agent-colleges-hero {
        padding: 58px 0
    }

    .agent-college-card__cover {
        height: 160px
    }
}

@media(max-width:700px) {
    .agent-colleges-directory {
        display: block;
        padding-top: 30px;
        padding-bottom: 55px
    }

    .agent-colleges-tabs {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 6px;
        margin: 0 -4px 25px;
        padding: 8px;
        border-radius: 12px
    }

    .agent-colleges-tabs__label {
        display: none
    }

    .agent-colleges-tabs button {
        flex: 0 0 auto;
        gap: 7px;
        padding: 8px
    }

    .agent-colleges-tab-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px
    }

    .agent-colleges-tab-count {
        margin-left: 0
    }

    .agent-colleges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .agent-college-profile__hero-grid {
        grid-template-columns: 1fr 100px
    }

    .agent-college-profile__hero-mark {
        width: 96px;
        height: 96px;
        border-radius: 24px
    }

    .agent-college-profile__hero-mark span {
        font-size: 2.6rem
    }

    .agent-college-profile__hero-mark i {
        top: 10px;
        right: 11px;
        font-size: 1rem
    }

    .agent-college-course-card {
        padding: 18px
    }

    .agent-college-course-card__header {
        flex-direction: column
    }

    .agent-college-course-card__meta {
        justify-content: flex-start
    }

    .agent-college-profile__contact>.container {
        align-items: flex-start;
        flex-direction: column
    }

    .agent-college-directory__details-link {
        font-size: 0
    }

    .agent-college-directory__details-link i {
        font-size: 14px
    }


}

.agent-college-course-card {
    padding: 0;
    cursor: default
}

.agent-college-course-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 12px;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    list-style: none
}

.agent-college-course-card__header::-webkit-details-marker {
    display: none
}

.agent-college-course-card__header::marker {
    content: ""
}

.agent-college-course-card__header::after {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #688099;
    border-bottom: 1.5px solid #688099;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s
}

.agent-college-course-card[open]>.agent-college-course-card__header::after {
    transform: rotate(225deg) translate(-1px, -1px)
}

.agent-college-course-card__header:hover {
    background: #fafbfd
}

.agent-college-course-card[open]>.agent-college-course-card__header {
    border-bottom-color: #edf1f5
}

@media(max-width:700px) {
    .agent-college-course-card__header {
        grid-template-columns: minmax(0, 1fr) 12px;
        gap: 10px
    }

    .agent-college-course-card__header>div:first-child {
        grid-column: 1 / -1
    }

    .agent-college-course-card__meta {
        grid-column: 1;
        justify-content: flex-start
    }

    .agent-college-course-card__header::after {
        grid-column: 2;
        grid-row: 2
    }
}

@media(max-width:767px) {
    .agent-college-profile .agent-colleges-layout {
        grid-template-columns:minmax(0,1fr);
        gap:14px;
    }

    .agent-college-profile .agent-universities-filter-panel {
        position:static;
        max-height:none;
        overflow:visible;
        padding:12px;
    }

    .agent-universities-filter-group {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .agent-universities-filter-group button {
        min-width:0;
        align-items:flex-start;
        font-size:12px;
    }

    .agent-universities-filter-group button span:first-child {
        min-width:0;
        overflow-wrap:anywhere;
    }

    .agent-college-profile .agent-university-profile__grid {
        grid-template-columns:minmax(0,1fr);
    }

    .agent-universities-accordion__title {
        overflow-wrap:anywhere;
    }
}

@media(max-width:420px) {
    .agent-college-profile .agent-universities-filter-group {
        grid-template-columns:minmax(0,1fr);
    }

    .agent-universities-accordion .accordion-button {
        gap:6px;
        padding:12px;
    }

    .agent-universities-accordion__meta {
        gap:7px;
        margin-left:4px;
    }

    .agent-universities-accordion__count {
        padding:4px 6px;
        font-size:.6rem;
    }
}

/* Keep the category image banner above the standard hero styling. */
.agent-college-profile__hero--has-image {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    padding: 28px 0 40px;
    background: #17324d
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image,
.agent-college-profile__hero--has-image .agent-college-profile__hero-image::after {
    position: absolute;
    inset: 0
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image {
    z-index: 0
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image::after {
    background: linear-gradient(90deg, rgba(10, 29, 47, .86), rgba(10, 29, 47, .66) 48%, rgba(10, 29, 47, .22)), linear-gradient(0deg, rgba(10, 29, 47, .32), transparent 60%);
    content: ""
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-content {
    position: relative;
    z-index: 1;
    width: 100%
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb,
.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a,
.agent-college-profile__hero--has-image .agent-college-profile__hero-grid>div:first-child>p {
    color: rgba(255, 255, 255, .84)
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a:hover {
    color: #fff
}

.agent-college-profile__hero--has-image h1 {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .14)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta span {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    backdrop-filter: blur(8px)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta i {
    color: #d9ebf7
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-mark {
    display: none
}

@media(max-width:700px) {
    .agent-college-profile__hero--has-image {
        min-height: 350px;
        padding: 24px 0 34px
    }

    .agent-college-profile__hero--has-image .agent-college-profile__hero-image img {
        object-position: 58% center
    }
}


.agent-college-profile__hero--has-image {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    padding: 28px 0 40px;
    background: #17324d
}

.agent-college-profile__hero-image,
.agent-college-profile__hero-image::after {
    position: absolute;
    inset: 0
}

.agent-college-profile__hero-image {
    z-index: 0
}

.agent-college-profile__hero-image::after {
    background: linear-gradient(90deg, rgba(10, 29, 47, .86) 0%, rgba(10, 29, 47, .66) 48%, rgba(10, 29, 47, .22) 100%), linear-gradient(0deg, rgba(10, 29, 47, .32), transparent 60%);
    content: ""
}

.agent-college-profile__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%
}

.agent-college-profile__hero-content {
    position: relative;
    z-index: 1;
    width: 100%
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb,
.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a,
.agent-college-profile__hero--has-image .agent-college-profile__hero-grid>div:first-child>p {
    color: rgba(255, 255, 255, .82)
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a:hover {
    color: #fff
}



.agent-college-profile__hero--has-image .agent-college-profile__hero h1,
.agent-college-profile__hero--has-image h1 {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .14)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta span {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    backdrop-filter: blur(8px)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta i {
    color: #d9ebf7
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-mark {
    display: none
}

@media(max-width:700px) {
    .agent-college-profile__hero--has-image {
        min-height: 350px;
        padding: 24px 0 34px
    }

    .agent-college-profile__hero-image img {
        object-position: 58% center
    }
}

@media(max-width:520px) {
    .agent-colleges-hero {
        padding: 43px 0
    }

    .agent-colleges-hero h1 {
        font-size: 34px
    }

    .agent-colleges-breadcrumb {
        margin-top: 16px;
        margin-bottom: 0
    }

    .agent-colleges-grid {
        grid-template-columns: 1fr
    }

    .agent-colleges-results__heading {
        align-items: center
    }

    .agent-college-card__cover {
        height: 180px
    }

    .agent-college-profile__hero-grid {
        grid-template-columns: 1fr
    }

    .agent-college-profile__hero-mark {
        display: none
    }

    .agent-college-profile__section-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .agent-college-subjects ul {
        grid-template-columns: 1fr
    }

    .agent-college-semester summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px
    }

    .agent-college-profile__content {
        padding-top: 40px
    }

    .agent-college-directory__college-link {
        flex-wrap: wrap
    }

    .agent-college-directory__college-link .agent-college-directory__badge {
        display: none
    }

    .agent-college-directory__college-row .agent-college-directory__college-link {
        font-size: 13px
    }
}


.agent-colleges-search {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    padding: 0 14px;
    border: 1px solid #dfe7ef;
    border-radius: 11px;
    background: #fff;
    color: #8293a4;
    box-shadow: 0 4px 14px rgba(15, 42, 67, .025)
}

.agent-colleges-search:focus-within {
    border-color: var(--agent-primary, #1f5f91);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--agent-primary, #1f5f91) 12%, transparent)
}

.agent-colleges-search>i {
    font-size: 14px
}

.agent-colleges-search input {
    width: 100%;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #28455f;
    font: inherit;
    font-size: 14px
}

.agent-colleges-search input::placeholder {
    color: #91a0af
}

.agent-colleges-search kbd {
    padding: 2px 7px;
    border: 1px solid #e4eaf0;
    border-radius: 5px;
    background: #f8fafc;
    color: #94a1af;
    font-size: 11px
}

/* Horizontal course-area tabs and a vertical college list */
.agent-colleges-directory {
    display: block;
    padding-top: 38px;
    padding-bottom: 72px
}

.agent-colleges-tabs {
    position: static;
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--directory-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: thin
}

.agent-colleges-tabs button {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 13px 15px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #536b82;
    font-size: 14px;
    font-weight: 550;
    white-space: nowrap
}

.agent-colleges-tabs button:hover {
    background: transparent;
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-tabs button.is-active {
    border-bottom-color: var(--agent-primary, #1f5f91);
    background: transparent;
    color: var(--agent-primary, #1f5f91);
    font-weight: 700
}

.agent-colleges-tabs__label {
    display: none
}

.agent-colleges-tab-count {
    margin-left: 0;
    padding: 2px 7px;
    border-radius: 99px;
    background: #f0f4f8;
    color: #72869a;
    font-size: 11px
}

.agent-colleges-tabs button.is-active .agent-colleges-tab-count {
    background: color-mix(in srgb, var(--agent-primary, #1f5f91) 11%, white);
    color: var(--agent-primary, #1f5f91)
}

.agent-colleges-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px
}

.agent-college-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
    border-radius: 13px
}

.agent-college-card__cover {
    height: auto;
    min-height: 180px
}

.agent-college-card__body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 21px
}

.agent-college-card h3 {
    font-size: 17px;
    font-weight: 700
}

.agent-college-card__description {
    min-height: 0;
    margin: 7px 0 11px;
    font-size: 13px
}

.agent-college-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    width: 100%;
    padding: 9px 0
}

.agent-college-card__stats span {
    font-size: 12px
}

.agent-college-card__link {
    align-self: flex-end;
    min-width: 150px;
    margin-top: auto;
    padding: 8px 11px;
    font-size: 13px
}

@media(max-width:700px) {
    .agent-colleges-directory {
        padding-top: 28px;
        padding-bottom: 55px
    }

    .agent-colleges-tabs {
        gap: 0;
        margin: 0 -4px 22px;
        padding: 0 4px;
        border-radius: 0
    }

    .agent-colleges-tabs button {
        gap: 7px;
        padding: 12px 13px
    }

    .agent-colleges-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .agent-college-card {
        grid-template-columns: 170px minmax(0, 1fr)
    }

    .agent-college-card__cover {
        height: auto;
        min-height: 170px
    }

    .agent-college-card__body {
        padding: 15px
    }
}

@media(max-width:520px) {
    .agent-college-card {
        grid-template-columns: minmax(0, 1fr)
    }

    .agent-college-card__cover {
        height: 165px;
        min-height: 165px
    }

    .agent-college-card__body {
        padding: 16px
    }

    .agent-college-card__link {
        align-self: stretch
    }

    .agent-colleges-results__heading {
        margin-bottom: 16px
    }
}

.agent-colleges-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 26px
}

.agent-colleges-places {
    position: sticky;
    top: 164px;
    display: grid;
    gap: 4px;
    padding: 13px 10px;
    /*  border: 1px solid var(--directory-border); */
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 42, 67, .04)
}

.agent-colleges-places__heading {
padding: 7px 9px 10px;
color: #686c6c;
  font-size: 13px;
  font-weight: 600;

}

.agent-colleges-places button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #536b82;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    transition: background .18s, color .18s
}

.agent-colleges-places button:hover {
    background: #f5f8fa;
    color: #234965
}

.agent-colleges-places button.is-active {
    background: color-mix(in srgb, var(--agent-primary, #1f5f91) 9%, white);
    color: var(--agent-primary, #1f5f91);
    font-weight: 700
}

.agent-colleges-place-count {
    color: #8798a8;
    font-size: 11px;
    font-variant-numeric: tabular-nums
}

.agent-colleges-places button.is-active .agent-colleges-place-count {
    color: var(--agent-primary, #1f5f91)
}

@media(max-width:700px) {
    .agent-colleges-layout {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .agent-colleges-places {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        margin: 0 -4px;
        padding: 7px;
        border-radius: 10px;
        scrollbar-width: thin
    }

    .agent-colleges-places__heading {
        flex: 0 0 auto;
        padding: 0 7px
    }

    .agent-colleges-places button {
        flex: 0 0 auto;
        gap: 7px;
        padding: 8px 9px;
        white-space: nowrap
    }
}

/* Show two college records on each row */
.agent-colleges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.agent-college-card {
    display: flex;
    min-width: 0;
    flex-direction: column
}

.agent-college-card__cover {
    height: 135px;
    min-height: 135px
}

.agent-college-card__body {
    min-width: 0;
    flex: 1;
    padding: 15px
}

.agent-college-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.agent-college-card__stats {
    gap: 7px;
    padding: 8px 0
}

.agent-college-card__stats span {
    font-size: 11px
}

@media(max-width:700px) {
    .agent-colleges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .agent-college-card {
        display: flex;
        grid-template-columns: none
    }

    .agent-college-card__cover {
        height: 125px;
        min-height: 125px
    }

    .agent-college-card__body {
        padding: 13px
    }
}

@media(max-width:520px) {
    .agent-colleges-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .agent-college-card__cover {
        height: 165px;
        min-height: 165px
    }

    .agent-college-card__body {
        padding: 16px
    }
}

.agent-colleges-tabs {
    position: sticky;
    top: 106px;
    z-index: 900;
    background: #fff;
    box-shadow: 0 8px 14px rgba(17, 43, 67, .035)
}

.agent-colleges-more {
    display: none
}

@media(max-width:700px) {
    .agent-colleges-tabs {
        overflow: visible;
        justify-content: flex-start
    }

    .agent-colleges-tabs>button:not(:first-of-type):not(.is-active) {
        display: none
    }

    .agent-colleges-more {
        position: relative;
        display: block;
        flex: 0 0 auto;
        margin-left: auto
    }

    .agent-colleges-more__toggle {
        display: flex;
        min-height: 42px;
        align-items: center;
        gap: 7px;
        padding: 9px 12px;
        border: 1px solid #dfe7ef;
        border-radius: 9px;
        background: #fff;
        color: #526b82;
        font: inherit;
        font-size: 13px;
        font-weight: 650;
        white-space: nowrap
    }

    .agent-colleges-more__toggle[aria-expanded=true] {
        border-color: var(--agent-primary, #1f5f91);
        color: var(--agent-primary, #1f5f91)
    }

    .agent-colleges-more__toggle i {
        font-size: 16px
    }

    .agent-colleges-more__menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 1100;
        display: grid;
        width: min(250px, calc(100vw - 32px));
        max-height: min(55vh, 380px);
        overflow: auto;
        padding: 6px;
        border: 1px solid #e1e8ef;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(15, 42, 67, .16)
    }

    .agent-colleges-more__menu[hidden] {
        display: none
    }

    .agent-colleges-more__menu button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px;
        border: 0;
        border-radius: 8px;
        background: #fff;
        color: #405d77;
        text-align: left;
        font: inherit;
        font-size: 13px;
        cursor: pointer
    }

    .agent-colleges-more__menu button:hover,
    .agent-colleges-more__menu button:focus-visible {
        background: #f2f6f9;
        color: var(--agent-primary, #1f5f91)
    }

    .agent-colleges-more__menu button span:last-child {
        color: #8294a5;
        font-size: 11px
    }
}

.agent-colleges-place-more {
    display: none
}

@media(max-width:700px) {
    .agent-colleges-places {
        overflow: visible;
        justify-content: flex-start
    }

    .agent-colleges-places>button:not(:first-of-type):not(.is-active) {
        display: none
    }

    .agent-colleges-place-more {
        position: relative;
        display: block;
        flex: 0 0 auto;
        margin-left: auto
    }

    .agent-colleges-place-more__toggle {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        padding: 0;
        border: 1px solid #dfe7ef;
        border-radius: 9px;
        background: #fff;
        color: #526b82
    }

    .agent-colleges-place-more__toggle[aria-expanded=true] {
        border-color: var(--agent-primary, #1f5f91);
        color: var(--agent-primary, #1f5f91)
    }

    .agent-colleges-place-more__toggle i {
        font-size: 17px
    }

    .agent-colleges-place-more__menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 1100;
        display: grid;
        width: min(220px, calc(100vw - 32px));
        max-height: min(55vh, 340px);
        overflow: auto;
        padding: 6px;
        border: 1px solid #e1e8ef;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(15, 42, 67, .16)
    }

    .agent-colleges-place-more__menu[hidden] {
        display: none
    }

    .agent-colleges-places .agent-colleges-place-more__menu button {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 9px;
        border: 0;
        border-radius: 7px;
        background: #fff;
        color: #405d77;
        font-size: 13px;
        text-align: left;
        white-space: normal
    }

    .agent-colleges-places .agent-colleges-place-more__menu button:hover,
    .agent-colleges-places .agent-colleges-place-more__menu button:focus-visible {
        background: #f2f6f9;
        color: var(--agent-primary, #1f5f91)
    }

    .agent-colleges-place-more__menu button span:last-child {
        color: #8294a5;
        font-size: 11px
    }
}

@media(max-width:700px) {
    .agent-colleges-places {
        flex-wrap: wrap;
        overflow: visible
    }

    .agent-colleges-places__heading {
        flex: 0 0 100%;
        padding: 2px 8px 5px
    }

    .agent-colleges-place-more {
        margin-left: auto
    }
}

@media(max-width:700px) {
    .agent-universities-filter-panel {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    .agent-universities-filter-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agent-universities-filter-group .agent-colleges-places__heading {
        grid-column: 1/-1;
    }

    .agent-universities-filter-panel button {
        min-width: 0;
        white-space: normal;
    }
}

/* Refined typography and spacing for college profile pages */
.agent-college-profile__hero {
    padding: 34px 0 48px;
    background: radial-gradient(ellipse at 88% 8%, rgba(31, 95, 145, .09), transparent 32%), linear-gradient(135deg, #f5f8fb, #fff 76%)
}

.agent-college-profile__hero h1 {
    max-width: 780px;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.04em
}

.agent-college-profile__hero-grid>div:first-child>p {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.7
}

.agent-college-profile__hero-mark {
    width: 140px;
    height: 140px;
    border: 1px solid rgba(31, 95, 145, .08);
    border-radius: 32px;
    box-shadow: 0 16px 38px rgba(19, 53, 81, .07)
}

.agent-college-profile__hero-mark span {
    font-size: 3.5rem;
    font-weight: 700
}

.agent-college-profile__content {
    padding-top: 44px;
    padding-bottom: 64px
}




.agent-college-course-card {
    margin-top: 16px;
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(15, 42, 67, .04)
}



.agent-college-course-card__semesters>h4 {
    font-weight: 650
}

.agent-college-semester summary {
    font-size: .82rem;
    font-weight: 650
}

.agent-college-profile__contact h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 680;
    letter-spacing: -.025em
}

@media(max-width:700px) {
    .agent-college-profile__hero {
        padding: 28px 0 36px
    }

    .agent-college-profile__content {
        padding-top: 34px;
        padding-bottom: 48px
    }

    .agent-college-course-card {
        padding: 17px
    }
}

/* Course listing presentation */
.agent-college-course-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-color: #dfe8ef;
    box-shadow: 0 12px 30px rgba(22, 50, 77, .055)
}

.agent-college-course-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--agent-primary, #1f5f91), #75a7c9);
    content: ""
}

.agent-college-course-card__header {
    align-items: center;
    padding: 23px 25px 20px 28px;
    background: linear-gradient(110deg, #f7fafc, #fff 72%);
    border-bottom: 1px solid #edf1f5
}

.agent-college-course-card__badges {
    gap: 7px;
    margin-bottom: 9px
}

.agent-college-course-card__badges span {
    padding: 3px 9px;
    background: #eaf1f6;
    color: var(--agent-primary, #1f5f91);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .025em;
}



.agent-college-course-card__meta {
    gap: 7px
}


.agent-college-course-card__overview,
.agent-college-course-card__eligibility {
    margin-right: 26px;
    margin-left: 28px;
    font-size: 14px;
}

.agent-college-course-card__semesters {
    margin: 21px 25px 0 28px;
    padding: 17px;
    border: 1px solid #e7edf2;
    border-radius: 13px;
    background: #fbfcfd
}

.agent-college-course-card__semesters>h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #294b67;
    font-size: 16px;
    letter-spacing: .005em;
    font-weight: 600;
}

.agent-college-course-card__semesters>h4::before {
    display: block;
    width: 4px;
    height: 17px;
    border-radius: 4px;
    background: var(--agent-primary, #1f5f91);
    content: ""
}

.agent-college-semester {
    overflow: hidden;
    border-color: #e3eaf0;
    border-radius: 10px;
    transition: border-color .18s, box-shadow .18s
}

.agent-college-semester[open] {
    border-color: #cbdbe7;
    background: #fff;
    box-shadow: 0 5px 14px rgba(22, 50, 77, .045)
}

.agent-college-semester summary {
    min-height: 48px;
    padding: 12px 14px;
    background: #fff;
    font-size: .81rem
}

.agent-college-semester summary::after {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 1.5px solid #8294a4;
    border-bottom: 1.5px solid #8294a4;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s
}

.agent-college-semester[open] summary::after {
    transform: rotate(225deg) translate(-1px, -1px)
}

.agent-college-semester summary>span:first-child {
    min-width: 0;
    font-weight: 600;
    font-size: 15px;
}

.agent-college-semester__fee {
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid #dceee4;
    border-radius: 7px;
    background: #f0f8f3;
    color: #28734d;
    font-size: .72rem;
    font-weight: 650
}

.agent-college-semester__body {
    padding: 12px 14px 15px;
    background: #fff;
    font-size: .81rem;
    line-height: 1.65
}

.agent-college-subjects>strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase
}

.agent-college-subjects ul {
    gap: 7px
}

.agent-college-subjects li {
    min-height: 36px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    background: #f8fafb;
    font-size: .76rem
}

.agent-college-course-card__no-semesters {
    margin: 18px 25px 0 28px;
    border: 1px solid #e8edf1;
    background: #f8fafb;
    line-height: 1.65;
    font-size: 14px;
    color: #91a1af;
}

.agent-college-course-card__footer {
    margin: 20px 25px 0 28px;
    padding: 14px 0 18px
}

.agent-college-course-card__footer>a {
    border: 1px solid #d8ebdf;
    border-radius: 8px;
    background: #f2f9f4;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s, border-color .18s, transform .18s
}

.agent-college-course-card__footer>a:hover {
    transform: translateY(-1px);
    border-color: #b8dcc6;
    background: #e9f5ed
}

@media(max-width:700px) {
    .agent-college-course-card__header {
        align-items: flex-start;
        padding: 19px 16px 16px 20px
    }

    .agent-college-course-card__header,
    .agent-college-course-card__meta {
        flex-direction: column
    }

    .agent-college-course-card__meta {
        justify-content: flex-start
    }

    .agent-college-course-card__overview,
    .agent-college-course-card__eligibility {
        margin-right: 16px;
        margin-left: 20px
    }

    .agent-college-course-card__semesters {
        margin-right: 14px;
        margin-left: 20px;
        padding: 12px
    }

    .agent-college-semester summary {
        flex-wrap: wrap;
        gap: 8px
    }

    .agent-college-semester__fee {
        margin-left: 24px
    }

    .agent-college-subjects ul {
        grid-template-columns: 1fr
    }

    .agent-college-course-card__no-semesters,
    .agent-college-course-card__footer {
        margin-right: 14px;
        margin-left: 20px
    }
}

/* Category image banner overrides the default college hero. */
.agent-college-profile__hero--has-image {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    padding: 28px 0 40px;
    background: #17324d
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image,
.agent-college-profile__hero--has-image .agent-college-profile__hero-image::after {
    position: absolute;
    inset: 0
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image {
    z-index: 0
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image::after {
    background: linear-gradient(90deg, rgba(10, 29, 47, .86), rgba(10, 29, 47, .66) 48%, rgba(10, 29, 47, .22)), linear-gradient(0deg, rgba(10, 29, 47, .32), transparent 60%);
    content: ""
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-content {
    position: relative;
    z-index: 1;
    width: 100%
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb,
.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a,
.agent-college-profile__hero--has-image .agent-college-profile__hero-grid>div:first-child>p {
    color: rgba(255, 255, 255, .84)
}

.agent-college-profile__hero--has-image .agent-colleges-breadcrumb a:hover {
    color: #fff
}

.agent-college-profile__hero--has-image h1 {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .14)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta span {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    backdrop-filter: blur(8px)
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-meta i {
    color: #d9ebf7
}

.agent-college-profile__hero--has-image .agent-college-profile__hero-mark {
    display: none
}

@media(max-width:700px) {
    .agent-college-profile__hero--has-image {
        min-height: 350px;
        padding: 24px 0 34px
    }

    .agent-college-profile__hero--has-image .agent-college-profile__hero-image img {
        object-position: 58% center
    }
}


.agent-college-programmes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px
}

.agent-college-programmes-grid>.agent-college-course-card,
.agent-college-programmes-grid>.agent-colleges-empty {
    min-width: 0;
    margin-top: 0
}

@media(max-width:800px) {
    .agent-college-programmes-grid {
        grid-template-columns: 1fr
    }
}

.agent-college-subjects ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    margin-top: 9px
}

.agent-college-subjects li {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 5px 11px;
    border: 0;
    border-radius: 999px;
    background: #e8edf5;
    color: var(--agent-primary, #1f5f91);
    font-size: 14px;
    line-height: 1.2
}

.agent-college-subjects li small {
    color: #718197;
    font-size: .64rem
}

.agent-college-course-card__header {
    grid-template-columns: minmax(0, 1fr) auto auto 12px
}

.agent-college-course-card__toggle-label {
    color: var(--agent-primary, #1f5f91);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline;
}

@media(max-width:700px) {
    .agent-college-course-card__header {
        grid-template-columns: minmax(0, 1fr) auto 12px
    }

    .agent-college-course-card__header>div:first-child {
        grid-column: 1 / -1
    }

    .agent-college-course-card__meta {
        grid-column: 1
    }

    .agent-college-course-card__toggle-label {
        grid-column: 2;
        grid-row: 2
    }

    .agent-college-course-card__header::after {
        grid-column: 3;
        grid-row: 2
    }
}

.agent-college-semester {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e5ecf2;
    border-radius: 10px;
    background: #fff
}

.agent-college-semester__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    background: #fbfcfd;
    color: #344b61;
    font-size: 15px;
    font-weight: 650
}

.agent-college-semester__heading span i {
    margin-right: 5px;
}




@media(max-width:500px) {
    .agent-college-semester__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px
    }
}

.agent-college-semester-table-wrap {
    overflow-x: auto;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    background: #fff
}

.agent-college-semester-table {
    width: 100%;
    min-width: 500px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #43566a;
    font-size: .75rem
}

.agent-college-semester-table th,
.agent-college-semester-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf0f3;
    text-align: left;
    vertical-align: top
}

.agent-college-semester-table thead th {
    background: #f8f9fb;
    color: #183651;
    font-size: 15px;
    font-weight: 600;
}

.agent-college-semester-table tbody tr:last-child th,
.agent-college-semester-table tbody tr:last-child td {
    border-bottom: 0
}

.agent-college-semester-table tbody tr:hover {
    background: #fcfcfd
}

.agent-college-semester-table tbody th {
    width: 22%;
    color: #344b61;
    font-weight: 600;
    font-size: 14px;
}

.agent-college-semester-table tbody th small,
.agent-college-semester-table__fee small {
    display: block;
    margin-top: 4px;
    color: #8693a0;
    font-size: .66rem;
    font-weight: 400;
    line-height: 1.45
}

.agent-college-semester-table td:nth-child(2) {
    width: 54%
}

.agent-college-semester-table__subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.agent-college-semester-table__subjects>span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e8edf5;
    color: #33485f;
    font-size: 13px;
    line-height: 1.3
}

.agent-college-semester-table__subjects small {
    color: #718197;
    font-size: .59rem;
    white-space: nowrap
}

.agent-college-semester-table__fee {
    width: 24%;
    color: #183651;
    font-weight: 600;
    white-space: nowrap;
    font-size: 13px;
}

.agent-college-semester-table__fee>span {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 6px;
    background: #faf7f0;
    color: #79643d;
    font-size: .66rem
}

.agent-college-semester-table__muted {
    color: #8a96a2;
    font-size: .69rem
}

@media(max-width:700px) {
    .agent-college-semester-table {
        min-width: 475px
    }

    .agent-college-semester-table th,
    .agent-college-semester-table td {
        padding: 9px
    }
}

.agent-college-profile__contact {
    background: linear-gradient(115deg, #17324d, #1d3c59);
    color: #fff
}

.agent-college-profile__contact h2 {
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -.025em
}

.agent-college-profile__contact p {
    color: #d3dee7
}

.agent-college-profile__contact a {
    flex: 0 0 auto
}

@media(max-width:700px) {
    .agent-college-profile__contact {
        padding: 30px 0
    }

    .agent-college-profile__contact>.container {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px
    }
}

@media(max-width:700px) {
    .agent-college-semester-table-wrap {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #b8c1cb #f0f2f5
    }

    .agent-college-semester-table-wrap::-webkit-scrollbar {
        height: 6px
    }

    .agent-college-semester-table-wrap::-webkit-scrollbar-track {
        background: #f0f2f5;
        border-radius: 8px
    }

    .agent-college-semester-table-wrap::-webkit-scrollbar-thumb {
        background: #b8c1cb;
        border-radius: 8px
    }

    .agent-college-semester-table {
        min-width: 470px;
        table-layout: fixed
    }

    .agent-college-semester-table th,
    .agent-college-semester-table td {
        padding: 8px 9px
    }

    .agent-college-semester-table__subjects {
        gap: 5px
    }

    .agent-college-semester-table__subjects>span {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere
    }
}

@media(max-width:700px) {
    .agent-college-semester-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent
    }

    .agent-college-semester-table,
    .agent-college-semester-table tbody,
    .agent-college-semester-table tr,
    .agent-college-semester-table th,
    .agent-college-semester-table td {
        display: block;
        width: 100%;
        min-width: 0
    }

    .agent-college-semester-table {
        border-spacing: 0
    }

    .agent-college-semester-table thead {
        display: none
    }

    .agent-college-semester-table tbody tr {
        overflow: hidden;
        margin-bottom: 10px;
        border: 1px solid #e6eaf0;
        border-radius: 9px;
        background: #fff
    }

    .agent-college-semester-table tbody tr:last-child {
        margin-bottom: 0
    }

    .agent-college-semester-table tbody th,
    .agent-college-semester-table tbody td {
        padding: 9px 11px;
        border-bottom: 1px solid #edf0f3
    }

    .agent-college-semester-table tbody tr> :last-child {
        border-bottom: 0
    }

    .agent-college-semester-table tbody th {
        background: #f8f9fb;
        color: #344b61
    }

    .agent-college-semester-table tbody th::before,
    .agent-college-semester-table tbody td::before {
        display: block;
        margin-bottom: 5px;
        color: #7b8997;
        font-size: .61rem;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase
    }

    .agent-college-semester-table tbody th::before {
        content: "Semester"
    }

    .agent-college-semester-table tbody td:nth-child(2)::before {
        content: "Subjects"
    }

    .agent-college-semester-table tbody td:nth-child(3)::before {
        content: "Fee"
    }

    .agent-college-semester-table tbody th small {
        margin-top: 3px
    }

    .agent-college-semester-table__subjects {
        gap: 6px
    }
}

@media(max-width:700px) {

    .agent-college-semester-table tbody tr>th,
    .agent-college-semester-table tbody tr>td {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%
    }
}

.agent-university-profile {
    color: #263b4f
}

.agent-university-profile__hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 54px;
    border-bottom: 1px solid #e6ebf0;
    background: radial-gradient(ellipse at 84% 8%, rgba(31, 95, 145, .1), transparent 35%), linear-gradient(135deg, #f4f8fb, #fff 75%)
}

.agent-university-profile__hero--has-image {
    display: flex;
    min-height: 380px;
    align-items: center;
    background: #17324d
}

.agent-university-profile__hero-image,
.agent-university-profile__hero-image::after {
    position: absolute;
    inset: 0
}

.agent-university-profile__hero-image {
    z-index: 0
}

.agent-university-profile__hero-image::after {
    background: linear-gradient(90deg, rgba(10, 29, 47, .87), rgba(10, 29, 47, .65) 52%, rgba(10, 29, 47, .2));
    content: ""
}

.agent-university-profile__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%
}

.agent-university-profile__hero-content {
    position: relative;
    z-index: 1;
    width: 100%
}

.agent-university-profile__hero>div p,
.agent-university-profile__hero-content>p {
    max-width: 720px;
    margin: 0;
    color: #65798d;
}

.agent-university-profile__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px
}

.agent-university-profile__stats>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid #e1e8ef;
    border-radius: 999px;
    background: #fff;
    color: #536b81;
    font-size: .74rem
}

.agent-university-profile__stats strong {
    color: #183651;
    font-weight: 700
}

.agent-university-profile__hero--has-image .agent-university-profile__breadcrumb,
.agent-university-profile__hero--has-image .agent-university-profile__breadcrumb a,
.agent-university-profile__hero--has-image .agent-university-profile__eyebrow,
.agent-university-profile__hero--has-image .agent-university-profile__hero-content>p {
    color: rgba(255, 255, 255, .84)
}

.agent-university-profile__hero--has-image .agent-university-profile__hero h1 {
    color: #fff
}

.agent-university-profile__hero--has-image .agent-university-profile__stats strong {
    color: #fff
}

.agent-university-profile__content {
    padding-top: 44px;
    padding-bottom: 72px
}

.agent-university-profile__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px
}

.agent-university-profile__heading p {
    margin: 6px 0 0;
    color: #728296;
    font-size: 14px;
}

.agent-university-profile__count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #e2e8ef;
    border-radius: 999px;
    color: #6b7d8f;
    font-size: .72rem
}

.agent-university-profile__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.agent-university-college {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 19px;
    border: 1px solid #e2e9ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(22, 50, 77, .035);
    color: inherit;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, border-color .18s
}

.agent-university-college__icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: #f1f5f8;
    color: var(--agent-primary, #1f5f91)
}

.agent-university-college__body {
    display: block;
    min-width: 0;
    flex: 1
}

.agent-university-college__location {
    display: block;
    margin-bottom: 5px;
    color: #8190a0;
    font-size: 12px;
}

.agent-university-college__location i {
    margin-right: 5px
}

.agent-university-college__body>strong {
    display: block;
    color: #1d3851;
    font-size: 18px;
    font-weight: 680;
    line-height: 1.4
}

.agent-university-college__description {
    display: block;
    margin-top: 6px;
    color: #748395;
    font-size: 14px;
    line-height: 1.55
}

.agent-university-college__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #edf0f3;
    color: #748395;
    font-size: .7rem
}

.agent-university-college__footer>span:last-child {
    color: var(--agent-primary, #1f5f91);
    font-weight: 500;
    font-size: 12px;
}

.agent-university-college__footer i {
    margin-left: 4px;
    font-size: .65rem
}

.agent-university-profile__empty {
    padding: 24px;
    border: 1px dashed #dce4eb;
    border-radius: 12px;
    color: #788899;
    text-align: center
}

.agent-universities-filter-group {
    display: grid;
    gap: 4px;
}

.agent-universities-filter-panel {
    position: sticky;
    top: 145px;
    align-self: start;
    max-height: calc(100vh - 165px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.agent-universities-filter-panel .agent-colleges-places__heading:not(:first-child) {
    padding-top: 16px;
}

.agent-universities-results {
    min-width: 0;
}

.agent-universities-results__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 14px 17px;
    border-radius: 13px;
    color: #64788b;
    font-size: 15px;
    text-decoration: underline;
}

.agent-universities-results__summary strong {
    color: #254761;
    font-size: 12px;
}

.agent-universities-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 11px;
    border: 1px solid #e9eef3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(22, 50, 77, .025);
}

.agent-universities-accordion .accordion-button {
    gap: 14px;
    padding: 15px 18px;
    border: 0;
    background: #fff;
    color: #36536b;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: none;
}

.agent-universities-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: #36536b;
}
.agent-universities-accordion .accordion-button::after { display: none; }

.agent-universities-accordion .accordion-button:focus {
    box-shadow: none;
}

.agent-universities-accordion .accordion-button:focus-visible {
    outline: 2px solid #dce7ef;
    outline-offset: -2px;
}

.agent-universities-accordion__title {
    display: block;
    color: #29475f;
    font-size: 16px;
    font-weight: 600;
}

.agent-universities-accordion__location {
display: block;
  margin-top: 12px;
  color: #8795a3;
  font-size: 14px;
  font-weight: 500;
}

.agent-universities-accordion__meta { display:inline-flex; flex:0 0 auto; align-items:center; gap:12px; margin-left:12px; }

.agent-universities-accordion__count {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #e9eef3;
    border-radius: 999px;
    background: #fbfcfd;
    color: #748596;
    font-size: 12px;
    font-weight: 600;
}
.agent-universities-accordion__icon { color:#8a9aaa; font-size:.72rem; transition:transform .2s ease; }
.agent-universities-accordion .accordion-button:not(.collapsed) .agent-universities-accordion__icon { transform:rotate(180deg); }

.agent-universities-accordion .accordion-body {
    padding: 17px 18px;
    border-top: 1px solid #eef2f5;
}

.agent-universities-accordion .accordion-body>p:first-child {
    color: #738394;
    font-size: 15px;
    line-height: 1.7;
}

.agent-universities-accordion .accordion-body>p a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    color: #6685a0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.agent-universities-accordion .accordion-body>p a:hover {
    text-decoration: underline;
}

.agent-universities-accordion [data-university-college][hidden],
.agent-universities-accordion [data-university-item][hidden] {
    display: none !important;
}

@media(max-width:700px) {
    .agent-universities-accordion .accordion-button {
        gap: 8px;
        padding: 13px 14px;
    }

    .agent-universities-accordion .accordion-body {
        padding: 14px;
    }

    .agent-universities-accordion__title {
        font-size: .88rem;
    }

    .agent-universities-accordion__count {
        padding: 5px 8px;
        font-size: 12px;
    }
}

@media(max-width:700px) {
    .agent-university-profile__hero {
        padding: 34px 0 40px
    }

    .agent-university-profile__hero--has-image {
        min-height: 340px
    }

    .agent-university-profile__breadcrumb {
        margin-bottom: 24px
    }

    .agent-university-profile__content {
        padding-top: 32px;
        padding-bottom: 50px
    }

    .agent-university-profile__heading {
        align-items: flex-start;
        flex-direction: column
    }

    .agent-university-profile__grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .agent-university-college {
        padding: 16px
    }

    .agent-college-profile__hero h1 {
        font-size: 43px;
        font-weight: 600;
    }
}

.agent-universities-directory { display:grid; grid-template-columns:270px minmax(0,1fr); align-items:start; gap:26px; }
.agent-universities-filter-toggle { display:none; position:fixed; top:48%; right:0; z-index:1035; align-items:center; gap:9px; padding:13px 15px; border:1px solid #e2e9ef; border-right:0; border-radius:12px 0 0 12px; background:#fff; color:#36536b; box-shadow:0 8px 28px rgba(22,50,77,.14); font-size:.82rem; font-weight:650; transition:padding .18s ease,box-shadow .18s ease; }
.agent-universities-filter-toggle:hover { padding-right:19px; box-shadow:0 10px 32px rgba(22,50,77,.2); }
.agent-universities-filter-toggle>i { color:#6685a0; }
.agent-universities-filter-toggle__count { display:grid; width:19px; height:19px; place-items:center; border-radius:50%; background:#eaf1f6; color:#48657d; font-size:.65rem; }
.agent-universities-filter-backdrop { display:none; position:fixed; inset:0; z-index:1040; background:rgba(21,38,54,.34); backdrop-filter:blur(2px); }
.agent-universities-filter-backdrop[hidden] { display:none; }
.agent-universities-filter-panel { position:sticky; top:164px; z-index:auto; display:grid; width:auto; max-height:calc(100vh - 180px); overflow-y:auto; padding:13px 10px; border:1px solid #edf1f4; border-radius:13px; background:#fff; box-shadow:0 8px 24px rgba(15,42,67,.04); transform:none; visibility:visible; transition:none; }
.agent-universities-filter-panel.is-open { transform:none; visibility:visible; }
.agent-universities-filter-panel__header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; padding-bottom:15px; border-bottom:1px solid #edf1f4; }
.agent-universities-filter-panel__header .agent-colleges-places__heading { padding:0; }
.agent-universities-filter-panel__header h2 { margin: 4px 0 0;
  color: #29475f;
  font-size: 20px;
  font-weight: 650;}
.agent-universities-filter-close { display:grid; width:38px; height:38px; flex:0 0 auto; place-items:center; border:1px solid #e8edf2; border-radius:50%; background:#fff; color:#718394; }
.agent-universities-filter-close:hover { background:#f6f8fa; color:#36536b; }
.agent-universities-filter-panel .agent-universities-filter-group { margin-top:12px; padding-top:8px; border-top:1px solid #f0f3f5; }
.agent-universities-filter-panel .agent-universities-filter-group button { width:100%; }
.agent-universities-filter-panel__header .agent-universities-filter-close { display:none; }
@media(max-width:767px) {
    .agent-universities-directory { grid-template-columns:minmax(0,1fr); gap:0; }
    .agent-universities-filter-toggle { display:inline-flex; top:auto; right:14px; bottom:88px; padding:13px 16px; border:1px solid #e2e9ef; border-radius:999px; }
    .agent-universities-filter-backdrop:not([hidden]) { display:block; }
    .agent-college-profile .agent-universities-filter-panel { position:fixed; top:0; right:0; bottom:0; z-index:1045; display:block; width:min(390px,100vw); max-height:none; overflow-y:auto; padding:18px; border:0; border-radius:18px 0 0 18px; box-shadow:-16px 0 48px rgba(20,42,62,.16); transform:translateX(100%); visibility:hidden; transition:transform .24s ease,visibility .24s ease; }
    .agent-college-profile .agent-universities-filter-panel.is-open { transform:translateX(0); visibility:visible; }
    .agent-universities-filter-panel__header .agent-universities-filter-close { display:grid; }
    .agent-universities-filter-open { overflow:hidden; }
}
