:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-soft: #f5f7f4;
    --text: #173d32;
    --muted: #596d64;
    --line: #dce4df;
    --green: #173d32;
    --green-dark: #0f2d24;
    --lime: #8dc63f;
    --gold: #fbb54f;
    --red: #b64234;
    --amber: #a86d1f;
    --shadow: 0 14px 34px rgba(23, 61, 50, 0.12);
}

/* UOL live-site matching pass */
@font-face {
    font-family: 'Gill Sans UOL';
    src: url('../fonts/GillSansMTPro-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans UOL';
    src: url('../fonts/GillSansMTPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans UOL';
    src: url('../fonts/GillSansMTPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garamond UOL';
    src: url('../fonts/GaramondPremrPro.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garamond UOL';
    src: url('../fonts/GaramondPremrPro-Med.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garamond UOL';
    src: url('../fonts/GaramondPremrPro-Smbd.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --uol-black: #020303;
    --uol-gold: #f8bd5f;
    --uol-white: #ffffff;
    --uol-offwhite: #f4f4f4;
    --uol-ink: #000406;
    --uol-body: #323233;
}

body {
    color: var(--uol-ink);
    font-family: 'Poppins', 'Gill Sans UOL', 'Gill Sans', Arial, Helvetica, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    padding: 0;
    background: var(--uol-black);
    border: 0;
}

.home-page .site-header {
    position: absolute;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.82);
}

.main-nav {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 4vw, 54px);
    width: 100%;
    min-height: 106px;
    padding: 0 clamp(18px, 4vw, 48px);
    background: transparent;
}

.main-nav .brand {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.uol-logo {
    display: block;
    width: 162px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 40px);
    min-width: 0;
}

.site-nav a {
    color: var(--uol-white);
    font-family: 'Gill Sans UOL', 'Gill Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 42px 0;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--uol-gold);
    background: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 18px;
}

.apply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 131px;
    min-height: 42px;
    border-radius: 50px;
    background: var(--uol-gold);
    color: #000;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 24px;
}

.search-link {
    display: grid;
    place-items: center;
    width: 34px;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
}

.search-link img {
    width: 29px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.search-link::before {
    display: none;
}

.home-page main {
    overflow: hidden;
}

.uol-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.08) 100%),
        url('../images/uol-hero-campus.webp') center center / cover no-repeat;
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(100%, 920px);
    padding: 116px 20px 24px;
    color: var(--uol-white);
    text-align: center;
}

.qs-rating {
    width: min(380px, 42vw);
    height: auto;
    margin-bottom: 26px;
}

.hero-copy h1 {
    margin: 0;
    color: var(--uol-white);
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(34px, 3.2vw, 43px);
    font-weight: 400;
    line-height: 1.12;
}

.admissions-line {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-top: 24px;
    text-align: left;
}

.admissions-line > span {
    width: 5px;
    height: 98px;
    background: var(--uol-gold);
}

.admissions-line h2 {
    margin: 0 0 12px;
    color: var(--uol-white);
    font-family: 'Gill Sans UOL', 'Gill Sans', Arial, sans-serif;
    font-size: clamp(31px, 3vw, 39px);
    font-weight: 700;
    line-height: 1.08;
}

.button.yellow {
    min-height: 42px;
    border-radius: 50px;
    background: var(--uol-gold);
    color: #000;
    font-family: 'Gill Sans UOL', 'Gill Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 24px;
}

.degree-finder {
    display: block;
    width: 100%;
    margin: 0;
    padding: 74px clamp(18px, 5vw, 48px) 70px;
    border: 0;
    border-radius: 0;
    background: var(--uol-offwhite);
    box-shadow: none;
}

.uol-finder-form {
    display: block;
    width: min(100%, 1180px);
    margin: 0;
    margin-right: auto;
    margin-left: auto;
}

.uol-finder-form h2,
.uol-title {
    margin: 0;
    color: #323233;
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(48px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
}

.uol-finder-form h2 {
    padding-left: 0;
}

.degree-options {
    display: flex;
    align-items: center;
    gap: clamp(48px, 14vw, 220px);
    margin: 38px 0 30px;
}

.degree-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #323233;
    font-size: 20px;
    font-weight: 400;
}

.degree-options input {
    width: 14px;
    height: 14px;
    accent-color: #1689e8;
}

.degree-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 111px;
    gap: 20px;
    width: calc(100% - 10px);
}

.degree-search {
    position: relative;
    display: block;
}

.degree-search img {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 20px;
    height: 21px;
    transform: translateY(-50%);
    opacity: 0.56;
}

.degree-search input {
    height: 42px;
    border: 1px solid #7d7d7d;
    border-radius: 50px;
    background: var(--uol-white);
    padding: 8px 18px 8px 50px;
}

.degree-search-row button {
    height: 39px;
    align-self: center;
    border: 1px solid #8b8b8b;
    border-radius: 50px;
    background: var(--uol-offwhite);
    color: #323233;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}

.uol-band {
    padding: 0;
}

.research-band {
    background: #fff;
}

.research-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    width: min(100%, 1180px);
    max-width: none;
    margin: 0 auto;
}

.research-intro {
    position: relative;
    min-height: 460px;
    padding: 74px 70px 60px 0;
    background: #fff url('../images/uol-research-pattern.png') left bottom / 230px auto no-repeat;
}

.research-intro h2 {
    margin: 0 0 34px;
    color: var(--uol-ink);
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(52px, 5vw, 70px);
    font-weight: 500;
    line-height: 1;
}

.research-intro p {
    max-width: 440px;
    margin: 0 0 15px;
    color: var(--uol-body);
    font-size: 18px;
    line-height: 1.55;
}

.research-intro a {
    display: inline-flex;
    margin-top: 17px;
    color: #b5b5b5;
    font-size: 20px;
    font-weight: 400;
}

.research-feature {
    display: flex;
    align-items: end;
    min-height: 460px;
    padding: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.33)),
        url('../images/uol-crimm.webp') center center / cover no-repeat;
    color: var(--uol-white);
}

.research-feature div {
    max-width: 650px;
    padding: 0 20px 34px;
}

