/* =========================================================
   FIND COLLEGES PAGE
========================================================= */

:root {
    --fc-primary: #041b4b;
    --fc-primary-dark: #08193b;
    --fc-primary-soft: #edf4ff;

    --fc-dark: #101828;
    --fc-text: #475467;
    --fc-muted: #667085;

    --fc-border: #e4e7ec;
    --fc-bg: #f6f8fc;
    --fc-white: #ffffff;

    --fc-radius: 16px;
}


/* =========================================================
   GLOBAL
========================================================= */

.vs-find-colleges-page,
.vs-find-colleges-page * {
    box-sizing: border-box;
}

.vs-find-colleges-page {
    width: 100%;

    padding: 55px 0 75px;

    background: var(--fc-bg);

    overflow-x: hidden;
}

.vs-find-colleges-page img {
    display: block;

    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.vs-find-hero {
    position: relative;

    overflow: hidden;

    margin-bottom: 25px;

    padding: 38px 42px;

    border-radius: 22px;

    background:
        linear-gradient(135deg, #021844, #dbb422);

    color: white;
}

.vs-find-hero::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -65px;
    top: -75px;

    border-radius: 50%;

    background: rgba(255,255,255,.09);
}

.vs-find-hero > div {
    position: relative;

    z-index: 1;

    max-width: 750px;
}

.vs-find-eyebrow {
    display: inline-block;

    margin-bottom: 9px;

    padding: 6px 10px;

    border: 1px solid rgba(255,255,255,.22);

    border-radius: 20px;

    background: rgba(255,255,255,.1);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.vs-find-hero h1 {
    margin: 0 0 9px;

    color: white;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.vs-find-hero p {
    margin: 0;

    max-width: 650px;

    color: rgba(255,255,255,.82);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   FILTER CARD
========================================================= */

.vs-find-filter-card {
    margin-bottom: 30px;

    padding: 22px;

    border: 1px solid var(--fc-border);

    border-radius: var(--fc-radius);

    background: var(--fc-white);

    box-shadow:
        0 8px 28px rgba(16,24,40,.05);
}


.vs-find-filter-form {
    display: grid;

    grid-template-columns:
        minmax(220px, 1.6fr)
        repeat(5, minmax(125px, 1fr));

    gap: 12px;
}


/* =========================================================
   FORM
========================================================= */

.vs-find-field {
    min-width: 0;
}

.vs-find-field label {
    display: block;

    margin-bottom: 6px;

    color: var(--fc-text);

    font-size: 10px;
    font-weight: 700;
}

.vs-find-field input,
.vs-find-field select {
    width: 100%;
    max-width: 100%;

    min-height: 46px;

    padding: 10px 12px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    background: white;

    color: var(--fc-dark);

    font-size: 12px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.vs-find-field input:focus,
.vs-find-field select:focus {
    border-color: var(--fc-primary);

    box-shadow:
        0 0 0 3px rgba(24,86,216,.08);
}


/* SEARCH */

.vs-find-search-wrap {
    position: relative;
}

.vs-find-search-wrap i {
    position: absolute;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;

    pointer-events: none;
}

.vs-find-search-wrap input {
    padding-left: 36px;
}


/* =========================================================
   FILTER ACTIONS
========================================================= */

.vs-find-actions {
    grid-column: 1 / -1;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    padding-top: 3px;
}

.vs-find-search-btn,
.vs-find-reset-btn {
    min-height: 45px;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
}


.vs-find-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0;

    background: var(--fc-primary);

    color: white;

    cursor: pointer;
}

.vs-find-search-btn:hover {
    background: var(--fc-primary-dark);
}


.vs-find-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--fc-border);

    background: white;

    color: var(--fc-text);

    text-decoration: none;
}


/* =========================================================
   RESULT HEADER
========================================================= */

.vs-find-result-head {
    margin-bottom: 18px;
}

.vs-find-result-head span {
    display: block;

    margin-bottom: 4px;

    color: var(--fc-primary);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.vs-find-result-head h2 {
    margin: 0 0 5px;

    color: var(--fc-dark);

    font-size: 24px;
}

.vs-find-result-head p {
    margin: 0;

    color: var(--fc-muted);

    font-size: 12px;
}


/* =========================================================
   ACTIVE FILTERS
========================================================= */

.vs-find-active-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.vs-find-active-filters span {
    padding: 7px 10px;

    border-radius: 6px;

    background: var(--fc-primary-soft);

    color: var(--fc-primary);

    font-size: 10px;
}


/* =========================================================
   GRID
========================================================= */

.vs-find-college-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   CARD
========================================================= */

.vs-find-college-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--fc-border);

    border-radius: 16px;

    background: white;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.vs-find-college-card:hover {
    transform: translateY(-3px);

    border-color: #bdcbee;

    box-shadow:
        0 12px 30px rgba(16,24,40,.08);
}


/* =========================================================
   IMAGE
========================================================= */

.vs-find-college-image {
    position: relative;

    display: block;

    width: 100%;
    height: 195px;

    overflow: hidden;

    background: #eef2f7;
}

.vs-find-college-image > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.vs-find-college-card:hover
.vs-find-college-image > img {
    transform: scale(1.04);
}


/* PLACEHOLDER */

.vs-find-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            #edf3ff,
            #f8faff
        );
}

