@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --red: #ed1717;
    --ink: #142c3b;
    --muted: #65717a;
    --line: #e0e4e5;
    --cream: #f8fafc;
    --blue: #0F42C0;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font: 15px/1.65 'Plus Jakarta Sans', Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
summary {
    outline-offset: 4px
}

button {
    cursor: pointer
}

img {
    max-width: 100%;
    object-fit: cover
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.12;
    letter-spacing: -2.3px;
    font-weight: 800
}

h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -1.2px
}

h3 {
    font-size: 19px;
    line-height: 1.4
}

small {
    font-size: 11px
}

strong {
    font-weight: 800
}

.wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 32px
}

.topline {
    padding: 8px max(32px, calc((100vw - 1176px)/2));
    font-size: 10px;
    letter-spacing: 1px;
    background: var(--ink);
    color: white;
    display: flex;
    justify-content: space-between
}

.header {
    height: 98px;
    max-width: 1240px;
    margin: auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.brand img {
    width: 68px;
    height: 68px;
    object-fit: contain
}

.brand span {
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 1px
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-top: 6px
}

.header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 700;
    font-size: 12px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: white;
    border: 1px solid var(--red);
    border-radius: 6px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 13px;
    transition: .2s
}

.button:hover {
    background: #c91010;
    text-decoration: none
}

.button:disabled {
    opacity: .55;
    cursor: wait
}

.small {
    padding: 10px 15px;
    font-size: 11px
}

.outline {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 700
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: white
}

.hero-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .2;
    transition: background-image .4s;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 90px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 55px
}

.hero h1 {
    max-width: 670px
}

.hero p:not(.eyebrow) {
    color: #d4dee2;
    max-width: 550px;
    font-size: 15px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--red);
    font-weight: 800;
    margin-bottom: 18px
}

.eyebrow.light {
    color: #ffb5b5
}

.hero-notes {
    display: flex;
    gap: 32px;
    border-top: 1px solid #ffffff30;
    padding-top: 24px;
    margin-top: 34px;
    font-size: 10px;
    color: #d4dee2;
    letter-spacing: 1px
}

.finder {
    background: #fff;
    color: var(--ink);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 70px #0002
}

.finder h2 {
    font-size: 27px;
    margin: 20px 0
}

.finder small {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: var(--muted)
}

.finder .button {
    width: 100%
}

.tag {
    display: inline-block;
    background: #fff0f0;
    color: #d81717;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 9px
}

.catalog {
    padding-top: 60px;
    padding-bottom: 65px
}

.seo-note {
    margin-top: 42px;
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: 8px;
    background: var(--cream)
}

.seo-note h2 {
    font-size: 22px;
    letter-spacing: -.5px;
    margin-bottom: 10px
}

.seo-note p {
    max-width: 920px;
    color: var(--muted);
    margin-bottom: 8px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.section-heading h2 {
    margin-bottom: 25px
}

.section-heading h2 span {
    color: var(--red)
}

.section-heading>p {
    color: var(--muted);
    font-size: 12px
}

.filters {
    display: flex;
    gap: 12px;
    align-items: center
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    flex: 1;
    padding: 0 16px
}

.search-wrap span {
    font-size: 28px;
    color: var(--muted)
}

.search-wrap input {
    border: 0;
    margin: 0;
    box-shadow: none
}

.pills {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 20px 0 10px
}

.pills button {
    white-space: nowrap;
    border: 1px solid var(--line);
    background: white;
    border-radius: 30px;
    padding: 8px 17px;
    font-size: 11px;
    font-weight: 700
}

.pills button.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.muted {
    color: var(--muted);
    font-size: 12px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px
}

.card {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: transform .2s, box-shadow .2s
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px #142c3b0d
}

.card-cover {
    height: 166px;
    background: linear-gradient(120deg, #d8e5ea, #8ba6b2);
    position: relative
}

.card-cover>img {
    width: 100%;
    height: 100%
}

.card-cover .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fffffff0;
    color: var(--ink)
}

.card-body {
    padding: 21px
}

.college-line {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    min-height: 53px
}

.college-line img {
    width: 45px;
    height: 45px;
    object-fit: contain
}

.college-line h3 {
    font-size: 14px;
    margin: 0
}

.college-line small {
    color: var(--muted)
}

.card h4 {
    font-size: 16px;
    line-height: 1.45;
    margin: 12px 0
}

.card-meta {
    font-size: 11px;
    color: var(--muted);
    margin: 10px 0 17px
}

.card-fee {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.card-fee strong {
    font-size: 22px
}

.card-fee small {
    display: block;
    color: var(--muted)
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 18px
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5
}

.check input {
    width: 15px;
    height: 15px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--red)
}

.guidance {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-top: 40px;
    padding-bottom: 35px;
    border-radius: 10px;
    margin-bottom: 60px
}

.guidance>p {
    align-self: center;
    font-size: 14px;
    color: var(--muted)
}

footer {
    background: var(--ink);
    color: white;
    padding: 48px max(32px, calc((100vw - 1176px)/2));
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 25px
}

footer strong {
    font-size: 22px
}

footer p {
    font-size: 12px;
    color: #a9bdc8;
    margin-top: 10px
}

footer>div:nth-child(2) {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-content: flex-start;
    font-size: 12px
}

footer>small {
    grid-column: 1/-1;
    color: #a9bdc8;
    border-top: 1px solid #ffffff20;
    padding-top: 20px
}

label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px
}

