: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;
}

.admin-qr-code {
    display: grid;
    justify-items: center;
    gap: 5px;
    width: 124px;
    margin: 0;
}

.admin-qr-code a {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-qr-code a:hover,
.admin-qr-code a:focus-visible {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 77, 44, 0.12);
}

.admin-qr-code img {
    display: block;
    width: 112px;
    height: 112px;
}

.admin-qr-code figcaption {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

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

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

.file-field {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.file-field > label {
    display: block;
}

.file-field > small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.signature-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    padding: 10px;
}

.signature-preview img {
    width: 150px;
    height: 60px;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

.signature-preview span,
.existing-files strong {
    color: var(--green-dark);
    font-size: 13px;
}

.existing-files {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.existing-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    padding: 10px 12px;
    font-weight: 600;
}

.existing-file a {
    min-width: 0;
    overflow: hidden;
    color: var(--green);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.existing-file span {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
}

.existing-file input {
    width: auto;
}

.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;
}

.officer-title {
    display: block;
    margin-top: 3px;
    color: #60738c;
    font-size: 13px;
    font-weight: 500;
}

.verification-signature {
    display: block;
    width: 190px;
    height: 70px;
    margin-top: 10px;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

.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) {
    .span-2 {
        grid-column: span 1;
    }

    .existing-file {
        align-items: flex-start;
        flex-direction: column;
    }

    .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;
}

/* MOFA document attestation public website */
.mofa-site {
    --mofa-green: #075d36;
    --mofa-deep: #003d24;
    --mofa-ink: #153529;
    --mofa-muted: #718178;
    --mofa-line: #dce7df;
    margin: 0;
    background: #fff;
    color: var(--mofa-ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.mofa-site h1,
.mofa-site h2,
.mofa-site h3,
.mofa-site p {
    margin: 0;
}

.mofa-site h1,
.mofa-site h2,
.mofa-site h3 {
    font-family: 'DM Sans', Arial, sans-serif;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.mofa-site a {
    color: inherit;
    text-decoration: none;
}

.mofa-container {
    width: min(1240px, calc(100% - 88px));
    margin-inline: auto;
}

.mofa-skip {
    position: absolute;
    z-index: 999;
    top: -100px;
    left: 20px;
    border-radius: 4px;
    background: #fff;
    padding: 10px 14px;
}

.mofa-skip:focus {
    top: 12px;
}

.mofa-public-header {
    position: relative;
    z-index: 20;
    border: 0;
    background: #fff;
}

.mofa-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 122px;
    gap: 30px;
}

.mofa-brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    color: #003d1d;
}

.mofa-brand-emblem {
    width: 63px;
    height: 76px;
    color: #0c6339;
}

.mofa-brand strong,
.mofa-brand small {
    display: block;
    letter-spacing: 0.015em;
}

.mofa-brand strong {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.mofa-brand small {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
}

.mofa-utilities {
    display: grid;
    justify-items: end;
    gap: 17px;
}

.mofa-utility-links,
.mofa-social {
    display: flex;
    align-items: center;
}

.mofa-utility-links {
    gap: 26px;
    color: #41584c;
    font-size: 12px;
}

.mofa-utility-links a:last-child {
    color: var(--mofa-green);
    font-weight: 700;
}

.mofa-social {
    gap: 13px;
    color: #486456;
    font-size: 12px;
}

.mofa-social span {
    margin-right: 3px;
    color: #8a988f;
}

.mofa-social a {
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    font-weight: 700;
}

.mofa-nav-shell {
    border-bottom: 3px solid #b4c686;
    background: #003d1d;
}

.mofa-primary-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    gap: 0;
    color: #fff;
    font-size: 12px;
}

.mofa-primary-nav > a {
    border: 0;
    padding: 16px 17px 14px;
    white-space: nowrap;
}

.mofa-primary-nav > a:first-child {
    padding-left: 0;
}

.mofa-primary-nav > a:hover,
.mofa-primary-nav > a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #e5f0b8;
}

.mofa-verify-nav {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.mofa-verify-nav span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    font-size: 10px;
}

.mofa-menu-button {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid var(--mofa-line);
    border-radius: 5px;
    background: #fff;
    padding: 9px;
}

.mofa-menu-button > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--mofa-deep);
}

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

.mofa-hero {
    position: relative;
    overflow: hidden;
    background: #07552f;
    color: #fff;
}

.mofa-home-slides {
    position: relative;
    min-height: 475px;
}