.research-feature p {
    margin: 0 0 32px;
    color: var(--uol-white);
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
}

.research-feature span {
    display: block;
    width: 145px;
    height: 4px;
    margin-bottom: 18px;
    background: var(--uol-white);
}

.research-feature h3 {
    margin: 0;
    color: var(--uol-white);
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.news-band,
.academics-band,
.events-band {
    padding: 96px clamp(18px, 5vw, 48px) 58px;
    background: #f8f8f8;
}

.news-band .uol-title,
.academics-band .uol-title,
.events-band .uol-title {
    margin-bottom: 36px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    margin: 0;
}

.story-card {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 320px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
        var(--story-image) center center / cover no-repeat;
    box-shadow: none;
    color: var(--uol-white);
    padding: 0;
}

.story-card-large {
    grid-column: span 1;
}

.story-card div {
    width: 100%;
    padding: 26px 20px;
}

.story-card span {
    color: var(--uol-gold);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.story-card h3 {
    margin: 8px 0 0;
    color: var(--uol-white);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
}

.story-card-dark {
    background: #050505;
}

.story-card-dark a {
    display: inline-flex;
    margin-top: 20px;
    border-bottom: 1px solid var(--uol-gold);
    color: var(--uol-gold);
    font-weight: 500;
}

.academics-band {
    background: #fff;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    margin: 0;
}

.faculty-grid article {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 360px;
    border: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
        var(--faculty-image) center center / cover no-repeat;
    box-shadow: none;
    color: var(--uol-white);
    padding: 28px 15px;
}

.faculty-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.faculty-grid h3 {
    position: relative;
    margin: 0;
    max-width: 220px;
    color: var(--uol-white);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16;
}

.international-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    padding: 86px 0;
    background: #050505 url('../images/uol-footer-pattern.png') right bottom / 360px auto no-repeat;
    color: var(--uol-white);
}

.international-band > div:first-child {
    padding-right: 76px;
}

.international-band .uol-title {
    color: var(--uol-white);
}

.international-band p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.45;
}

.international-tiles {
    display: grid;
    gap: 14px;
}

.international-tiles a {
    display: flex;
    align-items: center;
    min-height: 76px;
    border: 1px solid rgba(248, 189, 95, 0.45);
    color: var(--uol-white);
    font-size: 22px;
    font-weight: 500;
    padding: 18px 22px;
}

.event-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    margin: 0;
}

.event-row article {
    min-height: 210px;
    border: 0;
    border-left: 1px solid #d7d7d7;
    border-top: 0;
    background: #fff;
    box-shadow: none;
    padding: 28px 24px;
}

.event-row time {
    color: var(--uol-gold);
    font-size: 30px;
    font-weight: 700;
}

.event-row h3 {
    margin: 18px 0 8px;
    color: var(--uol-ink);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.event-row p {
    color: var(--uol-body);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 22px;
    z-index: 110;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--uol-gold);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.home-page .scroll-top {
    display: none;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 42px;
    margin-top: 0;
    padding: 58px 48px 48px;
    background: #050505;
    border-top: 0;
    color: var(--uol-white);
}

.footer-logo {
    width: 162px;
    height: 78px;
    filter: none;
    object-fit: contain;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
    color: var(--uol-white);
    font-size: 20px;
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--uol-gold);
}