input,
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #d8dfe2;
    border-radius: 5px;
    background: #fff;
    padding: 11px 12px;
    margin-top: 6px;
    color: var(--ink);
    font-size: 12px
}

textarea {
    min-height: 110px;
    resize: vertical
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.detail-hero {
    background: var(--ink);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 35px 0 50px
}

.breadcrumb {
    font-size: 11px;
    color: #d4dee2
}

.college-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px
}

.college-heading h1 {
    font-size: 42px;
    margin-bottom: 0
}

.college-logo {
    width: 95px;
    height: 95px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 12px
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 50px;
    padding-top: 50px;
    padding-bottom: 60px
}

.detail-layout h2 {
    font-size: 28px
}

.long-text {
    white-space: pre-line;
    color: var(--muted);
    font-size: 14px
}

.course-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 25px
}

.course-row h3 {
    margin: 12px 0
}

.course-row p,
.course-row summary {
    font-size: 12px;
    color: var(--muted)
}

.course-row>div:last-child {
    text-align: right;
    min-width: 130px
}

.course-row strong {
    font-size: 23px
}

.course-row small {
    display: block;
    margin-bottom: 15px
}

.detail-layout aside {
    padding: 25px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    align-self: start
}

.detail-layout aside .button {
    width: 100%
}

.form-status {
    font-size: 12px;
    color: var(--red);
    margin-top: 15px
}

.tour {
    margin-top: 30px
}

.tour iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 6px
}

.prose {
    padding-top: 70px;
    padding-bottom: 90px;
    min-height: 65vh;
    max-width: 850px
}

.prose p {
    color: var(--muted)
}

#compareTray {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 8px 35px #0003;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 22px;
    z-index: 10;
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 12px;
    max-width: 95vw;
    width: max-content
}

#compareTray[hidden] {
    display: none
}

dialog {
    width: min(1050px, 95vw);
    border: 0;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 20px 80px #0004
}

dialog::backdrop {
    background: #142c3ba8
}

.close {
    float: right;
    background: none;
    border: 0;
    font-size: 28px
}

#compareContent {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px
}

th,
td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 15px;
    vertical-align: top
}

th {
    background: var(--cream);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

#toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 360px;
    background: var(--ink);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px #0002;
    z-index: 100;
    display: none
}

#toast.visible {
    display: block
}

.empty {
    text-align: center;
    padding: 70px;
    background: var(--cream);
    border-radius: 8px
}

.error {
    color: var(--red)
}

@media(max-width:900px) {
    .hero-inner {
        gap: 30px;
        grid-template-columns: 1.2fr 1fr
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .header nav>a:first-child {
        display: none
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .guidance {
        margin: 20px;
        gap: 30px
    }
}

@media(max-width:600px) {
    .wrap {
        padding-left: 20px;
        padding-right: 20px
    }

    .topline {
        padding: 7px 20px
    }

    .topline span {
        display: none
    }

    .header {
        height: 80px;
        padding: 0 20px
    }

    .brand span {
        font-size: 22px
    }

    .brand small {
        font-size: 6px
    }

    .brand img {
        width: 48px;
        height: 48px
    }

    .header nav>a:not(.button) {
        display: none
    }

    .header nav .button {
        padding: 9px;
        font-size: 9px
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 30px;
        gap: 30px
    }

    h1 {
        letter-spacing: -1.5px
    }

    .hero-notes {
        gap: 20px
    }

    .finder {
        padding: 24px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        display: none
    }

    .catalog {
        padding-top: 40px
    }

    .guidance {
        grid-template-columns: 1fr;
        gap: 0
    }

    .detail-hero {
        padding: 25px 0
    }

    .college-heading {
        gap: 15px
    }

    .college-heading h1 {
        font-size: 29px
    }

    .college-logo {
        width: 65px;
        height: 65px
    }

    .course-row {
        flex-direction: column
    }

    .course-row>div:last-child {
        text-align: left
    }

    .form-grid {
        gap: 10px
    }

    footer {
        grid-template-columns: 1fr;
        padding: 35px 20px
    }

    #compareTray {
        gap: 8px;
        padding: 10px
    }

    #compareCount {
        font-size: 10px
    }

    dialog {
        padding: 20px
    }

    #compareTray .button {
        font-size: 10px;
        padding: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

/* Admissions interface: quieter typography, complete programme details. */
h1,
h2 {
    font-weight: 700
}

h3,
h4 {
    font-weight: 700
}

.eyebrow {
    letter-spacing: 1.4px
}

.desk-link {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0
}

.topline>span {
    display: block
}

.hero h1 {
    font-size: clamp(34px, 4vw, 55px);
    letter-spacing: -1.6px
}

.hero-notes {
    gap: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
    letter-spacing: 0
}

.header nav {
    gap: 18px
}

.header nav button {
    white-space: nowrap
}

.cards {
    align-items: stretch
}

.card {
    display: flex;
    flex-direction: column
}

.card.selected {
    border: 2px solid var(--red)
}

.card-cover {
    display: block;
    position: relative;
    flex-shrink: 0
}

.card-cover:after {
    content: '';
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(transparent, #0009)
}

.college-badge {
    color: white !important;
    z-index: 1;
    max-width: 85%
}

.location-chip {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: white;
    background: #0006;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 10px;
    z-index: 1
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px
}

.partner-label {
    font-size: 8px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted)
}

.college-line {
    margin-bottom: 8px
}

.rating-line {
    display: flex;
    justify-content: space-between;
    color: #aa6a06;
    font-weight: 700;
    font-size: 12px;
    margin: 8px 0
}

.rating-line small {
    color: var(--muted);
    font-weight: 400;
    font-size: 10px
}

.rating-line a {
    font-size: 10px
}

.card h4 {
    font-size: 16px;
    font-weight: 700;
    min-height: 46px
}

.accreditation {
    font-size: 11px;
    color: #2f6b5d;
    margin: 0 0 14px
}

.light-text {
    color: #b1e6d7
}

.card-highlights {
    display: flex;
    gap: 8px;
    font-size: 10px;
    margin-bottom: 18px
}

.card-highlights span {
    background: #f1f4f7;
    border-radius: 4px;
    padding: 4px 7px
}

.card-fee {
    margin-top: auto
}

.card-fee del {
    font-size: 11px;
    color: #8c969d;
    margin-left: 5px
}

.discount {
    font-size: 9px;
    color: #2a7755;
    background: #eef8f2;
    margin-left: 6px;
    border-radius: 3px;
    padding: 3px 5px
}

.fee-subline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    margin-top: 7px
}