.mofa-home-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.mofa-home-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.mofa-home-slide.is-green {
    background: linear-gradient(120deg, #064c2a 0%, #087542 54%, #53a05f 100%);
}

.mofa-home-slide.is-light {
    background: linear-gradient(120deg, #eef7e8 0%, #dcefd8 58%, #91c37d 100%);
    color: #12462a;
}

.mofa-home-slide.is-deep {
    background: linear-gradient(120deg, #063d24 0%, #075f35 62%, #0a7140 100%);
}

.mofa-hero::before,
.mofa-hero::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: '';
}

.mofa-hero::before {
    width: 560px;
    height: 560px;
    top: -250px;
    right: -80px;
}

.mofa-hero::after {
    width: 390px;
    height: 390px;
    right: 45px;
    bottom: -270px;
}

.mofa-hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 475px;
    gap: 60px;
    padding-top: 58px;
    padding-bottom: 76px;
}

.mofa-hero-copy {
    max-width: 750px;
}

.mofa-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.mofa-kicker::before {
    width: 22px;
    height: 3px;
    background: #d1e991;
    content: '';
}

.mofa-hero h1 {
    margin-top: 21px;
    font-size: clamp(3rem, 5vw, 4.7rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.mofa-slide-title {
    margin-top: 21px;
    font-size: clamp(3rem, 5vw, 4.7rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.mofa-slide-title em {
    color: #d3ed9b;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.87em;
    font-weight: 400;
}

.mofa-home-slide.is-light .mofa-kicker::before {
    background: #4f8a60;
}

.mofa-home-slide.is-light .mofa-slide-title {
    color: #164d31;
}

.mofa-home-slide.is-light .mofa-slide-title em {
    color: #4c815d;
}

.mofa-home-slide.is-light .mofa-hero-copy > p {
    color: #536f5d;
}

.mofa-button.is-outline-dark {
    border-color: rgba(18, 70, 42, 0.32);
    color: #164d31;
}

.mofa-button.is-outline-dark:hover {
    border-color: rgba(18, 70, 42, 0.55);
    background: rgba(255, 255, 255, 0.28);
}

.mofa-hero h1 em {
    color: #d3ed9b;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.87em;
    font-weight: 400;
}

.mofa-hero-copy > p {
    max-width: 580px;
    margin-top: 23px;
    color: #d0e2d8;
    font-size: 17px;
}

.mofa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 29px;
}

.mofa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 11px 19px;
    font-size: 13px;
    font-weight: 700;
    transition: 180ms ease;
}

.mofa-button:hover {
    transform: translateY(-2px);
}

.mofa-button.is-light {
    background: #d7eba6;
    color: #244b2e;
}

.mofa-button.is-outline {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.mofa-button.is-green {
    background: var(--mofa-green);
    color: #fff;
}

.mofa-hero-seal {
    position: relative;
    display: grid;
    width: 260px;
    height: 260px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    text-align: center;
}

.mofa-hero-seal::before {
    position: absolute;
    inset: 17px;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    content: '';
}

.mofa-hero-emblem {
    position: absolute;
    top: 47px;
    width: 82px;
    height: 98px;
    color: #e9f4db;
}

.mofa-hero-seal span {
    position: absolute;
    bottom: 43px;
    color: #d8e9d9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.6;
}

.mofa-slide-symbol {
    position: absolute;
    top: 48px;
    color: #e9f4db;
    font-family: Georgia, serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
}

.mofa-home-slide.is-light .mofa-hero-seal {
    border-color: rgba(20, 81, 46, 0.24);
}

.mofa-home-slide.is-light .mofa-hero-seal::before {
    border-color: rgba(20, 81, 46, 0.25);
}

.mofa-home-slide.is-light .mofa-slide-symbol,
.mofa-home-slide.is-light .mofa-hero-seal span {
    color: #276f47;
}

.mofa-hero-footer {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 55px;
    gap: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.mofa-hero-footer b {
    color: #fff;
    font-size: 14px;
}

.mofa-hero-footer div {
    display: flex;
    gap: 6px;
}

.mofa-hero-footer i {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
}

.mofa-hero-footer i:first-child {
    background: #fff;
}

.mofa-slider-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: rgba(0, 44, 23, 0.22);
    color: #fff;
    padding: 0;
    cursor: pointer;
}

.mofa-slider-arrow:hover,
.mofa-slider-arrow:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.mofa-slider-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 7px;
}

.mofa-slider-dots button {
    width: 25px;
    height: 3px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.42);
    padding: 0;
    cursor: pointer;
}

.mofa-slider-dots button.is-active {
    background: #fff;
}

.mofa-slider-counter {
    min-width: 50px;
    font-variant-numeric: tabular-nums;
}

.mofa-hero[data-active-slide="1"] .mofa-hero-footer {
    color: rgba(18, 70, 42, 0.62);
}

.mofa-hero[data-active-slide="1"] .mofa-hero-footer b {
    color: #164d31;
}

.mofa-hero[data-active-slide="1"] .mofa-slider-arrow {
    border-color: rgba(18, 70, 42, 0.34);
    background: rgba(18, 70, 42, 0.08);
    color: #164d31;
}

.mofa-hero[data-active-slide="1"] .mofa-slider-dots button {
    background: rgba(18, 70, 42, 0.28);
}

.mofa-hero[data-active-slide="1"] .mofa-slider-dots button.is-active {
    background: #164d31;
}

/* Homepage uses the two official E-Attestation campaign banners. */
.mofa-banner-slider {
    overflow: hidden;
    background: #eaf4ed;
}

.mofa-banner-slider::before,
.mofa-banner-slider::after {
    display: none;
}

.mofa-banner-slider .mofa-home-slides {
    min-height: 0;
}

.mofa-banner-slider .mofa-home-slide {
    display: block;
    transform: none;
    background: #eaf4ed;
}

.mofa-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.mofa-banner-arrow {
    position: absolute;
    z-index: 4;
    bottom: 1.3%;
    width: clamp(28px, 2.4vw, 46px);
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.mofa-banner-arrow.is-previous {
    left: 65.05%;
}

.mofa-banner-arrow.is-next {
    left: 80.45%;
}

.mofa-banner-arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .mofa-home-slide {
        transition: none;
    }
}

.mofa-services {
    border-bottom: 1px solid #dfe9e3;
    background: #f2f7f4;
    padding: 49px 0 27px;
}

.mofa-section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 55px;
    margin-bottom: 33px;
}

.mofa-section-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6f8b7a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.mofa-section-kicker i {
    width: 17px;
    height: 3px;
    background: #a6bb73;
}

.mofa-section-intro h2 {
    margin-top: 16px;
    color: #103b28;
    font-size: clamp(2.6rem, 4.2vw, 3.2rem);
    font-weight: 650;
}

.mofa-section-intro h2 em {
    color: #4e896b;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
}

.mofa-section-intro > div:last-child {
    max-width: 480px;
    padding-bottom: 4px;
}

.mofa-section-intro p {
    color: #6d8074;
    font-size: 14px;
}

.mofa-section-intro a,
.mofa-heading-row a,
.mofa-faq-intro a {
    display: inline-flex;
    margin-top: 14px;
    color: #3f7657;
    font-size: 13px;
    font-weight: 700;
}

.mofa-service-board {
    display: grid;
    grid-template-columns: 1fr 1fr 0.95fr;
    gap: 20px;
}

.mofa-service-card,
.mofa-account-card {
    min-width: 0;
    border-radius: 8px;
}

.mofa-service-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    border: 1px solid;
    padding: 25px 27px 0;
    transition: 180ms ease;
}

