:root {
    --navy-950: #06182e;
    --navy-900: #071f3d;
    --navy-800: #0b315c;
    --blue-700: #135eb8;
    --blue-600: #1875df;
    --blue-100: #eaf3ff;
    --gold-500: #ffb21c;
    --gold-100: #fff5d9;
    --green-600: #168449;
    --green-100: #e9f8ef;
    --red-600: #c83d4d;
    --slate-900: #172234;
    --slate-700: #46566c;
    --slate-600: #617087;
    --slate-500: #7b8799;
    --slate-300: #d4dce7;
    --slate-200: #e7ecf2;
    --slate-100: #f3f6f9;
    --surface: #ffffff;
    --page: #f6f8fb;
    --shadow-sm: 0 8px 28px rgba(7, 31, 61, .07);
    --shadow-lg: 0 24px 70px rgba(7, 31, 61, .14);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--slate-900);
    background: var(--page);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container-wide { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; transform: translateY(-150%); background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(212,220,231,.8);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(7,31,61,.08); }
.site-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 190px; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; text-decoration: none; color: var(--navy-900); font-size: 14px; font-weight: 700; }
.main-nav > a:not(.nav-alert)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; border-radius: 999px; background: var(--blue-600); transition: right .2s ease; }
.main-nav > a:not(.nav-alert):hover::after { right: 0; }
.nav-alert { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; background: var(--green-600); padding: 11px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(22,132,73,.2); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--slate-200); border-radius: 12px; background: var(--surface); padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); border-radius: 999px; transition: .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 14%, rgba(255,178,28,.24), transparent 22%),
        radial-gradient(circle at 8% 90%, rgba(24,117,223,.34), transparent 27%),
        linear-gradient(135deg, var(--navy-950), #0b3a70 72%, #0e4d91);
    color: #fff;
    padding: 78px 0 96px;
}
.hero::before { content: ''; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 58px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #d8eaff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-kicker i { color: var(--gold-500); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.07; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-500); }
.hero-copy > p { max-width: 650px; margin: 22px 0 0; color: #dbe8f7; font-size: clamp(16px, 2vw, 19px); }
.search-panel { display: grid; grid-template-columns: 1.35fr .9fr auto; gap: 10px; margin-top: 32px; padding: 10px; background: rgba(255,255,255,.98); border-radius: 18px; box-shadow: var(--shadow-lg); }
.search-field { position: relative; }
.search-field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-500); }
.search-field input, .search-field select { width: 100%; height: 52px; padding: 0 16px 0 44px; color: var(--slate-900); border: 0; border-radius: 12px; background: transparent; outline: none; }
.search-field select { appearance: none; }
.search-button { min-width: 138px; border: 0; border-radius: 12px; color: #fff; background: var(--blue-600); font-weight: 800; box-shadow: 0 10px 24px rgba(24,117,223,.28); transition: .2s ease; }
.search-button:hover { background: var(--blue-700); transform: translateY(-1px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: #d5e5f6; font-size: 13px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--gold-500); }
.hero-card { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.1); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.hero-card::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; pointer-events: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card h2 { margin: 0 0 22px; font-size: 18px; }
.hero-stat { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stat:first-of-type { border-top: 0; }
.hero-stat-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--gold-500); background: rgba(255,255,255,.12); font-size: 18px; }
.hero-stat strong { display: block; font-size: 23px; line-height: 1.1; }
.hero-stat span { color: #cbdced; font-size: 13px; }

.main-section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--blue-700); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 0; color: var(--navy-900); font-size: clamp(27px, 3vw, 38px); letter-spacing: -.03em; }
.section-head p { max-width: 590px; margin: 9px 0 0; color: var(--slate-600); }
.results-count { white-space: nowrap; color: var(--slate-600); font-size: 14px; font-weight: 700; }
.active-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: -10px 0 25px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #cfe0f5; border-radius: 999px; color: var(--blue-700); background: #f2f7fd; font-size: 13px; font-weight: 700; text-decoration: none; }

.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.job-card { position: relative; min-height: 330px; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 8px 24px rgba(7,31,61,.04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.job-card:hover { transform: translateY(-5px); border-color: #bdd6f4; box-shadow: 0 20px 46px rgba(7,31,61,.1); }
.job-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.company-logo { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 16px; background: #fff; }
.company-logo img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.job-date { color: var(--slate-500); font-size: 11px; font-weight: 700; white-space: nowrap; }
.job-category { display: inline-flex; align-items: center; width: fit-content; margin-top: 22px; padding: 7px 10px; border-radius: 999px; color: var(--blue-700); background: var(--blue-100); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.job-card h3 { margin: 13px 0 8px; color: var(--navy-900); font-size: 18px; line-height: 1.42; letter-spacing: -.015em; }
.job-card h3 a { text-decoration: none; }
.job-card h3 a::after { content: ''; position: absolute; inset: 0; }
.job-company { margin: 0 0 14px; color: var(--slate-700); font-size: 14px; font-weight: 700; }
.job-meta-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--slate-100); color: var(--slate-600); font-size: 12px; font-weight: 600; }
.job-meta-list span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta-list i { color: var(--blue-600); }
.card-arrow { position: absolute; right: 22px; bottom: 21px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); transition: .2s ease; }
.job-card:hover .card-arrow { color: #fff; background: var(--blue-600); transform: translateX(2px); }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; text-align: center; border: 1px dashed var(--slate-300); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state i { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: 24px; }
.empty-state h3 { margin: 0 0 8px; color: var(--navy-900); }
.empty-state p { margin: 0 0 20px; color: var(--slate-600); }
.text-link { color: var(--blue-700); font-weight: 800; text-decoration: none; }

.categories-section { padding: 8px 0 78px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.category-card { min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; text-decoration: none; border: 1px solid var(--slate-200); border-radius: 16px; background: var(--surface); transition: .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #b9d2f0; box-shadow: var(--shadow-sm); }
.category-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--blue-700); background: var(--blue-100); }
.category-card strong { color: var(--navy-900); font-size: 14px; }
.category-card span { color: var(--slate-500); font-size: 12px; }

.resource-section { padding: 72px 0; background: var(--navy-950); color: #fff; }
.resource-grid { display: grid; grid-template-columns: 1.1fr repeat(3, .65fr); gap: 20px; }
.resource-intro { padding-right: 24px; }
.resource-intro .eyebrow { color: var(--gold-500); }
.resource-intro h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.resource-intro p { color: #bfd0e1; }
.resource-card { min-height: 210px; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.07); }
.resource-card i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-500); background: rgba(255,255,255,.09); }
.resource-card h3 { margin: 22px 0 7px; font-size: 17px; }
.resource-card p { margin: 0; color: #bdd0e3; font-size: 13px; }

.alert-banner { padding: 62px 0; }
.alert-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; padding: 36px 42px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, var(--green-600), #0f6c3a); box-shadow: 0 22px 55px rgba(22,132,73,.18); }
.alert-card h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); }
.alert-card p { margin: 9px 0 0; color: #d8f4e4; }
.alert-button { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 20px; border-radius: 999px; color: var(--green-600); background: #fff; font-weight: 800; text-decoration: none; }

.site-footer { color: #cad7e5; background: #041326; padding: 62px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .8fr; gap: 70px; padding-bottom: 44px; }
.footer-brand img { width: 220px; height: 90px; padding: 8px; object-fit: contain; object-position: left; border-radius: 12px; background: #fff; }
.footer-brand p { max-width: 480px; margin: 18px 0 0; color: #aebed0; }
.site-footer h3 { margin: 0 0 17px; color: #fff; font-size: 14px; }
.site-footer a { display: block; width: fit-content; margin: 10px 0; color: #b9c7d6; text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #8799ac; font-size: 11px; }

/* Job detail */
.detail-page { padding: 34px 0 70px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--slate-500); font-size: 12px; }
.breadcrumbs a { color: var(--blue-700); text-decoration: none; font-weight: 700; }
.job-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.job-detail-hero { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--slate-200); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.job-detail-hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); }
.detail-title-row { display: grid; grid-template-columns: 98px 1fr; gap: 22px; align-items: center; }
.detail-logo { width: 98px; height: 98px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 20px; background: #fff; }
.detail-logo img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.job-detail-hero h1 { margin: 9px 0 8px; color: var(--navy-900); font-size: clamp(27px, 4vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.detail-company { margin: 0; color: var(--slate-700); font-size: 16px; font-weight: 700; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--slate-100); color: var(--slate-600); font-size: 13px; font-weight: 600; }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta i { color: var(--blue-600); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.button-primary { color: #fff; background: var(--blue-600); box-shadow: 0 10px 24px rgba(24,117,223,.22); }
.button-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.button-secondary { color: var(--navy-900); background: var(--slate-100); }
.button-secondary:hover { background: #e8eef5; }
.job-content { margin-top: 22px; padding: 34px; overflow-wrap: anywhere; border: 1px solid var(--slate-200); border-radius: 22px; background: var(--surface); box-shadow: 0 10px 28px rgba(7,31,61,.04); }
.job-content > :first-child { margin-top: 0 !important; }
.job-content > :last-child { margin-bottom: 0 !important; }
.job-content h1, .job-content h2, .job-content h3, .job-content h4 { color: var(--navy-900); line-height: 1.3; }
.job-content h2 { margin: 30px 0 12px; font-size: 23px; }
.job-content h3 { margin: 26px 0 10px; font-size: 19px; }
.job-content p { color: #34445a; }
.job-content li { margin: 7px 0; color: #34445a; }
.job-content a { color: var(--blue-700); font-weight: 700; }
.job-content img { height: auto !important; border-radius: 12px; }
.job-content table { display: block; width: 100% !important; overflow-x: auto; border-collapse: collapse; }
.job-content th, .job-content td { min-width: 120px; padding: 10px; border: 1px solid var(--slate-200); }
.job-content iframe, .job-content video { width: 100% !important; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.inline-notice { margin: 26px 0; padding: 18px 20px; border-left: 4px solid var(--blue-600); border-radius: 0 12px 12px 0; background: #f0f6fe; }
.inline-notice strong { display: block; margin-bottom: 7px; color: var(--navy-900); }
.inline-notice a { display: block; margin-top: 5px; }
.related-section { margin-top: 30px; }
.related-section h2 { margin: 0 0 16px; color: var(--navy-900); font-size: 23px; }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.related-job { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px; border: 1px solid var(--slate-200); border-radius: 15px; background: var(--surface); text-decoration: none; }
.related-job:hover { border-color: #b9d2f0; box-shadow: var(--shadow-sm); }
.related-job strong { color: var(--navy-900); font-size: 14px; }
.related-job small { display: block; margin-top: 4px; color: var(--slate-500); }
.related-job i { color: var(--blue-600); }
.detail-sidebar { position: sticky; top: 102px; }
.sidebar-card { margin-bottom: 18px; padding: 22px; border: 1px solid var(--slate-200); border-radius: 18px; background: var(--surface); box-shadow: 0 9px 28px rgba(7,31,61,.05); }
.sidebar-card h2, .sidebar-card h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 17px; }
.sidebar-card > p { margin: 0 0 17px; color: var(--slate-600); font-size: 13px; }
.sidebar-card .button { width: 100%; }
.apply-note { margin: 13px 0 0 !important; text-align: center; color: var(--slate-500) !important; font-size: 10px !important; }
.recent-job { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--slate-100); text-decoration: none; }
.recent-job:first-of-type { border-top: 0; }
.recent-logo { width: 54px; height: 54px; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 12px; }
.recent-logo img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.recent-job strong { display: -webkit-box; overflow: hidden; color: var(--navy-900); font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.recent-job small { color: var(--slate-500); font-size: 10px; }
.mobile-apply-bar { display: none; }

/* Utility */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; color: var(--blue-700); background: var(--blue-100); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 1050px) {
    .job-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .resource-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .resource-intro { grid-column: 1 / -1; }
    .job-detail-grid { grid-template-columns: minmax(0,1fr) 310px; }
}

@media (max-width: 820px) {
    .container-wide { width: min(calc(100% - 28px), var(--container)); }
    .site-nav { min-height: 70px; }
    .brand img { width: 155px; height: 56px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 70px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 4px; max-height: calc(100vh - 70px); overflow-y: auto; padding: 18px 18px 28px; transform: translateY(-120%); visibility: hidden; opacity: 0; background: #fff; box-shadow: 0 24px 40px rgba(7,31,61,.14); transition: .22s ease; }
    .main-nav.is-open { transform: translateY(0); visibility: visible; opacity: 1; }
    .main-nav a { padding: 13px 12px; border-radius: 10px; }
    .main-nav > a:not(.nav-alert)::after { display: none; }
    .main-nav > a:not(.nav-alert):hover { background: var(--slate-100); }
    .nav-alert { justify-content: center; margin-top: 8px; }
    .hero { padding: 58px 0 72px; }
    .hero-inner { grid-template-columns: 1fr; gap: 34px; }
    .hero-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px; }
    .hero-card h2 { grid-column: 1 / -1; margin: 0 0 4px; }
    .hero-stat { grid-template-columns: 1fr; gap: 8px; text-align: center; padding: 12px; border: 0; border-radius: 16px; background: rgba(255,255,255,.08); }
    .hero-stat-icon { margin: auto; }
    .job-detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .detail-sidebar .apply-card { display: none; }
    .mobile-apply-bar { position: fixed; inset: auto 0 0; z-index: 900; display: block; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--slate-200); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
    .mobile-apply-bar .button { width: 100%; }
    body.has-mobile-apply { padding-bottom: 76px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    .hero { padding-top: 42px; }
    .hero h1 { font-size: 38px; }
    .search-panel { grid-template-columns: 1fr; padding: 8px; }
    .search-field { border-bottom: 1px solid var(--slate-200); }
    .search-field:last-of-type { border-bottom: 0; }
    .search-button { min-height: 50px; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-stat { grid-template-columns: 44px 1fr; text-align: left; }
    .hero-stat-icon { width: 44px; height: 44px; margin: 0; }
    .main-section { padding: 54px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .job-grid { grid-template-columns: 1fr; gap: 16px; }
    .job-card { min-height: 305px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .category-card { min-height: 130px; }
    .resource-grid { grid-template-columns: 1fr; }
    .resource-intro { padding-right: 0; }
    .resource-card { min-height: 170px; }
    .alert-card { grid-template-columns: 1fr; padding: 28px 24px; }
    .alert-button { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .detail-page { padding-top: 20px; }
    .job-detail-hero { padding: 24px 20px; }
    .detail-title-row { grid-template-columns: 76px 1fr; gap: 15px; align-items: start; }
    .detail-logo { width: 76px; height: 76px; border-radius: 16px; }
    .job-detail-hero h1 { font-size: 26px; }
    .job-content { padding: 24px 20px; }
    .related-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .container-wide { width: min(calc(100% - 22px), var(--container)); }
    .brand img { width: 145px; }
    .hero h1 { font-size: 34px; }
    .hero-trust { gap: 10px; }
    .category-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .detail-title-row { grid-template-columns: 1fr; }
}

.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination a { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--slate-200); border-radius: 11px; color: var(--navy-900); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 800; }
.pagination a:hover { border-color: #b8d2f1; color: var(--blue-700); }
.pagination a.is-current { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }

/* Featured advert image presentation */
.job-card { min-height: 410px; padding: 0; }
.job-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--slate-200); background: #f4f7fa; }
.job-card-media img { width: 100%; height: 100%; padding: 7px; object-fit: contain; }
.job-card-media .job-date { position: absolute; top: 12px; right: 12px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; color: var(--navy-900); background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(7,31,61,.1); backdrop-filter: blur(8px); }
.job-card-content { display: flex; flex: 1; flex-direction: column; padding: 21px 22px 22px; }
.job-card-content .job-category { margin-top: 0; }
.job-card-content .job-meta-list { padding-right: 46px; }

.job-detail-hero { padding: 0; }
.job-detail-banner { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--slate-200); background: #f4f7fa; }
.job-detail-banner img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.detail-info-wrap { padding: 30px 32px 32px; }
.detail-title-row { display: block; }

@media (max-width: 640px) {
    .job-card { min-height: 390px; }
    .job-card-content { padding: 19px 18px 20px; }
    .detail-info-wrap { padding: 24px 20px; }
    .job-detail-banner img { padding: 5px; }
}