.fee-subline>span:last-child {
    color: var(--red);
    text-align: right
}

.compare-check {
    margin: 0
}

.card-actions .button {
    flex: 1
}

.card-actions label {
    flex: 1;
    background: #f0f3f6;
    padding: 11px;
    border-radius: 5px;
    justify-content: center;
    font-weight: 600
}

.admissions-footer {
    grid-template-columns: 1.1fr 1.2fr 1fr
}

.admissions-footer>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.admissions-footer h3 {
    font-size: 13px;
    margin: 0 0 12px
}

.admissions-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 10px;
    margin-top: 22px
}

.phone-link {
    font-size: 22px;
    font-weight: 700
}

.footer-universities a {
    font-size: 11px
}

.footer-desk .button {
    margin-top: 5px
}

#deskDialog {
    max-width: 560px
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 23px
}

.contact-actions .button,
.contact-actions .outline {
    font-size: 11px
}

.detail-heading-grid {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 35px;
    align-items: center;
    margin-top: 30px
}

.college-heading {
    margin-top: 22px
}

.college-heading h1 {
    font-size: 34px;
    letter-spacing: -1px
}

.degree-heading {
    color: #f0cc84;
    font-weight: 600;
    margin: 10px 0
}

.detail-rating {
    font-size: 11px;
    color: #d9e0e4
}

.detail-rating a {
    color: #f0cc84
}

.badge-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center
}

.badge-line .accreditation {
    margin: 0
}

.detail-price {
    background: #ffffff0c;
    border: 1px solid #ffffff30;
    border-radius: 10px;
    padding: 23px
}

.detail-price small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.detail-price strong {
    font-size: 30px
}

.detail-price del {
    color: #b4bfc6;
    font-size: 12px
}

.detail-price p {
    font-size: 11px;
    color: #9bdbb8;
    margin-top: 8px
}

.detail-price .button {
    font-size: 11px;
    width: 100%
}

.detail-layout {
    grid-template-columns: 1.45fr 1fr;
    gap: 30px
}

.detail-layout article {
    min-width: 0
}

.detail-layout aside {
    background: white;
    border: 1px solid #bd2732;
    box-shadow: 0 10px 35px #142c3b09;
    padding: 24px
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 9px;
    margin-bottom: 25px
}

.metrics>div {
    background: #f5f7f8;
    padding: 12px;
    text-align: center;
    border-radius: 5px
}

.metrics small {
    display: block;
    text-transform: uppercase;
    font-size: 8px;
    color: var(--muted);
    margin-bottom: 7px
}

.metrics strong {
    display: block;
    font-size: 10px;
    font-weight: 600
}

.detail-section {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin-bottom: 25px
}

.detail-section h2 {
    font-size: 19px;
    letter-spacing: -.3px;
    margin-bottom: 18px
}

.campus-image {
    margin: 0;
    position: relative
}

.campus-image img {
    width: 100%;
    height: 260px;
    border-radius: 6px
}

.campus-image figcaption {
    position: absolute;
    bottom: 15px;
    left: 12px;
    background: #142c3bcc;
    padding: 6px 12px;
    color: white;
    border-radius: 5px;
    font-size: 10px
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 16px
}