.mofa-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(18, 63, 39, 0.08);
}

.mofa-service-card.is-blue {
    border-color: #cbdcf0;
    background: #e4effb;
    color: #1c497b;
}

.mofa-service-card.is-amber {
    border-color: #ecd9ba;
    background: #fcf0df;
    color: #905420;
}

.mofa-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.mofa-card-top span,
.mofa-service-card small,
.mofa-account-card small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.mofa-card-top b {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 21px;
    opacity: 0.6;
}

.mofa-service-card h3,
.mofa-account-card h3 {
    margin-top: 14px;
    font-size: 32px;
    font-weight: 600;
}

.mofa-service-card p {
    margin-top: 18px;
    color: currentColor;
    font-size: 13px;
    opacity: 0.78;
}

.mofa-service-card > a {
    margin-top: auto;
    border-top: 1px solid currentColor;
    padding: 20px 0;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.78;
}

.mofa-account-card {
    background: #004526;
    color: #fff;
    padding: 27px;
}

.mofa-account-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #d6e9bc;
    font-size: 22px;
}

.mofa-account-card small {
    color: #c4dba9;
}

.mofa-account-card h3 {
    color: #fff;
}

.mofa-account-card ul {
    margin: 20px 0;
    padding: 0;
    color: #bad3c0;
    font-size: 12px;
    line-height: 2;
    list-style: none;
}

.mofa-account-card .mofa-button {
    display: flex;
    min-height: 43px;
    font-size: 12px;
}

.mofa-account-help {
    display: block;
    margin-top: 13px;
    color: #b9ceb9;
    font-size: 11px;
    text-align: center;
}

.mofa-important {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    border-top: 1px solid #d8e5dc;
    padding-top: 17px;
}

.mofa-important strong {
    color: #528063;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.mofa-important p {
    color: #728578;
    font-size: 12px;
}

.mofa-important a {
    margin-left: auto;
    color: #40734d;
    font-size: 12px;
    white-space: nowrap;
}

.mofa-page-section {
    padding: 68px 0 72px;
}

.mofa-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.mofa-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--mofa-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.mofa-heading-row h2 {
    color: var(--mofa-ink);
    font-size: 34px;
    font-weight: 650;
}

.mofa-heading-row > p {
    color: #87958a;
    font-size: 14px;
}

.mofa-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mofa-resource-card {
    display: flex;
    min-height: 275px;
    flex-direction: column;
    border-radius: 7px;
    padding: 25px;
    transition: 180ms ease;
}

.mofa-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(31, 57, 45, 0.09);
}

.mofa-resource-card.is-purple {
    background: #f1ecf9;
    color: #7557a8;
}

.mofa-resource-card.is-sand {
    background: #fff3df;
    color: #9e681b;
}

.mofa-resource-card.is-mint {
    background: #eaf5f1;
    color: #3f7e6b;
}

.mofa-resource-icon {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 10px;
    font-size: 20px;
    opacity: 0.8;
}

.mofa-resource-card h3 {
    margin-top: 19px;
    color: #253b31;
    font-size: 21px;
}

.mofa-resource-card p {
    margin-top: 11px;
    color: #6d7d73;
    font-size: 13px;
}

.mofa-resource-card strong {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid currentColor;
    padding-top: 17px;
    font-size: 12px;
}

.mofa-process {
    border-block: 1px solid #e6ede7;
    background: #f7f9f7;
}

.mofa-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mofa-process-grid article {
    border-top: 2px solid #bfd5c5;
    padding-top: 20px;
}

.mofa-process-grid article:nth-child(2) {
    border-color: #c3d4e9;
}

.mofa-process-grid article:nth-child(3) {
    border-color: #e6d1af;
}

.mofa-process-grid article:nth-child(4) {
    border-color: #d2c7e5;
}