@media (max-width: 1180px) {
    .main-nav {
        grid-template-columns: 170px minmax(0, 1fr) auto;
        gap: 20px;
    }

    .site-nav {
        gap: 18px;
    }

    .site-nav a,
    .apply-link {
        font-size: 16px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        grid-template-columns: 170px 1fr;
        min-height: 96px;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 18px 14px;
    }

    .site-nav a {
        padding: 0;
        white-space: nowrap;
    }

    .nav-actions {
        justify-content: flex-end;
    }

    .uol-hero {
        min-height: 680px;
    }

    .research-layout,
    .international-band {
        grid-template-columns: 1fr;
    }

    .research-intro,
    .international-band > div:first-child {
        padding: 64px 24px;
    }

    .story-grid,
    .faculty-grid,
    .event-row,
    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-page .site-header,
    .site-header {
        position: sticky;
        background: #050505;
    }

    .main-nav {
        display: grid;
        grid-template-columns: 1fr auto;
        min-height: 76px;
        padding: 0 14px;
    }

    .main-nav .brand {
        padding-left: 0;
    }

    .uol-logo {
        width: 136px;
        height: 65px;
    }

    .site-nav {
        display: none;
    }

    .nav-actions {
        padding-right: 0;
    }

    .apply-link {
        display: none;
    }

    .search-link img {
        width: 25px;
        height: 26px;
    }

    .uol-hero {
        min-height: 590px;
    }

    .hero-copy {
        padding-top: 68px;
        padding-bottom: 32px;
    }

    .qs-rating {
        width: min(290px, 76vw);
    }

    .admissions-line {
        align-items: flex-start;
        gap: 14px;
    }

    .admissions-line > span {
        height: 92px;
    }

    .degree-finder {
        padding: 46px 16px 54px;
    }

    .degree-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .degree-search-row {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .degree-search-row button {
        width: 112px;
    }

    .research-intro {
        min-height: auto;
    }

    .research-feature {
        min-height: 420px;
    }

    .news-band,
    .academics-band,
    .events-band {
        padding: 62px 0 36px;
    }

    .story-grid,
    .faculty-grid,
    .event-row,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .international-band {
        padding: 56px 18px;
    }

    .site-footer {
        padding: 42px 24px;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(12, 107, 69, 0.16);
    border-color: var(--green);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand strong,
.admin-brand strong {
    display: block;
    line-height: 1.2;
}

.brand small,
.admin-brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 700;
}

.brand.compact .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.site-nav,
.admin-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.site-nav a,
.admin-nav a {
    border-radius: 6px;
    color: var(--muted);
    font-weight: 700;
    padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a.active,
.admin-nav a:hover,
.admin-nav a.active {
    background: var(--panel-soft);
    color: var(--green-dark);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: clamp(28px, 6vw, 76px);
    min-height: 620px;
    padding: clamp(48px, 8vw, 94px) clamp(18px, 5vw, 72px);
    background: #fff;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1;
}

.hero p,
.page-hero p,
.section-heading p,
.content-band p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 11px 18px;
}

.button:hover,
button.button:hover {
    background: var(--green-dark);
}

.button.secondary {
    background: var(--panel-soft);
    color: var(--green-dark);
}

.button.secondary:hover {
    background: #dde9e1;
}

.button.full {
    width: 100%;
}

.campus-visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #dfece6;
    box-shadow: var(--shadow);
}

.visual-sky {
    position: absolute;
    inset: 0 0 34%;
    background: linear-gradient(#dceff0, #f6fbfa);
}

.visual-building {
    position: absolute;
    right: 9%;
    bottom: 18%;
    left: 9%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: end;
    height: 210px;
    padding: 22px;
    background: #fff;
    border: 1px solid #ccd9d2;
    border-bottom: 10px solid var(--green);
}

.visual-building::before {
    content: "";
    position: absolute;
    top: -58px;
    left: 50%;
    width: 116px;
    height: 58px;
    transform: translateX(-50%);
    background: var(--green);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.visual-building span {
    height: 120px;
    background: #e9f0ec;
    border-top: 8px solid var(--gold);
}

.visual-building span:nth-child(2),
.visual-building span:nth-child(3) {
    height: 150px;
}

.visual-lawn {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 32%;
    background: linear-gradient(135deg, #adc66d, #6f9f55);
}

.quick-finder,
.content-band,
.verification-panel,
.page-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 36px);
}

.quick-finder {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
    align-items: center;
    margin-top: -42px;
    border-radius: 8px;
    background: var(--green-dark);
    color: #fff;
    box-shadow: var(--shadow);
}

.quick-finder .eyebrow {
    color: #e4c06a;
}

.quick-finder h2,
.section-heading h2,
.content-band h2,
.panel h2,
.result-card h2 {
    margin: 6px 0 0;
    line-height: 1.16;
}

.finder-form,
.verification-form,
.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.filter-bar {
    grid-template-columns: minmax(220px, 1fr) 180px 160px auto;
    margin: 22px 0;
}

.info-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-grid article,
.panel,
.result-card,
.stat-card,
.metric-grid article,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.info-grid article {
    padding: 24px;
}

.info-grid h3 {
    margin-top: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 26px;
    align-items: center;
}

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

.metric-grid article {
    padding: 24px;
}

.metric-grid strong {
    display: block;
    color: var(--green);
    font-size: 44px;
    line-height: 1;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    margin-top: 40px;
    padding: 42px clamp(18px, 5vw, 72px);
    background: #102019;
    color: #fff;
}

.site-footer p,
.site-footer a {
    color: #cbd8d1;
}

.site-footer a {
    display: block;
    margin-top: 8px;
}

.page-hero {
    padding-top: 58px;
    padding-bottom: 22px;
}

.compact-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.verification-panel {
    padding-top: 18px;
}

.verification-form {
    grid-template-columns: minmax(0, 1fr) 140px;
    margin-bottom: 22px;
}

.result-list {
    display: grid;
    gap: 18px;
}

.result-card {
    padding: 28px;
}

.result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

.details-grid dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.details-grid dd {
    margin: 3px 0 0;
    font-weight: 700;
}

.remarks {
    margin: 24px 0 0;
    border-left: 4px solid var(--gold);
    background: #fff8e8;
    padding: 12px 14px;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    white-space: nowrap;
}

.status.valid {
    background: #e0f4e6;
    color: var(--green-dark);
}

.status.pending {
    background: #fff0d6;
    color: var(--amber);
}

.status.revoked {
    background: #fde3df;
    color: var(--red);
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    padding: 18px;
}

.auth-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: #edf3ef;
}

.auth-card {
    width: min(100%, 420px);
    padding: 28px;
}

.stack-form,
.record-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

label {
    display: grid;
    gap: 7px;
    color: #25352d;
    font-size: 14px;
    font-weight: 800;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.checkbox-row input {
    width: auto;
}

.muted {
    color: var(--muted);
}

.auth-hint {
    margin: 18px 0 0;
    font-size: 13px;
}

.admin-body {
    background: #edf2ee;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100vh;
    border-right: 1px solid var(--line);
    background: #fff;
    padding: 24px;
}

.admin-nav {
    align-items: stretch;
    flex-direction: column;
}

.admin-nav a {
    display: block;
}

.logout-form {
    margin-top: auto;
}

.logout-form button,
.row-actions button {
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
    font-weight: 800;
    padding: 0;
}

.admin-main {
    min-width: 0;
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    margin: 2px 0 0;
}

.admin-user {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
    padding: 8px 12px;
}

.alert {
    margin-bottom: 18px;
    border-radius: 8px;
    padding: 14px 16px;
}

.alert.success {
    background: #e1f4e8;
    color: var(--green-dark);
}

.alert.error {
    background: #fde8e4;
    color: var(--red);
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.stat-card {
    padding: 20px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
}

.stat-card.good strong {
    color: var(--green);
}

.stat-card.warn strong {
    color: var(--amber);
}

.stat-card.bad strong {
    color: var(--red);
}

.panel {
    padding: 24px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

td span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.actions-col {
    width: 140px;
}

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

.row-actions a {
    color: var(--green);
    font-weight: 800;
}

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

.span-2 {
    grid-column: span 2;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.pagination a,
.pagination span,
.pagination strong {
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.pagination span {
    color: var(--muted);
    opacity: 0.7;
}

/* UOL-inspired public website */
.site-header {
    display: block;
    padding: 0;
    background: #fff;
}

.top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 38px;
    padding: 0 clamp(18px, 5vw, 78px);
    background: var(--green-dark);
    color: #dce8e2;
    font-size: 13px;
    font-weight: 700;
}

.top-strip-links,
.top-strip-actions,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-strip a:hover {
    color: #fff;
}

.main-nav {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 10px clamp(18px, 5vw, 78px);
    background: #fff;
}

.main-nav .brand {
    color: var(--green-dark);
}

.uol-logo {
    display: block;
    width: 235px;
    max-width: 100%;
    height: 88px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    justify-content: center;
    gap: 4px;
}

.site-nav a {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    padding: 11px 9px;
}

.site-nav a:hover,
.site-nav a.active {
    background: transparent;
    color: var(--green);
}

.apply-link {
    min-width: 106px;
    border-radius: 0;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 12px 18px;
    text-align: center;
}

.search-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0;
    color: transparent;
}

.search-link::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid var(--green-dark);
    border-radius: 50%;
    box-shadow: 8px 8px 0 -6px var(--green-dark);
}

.uol-hero {
    position: relative;
    min-height: 635px;
    overflow: hidden;
    background: var(--green);
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(23, 61, 50, 0.94), rgba(23, 61, 50, 0.78) 40%, rgba(23, 61, 50, 0.16) 72%),
        linear-gradient(0deg, rgba(23, 61, 50, 0.26), rgba(23, 61, 50, 0.26));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    min-height: 635px;
    padding: clamp(44px, 7vw, 76px) clamp(18px, 7vw, 104px);
}

.admission-card {
    width: min(100%, 650px);
    color: #fff;
}

.admission-card > span {
    display: inline-flex;
    margin-bottom: 16px;
    background: var(--gold);
    color: #122318;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
    text-transform: uppercase;
}

.admission-card h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(52px, 6vw, 84px);
    line-height: 0.98;
    text-transform: uppercase;
}

.admission-card p {
    max-width: 510px;
    color: #ecf5ef;
    font-size: 19px;
}

.button.yellow {
    background: var(--gold);
    color: #13251b;
}

.button.clear {
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.button.clear.dark {
    border-color: var(--green-dark);
    color: var(--green-dark);
}

.hero-brand-art {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.88);
    padding: 26px;
}

.hero-brand-art img {
    width: min(100%, 310px);
    max-height: 430px;
}

.hero-badge {
    position: absolute;
    right: clamp(18px, 5vw, 82px);
    bottom: 86px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 176px;
    border-radius: 0;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--green-dark);
    padding: 16px;
}