.benefit-list span {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    background: #f2f5f7
}

.placement-line {
    display: flex;
    gap: 20px;
    font-size: 11px;
    margin-top: 20px
}

.placement-line strong {
    display: block;
    font-size: 17px;
    color: #336f5b;
    margin-top: 4px
}

.syllabus-item {
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 6px;
    margin: 12px 0;
    padding: 14px
}

.syllabus-item summary {
    font-size: 12px;
    font-weight: 600;
    cursor: pointer
}

.syllabus-item p {
    font-size: 12px;
    margin: 10px 0 0
}

.fee-table {
    overflow: auto
}

.fee-table td {
    font-size: 10px;
    padding: 14px 8px
}

.fee-table th {
    padding: 10px 8px;
    font-size: 8px
}

.admission-steps {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 0;
    margin: 0 0 25px;
    border-bottom: 1px solid var(--line)
}

.admission-steps li {
    flex: 1;
    padding: 10px 0;
    font-size: 10px;
    color: #7c858b;
    text-align: center;
    border-bottom: 2px solid transparent
}

.admission-steps li.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 700
}

.application-summary {
    background: #f7f8fa;
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0
}

.application-summary p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
    margin-bottom: 10px
}

.application-summary p:last-child {
    margin: 0
}

.pay-amount {
    background: var(--ink);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0
}

.pay-amount>* {
    display: block
}

.pay-amount span {
    font-size: 11px
}

.pay-amount strong {
    font-size: 30px;
    margin: 6px 0
}

.pay-amount small {
    color: #b9c9d1
}

.qr-payment {
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 25px;
    text-align: center
}

.payment-qr {
    width: 220px;
    height: 220px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border: 1px solid var(--line)
}

.qr-payment form {
    text-align: left
}

.fallback-box {
    padding: 17px;
    background: #fff8e8;
    border: 1px solid #ead5a4;
    border-radius: 7px;
    margin: 20px 0
}

.fallback-box strong {
    font-size: 12px
}

.fallback-box p {
    font-size: 11px;
    margin: 10px 0
}

.fallback-box .contact-actions {
    margin-bottom: 0
}

.success-tag {
    background: #e8f6ed;
    color: #28744d
}

.result-title {
    margin-top: 22px
}

.resume-application {
    margin-bottom: 20px
}

.detail-link {
    display: block;
    font-size: 11px;
    margin-top: 10px
}

.programme-switch {
    margin: 20px 0
}

.qr-payment label.check {
    align-items: flex-start
}

@media(max-width:1000px) {
    .detail-heading-grid {
        grid-template-columns: 1fr
    }

    .detail-price {
        max-width: 400px
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .admissions-footer {
        grid-template-columns: 1fr 1fr
    }

    .footer-desk {
        grid-column: 1/-1
    }
}

@media(max-width:600px) {
    .header nav {
        gap: 8px
    }

    .header nav .header-compare {
        display: none
    }

    .hero-notes {
        font-size: 10px;
        gap: 12px
    }

    .admissions-footer {
        grid-template-columns: 1fr
    }

    .topline>span {
        font-size: 8px;
        max-width: 70%
    }

    .topline .desk-link {
        font-size: 9px
    }

    .college-heading h1 {
        font-size: 27px
    }

    .metrics {
        grid-template-columns: 1fr 1fr
    }

    .detail-section {
        padding: 18px
    }

    .detail-layout aside {
        padding: 20px
    }

    .detail-heading-grid {
        gap: 10px
    }

    .college-heading {
        align-items: flex-start
    }

    .card h4 {
        min-height: 0
    }

    .contact-actions>* {
        flex: 1
    }

    .detail-hero .college-logo {
        width: 60px;
        height: 60px
    }
}

@media print {

    .header,
    .topline,
    footer,
    button {
        display: none !important
    }
}

.hero-notes small {
    display: block;
    margin: 4px 0 0 13px;
    color: #b9c9d2;
    font-size: 9px
}

.section-heading>div {
    max-width: 750px
}

.section-heading>p {
    max-width: 260px
}

.section-heading h2 {
    margin-bottom: 12px
}

/* V3 admission header and lead capture */
.admission-top {
    padding: 10px 2%;
    letter-spacing: 0;
    font-size: 13px;
    background: #081624;
    gap: 20px;
    flex-wrap: wrap
}

.admission-top>div {
    display: flex;
    align-items: center;
    gap: 14px
}

.admission-badge {
    background: var(--red);
    border-radius: 30px;
    padding: 2px 14px;
    font-weight: 800;
    white-space: nowrap
}

.helpline {
    color: #20d7a0;
    font-weight: 800
}

.top-compare {
    background: none;
    border: 0;
    border-left: 1px solid #61707e;
    padding-left: 20px;
    color: #ffd13c;
    font-weight: 800
}

.admission-header {
    max-width: none;
    min-height: 140px;
    height: auto;
    padding: 24px 2.5%;
    gap: 26px
}

.admission-header .brand {
    flex: 1.35;
    min-width: 300px
}

.admission-header .brand img {
    width: 96px;
    height: 96px
}

.admission-header .brand span {
    font-size: clamp(13px, 1.3vw, 25px);
    color: var(--red);
    letter-spacing: -.8px
}

.admission-header .brand small {
    font-size: clamp(10px, 1vw, 18px);
    letter-spacing: 0;
    color: var(--ink);
    margin-top: 10px
}

.brand mark {
    background: var(--red);
    color: white
}

.admission-header nav {
    gap: 16px;
    white-space: nowrap
}

.admission-header nav button {
    font-size: 14px;
    border-radius: 30px
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #dce5ed;
    background: #f8fafc;
    border-radius: 40px;
    padding: 5px 7px 5px 18px;
    flex: 1;
    min-width: 240px
}

.header-search>span {
    font-size: 30px;
    color: #94a3b8
}

.header-search input {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 10px;
    font-size: 15px;
    box-shadow: none
}

.header-search .button {
    padding: 10px 20px;
    border-radius: 30px
}

.degree-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 2.5%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.degree-bar>strong {
    font-size: 14px;
    white-space: nowrap;
    color: #64748b
}

.degree-bar .pills {
    padding: 0;
    flex-wrap: wrap
}

.degree-bar .pills button {
    background: #f1f5f9;
    border: 0;
    font-size: 14px;
    padding: 8px 20px
}

.degree-bar .pills button.active {
    background: var(--red);
    color: #fff
}

.degree-bar small {
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap
}

#searchSuggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 40px #0002;
    max-height: 300px;
    overflow: auto;
    padding: 8px
}