.mofa-process-grid span {
    color: #7d9784;
    font-size: 12px;
    font-weight: 800;
}

.mofa-process-grid h3 {
    margin: 17px 0 10px;
    font-size: 20px;
}

.mofa-process-grid p {
    color: #81927f;
    font-size: 13px;
}

.mofa-faq {
    background: linear-gradient(120deg, #f0f7ed, #fff);
}

.mofa-faq-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.4fr;
    align-items: start;
    gap: 75px;
}

.mofa-faq-intro h2 {
    color: var(--mofa-green);
    font-size: 42px;
    font-weight: 750;
}

.mofa-faq-intro p {
    margin-top: 16px;
    color: #58705f;
    font-size: 14px;
}

.mofa-faq-list {
    border-top: 1px solid #ceddce;
}

.mofa-faq-list details {
    border-bottom: 1px solid #ceddce;
}

.mofa-faq-list summary {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 21px 0;
    color: #244a35;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
}

.mofa-faq-list summary::-webkit-details-marker {
    display: none;
}

.mofa-faq-list summary span {
    color: #7f9886;
    font-size: 11px;
}

.mofa-faq-list summary b {
    color: #6a8c72;
    font-size: 22px;
}

.mofa-faq-list details[open] summary b {
    transform: rotate(45deg);
}

.mofa-faq-list details p {
    padding: 0 42px 20px 47px;
    color: #75867a;
    font-size: 13px;
}

.mofa-verification-cta {
    background: #fff;
    padding: 42px 0;
}

.mofa-verification-cta > .mofa-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.mofa-verify-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mofa-verify-seal {
    display: grid;
    width: 62px;
    height: 66px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: #eef5e7;
    color: #70984c;
    font-size: 25px;
}

.mofa-verify-copy .mofa-eyebrow {
    margin-bottom: 6px;
}

.mofa-verify-copy h2 {
    font-size: 27px;
}

.mofa-verify-copy p {
    margin-top: 5px;
    color: #7e8e82;
    font-size: 13px;
}

.mofa-public-footer {
    border: 0;
    background: #003d1d;
    color: #fff;
    padding: 40px 0 43px;
}

.mofa-footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.mofa-footer-heading > span {
    width: 22px;
    height: 5px;
    background: #fff;
}

.mofa-footer-heading h2 {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mofa-footer-heading a {
    margin-left: auto;
    color: #c1d5c6;
    font-size: 11px;
}

.mofa-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.mofa-brand.is-footer {
    color: #fff;
}

.mofa-brand.is-footer .mofa-brand-emblem {
    color: #fff;
}

.mofa-footer-brand p {
    margin-top: 16px;
    color: #a4b9ab;
    font-size: 12px;
}

.mofa-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.mofa-footer-links strong,
.mofa-footer-links a {
    display: block;
}

.mofa-footer-links strong {
    margin-bottom: 10px;
    color: #fff;
    font-size: 12px;
}

.mofa-footer-links a {
    color: #a8bbaa;
    font-size: 11px;
    line-height: 2.2;
}

.mofa-copyright {
    background: #002d16;
    color: #78947f;
    font-size: 10px;
}

.mofa-copyright > .mofa-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 14px;
}

/* General Attestation verification page */
.mofa-verify-hero {
    border-bottom: 1px solid #dcebe2;
    background: #eff8f3;
    padding: 56px 0 60px;
}

.mofa-verify-hero h1 {
    color: #133f2c;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.mofa-verify-hero p {
    margin-top: 16px;
    color: #6d8074;
}

.mofa-verify-workspace {
    background: #f7faf8;
    padding: 68px 0 80px;
}

.mofa-verify-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.25fr;
    align-items: start;
    gap: 70px;
}

.mofa-verify-guidance {
    padding-top: 25px;
}

.mofa-verify-guidance h2 {
    margin-top: 18px;
    color: #173f2d;
    font-size: 38px;
}

.mofa-verify-guidance p {
    margin-top: 20px;
    color: #728278;
    font-size: 14px;
}

.mofa-verify-guidance > a {
    display: inline-flex;
    margin-top: 25px;
    color: var(--mofa-green);
    font-size: 13px;
    font-weight: 700;
}

.mofa-verify-form {
    display: grid;
    gap: 18px;
    margin: 0;
    border: 1px solid #dce7df;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 53, 41, 0.07);
    padding: 32px;
}

.mofa-verify-form .mofa-eyebrow {
    margin: 0;
}

.mofa-verify-form h2 {
    margin-bottom: 4px;
    font-size: 28px;
}

.mofa-verify-form label {
    display: grid;
    gap: 8px;
    color: #2a4739;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.mofa-verify-form label b {
    color: #a15845;
}

.mofa-verify-form label small {
    display: inline;
    color: #7f8f86;
    font-size: 11px;
    font-weight: 500;
    text-align: left;
}

.mofa-verify-form input {
    height: 50px;
    border: 1px solid #cfded5;
    border-radius: 5px;
    background: #fbfdfb;
    color: #203e30;
    padding: 12px 14px;
}

.mofa-verify-form input:focus {
    border-color: var(--mofa-green);
    outline: 3px solid rgba(7, 93, 54, 0.12);
}

.mofa-verify-form .mofa-button {
    width: 100%;
    margin-top: 4px;
}