.vs-find-image-placeholder img {
    width: 95px;
    height: 95px;

    object-fit: contain;
}

.vs-find-image-placeholder span {
    color: var(--fc-primary);

    font-size: 55px;
    font-weight: 800;
}


/* FEATURED */

.vs-find-featured {
    position: absolute;

    top: 13px;
    left: 13px;

    padding: 6px 10px;

    border-radius: 6px;

    background: #fff3df;

    color: #9a5000;

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   BODY
========================================================= */

.vs-find-college-body {
    padding: 18px;
}


.vs-find-college-top {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    min-width: 0;
}


/* LOGO */

.vs-find-college-logo {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--fc-border);

    border-radius: 8px;

    background: white;
}

.vs-find-college-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* TITLE */

.vs-find-college-title {
    flex: 1;

    min-width: 0;
}

.vs-find-college-title h3 {
    margin: 0 0 5px;

    font-size: 15px;
    line-height: 1.4;
}

.vs-find-college-title h3 a {
    color: var(--fc-dark);

    text-decoration: none;
}

.vs-find-college-title h3 a:hover {
    color: var(--fc-primary);
}

.vs-find-college-title p {
    display: flex;
    align-items: flex-start;

    gap: 5px;

    margin: 0;

    color: var(--fc-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   TAGS
========================================================= */

.vs-find-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 14px;
}

.vs-find-tags span {
    padding: 6px 9px;

    border-radius: 6px;

    background: #f5f7fa;

    color: var(--fc-text);

    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   COURSES
========================================================= */

.vs-find-courses {
    margin-top: 15px;

    padding-top: 13px;

    border-top: 1px solid #eef0f3;
}

.vs-find-courses small {
    display: block;

    margin-bottom: 7px;

    color: var(--fc-muted);

    font-size: 9px;
}

.vs-find-courses > div {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;
}

.vs-find-courses span {
    padding: 5px 8px;

    border-radius: 5px;

    background: var(--fc-primary-soft);

    color: var(--fc-primary);

    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   ACTIONS
========================================================= */

.vs-find-card-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-top: 17px;
}

.vs-find-card-actions a {
    min-height: 41px;

    padding: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    text-align: center;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
}

.vs-find-view-btn {
    border: 1px solid var(--fc-primary);

    color: var(--fc-primary);
}

.vs-find-view-btn:hover {
    background: var(--fc-primary-soft);
}

.vs-find-enquire-btn {
    background: var(--fc-primary);

    color: white;
}

.vs-find-enquire-btn:hover {
    background: var(--fc-primary-dark);

    color: white;
}


/* =========================================================
   EMPTY
========================================================= */

.vs-find-empty {
    grid-column: 1 / -1;

    padding: 55px 25px;

    border: 1px solid var(--fc-border);

    border-radius: var(--fc-radius);

    background: white;

    text-align: center;
}

.vs-find-empty > div {
    width: 58px;
    height: 58px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--fc-primary-soft);

    color: var(--fc-primary);

    font-size: 22px;
}

.vs-find-empty h3 {
    margin: 0 0 6px;

    color: var(--fc-dark);

    font-size: 20px;
}

.vs-find-empty p {
    margin: 0 0 14px;

    color: var(--fc-muted);

    font-size: 12px;
}

.vs-find-empty a {
    color: var(--fc-primary);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   SMALL LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .vs-find-filter-form {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .vs-find-search-field {
        grid-column: span 2;
    }

    .vs-find-college-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .vs-find-colleges-page {
        padding: 40px 0 60px;
    }

    .vs-find-hero {
        padding: 32px;
    }

    .vs-find-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vs-find-search-field {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .vs-find-colleges-page {
        padding: 28px 0 50px;
    }

    .vs-find-hero {
        padding: 28px 22px;

        border-radius: 16px;
    }

    .vs-find-hero h1 {
        font-size: 29px;
    }

    .vs-find-filter-card {
        padding: 15px;
    }

    .vs-find-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vs-find-search-field {
        grid-column: 1 / -1;
    }

    .vs-find-actions {
        flex-direction: column;
    }

    .vs-find-search-btn,
    .vs-find-reset-btn {
        width: 100%;
    }

    .vs-find-college-grid {
        grid-template-columns: 1fr;
    }

    .vs-find-college-image {
        height: 215px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .vs-find-filter-form {
        grid-template-columns: 1fr;
    }

    .vs-find-search-field {
        grid-column: auto;
    }

    .vs-find-hero h1 {
        font-size: 25px;
    }

    .vs-find-college-image {
        height: 190px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .vs-find-hero {
        padding: 24px 17px;
    }

    .vs-find-card-actions {
        grid-template-columns: 1fr;
    }

    .vs-find-college-image {
        height: 170px;
    }

}