#searchSuggestions button {
    display: block;
    text-align: left;
    width: 100%;
    padding: 12px;
    border: 0;
    background: white;
    color: var(--ink)
}

#searchSuggestions button:hover,
#searchSuggestions button:focus {
    background: #fff0f0
}

#searchSuggestions small {
    display: block;
    color: #64748b
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

#deskDialog {
    padding: 0;
    width: min(750px, 94vw);
    border-radius: 14px;
    max-height: 92vh
}

#deskDialog .desk-heading {
    padding: 28px 56px 24px;
    text-align: center;
    background: var(--red);
    color: white;
    position: relative
}

#deskDialog h2 {
    font-size: 27px;
    letter-spacing: -.6px;
    margin: 0 0 8px
}

#deskDialog .desk-heading p {
    font-size: 17px;
    margin: 0;
    line-height: 1.5
}

#deskDialog .close {
    top: 12px;
    right: 14px;
    color: white;
    background: transparent
}

#deskForm {
    padding: 30px 36px;
    display: grid;
    gap: 18px
}

#deskForm label {
    margin: 0
}

#deskForm input:not([type=checkbox]),
#deskForm select {
    border-radius: 0;
    padding: 16px;
    font-size: 17px;
    margin: 0;
    background: white
}

#deskForm .check {
    font-size: 12px;
    flex-wrap: wrap
}

#deskForm .check input {
    width: auto
}

#deskForm>.button {
    justify-self: center;
    font-size: 16px;
    padding: 14px 28px
}

#featureNotice {
    padding: 12px;
    background: #fff0f0;
    color: #b41010;
    margin: 0
}

.pills button.active {
    background: var(--red);
    border-color: var(--red)
}

@media(max-width:1300px) {
    .admission-header {
        flex-wrap: wrap;
        gap: 16px
    }

    .admission-header .brand {
        flex: 1
    }

    .header-search {
        order: 3;
        flex-basis: 100%
    }

    .degree-bar {
        flex-wrap: wrap;
        gap: 10px
    }

    .admission-header .brand span {
        font-size: 18px
    }

    .admission-header .brand small {
        font-size: 12px
    }
}

@media(max-width:650px) {
    .admission-top {
        font-size: 10px;
        padding: 8px 14px
    }

    .admission-top>div {
        flex-wrap: wrap;
        gap: 7px
    }

    .admission-header {
        padding: 16px;
        gap: 14px
    }

    .admission-header .brand {
        min-width: 0;
        flex-basis: 100%
    }

    .admission-header .brand img {
        width: 65px;
        height: 65px
    }

    .admission-header .brand span {
        font-size: 15px;
        letter-spacing: -.4px
    }

    .admission-header nav {
        width: 100%;
        justify-content: space-between;
        gap: 8px
    }

    .admission-header nav button {
        font-size: 12px;
        padding: 10px
    }

    .header-search {
        min-width: 0
    }

    .degree-bar {
        padding: 12px 16px
    }

    .degree-bar .pills {
        flex-wrap: nowrap;
        width: 100%;
        overflow: auto
    }

    .degree-bar .pills button {
        font-size: 12px
    }

    .degree-bar small {
        display: none
    }

    #deskForm {
        padding: 22px;
        gap: 14px
    }

    #deskDialog h2 {
        font-size: 22px
    }

    #deskDialog .desk-heading p {
        font-size: 14px
    }
}

/* Reference header refinement: fixed icon shapes, proportions and mobile controls. */
.ui-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: none;
    vertical-align: middle
}