.mofa-verify-form small {
    color: #89978e;
    font-size: 11px;
    text-align: center;
}

.mofa-verification-results {
    margin-top: 25px;
}

.mofa-verification-results .verify-result-shell {
    width: 100%;
    margin: 0;
}

.mofa-verification-results .verify-success {
    border-color: #b9d9c6;
    background: #eef8f1;
    color: #17613d;
}

.mofa-verification-results .verify-result-card {
    border: 1px solid #dbe5df;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(31, 48, 40, 0.07);
}

.mofa-verification-results .verify-result-card header {
    background: #075d36;
}

.mofa-verification-results .verify-table tr:last-child td {
    color: #1a3528;
}

/* Official General Attestation verification composition */
.mofa-verify-hero {
    border-bottom-color: #dcebe2;
    background: #eff8f3;
    padding: 0;
}

.mofa-breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 25px;
    color: #7c8d83;
    font-size: 12px;
}

.mofa-breadcrumb a:hover {
    color: #08705b;
}

.mofa-verify-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding-top: 42px;
    padding-bottom: 55px;
}

.mofa-verify-hero .mofa-eyebrow,
.mofa-eyebrow.is-blue {
    color: #31806c;
}

.mofa-verify-hero h1 {
    color: #172d38;
    font-size: 46px;
    letter-spacing: -0.045em;
}

.mofa-verify-hero h1 em {
    color: #31806c;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.72em;
    font-weight: 400;
}

.mofa-verify-hero p {
    margin-top: 20px;
    color: #697781;
    font-size: 16px;
}

.mofa-verify-illustration {
    position: relative;
    display: grid;
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    place-items: center;
    border: 1px solid rgba(39, 123, 66, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.28), 0 18px 38px rgba(18, 78, 36, 0.12);
}

.mofa-verify-illustration::before {
    position: absolute;
    inset: 15px;
    border: 1px dashed rgba(40, 117, 59, 0.3);
    border-radius: 50%;
    content: '';
}

.mofa-verify-main-icon,
.mofa-verify-mini-icon {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
}

.mofa-verify-main-icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background: #2e7a48;
    color: #fff;
    box-shadow: 0 13px 26px rgba(0, 75, 34, 0.22);
}

.mofa-verify-main-icon svg {
    width: 43px;
    height: 43px;
}

.mofa-verify-mini-icon {
    width: 43px;
    height: 43px;
    border: 1px solid #afd0ad;
    border-radius: 12px;
    background: #fff;
    color: #277944;
    box-shadow: 0 8px 18px rgba(25, 81, 39, 0.14);
}

.mofa-verify-mini-icon svg {
    width: 21px;
    height: 21px;
}

.mofa-verify-mini-icon.is-document {
    top: 4px;
    right: 8px;
}

.mofa-verify-mini-icon.is-check {
    bottom: 9px;
    left: 0;
}

.mofa-verify-workspace {
    background: #fff;
    padding: 68px 0 72px;
}

.mofa-verify-layout {
    grid-template-columns: 1fr 1fr;
    gap: 95px;
}

.mofa-verify-guidance {
    padding-top: 0;
}

.mofa-verify-stamp-icon {
    display: inline-flex;
    width: 49px;
    height: 49px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cce7d4;
    border-radius: 12px;
    background: #dff1e6;
    color: #13755c;
}

.mofa-verify-stamp-icon svg {
    width: 25px;
    height: 25px;
}

.mofa-verify-guidance h2 {
    margin: 23px 0 22px;
    color: #172d38;
    font-size: 35px;
}

.mofa-verify-guidance > p {
    max-width: 450px;
    margin: 0;
    color: #697781;
}

.mofa-verify-guidance > .mofa-other-verify {
    display: block;
    margin-top: 28px;
    border: 1px solid #dce8df;
    border-radius: 9px;
    background: #f4f8f5;
    color: inherit;
    padding: 20px 23px;
}

.mofa-other-verify > span {
    display: block;
    margin-bottom: 8px;
    color: #82968a;
    font-size: 12px;
}

.mofa-other-verify strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3f7657;
    font-size: 14px;
    font-weight: 600;
}

.mofa-other-verify strong b {
    margin-left: auto;
    font-size: 17px;
}

.mofa-verify-info-box {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 26px;
    border: 1px solid #dfe8e2;
    border-radius: 7px;
    background: #f4f7f5;
    color: #6f8b7a;
    padding: 18px 20px;
}

.mofa-verify-info-box svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin-top: 3px;
}

.mofa-verify-info-box p {
    color: #71877a;
    font-size: 13px;
}

.mofa-verify-form {
    display: block;
    border-color: #dfe7e5;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(29, 57, 70, 0.045);
    padding: 32px;
}

.mofa-verify-form .mofa-eyebrow {
    margin-bottom: 0;
}

.mofa-verify-form h2 {
    margin: 15px 0 25px;
    font-size: 29px;
}

.mofa-verify-form label {
    display: block;
    margin: 20px 0 8px;
    color: #172d38;
    font-size: 14px;
    font-weight: 600;
}

.mofa-verify-form input {
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    border-color: #d9e3de;
    border-radius: 6px;
    background: #fcfdfc;
    color: #3d5851;
    padding: 13px;
    font-size: 14px;
}

