/* Institution directory, grade calculator and editorial profiles. */
.grade-fields   {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.grade-field label   {
    display:block;
    font-size:12px;
    font-weight:650;
    margin-bottom:8px;
}

.grade-input   {
    position:relative;
}

.grade-input input   {
    width:100%;
    border:1px solid #d6dfce;
    background:#f8faf5;
    border-radius:9px;
    height:63px;
    padding:10px 12px 10px 26px;
    color:var(--ink);
    font-size:22px;
    text-align:right;
    direction:ltr;
    font-variant-numeric:tabular-nums;
}

.grade-input input::placeholder   {
    color:#a2ae96;
    font-weight:400;
}

.grade-input>span   {
    position:absolute;
    left:9px;
    top:18px;
    color:#91a180;
    font-size:16px;
}

.formula-explanation   {
    display:flex;
    align-items:center;
    gap:12px;
    margin:18px 0 23px;
    padding:13px;
    border-radius:10px;
    background:#f5f6ef;
    color:#7c8a6c;
}

.formula-explanation p   {
    font-size:12px;
    line-height:1.8;
}

.formula-explanation strong   {
    color:var(--green);
    font-weight:500;
}

.weighted-examples   {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.weighted-examples>div   {
    padding:20px 12px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    text-align:center;
}

.weighted-examples strong   {
    display:block;
    font-size:28px;
    color:var(--green);
    direction:ltr;
}

.weighted-examples span   {
    display:block;
    font-size:12px;
    color:var(--body);
    margin-top:5px;
}

.examples-hint   {
    margin:12px 0 24px;
    font-size:12px;
}

.directory-tabs   {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:22px;
}

.directory-tabs a   {
    padding:8px 23px;
    border:1px solid #dde4d4;
    border-radius:30px;
    background:#fff;
    font-size:13px;
    color:#748565;
}

.directory-tabs a.selected,.directory-tabs a:hover   {
    background:var(--green);
    color:#fff;
    border-color:var(--green);
}

.directory-filters   {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr)) auto;
    gap:9px;
}

.directory-filters .search-field   {
    min-width:0;
    grid-column:1/-1;
}

.directory-filters .filter-select   {
    min-width:0;
}

.directory-filters select   {
    font-size:12px;
}

.institution-card   {
    padding:0;
    overflow:hidden;
}