.admission-top {
    min-height: 56px;
    padding: 10px 1.875%;
    font-size: 17px;
    line-height: 1.4
}

.admission-top .helpline,
.top-compare {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.admission-badge {
    font-size: 16px;
    padding: 5px 15px;
    line-height: 1.25
}

.top-compare {
    font-size: 17px;
    margin-left: 12px;
    padding-left: 26px
}

.admission-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    min-height: 144px;
    padding: 24px 2.5%;
    gap: 34px
}

.admission-header .brand {
    min-width: 0;
    gap: 18px
}

.admission-header .brand img {
    flex: none;
    width: 96px;
    height: 96px
}

.admission-header .brand span {
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 800;
    letter-spacing: -.8px
}

.admission-header .brand small {
    font-size: clamp(12px, .94vw, 18px);
    font-weight: 700
}

.admission-header .brand small b {
    letter-spacing: 1px;
    color: #142c3b
}

.admission-header nav {
    gap: 18px;
    min-width: 0
}

.admission-header nav button {
    font-size: 18px;
    font-weight: 800;
    padding: 14px 22px;
    min-height: 56px
}

.admission-header .header-compare {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 18px
}

.header-compare .ui-icon {
    color: var(--red)
}

.admission-header nav [data-desk] {
    border-radius: 32px;
    box-shadow: 0 4px 9px #00000012
}

.header-search {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    background: #f8fafc;
    box-shadow: inset 0 2px 4px #142c3b06
}

.header-search>.ui-icon {
    color: #94a3b8;
    width: 23px;
    height: 23px
}

.header-search input {
    font-size: 20px;
    padding: 8px 14px;
    color: #142c3b
}

.header-search input::placeholder {
    color: #94a3b8
}

.header-search .button {
    font-size: 18px;
    padding: 10px 21px
}

.degree-bar {
    min-height: 72px;
    gap: 24px
}

.degree-bar>strong {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px
}

.degree-bar>strong .ui-icon {
    color: var(--red);
    fill: var(--red);
    width: 18px;
    height: 18px
}

.degree-bar .pills {
    justify-content: center;
    gap: 9px
}

.degree-bar .pills button {
    font-size: 18px;
    padding: 8px 21px;
    line-height: 1.5
}

.degree-bar small {
    font-size: 15px;
    font-weight: 700
}

#deskDialog {
    max-width: 750px;
    width: calc(100vw - 32px)
}

#deskForm {
    gap: 22px;
    padding: 36px
}

#deskForm input:not([type=checkbox]),
#deskForm select {
    min-height: 64px;
    font-size: 20px
}

#deskForm .check {
    display: block;
    line-height: 1.8;
    text-align: center
}

#deskForm .check input {
    display: inline-block;
    margin: 0 12px 0 0;
    vertical-align: middle;
    accent-color: var(--red)
}

#deskForm .check a {
    white-space: nowrap;
    text-decoration: underline
}

.finder .tag {
    background: #fff0f0;
    color: var(--red)
}

.finder .button {
    font-size: 16px;
    min-height: 58px
}

@media(min-width:1650px) {
    .admission-header .brand span {
        white-space: nowrap
    }
}

@media(min-width:1301px) and (max-width:1649px) {
    .admission-header {
        gap: 20px;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto
    }

    .admission-header .brand {
        gap: 12px
    }

    .admission-header .brand img {
        width: 76px;
        height: 76px
    }

    .admission-header nav button {
        font-size: 13px;
        padding: 12px 15px
    }

    .admission-header nav {
        gap: 10px
    }

    .header-search input {
        font-size: 16px
    }

    .header-search .button {
        font-size: 15px
    }

    .degree-bar .pills button {
        font-size: 14px;
        padding: 8px 14px
    }

    .degree-bar small {
        font-size: 12px
    }

    .admission-top,
    .top-compare {
        font-size: 13px
    }

    .admission-badge {
        font-size: 13px
    }
}

@media(max-width:1300px) {
    .admission-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px
    }

    .header-search {
        grid-column: 1/-1;
        order: 3
    }

    .admission-header .brand span {
        font-size: 18px
    }

    .admission-header nav button {
        font-size: 14px;
        padding: 12px 16px
    }

    .admission-top {
        font-size: 12px
    }

    .admission-badge,
    .top-compare {
        font-size: 12px
    }

    .degree-bar .pills button {
        font-size: 14px
    }

    .degree-bar>strong {
        font-size: 14px
    }

    .degree-bar small {
        font-size: 12px
    }

    .degree-bar {
        justify-content: flex-start
    }

    .degree-bar .pills {
        justify-content: flex-start
    }
}