.mofa-verify-form input:focus {
    border-color: #08705b;
    outline: 2px solid rgba(8, 112, 91, 0.2);
    outline-offset: 2px;
}

.mofa-verify-form .mofa-button {
    width: 100%;
    margin-top: 27px;
}

.mofa-verify-form .mofa-button.is-green {
    background: #08705b;
    color: #fff;
}

.mofa-verify-form .mofa-button.is-green:hover {
    background: #064c40;
}

.mofa-verify-form .mofa-button.is-green svg {
    width: 19px;
    height: 19px;
}

.mofa-verify-form .mofa-button.is-green span {
    margin-left: auto;
}

.mofa-verify-form small {
    display: block;
    margin-top: 26px;
    border-top: 1px solid #e6ece8;
    padding-top: 21px;
    color: #93a19a;
    font-size: 12px;
    text-align: left;
}

@media (max-width: 1080px) {
    .mofa-container {
        width: calc(100% - 48px);
    }

    .mofa-utilities {
        display: none;
    }

    .mofa-menu-button {
        display: block;
    }

    .mofa-nav-shell {
        border-bottom-width: 2px;
    }

    .mofa-primary-nav {
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 10px 0;
    }

    .mofa-primary-nav.is-open {
        display: flex;
    }

    .mofa-primary-nav > a,
    .mofa-primary-nav > a:first-child {
        padding: 12px 8px;
    }

    .mofa-service-board {
        grid-template-columns: 1fr 1fr;
    }

    .mofa-account-card {
        grid-column: span 2;
    }

    .mofa-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .mofa-container {
        width: calc(100% - 32px);
    }

    .mofa-masthead {
        min-height: 92px;
    }

    .mofa-brand-emblem {
        width: 48px;
        height: 59px;
    }

    .mofa-brand strong {
        font-size: 12px;
    }

    .mofa-brand small {
        font-size: 10px;
    }

    .mofa-hero-grid {
        min-height: 540px;
        align-items: flex-start;
        flex-direction: column;
        gap: 36px;
        padding-top: 50px;
    }

    .mofa-hero h1,
    .mofa-slide-title {
        font-size: 3rem;
    }

    .mofa-hero-seal {
        position: absolute;
        right: -80px;
        bottom: -40px;
        width: 240px;
        height: 240px;
        opacity: 0.48;
    }

    .mofa-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mofa-section-intro,
    .mofa-heading-row,
    .mofa-verification-cta > .mofa-container,
    .mofa-important {
        align-items: flex-start;
        flex-direction: column;
    }

    .mofa-service-board,
    .mofa-resource-grid,
    .mofa-process-grid,
    .mofa-faq-grid,
    .mofa-verify-layout {
        grid-template-columns: 1fr;
    }

    .mofa-account-card {
        grid-column: span 1;
    }

    .mofa-important a {
        margin-left: 0;
    }

    .mofa-page-section {
        padding: 52px 0;
    }

    .mofa-faq-grid,
    .mofa-verify-layout {
        gap: 42px;
    }

    .mofa-footer-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .mofa-footer-heading a {
        width: 100%;
        margin: 0;
    }

    .mofa-footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .mofa-copyright > .mofa-container {
        flex-direction: column;
        gap: 3px;
    }

    .mofa-verify-hero {
        padding: 45px 0;
    }

    .mofa-verify-workspace {
        padding: 45px 0 60px;
    }

    .mofa-verify-form {
        padding: 23px;
    }
}

@media (max-width: 460px) {
    .mofa-brand span {
        max-width: 190px;
    }

    .mofa-hero h1,
    .mofa-slide-title {
        font-size: 2.55rem;
    }

    .mofa-footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .mofa-verify-hero-inner {
        gap: 28px;
    }

    .mofa-verify-illustration {
        width: 145px;
        height: 145px;
        flex-basis: 145px;
    }

    .mofa-verify-main-icon {
        width: 67px;
        height: 67px;
    }

    .mofa-verify-main-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 760px) {
    .mofa-verify-hero {
        padding: 0;
    }

    .mofa-breadcrumb {
        padding-top: 20px;
    }

    .mofa-verify-hero-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 18px;
        padding-top: 32px;
        padding-bottom: 42px;
    }

    .mofa-verify-hero h1 {
        font-size: 36px;
    }

    .mofa-verify-layout {
        gap: 45px;
    }

    .mofa-verify-workspace {
        padding: 52px 0 60px;
    }
}

@media (max-width: 650px) {
    .mofa-verify-hero-inner {
        gap: 13px;
    }

    .mofa-verify-hero h1 {
        font-size: 31px;
    }

    .mofa-verify-hero h1 em {
        font-size: 0.68em;
    }

    .mofa-verify-illustration {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.28), 0 10px 20px rgba(18, 78, 36, 0.1);
    }

    .mofa-verify-illustration::before,
    .mofa-verify-mini-icon {
        display: none;
    }

    .mofa-verify-main-icon {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

    .mofa-verify-main-icon svg {
        width: 25px;
        height: 25px;
    }
}

/* Dedicated General Attestation QR result */
.mofa-qr-result-hero {
    overflow: hidden;
    background: linear-gradient(115deg, #034b29 0%, #075f36 57%, #128153 100%);
    color: #fff;
}

.mofa-qr-result-hero .mofa-breadcrumb {
    color: rgba(255, 255, 255, 0.72);
}

.mofa-qr-result-hero .mofa-breadcrumb a:hover {
    color: #d7efa5;
}

.mofa-qr-result-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: center;
    gap: 70px;
    min-height: 345px;
    padding: 42px 0 58px;
}