.hero-badge strong {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: var(--green);
    color: #fff;
    font-size: 24px;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.hero-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dots .active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

.degree-finder {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 28px;
    width: min(calc(100% - 36px), 1180px);
    margin: -46px auto 0;
    border-radius: 0;
    background: #fff;
    border-top: 6px solid var(--gold);
    box-shadow: 0 18px 55px rgba(23, 61, 50, 0.16);
    padding: 24px;
}

.finder-left h2 {
    margin: 5px 0 0;
    font-size: 28px;
    line-height: 1.1;
}

.section-kicker {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.uol-finder-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 118px;
    gap: 12px;
    align-items: end;
}

.uol-finder-form label span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.uol-finder-form button {
    min-height: 50px;
    border: 0;
    border-radius: 0;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.uol-band {
    padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 82px);
}

.uol-section-heading {
    margin: 0 auto 34px;
    max-width: 820px;
}

.uol-section-heading.centered {
    text-align: center;
}

.uol-section-heading.inline-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
}

.uol-section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
}

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

.inline-heading > a {
    color: var(--green);
    font-weight: 900;
}

.research-band {
    background: #f6f8f3;
}

.research-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.research-feature {
    min-height: 360px;
    padding: 42px;
    background: linear-gradient(135deg, rgba(23, 61, 50, 0.98), rgba(23, 61, 50, 0.88)), url("../images/uol-campus-hero.png") center/cover;
    color: #fff;
}

.research-feature span,
.story-card span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.research-feature h3 {
    max-width: 620px;
    margin: 12px 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
}

.research-feature p {
    max-width: 620px;
    color: #e8f2ed;
}

.research-feature a {
    display: inline-flex;
    margin-top: 18px;
    color: #fff;
    font-weight: 900;
}

.research-stats {
    display: grid;
    gap: 14px;
}

.research-stats article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-left: 6px solid var(--gold);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 26px;
}

.research-stats strong {
    color: var(--green-dark);
    font-size: 48px;
    line-height: 1;
}

.research-stats span {
    color: var(--muted);
    font-weight: 900;
}

.news-band,
.events-band {
    background: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.story-card {
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 22px;
}

.story-card.large {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 24px;
    padding: 0;
    overflow: hidden;
}

.story-card.large > div:last-child {
    padding: 28px 28px 28px 0;
}

.story-thumb {
    min-height: 300px;
}

.green-thumb {
    background: linear-gradient(rgba(5, 56, 37, 0.18), rgba(5, 56, 37, 0.18)), url("../images/uol-campus-hero.png") center/cover;
}

.story-card h3 {
    margin: 10px 0 0;
    font-size: 21px;
    line-height: 1.22;
}

.story-card.large h3 {
    font-size: 28px;
}

.story-card p {
    color: var(--muted);
}

.story-date {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    background: var(--green-dark);
    color: #fff;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.academics-band {
    background: #f4f7f1;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.faculty-grid article {
    min-height: 280px;
    border-bottom: 5px solid var(--green);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 28px;
}

.faculty-grid span {
    display: inline-flex;
    margin-bottom: 56px;
    color: var(--gold);
    font-size: 34px;
    font-weight: 900;
}

.faculty-grid h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.15;
}

.faculty-grid p {
    color: var(--muted);
    font-size: 15px;
}

.international-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
    gap: 28px;
    align-items: stretch;
    background: var(--green-dark);
    color: #fff;
}

.international-card {
    max-width: 740px;
}

.international-card h2 {
    margin: 8px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.03;
}

.international-card p {
    color: #d7e5de;
    font-size: 18px;
}

.international-tiles {
    display: grid;
    gap: 14px;
}

.international-tiles article {
    display: flex;
    align-items: center;
    min-height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    font-size: 18px;
    font-weight: 900;
    padding: 20px;
}

.event-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.event-row article {
    border-top: 6px solid var(--gold);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 26px;
}