@media(max-width:650px) {
    .admission-header {
        display: flex;
        padding: 16px;
        gap: 14px
    }

    .admission-header .brand {
        flex-basis: 100%;
        gap: 12px
    }

    .admission-header .brand img {
        width: 65px;
        height: 65px
    }

    .admission-header .brand span {
        font-size: 15px;
        white-space: normal
    }

    .admission-header .brand small {
        font-size: 11px
    }

    .admission-header nav {
        display: flex;
        gap: 8px;
        width: 100%
    }

    .admission-header nav button {
        font-size: 12px;
        padding: 10px 12px;
        min-height: 44px
    }

    .admission-header nav .header-compare {
        display: inline-flex
    }

    .admission-header nav .ui-icon {
        width: 16px;
        height: 16px
    }

    .admission-top {
        padding: 10px 14px;
        font-size: 10px;
        gap: 10px
    }

    .admission-badge,
    .top-compare {
        font-size: 10px
    }

    .top-compare {
        margin-left: 0;
        padding-left: 12px
    }

    .admission-top .ui-icon {
        width: 15px;
        height: 15px
    }

    .header-search {
        min-height: 52px
    }

    .header-search input {
        font-size: 14px;
        padding: 8px
    }

    .header-search .button {
        font-size: 14px;
        padding: 9px 16px
    }

    .degree-bar .pills {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start
    }

    .degree-bar .pills button {
        font-size: 12px;
        padding: 8px 16px
    }

    #deskForm {
        padding: 22px;
        gap: 16px
    }

    #deskForm input:not([type=checkbox]),
    #deskForm select {
        min-height: 54px;
        font-size: 16px
    }

    #deskDialog .desk-heading {
        padding: 28px 36px 22px
    }

    #deskDialog .desk-heading p {
        font-size: 14px
    }
}

/* Compact header: laptop main row ~88px, smaller top and degree strips. */
.site-chrome {
    background: #fff;
    position: relative;
    z-index: 30
}

.admission-top {
    min-height: 38px;
    padding: 6px 2%;
    font-size: 12px
}

.admission-badge {
    font-size: 12px;
    padding: 4px 12px
}

.top-compare {
    font-size: 12px;
    padding-left: 18px
}

.admission-header {
    min-height: 88px;
    padding: 12px 2.5%;
    gap: 20px
}

.admission-header .brand img {
    width: 64px;
    height: 64px
}

.admission-header .brand {
    gap: 12px
}

.admission-header .brand span {
    font-size: clamp(13px, 1.05vw, 20px);
    white-space: normal;
    letter-spacing: -.4px
}

.admission-header .brand small {
    font-size: clamp(10px, .8vw, 14px);
    margin-top: 6px
}

.admission-header nav {
    gap: 10px
}

.admission-header nav button {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 15px
}

.header-search {
    min-height: 48px;
    padding: 4px 5px 4px 13px
}

.header-search input {
    font-size: 15px;
    padding: 6px 10px
}

.header-search .button {
    font-size: 13px;
    padding: 8px 16px
}

.header-search>.ui-icon {
    width: 20px;
    height: 20px
}

.degree-bar {
    min-height: 52px;
    padding: 8px 2.5%;
    gap: 16px
}

.degree-bar>strong {
    font-size: 14px;
    gap: 8px
}

.degree-bar .pills button {
    font-size: 14px;
    padding: 6px 16px
}

.degree-bar small {
    font-size: 12px
}

@media(min-width:1001px) and (max-width:1649px) {
    .admission-header {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(230px, 1fr) auto;
        gap: 14px
    }

    .header-search {
        grid-column: auto;
        order: 0
    }

    .admission-header .brand span {
        font-size: 14px
    }

    .admission-header .brand small {
        font-size: 11px
    }

    .admission-header .brand img {
        width: 58px;
        height: 58px
    }

    .admission-header nav button {
        font-size: 12px;
        padding: 9px 12px
    }

    .admission-header nav {
        gap: 8px
    }

    .degree-bar {
        flex-wrap: nowrap
    }

    .degree-bar .pills {
        flex-wrap: nowrap;
        overflow: auto;
        min-width: 0
    }

    .degree-bar .pills button {
        font-size: 12px;
        padding: 6px 12px
    }

    .degree-bar small {
        font-size: 10px
    }
}

@media(min-width:651px) and (max-width:1000px) {
    .admission-header {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 10px 20px;
        gap: 10px
    }

    .header-search {
        grid-column: 1/-1;
        order: 3
    }

    .degree-bar small {
        display: none
    }
}

@media(max-width:650px) {
    .site-chrome {
        position: sticky;
        top: 0;
        box-shadow: 0 3px 12px #142c3b10
    }

    .admission-top {
        min-height: 0;
        padding: 6px 12px;
        font-size: 9px;
        gap: 5px
    }

    .admission-top>div {
        gap: 6px
    }

    .admission-badge,
    .top-compare {
        font-size: 9px
    }

    .admission-top>div:last-child {
        display: none
    }

    .admission-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        padding: 8px 12px;
        gap: 8px
    }

    .admission-header .brand {
        gap: 7px;
        min-width: 0
    }

    .admission-header .brand img {
        width: 40px;
        height: 40px
    }

    .admission-header .brand span {
        font-size: 10px;
        letter-spacing: -.1px;
        line-height: 1.3
    }

    .admission-header .brand small {
        font-size: 8px;
        margin-top: 3px;
        line-height: 1.3
    }

    .admission-header nav {
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 4px
    }

    .admission-header nav button {
        font-size: 9px;
        min-height: 26px;
        padding: 4px 8px;
        gap: 4px
    }

    .admission-header nav .ui-icon {
        width: 12px;
        height: 12px
    }

    .header-search {
        grid-column: 1/-1;
        order: 0;
        min-height: 38px;
        padding: 3px 4px 3px 10px
    }

    .header-search input {
        font-size: 13px;
        padding: 4px 8px
    }

    .header-search .button {
        font-size: 11px;
        padding: 6px 13px
    }

    .degree-bar {
        min-height: 40px;
        padding: 4px 12px;
        display: block
    }

    .degree-bar>strong,
    .degree-bar small {
        display: none
    }

    .degree-bar .pills {
        padding: 0;
        width: 100%;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .degree-bar .pills button {
        font-size: 11px;
        padding: 5px 12px
    }

    .hero,
    .catalog {
        scroll-margin-top: 165px
    }
}