.mofa-qr-result-hero .mofa-eyebrow {
    color: #d1ec9b;
}

.mofa-qr-result-hero h1 {
    margin-top: 24px;
    color: #fff;
    font-size: clamp(2.65rem, 4.5vw, 4rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.mofa-qr-result-hero h1 em {
    color: #d4ee9e;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.82em;
    font-weight: 400;
}

.mofa-qr-result-hero p {
    max-width: 720px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
}

.mofa-qr-result-icon {
    position: relative;
    display: grid;
    width: 220px;
    height: 220px;
    justify-self: end;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.045), 0 0 0 84px rgba(255, 255, 255, 0.025);
}

.mofa-qr-result-icon::before {
    position: absolute;
    inset: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: '';
}

.mofa-qr-result-icon > span {
    z-index: 1;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 20px;
    background: #087244;
    box-shadow: 0 15px 30px rgba(0, 42, 22, 0.25);
}

.mofa-qr-result-icon svg {
    width: 43px;
    height: 43px;
}

.mofa-qr-result-icon i {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: #228052;
    font-style: normal;
    box-shadow: 0 8px 20px rgba(0, 49, 26, 0.18);
}

.mofa-qr-result-icon .is-doc {
    top: 22px;
    right: 4px;
}

.mofa-qr-result-icon .is-check {
    bottom: 23px;
    left: 1px;
    font-size: 20px;
}

.mofa-qr-result-workspace {
    background: #f6f9f6;
    padding: 64px 0 76px;
}

.mofa-qr-match-banner {
    border: 1px solid #d6e4d9;
    border-left: 4px solid #2d9a64;
    border-radius: 7px;
    background: #fbfdfb;
    padding: 25px 27px;
}

.mofa-qr-match-banner strong,
.mofa-qr-panel header > span,
.mofa-qr-panel header div > span {
    color: #33835c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.mofa-qr-match-banner p {
    margin-top: 12px;
    color: #617268;
    font-size: 14px;
}

.mofa-qr-match-banner p b {
    color: #2a4135;
}

.mofa-qr-match-banner p span {
    margin: 0 4px;
    color: #a1afa5;
}

.mofa-qr-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 584px);
    justify-content: center;
    gap: 24px;
    margin-top: 34px;
}

.mofa-qr-result-grid.has-document {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
}

.mofa-qr-panel {
    overflow: hidden;
    border: 1px solid #d9e3dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(26, 53, 39, 0.07);
    color: #182b26;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.mofa-qr-panel > header {
    min-height: 103px;
    border-bottom: 1px solid #dfe6e1;
    padding: 22px 24px;
}

.mofa-qr-panel > header h2 {
    margin-top: 6px;
    color: #064b2b;
    font-size: 21px;
    line-height: 1.18;
}

.mofa-qr-certificate {
    margin: 20px;
    border: 1px solid #c8d6c8;
    background: #fdfefb;
    color: #203b2a;
    padding: 20px;
}

.mofa-qr-certificate-brand {
    border-bottom: 1px solid #cdd9d0;
    padding: 0 8px 18px;
    text-align: center;
}

.mofa-qr-certificate-emblem {
    display: block;
    width: 58px;
    height: 68px;
    margin: 0 auto;
    object-fit: contain;
}

.mofa-qr-certificate-brand h3 {
    margin: 0 0 8px;
    color: #064a2b;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.18;
}

.mofa-qr-certificate-brand p {
    margin: 0;
    color: #43545e;
    font-size: 12px;
    line-height: 1.65;
}

.mofa-qr-certificate dl {
    margin: 0;
}

.mofa-qr-certificate dl > div {
    border-bottom: 1px solid #d6dfd8;
    padding: 18px 13px;
    min-height: 92px;
}

.mofa-qr-certificate dt,
.mofa-qr-officer span {
    color: #667269;
    font-size: 13px;
    line-height: 1.7;
}

.mofa-qr-certificate dt {
    margin-bottom: 6px;
}

.mofa-qr-certificate dd {
    margin: 0;
    color: #203b2a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.mofa-qr-officer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #d6dfd8;
    min-height: 113px;
    padding: 16px 12px;
}

.mofa-qr-officer strong,
.mofa-qr-officer small {
    display: block;
}

.mofa-qr-officer strong {
    margin-top: 4px;
    color: #203b2a;
    font-size: 15px;
    line-height: 1.7;
}

.mofa-qr-officer small {
    margin-top: 6px;
    color: #667269;
    font-size: 13px;
    line-height: 1.7;
}

.mofa-qr-officer img {
    width: 191px;
    height: 58px;
    padding-right: 12px;
    object-fit: contain;
}

.mofa-qr-disclaimer {
    margin: 0;
    color: #43545e;
    padding: 16px 8px 0;
    font-size: 13px;
    line-height: 1.65;
}

.mofa-qr-document-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mofa-qr-document-panel > header a {
    flex: 0 0 auto;
    border: 1px solid #d8e0da;
    border-radius: 6px;
    color: #245d42;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
}