.event-row time {
    color: var(--green);
    font-size: 28px;
    font-weight: 900;
}

.event-row h3 {
    margin: 14px 0 8px;
    font-size: 24px;
    line-height: 1.14;
}

.event-row p {
    color: var(--muted);
}

.floating-actions {
    position: fixed;
    right: 16px;
    top: 52%;
    bottom: auto;
    z-index: 20;
    display: grid;
    gap: 8px;
    transform: translateY(-50%);
}

.floating-actions a {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 0;
    background: var(--green);
    box-shadow: var(--shadow);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.site-footer {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    margin-top: 0;
    background: var(--green);
    border-top: 8px solid var(--gold);
}

.footer-brand p {
    max-width: 300px;
}

.footer-logo {
    width: 190px;
    height: 220px;
    filter: brightness(0) invert(1);
    object-position: left top;
}

.footer-phone {
    font-weight: 900;
}

@media (max-width: 980px) {
    .hero,
    .quick-finder,
    .split,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .stat-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .main-nav,
    .degree-finder,
    .research-layout,
    .international-band {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-actions {
        justify-content: flex-start;
    }

    .uol-finder-form,
    .story-grid,
    .faculty-grid,
    .event-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-card.large {
        grid-column: span 2;
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-header,
    .site-nav,
    .panel-header,
    .result-header,
    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        flex: 1;
        text-align: center;
    }

    .top-strip {
        display: none;
    }

    .main-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 20px;
    }

    .main-nav .brand {
        justify-content: flex-start;
    }

    .main-nav .brand strong {
        font-size: 16px;
    }

    .uol-logo {
        width: 162px;
        height: 112px;
        object-position: left top;
    }

    .site-nav {
        display: none;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .apply-link,
    .search-link {
        width: 100%;
        min-width: 0;
    }

    .search-link {
        border-radius: 4px;
        height: auto;
        color: var(--green-dark);
        font-weight: 900;
    }

    .search-link::before {
        display: none;
    }

    .uol-hero,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .admission-card h1 {
        font-size: 43px;
    }

    .hero-brand-art {
        display: none;
    }

    .hero-badge {
        right: 18px;
        bottom: 76px;
    }

    .degree-finder {
        margin-top: 0;
        width: 100%;
    }

    .hero {
        min-height: auto;
    }

    .campus-visual {
        min-height: 300px;
    }

    .finder-form,
    .verification-form,
    .filter-bar,
    .details-grid,
    .form-grid,
    .metric-grid,
    .stat-grid,
    .info-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .uol-finder-form,
    .story-grid,
    .faculty-grid,
    .event-row {
        grid-template-columns: 1fr;
    }

    .story-card.large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .story-card.large > div:last-child {
        padding: 24px;
    }

    .span-2 {
        grid-column: span 1;
    }

    .admin-main {
        padding: 18px;
    }
}

/* Final UOL homepage override: keep this block last. */
:root {
    --uol-black: #020303;
    --uol-gold: #f8bd5f;
    --uol-offwhite: #f4f4f4;
    --uol-ink: #000406;
    --uol-body: #323233;
}

body {
    font-family: 'Gill Sans UOL', 'Gill Sans', Arial, Helvetica, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    padding: 0;
    background: var(--uol-black);
    border: 0;
}

.home-page .site-header {
    position: absolute;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.82);
}

.main-nav {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 4vw, 54px);
    min-height: 106px;
    padding: 0;
    background: transparent;
}

.main-nav .brand {
    align-self: stretch;
    padding-left: 0;
}

.uol-logo {
    display: block;
    width: 162px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 40px);
    min-width: 0;
}

.site-nav a {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 42px 0;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--uol-gold);
    background: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 18px;
}

.apply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 131px;
    min-height: 42px;
    border-radius: 50px;
    background: var(--uol-gold);
    color: #000;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 24px;
}

.search-link {
    display: grid;
    place-items: center;
    width: 34px;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
}

.search-link img {
    width: 29px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.search-link::before {
    display: none;
}

.home-page main {
    overflow: hidden;
}

.uol-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.08)),
        url('../images/uol-hero-campus.webp') center center / cover no-repeat;
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(100%, 920px);
    padding: 116px 20px 24px;
    color: #fff;
    text-align: center;
}

.qs-rating {
    width: min(380px, 42vw);
    height: auto;
    margin-bottom: 26px;
}

.hero-copy h1 {
    margin: 0;
    color: #fff;
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(34px, 3.2vw, 43px);
    font-weight: 400;
    line-height: 1.12;
}

.admissions-line {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-top: 24px;
    text-align: left;
}

.admissions-line > span {
    width: 5px;
    height: 98px;
    background: var(--uol-gold);
}

.admissions-line h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: 'Gill Sans UOL', 'Gill Sans', Arial, sans-serif;
    font-size: clamp(31px, 3vw, 39px);
    font-weight: 700;
    line-height: 1.08;
}

.button.yellow {
    min-height: 42px;
    border-radius: 50px;
    background: var(--uol-gold);
    color: #000;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 24px;
}

.degree-finder {
    display: block;
    width: 100%;
    margin: 0;
    padding: 74px 0 70px;
    border: 0;
    border-radius: 0;
    background: var(--uol-offwhite);
    box-shadow: none;
}

.uol-finder-form {
    display: block;
    width: 100%;
    margin: 0;
}

.uol-finder-form h2,
.uol-title {
    margin: 0;
    color: #323233;
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(48px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
}

.degree-options {
    display: flex;
    align-items: center;
    gap: clamp(48px, 14vw, 220px);
    margin: 38px 0 30px;
}

.degree-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #323233;
    font-size: 20px;
    font-weight: 400;
}

.degree-options input {
    width: 14px;
    height: 14px;
    accent-color: #1689e8;
}

.degree-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 111px;
    gap: 20px;
    width: calc(100% - 10px);
}

.degree-search {
    position: relative;
    display: block;
}

.degree-search img {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 20px;
    height: 21px;
    transform: translateY(-50%);
    opacity: 0.56;
}

.degree-search input {
    height: 42px;
    border: 1px solid #7d7d7d;
    border-radius: 50px;
    padding: 8px 18px 8px 50px;
}