/* Subtle motion without hiding content or delaying interaction. */
@media(prefers-reduced-motion:no-preference) {

    .button,
    .outline,
    .card {
        transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease
    }

    .button:hover,
    .outline:hover {
        transform: translateY(-1px)
    }

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px #142c3b12
    }

    .hero-inner {
        animation: time-enter .45s ease both
    }

    dialog[open] {
        animation: time-enter .2s ease both
    }

    .pills button {
        transition: background-color .18s ease, color .18s ease
    }
}

@keyframes time-enter {
    from {
        opacity: .6;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* V3.3: sticky navigation, inline mobile actions and compact full-detail cards. */
.site-chrome {
    position: sticky;
    top: 0;
    box-shadow: 0 3px 12px #142c3b10
}

.admission-header .brand:hover,
.admission-header .brand:focus-visible {
    text-decoration: none;
    color: var(--red)
}

a:hover {
    text-decoration: none;
    color: var(--red)
}

.admission-header nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center
}

.card-cover,
.card-cover img {
    height: 150px
}

.card-body {
    padding: 15px;
    gap: 0
}

.college-line {
    margin-bottom: 4px
}

.rating-line {
    margin: 5px 0
}

.card h3 {
    font-size: 17px;
    margin: 0
}

.card h4 {
    min-height: 0;
    font-size: 15px;
    margin: 6px 0 9px
}

.card .accreditation {
    margin-bottom: 10px
}

.card-highlights {
    margin-bottom: 10px;
    gap: 6px
}

.card-actions {
    margin-top: 12px;
    padding-top: 12px
}

.card-actions label,
.card-actions .button {
    padding: 9px 8px
}

.contact-rail {
    position: fixed;
    right: 8px;
    top: 60%;
    transform: translateY(-50%);
    z-index: 35;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.contact-rail a,
.contact-rail button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 3px 12px #0002
}

.contact-rail .ui-icon {
    width: 23px;
    height: 23px
}

.contact-rail .contact-whatsapp {
    background: #25b53e
}

.contact-rail .contact-instagram {
    background: #c13584
}

.contact-rail .contact-facebook {
    background: var(--blue);
}

.contact-rail .contact-desk {
    background: #142c3b
}

.contact-rail a:hover,
.contact-rail button:hover {
    filter: brightness(.92);
    color: #fff
}

@media(max-width:650px) {
    .admission-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px
    }

    .admission-header .brand {
        grid-column: 1/-1
    }

    .admission-header .brand span {
        font-size: 11px
    }

    .admission-header .brand small {
        font-size: 8px
    }

    .admission-header .header-search {
        grid-column: 1/-1;
        order: 0
    }

    .admission-header nav {
        grid-column: 1/-1;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px
    }

    .admission-header nav button {
        min-height: 34px;
        font-size: 11px;
        padding: 6px 12px;
        flex: 0 1 auto
    }

    .admission-header nav .ui-icon {
        width: 14px;
        height: 14px
    }

    .contact-rail {
        right: 4px;
        gap: 4px
    }

    .contact-rail a,
    .contact-rail button {
        width: 32px;
        height: 34px;
        border-radius: 5px
    }

    .contact-rail .ui-icon {
        width: 19px;
        height: 19px
    }

    .catalog.wrap {
        padding-left: 14px;
        padding-right: 14px
    }

    .card-cover,
    .card-cover img {
        height: 135px
    }

    .hero,
    .catalog {
        scroll-margin-top: 195px
    }
}

@media(min-width:651px) and (max-width:1000px) {

    .hero,
    .catalog {
        scroll-margin-top: 220px
    }
}

@media(min-width:1001px) {

    .hero,
    .catalog {
        scroll-margin-top: 155px
    }
}

.degree-bar .home-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f8;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0
}

.degree-bar .home-pill:hover {
    background: #fff0f0;
    color: var(--red)
}

@media(max-width:1649px) {
    .degree-bar .home-pill {
        font-size: 12px;
        padding: 6px 12px
    }
}

@media(max-width:650px) {
    .degree-bar .home-pill {
        font-size: 11px;
        padding: 5px 12px
    }
}