.institution-cover   {
    position:relative;
    display:block;
    background:linear-gradient(135deg,#dce6d0,#e9eada);
    height:166px;
    overflow:hidden;
}

.institution-cover>img   {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s;
}

.institution-cover:hover>img   {
    transform:scale(1.035);
}

.institution-cover .logo-cover   {
    padding:30px 50px;
    object-fit:contain;
    opacity:.7;
    background:#eef2e7;
}

.cover-pattern   {
    height:100%;
    display:grid;
    place-items:center;
    color:#b7c6a9;
    background-image:radial-gradient(#c5d1b7 1px,transparent 1px);
    background-size:12px 12px;
}

.cover-kind   {
    position:absolute;
    bottom:12px;
    right:16px;
    background:#ffffffed;
    color:var(--ink);
    padding:4px 11px;
    border-radius:6px;
    font-size:11px;
}

.institution-card-body   {
    display:flex;
    flex-direction:column;
    flex:1;
    padding:0 22px;
}

.institution-card .card-top   {
    margin-top:-22px;
    position:relative;
    align-items:flex-end;
}

.institution-card .card-top>.badge   {
    margin-bottom:4px;
}

.institution-logo   {
    width:98px;
    height:74px;
    background:#fff;
    border:1px solid #e2e6db;
    border-radius:10px;
    padding:7px;
    display:grid;
    place-items:center;
    box-shadow:0 3px 8px #173e3506;
}

.institution-logo img   {
    object-fit:contain;
    width:100%;
    height:100%;
    max-height:58px;
}

.logo-unavailable   {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    color:#91a37d;
}

.logo-unavailable small   {
    font-size:9px;
    letter-spacing:1px;
}

.institution-card h3   {
    margin-top:15px;
    min-height:52px;
    font-size:17px;
}

.institution-card h3 a:hover   {
    text-decoration:underline;
    text-underline-offset:4px;
}

.institution-excerpt   {
    color:#819074;
    font-size:12px;
    line-height:1.9;
    margin:13px 0 18px;
}

.institution-card .university-link   {
    margin-top:auto;
    font-size:12px;
}

.institution-card .university-location   {
    font-size:12px;
}

.breadcrumbs   {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
    color:#819373;
    margin-bottom:30px;
}

.breadcrumbs a:hover   {
    text-decoration:underline;
}

.breadcrumbs span[aria-current]   {
    color:var(--ink);
}

.directory-page-hero   {
    background:#edf1e5;
    border-bottom:1px solid #dfe6d5;
    padding:30px 0 42px;
}

.directory-page-hero h1   {
    font-size:38px;
    margin-top:7px;
    letter-spacing:-1px;
}

.directory-page-hero p   {
    max-width:800px;
    font-size:15px;
    color:#718363;
    margin-top:13px;
    line-height:1.95;
}

.directory-total   {
    display:inline-block;
    margin-top:20px;
    padding:5px 13px;
    background:#fff9;
    border:1px solid #d9e2cc;
    border-radius:30px;
    color:#7d8f6b;
    font-size:12px;
}

.directory-guide   {
    margin-bottom:65px;
    padding:27px;
    background:#eef2e7;
    border:1px solid #dfe7d4;
    border-radius:14px;
}

.directory-guide h2   {
    font-size:22px;
    margin-bottom:10px;
}

.directory-guide p   {
    color:#738365;
    font-size:14px;
    line-height:2;
}

.directory-guide .text-link   {
    margin-top:17px;
}

.profile-hero   {
    padding:29px 0 0;
    background:#edf1e6;
    border-bottom:1px solid #dce4d1;
}

.profile-heading   {
    display:flex;
    align-items:center;
    gap:26px;
    padding-bottom:32px;
}

.profile-logo   {
    width:160px;
    height:130px;
    background:#fff;
    border:1px solid #e0e6d8;
    padding:16px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    flex-shrink:0;
}

.profile-logo img   {
    width:100%;
    height:100%;
    object-fit:contain;
}

.profile-logo small   {
    font-size:12px;
    color:#9eac90;
}

.profile-badges   {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}

.profile-badges .badge   {
    font-size:12px;
    padding:5px 10px;
    background:#e0e9d7;
}

.profile-badges .badge-sand   {
    background:#ebe5d3;
}

.profile-heading h1   {
    font-size:34px;
    letter-spacing:-.8px;
}

.profile-heading p   {
    font-size:14px;
    color:#7c8d6d;
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:11px;
}

.profile-jump-links   {
    display:flex;
    gap:30px;
    font-size:13px;
    font-weight:600;
}

.profile-jump-links a   {
    padding-bottom:17px;
    border-bottom:3px solid transparent;
}

.profile-jump-links a:hover   {
    border-color:var(--green);
}

.profile-layout   {
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:36px;
    align-items:start;
    padding-top:36px;
}

.profile-main   {
    min-width:0;
}

.profile-photo   {
    margin:0 0 30px;
}

.profile-photo img   {
    width:100%;
    height:auto;
    max-height:420px;
    object-fit:cover;
    border-radius:13px;
    display:block;
}

.profile-photo figcaption   {
    font-size:10px;
    color:#95a288;
    margin-top:8px;
}

.profile-photo figcaption a   {
    text-decoration:underline;
}

.profile-section   {
    background:#fff;
    border:1px solid #e1e6da;
    border-radius:13px;
    padding:29px;
    margin-bottom:24px;
}

.profile-section h2   {
    font-size:24px;
    margin-bottom:16px;
}

.profile-section>.eyebrow   {
    margin-bottom:8px;
}

.profile-section>p   {
    font-size:15px;
    color:#6d7d60;
    line-height:2.1;
    margin-bottom:15px;
}

.profile-section .profile-source   {
    font-size:12px;
    color:#93a185;
    border-top:1px solid #edf0e6;
    padding-top:16px;
    margin-bottom:0;
}

.profile-source a   {
    color:var(--green);
    text-decoration:underline;
    text-underline-offset:3px;
}

.profile-info   {
    display:flex;
    align-items:flex-start;
    gap:12px;
    background:#edf3e7;
    color:#718564;
    border:1px solid #dbe7d0;
    padding:16px;
    border-radius:10px;
    margin-bottom:17px;
}

.profile-info p   {
    font-size:14px;
    line-height:1.95;
}

.profile-info svg   {
    margin-top:4px;
}

.profile-summary   {
    background:#fff;
    border:1px solid #dde4d4;
    border-radius:14px;
    padding:24px;
}

.profile-summary h2   {
    font-size:21px;
    margin-bottom:16px;
}

.profile-summary dl   {
    margin:0 0 24px;
}

.profile-summary dl>div   {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid #edf0e5;
    font-size:13px;
}

.profile-summary dt   {
    color:#8a9a79;
}

.profile-summary dd   {
    margin:0;
    text-align:left;
}

.profile-summary .button   {
    width:100%;
    margin-bottom:10px;
    font-size:13px;
    justify-content:space-between;
}

.profile-summary>p   {
    font-size:11px;
    color:#8e9e7d;
    line-height:1.9;
    margin-top:9px;
}

.profile-aside   {
    position:sticky;
    top:115px;
}

.profile-help   {
    padding:23px;
    margin-top:20px;
    border:1px solid #e1e5d5;
    background:#f0f2e7;
    border-radius:13px;
    color:#8d9d79;
}

.profile-help h3   {
    font-size:16px;
    color:#657b53;
    margin-top:10px;
}

.profile-help p   {
    font-size:12px;
    margin-top:10px;
}

.program-list   {
    margin:20px 0;
}

.program-list article   {
    background:#f6f8f1;
    border:1px solid #e4e9dc;
    padding:20px;
    border-radius:10px;
    margin-bottom:13px;
}

.program-list h3   {
    font-size:18px;
    margin-top:12px;
}

.program-list p   {
    font-size:13px;
    color:#7a8b6a;
    line-height:1.95;
    margin:10px 0 15px;
}

.program-list small   {
    display:block;
    color:#98a789;
    font-size:11px;
    margin-top:12px;
}

.application-steps   {
    padding-right:24px;
    margin:0 0 20px;
    color:#718265;
    font-size:14px;
    line-height:2.2;
}

.table-scroll   {
    overflow-x:auto;
    margin:20px 0;
}

.admission-table   {
    border-collapse:collapse;
    width:100%;
    min-width:560px;
    font-size:12px;
}

.admission-table th,.admission-table td   {
    text-align:right;
    padding:14px;
    border-bottom:1px solid #e1e7d8;
}

.admission-table thead   {
    background:#eef3e7;
}

.admission-table small   {
    display:block;
    font-size:10px;
    color:#8c9b7c;
    margin-top:7px;
    font-weight:400;
}

.admission-table td a   {
    text-decoration:underline;
    color:var(--green);
}

@media(max-width:1100px)   {
    .directory-filters   {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .directory-filters .search-field   {
        grid-column:1/-1;
    }
    .main-nav   {
        gap:18px;
    }
    .main-nav a   {
        font-size:12px;
    }
    .profile-layout   {
        grid-template-columns:minmax(0,1fr) 290px;
        gap:24px;
    }
    .profile-section   {
        padding:24px;
    }
}

@media(max-width:850px)   {
    .directory-filters   {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .directory-filters .filter-submit   {
        grid-column:1/-1;
        grid-row:auto;
    }
    .profile-layout   {
        grid-template-columns:1fr;
    }
    .profile-aside   {
        position:static;
        order:-1;
        display:grid;
        grid-template-columns:1.5fr 1fr;
        gap:18px;
    }
    .profile-help   {
        margin:0;
    }
    .profile-summary dl   {
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:0 18px;
    }
    .profile-heading h1   {
        font-size:29px;
    }
    .profile-jump-links   {
        gap:23px;
    }
    .weighted-examples   {
        grid-template-columns:repeat(2,1fr);
    }
    .grade-fields   {
        gap:6px;
    }
    .grade-field label   {
        font-size:10px;
    }
    .grade-input input   {
        font-size:18px;
        padding-right:8px;
    }
}

@media(max-width:640px)   {
    .grade-field label   {
        font-size:12px;
    }
    .grade-input input   {
        font-size:20px;
        height:59px;
    }
    .formula-explanation   {
        margin-block:18px;
    }
    .calculator-submit   {
        font-size:12px;
    }
    .directory-tabs   {
        gap:7px;
        margin-bottom:17px;
    }
    .directory-tabs a   {
        padding:6px 15px;
        font-size:12px;
    }
    .directory-filters   {
        grid-template-columns:repeat(2,1fr);
    }
    .directory-filters .filter-submit   {
        grid-column:1/-1;
        grid-row:auto;
        height:42px;
    }
    .directory-filters select   {
        font-size:11px;
    }
    .institution-cover   {
        height:170px;
    }
    .institution-card   {
        padding:0;
    }
    .institution-card-body   {
        padding:0 20px;
    }
    .institution-card h3   {
        min-height:0;
    }
    .institution-excerpt   {
        font-size:12px;
    }
    .institution-card .university-link   {
        font-size:12px;
    }
    .directory-page-hero   {
        padding:22px 0 30px;
    }
    .breadcrumbs   {
        font-size:11px;
        gap:7px;
        margin-bottom:23px;
    }
    .directory-page-hero h1   {
        font-size:28px;
    }
    .directory-page-hero p   {
        font-size:13px;
    }
    .directory-guide   {
        margin-bottom:40px;
        padding:23px;
    }
    .directory-guide h2   {
        font-size:19px;
    }
    .directory-guide p   {
        font-size:13px;
    }
    .profile-heading   {
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
        padding-bottom:24px;
    }
    .profile-logo   {
        width:133px;
        height:106px;
    }
    .profile-heading h1   {
        font-size:28px;
    }
    .profile-heading p   {
        font-size:12px;
    }
    .profile-jump-links   {
        gap:20px;
        overflow:auto;
        white-space:nowrap;
        font-size:11px;
        scrollbar-width:none;
    }
    .profile-jump-links a   {
        padding-bottom:14px;
    }
    .profile-layout   {
        padding-top:22px;
        gap:22px;
    }
    .profile-aside   {
        display:block;
    }
    .profile-help   {
        display:none;
    }
    .profile-summary   {
        padding:22px;
    }
    .profile-summary dl   {
        gap:0 15px;
    }
    .profile-summary dl>div   {
        font-size:11px;
        gap:5px;
    }
    .profile-summary .button   {
        font-size:12px;
    }
    .profile-summary h2   {
        font-size:20px;
    }
    .profile-section   {
        padding:22px;
        margin-bottom:17px;
    }
    .profile-section h2   {
        font-size:21px;
    }
    .profile-section>p   {
        font-size:14px;
    }
    .profile-photo   {
        margin-bottom:20px;
    }
    .profile-info   {
        padding:13px;
        gap:9px;
    }
    .profile-info p   {
        font-size:12px;
    }
    .weighted-examples   {
        gap:10px;
    }
    .weighted-examples>div   {
        padding:16px 10px;
    }
    .weighted-examples strong   {
        font-size:25px;
    }
    .weighted-examples span   {
        font-size:10px;
    }
    .examples-hint   {
        font-size:11px;
    }
    .page-numbers   {
        flex-wrap:wrap;
        justify-content:center;
    }
    .pagination   {
        gap:10px;
    }
}

.logo-dark-background   {
    background: #174b43 !important;
}

.program-tools {
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(0,1fr);
    gap:16px;
    margin:22px 0
}

.program-tools label {
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:8px
}

.program-tools input,.program-tools select {
    width:100%;
    min-width:0;
    font:inherit;
    font-size:14px;
    background:#fff;
    border:1px solid #dce7e2;
    border-radius:10px;
    padding:12px
}

.program-group {
    border-block-start:1px solid #e5ebe7;
    margin-block:18px
}

.program-group>summary {
    padding:18px 0;
    cursor:pointer;
    font-weight:700;
    color:#14594a
}

.program-group>summary span {
    font-weight:400;
    font-size:12px;
    margin-inline-start:12px;
    color:#63736c
}

.program-list [data-program-card] small {
    line-height:1.8
}

[hidden] {
    display:none!important
}

@media(max-width:640px) {
    .program-tools {
        grid-template-columns:1fr
    }
}