.degree-search-row button {
    height: 39px;
    align-self: center;
    border: 1px solid #8b8b8b;
    border-radius: 50px;
    background: var(--uol-offwhite);
    color: #323233;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}

.uol-band {
    padding: 0;
}

.research-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

.research-intro {
    min-height: 460px;
    padding: 74px 70px 60px 0;
    background: #fff url('../images/uol-research-pattern.png') left bottom / 230px auto no-repeat;
}

.research-intro h2 {
    margin: 0 0 34px;
    color: var(--uol-ink);
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: clamp(52px, 5vw, 70px);
    font-weight: 500;
    line-height: 1;
}

.research-intro p {
    max-width: 440px;
    margin: 0 0 15px;
    color: var(--uol-body);
    font-size: 18px;
    line-height: 1.55;
}

.research-intro a {
    display: inline-flex;
    margin-top: 17px;
    color: #b5b5b5;
    font-size: 20px;
}

.research-feature {
    display: flex;
    align-items: end;
    min-height: 460px;
    padding: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.33)),
        url('../images/uol-crimm.webp') center center / cover no-repeat;
    box-shadow: none;
    color: #fff;
}

.research-feature div {
    max-width: 650px;
    padding: 0 20px 34px;
}

.research-feature p {
    margin: 0 0 32px;
    color: #fff;
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
}

.research-feature span {
    display: block;
    width: 145px;
    height: 4px;
    margin-bottom: 18px;
    background: #fff;
}

.research-feature h3 {
    margin: 0;
    color: #fff;
    font-family: 'Garamond UOL', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.news-band,
.academics-band,
.events-band {
    padding: 96px 0 58px;
    background: #f8f8f8;
}

.news-band .uol-title,
.academics-band .uol-title,
.events-band .uol-title {
    margin-bottom: 36px;
}

.story-grid,
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 1180px;
    margin: 0 auto;
}

.story-card {
    display: flex;
    align-items: end;
    min-height: 320px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
        var(--story-image) center center / cover no-repeat;
    box-shadow: none;
    color: #fff;
    padding: 0;
}

.story-card div {
    width: 100%;
    padding: 26px 20px;
}

.story-card span {
    color: var(--uol-gold);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.story-card h3 {
    margin: 8px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
}

.story-card-dark {
    background: #050505;
}

.story-card-dark a {
    display: inline-flex;
    margin-top: 20px;
    border-bottom: 1px solid var(--uol-gold);
    color: var(--uol-gold);
}

.academics-band {
    background: #fff;
}

.faculty-grid article {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 360px;
    border: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
        var(--faculty-image) center center / cover no-repeat;
    box-shadow: none;
    color: #fff;
    padding: 28px 15px;
}

.faculty-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.faculty-grid h3 {
    position: relative;
    margin: 0;
    max-width: 220px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16;
}

.international-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 86px clamp(18px, 5vw, 48px);
    background: #050505 url('../images/uol-footer-pattern.png') right bottom / 360px auto no-repeat;
    color: #fff;
}

.international-band > div:first-child {
    padding-right: 76px;
}

.international-band .uol-title {
    color: #fff;
}

.international-band p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.45;
}

.international-tiles {
    display: grid;
    gap: 14px;
}

.international-tiles a {
    display: flex;
    align-items: center;
    min-height: 76px;
    border: 1px solid rgba(248, 189, 95, 0.45);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    padding: 18px 22px;
}

.event-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 1180px;
    margin: 0 auto;
}

.event-row article {
    min-height: 210px;
    border: 0;
    border-left: 1px solid #d7d7d7;
    background: #fff;
    box-shadow: none;
    padding: 28px 24px;
}

.event-row time {
    color: var(--uol-gold);
    font-size: 30px;
    font-weight: 700;
}

.event-row h3 {
    margin: 18px 0 8px;
    color: var(--uol-ink);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.event-row p {
    color: var(--uol-body);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 22px;
    z-index: 110;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--uol-gold);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 42px;
    margin-top: 0;
    padding: 58px 48px 48px;
    background: #050505;
    border-top: 0;
    color: #fff;
}

.footer-logo {
    width: 162px;
    height: 78px;
    filter: none;
    object-fit: contain;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--uol-gold);
}

@media (max-width: 1180px) {
    .main-nav {
        grid-template-columns: 170px minmax(0, 1fr) auto;
        gap: 20px;
    }

    .site-nav {
        gap: 18px;
    }

    .site-nav a,
    .apply-link {
        font-size: 16px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        grid-template-columns: 170px 1fr;
        min-height: 96px;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 18px 14px;
    }

    .site-nav a {
        padding: 0;
        white-space: nowrap;
    }

    .nav-actions {
        justify-content: flex-end;
    }

    .research-layout,
    .international-band {
        grid-template-columns: 1fr;
    }

    .story-grid,
    .faculty-grid,
    .event-row,
    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-page .site-header,
    .site-header {
        position: sticky;
        background: #050505;
    }

    .main-nav {
        grid-template-columns: 1fr auto;
        min-height: 76px;
        padding: 0 14px;
    }

    .uol-logo {
        width: 136px;
        height: 65px;
    }

    .site-nav {
        display: none;
    }

    .nav-actions {
        padding-right: 0;
    }

    .apply-link {
        display: none;
    }

    .uol-hero {
        min-height: 590px;
    }

    .hero-copy {
        padding-top: 68px;
        padding-bottom: 32px;
    }

    .qs-rating {
        width: min(290px, 76vw);
    }

    .admissions-line {
        align-items: flex-start;
        gap: 14px;
    }

    .degree-finder {
        padding: 46px 16px 54px;
    }

    .degree-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .degree-search-row,
    .story-grid,
    .faculty-grid,
    .event-row,
    .site-footer {
        grid-template-columns: 1fr;
    }
}

/* Final container spacing override. */
.main-nav {
    padding-right: clamp(18px, 4vw, 48px);
    padding-left: clamp(18px, 4vw, 48px);
}