.mofa-qr-document-panel > header small {
    display: block;
    margin-top: 7px;
    color: #718078;
    font-size: 12px;
}

.mofa-qr-document-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 8px;
    border-bottom: 1px solid #dce5de;
    background: #f5f8f5;
    padding: 12px;
}

.mofa-qr-document-switcher button {
    overflow: hidden;
    border: 1px solid #d4dfd7;
    border-radius: 6px;
    background: #fff;
    color: #496056;
    padding: 9px 10px;
    cursor: pointer;
    text-align: left;
}

.mofa-qr-document-switcher button:hover,
.mofa-qr-document-switcher button:focus-visible {
    border-color: #2c8b5a;
    outline: none;
}

.mofa-qr-document-switcher button.is-active {
    border-color: #08713f;
    background: #eaf5ee;
    box-shadow: inset 0 0 0 1px #08713f;
}

.mofa-qr-document-switcher span,
.mofa-qr-document-switcher strong {
    display: block;
}

.mofa-qr-document-switcher span {
    color: #37825c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mofa-qr-document-switcher strong {
    overflow: hidden;
    margin-top: 3px;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mofa-qr-document-panel iframe {
    display: block;
    width: 100%;
    min-height: 1000px;
    border: 0;
    background: #262626;
}

.mofa-qr-result-grid.has-document .mofa-qr-panel {
    min-height: 1105px;
}

.mofa-qr-result-grid.has-document .mofa-qr-document-panel {
    display: flex;
    flex-direction: column;
}

.mofa-qr-result-grid.has-document .mofa-qr-document-panel iframe {
    flex: 1 1 auto;
    min-height: 0;
}

.mofa-qr-result-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
}

.mofa-qr-result-actions p {
    color: #75857b;
    font-size: 12px;
}

.mofa-qr-not-found {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid #ead2ca;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(66, 39, 30, 0.07);
    padding: 32px;
}

.mofa-qr-not-found > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #f8e8e2;
    color: #a64c35;
    font-size: 22px;
    font-weight: 800;
}

.mofa-qr-not-found strong {
    color: #a45743;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.mofa-qr-not-found h2 {
    margin-top: 9px;
    color: #283c32;
}

.mofa-qr-not-found p {
    margin: 10px 0 22px;
    color: #738078;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .mofa-qr-result-grid.has-document {
        grid-template-columns: 1fr;
    }

    .mofa-qr-result-icon {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 700px) {
    .mofa-qr-result-hero-inner {
        grid-template-columns: 1fr auto;
        gap: 18px;
        min-height: 0;
        padding: 34px 0 45px;
    }

    .mofa-qr-result-hero h1 {
        font-size: 2.2rem;
    }

    .mofa-qr-result-icon {
        width: 76px;
        height: 76px;
        box-shadow: none;
    }

    .mofa-qr-result-icon::before,
    .mofa-qr-result-icon i {
        display: none;
    }

    .mofa-qr-result-icon > span {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }

    .mofa-qr-result-icon svg {
        width: 27px;
        height: 27px;
    }

    .mofa-qr-result-workspace {
        padding: 40px 0 55px;
    }

    .mofa-qr-match-banner,
    .mofa-qr-panel > header {
        padding-inline: 20px;
    }

    .mofa-qr-certificate {
        margin: 12px;
        padding-inline: 12px;
    }

    .mofa-qr-document-panel > header,
    .mofa-qr-result-actions,
    .mofa-qr-officer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mofa-qr-document-panel iframe {
        min-height: 520px;
    }
}

/* Public page for opening every attached verification document. */
.mofa-documents-hero {
    border-bottom: 1px solid #d7e5dc;
    background: linear-gradient(120deg, #eef7f1, #f9fcfa);
    padding-bottom: 48px;
}

.mofa-documents-hero .mofa-eyebrow {
    display: block;
    margin-top: 35px;
    color: #31805b;
}

.mofa-documents-hero h1 {
    margin-top: 12px;
    color: #074b2b;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.mofa-documents-hero p {
    margin-top: 14px;
    color: #63766b;
}

.mofa-documents-hero p strong {
    color: #174d32;
}

.mofa-documents-workspace {
    background: #f5f8f5;
    padding: 52px 0 72px;
}

.mofa-all-documents-list {
    display: grid;
    gap: 30px;
}

.mofa-all-document-card {
    overflow: hidden;
    border: 1px solid #d7e1da;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(25, 56, 40, 0.07);
}

.mofa-all-document-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid #dbe4dd;
    padding: 20px 24px;
}

.mofa-all-document-card > header span {
    color: #3d8a62;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mofa-all-document-card > header h2 {
    margin-top: 6px;
    color: #123e29;
    font-size: 19px;
}

.mofa-all-document-card > header a {
    flex: 0 0 auto;
    border: 1px solid #cedcd2;
    border-radius: 5px;
    color: #17613d;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
}

.mofa-all-document-card iframe {
    display: block;
    width: 100%;
    min-height: 850px;
    border: 0;
    background: #292929;
}

.mofa-documents-back {
    justify-self: start;
}

@media (max-width: 700px) {
    .mofa-documents-hero {
        padding-bottom: 35px;
    }

    .mofa-documents-workspace {
        padding: 35px 0 52px;
    }

    .mofa-all-document-card > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mofa-all-document-card iframe {
        min-height: 540px;
    }
}