.degree-finder {
    padding-right: clamp(18px, 5vw, 48px);
    padding-left: clamp(18px, 5vw, 48px);
}

.uol-finder-form,
.research-layout,
.story-grid,
.faculty-grid,
.event-row {
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
}

.research-layout {
    max-width: 1180px;
}

.news-band,
.academics-band,
.events-band,
.international-band {
    padding-right: clamp(18px, 5vw, 48px);
    padding-left: clamp(18px, 5vw, 48px);
}

@media (max-width: 680px) {
    .main-nav {
        padding-right: 14px;
        padding-left: 14px;
    }

    .degree-finder,
    .news-band,
    .academics-band,
    .events-band,
    .international-band {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* uoledu.net-inspired homepage, using UOL green/gold palette. */
.edu-home .site-header {
    position: sticky;
    background: linear-gradient(135deg, #173d32 0%, #071914 100%);
}

.edu-home .site-header::after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #8dc63f, #f8bd5f);
}

.edu-home .main-nav {
    min-height: 82px;
    grid-template-columns: 190px minmax(0, 1fr) auto;
}

.edu-home .site-nav a {
    padding: 31px 0;
    font-size: 16px;
    font-weight: 500;
}

.edu-home .apply-link,
.edu-btn-primary {
    border-radius: 8px;
    background: linear-gradient(135deg, #f8bd5f 0%, #d99b38 100%);
    color: #071914;
    box-shadow: 0 10px 24px rgba(248, 189, 95, 0.22);
}

.edu-home .apply-link:hover,
.edu-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(248, 189, 95, 0.28);
}

.edu-container {
    width: min(100% - 36px, 1180px);
    margin-right: auto;
    margin-left: auto;
}

.edu-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)), url('../images/uol-live-banner.webp') center top / cover no-repeat;
    color: #fff;
}

.edu-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.16) 100%);
    pointer-events: none;
}

.edu-hero-grid {
    position: relative;
    z-index: 1;
    min-height: 720px;
    padding: 124px 0 24px;
}

.edu-live-banner {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.edu-hero-copy h1,
.edu-section-head h2,
.edu-stats h2 {
    margin: 0;
    font-family: 'Garamond UOL', Georgia, serif;
    line-height: 1.03;
}

.edu-hero-copy h1 {
    max-width: 680px;
    color: #fff;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 600;
}

.edu-qs-logo {
    width: min(30vw, 380px);
    min-width: 220px;
    height: auto;
    margin-top: 0;
}

.edu-award-copy {
    margin: 18px 0 20px;
    color: #fff;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: clamp(20px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.edu-admission-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    width: min(455px, 100%);
    text-align: left;
}

.edu-admission-callout h1 {
    margin: 0;
    color: #fff;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.05;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.26);
}

.edu-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #f8bd5f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.edu-hero-copy p {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

.edu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.edu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.edu-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
}

.edu-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.edu-hero-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.edu-hero-card img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.edu-hero-card div {
    display: grid;
    gap: 6px;
    padding: 22px;
}

.edu-hero-card strong {
    color: #f8bd5f;
    font-size: 38px;
    line-height: 1;
}

.edu-hero-card span {
    color: rgba(255, 255, 255, 0.82);
}

.edu-section {
    padding: clamp(62px, 8vw, 96px) 0;
}

.edu-white {
    background: #fff;
}

.edu-soft {
    background: #f5f8f2;
}

.edu-section-head {
    max-width: 760px;
    margin-bottom: 40px;
}

.edu-section-head.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    max-width: none;
}

.edu-section-head h2 {
    color: #071914;
    font-size: clamp(36px, 4.6vw, 58px);
}

.edu-section-head p {
    margin: 12px 0 0;
    color: #5f7068;
    font-size: 18px;
}

.edu-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.edu-media-story,
.edu-programme-grid article,
.edu-people-grid article {
    overflow: hidden;
    border: 1px solid #dce4df;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 61, 50, 0.1);
}

.edu-media-story img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.edu-media-story div,
.edu-programme-grid div {
    padding: 24px;
}

.edu-media-story h3,
.edu-info-list h3,
.edu-programme-grid h3,
.edu-people-grid h3 {
    margin: 0 0 8px;
    color: #173d32;
    font-size: 23px;
    line-height: 1.15;
}

.edu-media-story p,
.edu-info-list p,
.edu-programme-grid p,
.edu-people-grid p {
    margin: 0;
    color: #5f7068;
}

.edu-info-list {
    display: grid;
    gap: 14px;
}

.edu-info-list article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    border: 1px solid #dce4df;
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}

.edu-info-list span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #173d32;
    color: #f8bd5f;
    font-weight: 700;
}

.edu-programme-grid,
.edu-people-grid,
.edu-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.edu-programme-grid img,
.edu-people-grid img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.edu-people-grid article {
    padding-bottom: 22px;
}

.edu-people-grid h3,
.edu-people-grid p {
    padding-right: 22px;
    padding-left: 22px;
}

.edu-people-grid h3 {
    margin-top: 20px;
}

.edu-stats {
    padding: clamp(62px, 8vw, 96px) 0;
    background: linear-gradient(135deg, #071914 0%, #173d32 100%);
    color: #fff;
}

.edu-stats h2 {
    margin-bottom: 36px;
    color: #fff;
    text-align: center;
    font-size: clamp(34px, 4.4vw, 56px);
}

.edu-stat-grid article {
    border-radius: 8px;
    background: linear-gradient(135deg, #2f674f 0%, #173d32 100%);
    padding: 28px;
    text-align: center;
}

.edu-stat-grid strong {
    display: block;
    color: #f8bd5f;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
}

.edu-stat-grid span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.edu-campus {
    padding: 52px 0;
    background: #f5f8f2;
}

.edu-campus img {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(23, 61, 50, 0.14);
    object-fit: cover;
}

/* Verification page inspired by the supplied screenshots. */
.verification-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #173d32 0%, #071914 100%);
}

.verification-page .site-header,
.verification-page .site-footer {
    display: none;
}

.verify-lookup-shell {
    display: grid;
    justify-items: center;
    min-height: 100vh;
    padding: 34px 16px;
}

.verify-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 10px;
    color: #000;
    text-decoration: none;
    text-align: left;
}

.verify-brand img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.verify-brand h1 {
    margin: 0;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.verify-brand p {
    margin: 5px 0 0;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 13px;
    color: #fff;
}

.verify-lookup-card {
    width: min(100%, 430px);
    border: 2px solid #71883f;
    border-radius: 8px;
    background: #f8f8f8;
    padding: 8px 44px 20px;
}

.verify-lookup-card h2 {
    margin: 0;
    color: #28792f;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 26px;
    text-align: center;
}

.verify-rule {
    width: 100%;
    height: 2px;
    margin: 8px 0 28px;
    background: #087411;
}

.verify-lookup-card label {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: #000;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.verify-lookup-card label span {
    border: 2px solid #0d7f21;
    border-radius: 8px;
    background: #7fbd80;
    line-height: 1.05;
    padding: 4px 3px;
}

.verify-lookup-card input {
    height: 27px;
    border: 2px solid #858798;
    border-radius: 7px;
    padding: 3px 8px;
}

.verify-lookup-card button {
    display: block;
    min-width: 180px;
    min-height: 46px;
    margin: 28px auto 0;
    border: 0;
    border-radius: 7px;
    background: #155a28;
    box-shadow: 0 12px 22px rgba(21, 90, 40, 0.2);
    color: #fff;
    cursor: pointer;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.verify-error {
    margin: -10px 0 18px;
    border: 1px solid #dfb6a9;
    border-radius: 6px;
    background: #fff3ef;
    color: #9d2e17;
    font-size: 13px;
    padding: 9px 10px;
}

.verify-powered {
    margin: 9px 0 0;
    color: #fff;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 10px;
}

.verify-results-panel {
    width: min(100%, 1504px);
    margin-top: 20px;
}

.verify-result-shell {
    width: 100%;
    padding: 0 8px 18px;
}

.verify-success {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    border: 1px solid #a8e7d7;
    border-radius: 8px;
    background: #e2f8f1;
    color: #03b876;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 14px 20px;
}

.verify-success span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 50%;
    line-height: 1;
}

.verify-success span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -58%) rotate(45deg);
    transform-origin: center;
}

.verify-result-card {
    overflow: hidden;
    margin-top: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 48, 67, 0.08);
}

.verify-result-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #0d7f21;
    color: #fff;
    padding: 25px;
}

.verify-result-card h1 {
    margin: 0;
    color: #fff;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 20px;
}

.verify-result-card header p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.88);
}

.verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
}

.verify-table {
    width: 100%;
    border-collapse: collapse;
}

.verify-table th,
.verify-table td {
    border-bottom: 1px solid #dce4df;
    padding: 15px 20px;
    text-align: left;
}

.verify-table th {
    width: 35%;
    background: #f5f7f8;
    color: #60738c;
    font-size: 14px;
    font-weight: 700;
}

.verify-table td {
    color: #1a2738;
    font-size: 16px;
    font-weight: 700;
}

.verify-table tr:last-child td {
    color: #006bea;
}

.verify-again {
    display: inline-flex;
    margin: 18px 0 0;
    border-radius: 6px;
    background: #173d32;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
}

.verify-loading {
    width: min(100%, 430px);
    margin: 0 auto;
    border: 1px solid #b8c99b;
    border-radius: 7px;
    background: #fff;
    color: #155a28;
    font-family: 'Libre Baskerville', 'Garamond UOL', Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 16px;
    text-align: center;
}

.verify-result-error {
    width: min(100%, 430px);
    margin: 0 auto;
}

.verify-lookup-card button:disabled {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 980px) {
    .edu-home .main-nav {
        grid-template-columns: 170px 1fr;
    }

    .edu-hero-grid,
    .edu-why-grid,
    .edu-section-head.split {
        grid-template-columns: 1fr;
    }

    .edu-section-head.split {
        display: grid;
    }

    .edu-programme-grid,
    .edu-people-grid,
    .edu-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .edu-home .main-nav {
        grid-template-columns: 1fr auto;
    }

    .edu-home .site-nav {
        display: none;
    }

    .edu-home .apply-link {
        display: inline-flex;
        min-width: auto;
        min-height: 38px;
        font-size: 14px;
        padding: 8px 13px;
    }

    .edu-hero-grid {
        min-height: auto;
        padding: 54px 0;
    }

    .edu-qs-logo {
        width: min(72vw, 300px);
        min-width: 0;
    }

    .edu-admission-callout {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .edu-hero-copy h1 {
        font-size: 42px;
    }

    .edu-programme-grid,
    .edu-people-grid,
    .edu-stat-grid {
        grid-template-columns: 1fr;
    }

    .verify-brand {
        display: grid;
        justify-items: center;
        gap: 10px;
        text-align: center;
    }

    .verify-lookup-card {
        padding: 14px 18px 22px;
    }

    .verify-lookup-card label {
        grid-template-columns: 1fr;
    }

    .verify-result-card header {
        align-items: flex-start;
        flex-direction: column;
    }

    .verify-table th,
    .verify-table td {
        display: block;
        width: 100%;
    }

    .verify-table th {
        border-bottom: 0;
        padding-bottom: 6px;
    }

    .verify-table td {
        padding-top: 6px;
    }
}

/* Google Fonts override */
body,
button,
input,
select,
textarea,
.site-nav a,
.apply-link,
.edu-btn,
.edu-kicker,
.edu-info-list,
.edu-programme-grid,
.edu-people-grid,
.edu-stat-grid,
.verify-success,
.verify-badge,
.verify-table,
.verify-error,
.admin-body,
.admin-nav a,
.button,
.record-form,
.filter-bar {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
.edu-hero-copy h1,
.edu-section-head h2,
.edu-stats h2,
.panel-header h2,
.admin-topbar h1,
.verify-brand h1,
.verify-brand p,
.verify-lookup-card h2,
.verify-lookup-card label,
.verify-lookup-card button,
.verify-powered,
.verify-result-card h1,
.verify-loading {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
}
