/* FSL International - public site */
:root {
    --red: #d8312f;
    --red-dark: #b0221f;
    --red-soft: #fcefee;
    --ink: #1b2130;
    --text: #3b4354;
    --muted: #6c7486;
    --line: #e2e5eb;
    --bg: #f4f5f7;
    --white: #fff;
    --green: #1f8a4c;
    --green-soft: #e8f5ee;
    --blue: #22589e;
    --blue-soft: #eaf1fa;
    --radius: 4px;
    --head: "Montserrat", Arial, sans-serif;
    --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ic { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.hide-sm { }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar & header ---------- */
.topbar { background: #f7f7f7; border-bottom: 1px solid #ececec; font-size: 14px; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; gap: 6px; align-items: center; }
.topbar-info .ic { color: var(--red); width: 14px; height: 14px; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar-links a { color: var(--text); font-weight: 600; }
.topbar-links a:hover { color: var(--red); }

.site-header { background: var(--red); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 20px; }
.brand img { width: 280px; height: auto; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: #fff; font-family: var(--head); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: var(--radius); position: relative; }
.main-nav a:hover { background: rgba(0,0,0,.1); color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: #fff; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 6px 8px; border-radius: var(--radius); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--head); padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13px; }

label { display: block; font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], select, textarea {
    width: 100%; font: 15px/1.4 var(--body); color: var(--ink); background: #fff;
    border: 1px solid #cfd4dc; border-radius: var(--radius); padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,49,47,.12); }
textarea { resize: vertical; min-height: 110px; }
input[type=file] { font: 14px var(--body); width: 100%; padding: 9px; border: 1px dashed #cfd4dc; border-radius: var(--radius); background: #fafbfc; }
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 15px; border-left: 4px solid; }
.alert-success { background: var(--green-soft); border-color: var(--green); color: #14532d; }
.alert-error { background: var(--red-soft); border-color: var(--red); color: #7f1d1d; }
.alert-info { background: var(--blue-soft); border-color: var(--blue); color: #1e3a66; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #2b2f38 url("../img/hero-nurse.jpg") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,33,.88) 0%, rgba(20,24,33,.72) 45%, rgba(20,24,33,.15) 100%); }
.hero-inner { position: relative; padding: 88px 16px 100px; }
.hero-kicker { display: inline-block; font: 600 13px var(--head); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 10px; border-radius: 2px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 760px; margin-bottom: 14px; }
.hero h1 strong { color: #ff6b69; font-weight: 700; }
.hero-lead { font-size: 1.15rem; max-width: 560px; color: #e6e8ec; margin-bottom: 30px; }

.search-box { background: #fff; border-radius: var(--radius); padding: 8px; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; max-width: 900px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.search-field { position: relative; }
.search-field .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input, .search-box select { border: 1px solid transparent; background: #f5f6f8; padding: 14px 12px 14px 38px; height: 50px; }
.search-box select { padding-left: 38px; appearance: none; -webkit-appearance: none; }
.search-box .btn { height: 50px; padding: 0 28px; }
.hero-popular { margin-top: 18px; font-size: 14px; color: #cfd3da; }
.hero-popular a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); margin-left: 8px; }
.hero-popular a:hover { border-color: #fff; }

/* ---------- Announcement strip ---------- */
.announce { background: var(--ink); color: #fff; font-size: 15px; }
.announce-inner { display: flex; align-items: stretch; }
.announce-label { background: var(--red); font: 700 13px var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px; display: flex; align-items: center; white-space: nowrap; }
.announce-list { display: flex; overflow: hidden; flex: 1; }
.announce-list a { color: #fff; padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.announce-list a:hover { background: rgba(255,255,255,.06); }
.announce-list time { color: #9aa1af; margin-right: 8px; font-size: 13px; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 2rem/1.1 var(--head); color: var(--red); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.eyebrow { font: 600 13px var(--head); color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; display: block; }
.link-more { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 18px; font: 600 15px var(--head); color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab.active { color: var(--red); border-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Job list ---------- */
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; transition: border-color .15s, box-shadow .15s; position: relative; }
.job-card:hover { border-color: #c9ced7; box-shadow: 0 4px 14px rgba(20,24,33,.06); }
.job-card.featured { border-left: 3px solid var(--red); }
.job-logo { width: 56px; height: 56px; border-radius: var(--radius); background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font: 700 18px var(--head); }
.job-title { font-size: 1.1rem; margin: 0 0 2px; }
.job-title a { color: var(--ink); }
.job-title a::after { content: ""; position: absolute; inset: 0; }
.job-title a:hover { color: var(--red); }
.job-employer { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ic { color: var(--muted); width: 15px; height: 15px; }
.job-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.job-side .btn { position: relative; z-index: 1; }
.job-posted { font-size: 13px; color: var(--muted); }
.badge { display: inline-block; font: 600 12px/1 var(--body); padding: 5px 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: .03em; }
.badge-type { background: var(--blue-soft); color: var(--blue); }
.badge-featured { background: var(--red-soft); color: var(--red); }
.badge-closed { background: #eceef2; color: var(--muted); }
.badge-open { background: var(--green-soft); color: var(--green); }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- Country / category ---------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 20px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); transition: border-color .15s; }
.country-card:hover { border-color: var(--red); color: var(--ink); }
.country-card h3 { margin: 0; font-size: 1.05rem; }
.country-card span { font-size: 14px; color: var(--muted); }
.country-card .count { font: 700 1.4rem var(--head); color: var(--red); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step { padding: 26px 24px; border-right: 1px solid var(--line); counter-increment: step; }
.step:last-child { border-right: 0; }
.step::before { content: "0" counter(step); display: block; font: 700 1.5rem var(--head); color: var(--red); margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .since { position: absolute; left: -16px; bottom: 24px; background: var(--red); color: #fff; padding: 16px 20px; border-radius: var(--radius); }
.split-media .since b { display: block; font: 700 1.8rem/1 var(--head); }
.split-media .since span { font-size: 14px; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { display: flex; gap: 10px; margin-bottom: 8px; }
.checklist .ic { color: var(--red); margin-top: 3px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-thumb { display: block; aspect-ratio: 16/10; background: #e9ebef; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-thumb.no-img { display: flex; align-items: center; justify-content: center; color: #aab0bb; font: 700 1.2rem var(--head); }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.news-body h3 { font-size: 1.08rem; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--red); }
.news-body p { font-size: 15px; color: var(--muted); flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #fde3e2; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn-outline:hover { background: #fff; color: var(--red); }

/* ---------- Page header ---------- */
.page-head { background: var(--ink) url("../img/hero-nurse.jpg") center 30% / cover; position: relative; color: #fff; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(20,24,33,.82); }
.page-head .container { position: relative; padding-top: 48px; padding-bottom: 48px; }
.page-head h1 { color: #fff; margin: 0 0 6px; }
.crumbs { font-size: 14px; color: #b9bec8; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 6px; }

/* ---------- Layout with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.with-sidebar.right { grid-template-columns: 1fr 340px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h3 { font-size: 1rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-group { margin-bottom: 20px; }
.filter-group:last-of-type { margin-bottom: 16px; }
.filter-title { font: 600 14px var(--head); color: var(--ink); margin-bottom: 10px; }
.check { display: flex; align-items: center; justify-content: space-between; font-weight: 400; font-size: 15px; color: var(--text); margin-bottom: 6px; cursor: pointer; }
.check input { margin-right: 8px; accent-color: var(--red); }
.check em { font-style: normal; font-size: 13px; color: var(--muted); background: var(--bg); padding: 1px 7px; border-radius: 10px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--muted); }
.results-bar b { color: var(--ink); }
.results-bar select { width: auto; padding: 8px 10px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 14px; color: var(--text); }
.chip:hover { border-color: var(--red); color: var(--red); }

.pagination { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); font-weight: 600; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Job detail ---------- */
.job-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 36px 0; }
.job-head-inner { display: grid; grid-template-columns: 72px 1fr auto; gap: 22px; align-items: center; }
.job-head .job-logo { width: 72px; height: 72px; font-size: 22px; }
.job-head h1 { font-size: 1.8rem; margin: 6px 0 4px; }
.job-head .crumbs { color: var(--muted); }
.job-head .crumbs a { color: var(--red); }
.job-content h2 { font-size: 1.2rem; margin: 28px 0 12px; padding-top: 4px; }
.job-content h2:first-child { margin-top: 0; }
.job-content h3 { font-size: 1.02rem; margin-top: 18px; }
.job-content ul { padding-left: 20px; margin: 0 0 1em; }
.job-content li { margin-bottom: 5px; }
.overview { list-style: none; padding: 0; margin: 0; }
.overview li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.overview li:last-child { border-bottom: 0; }
.overview .ic { color: var(--red); width: 18px; height: 18px; margin-top: 2px; }
.overview small { display: block; color: var(--muted); font-size: 13px; }
.overview strong { color: var(--ink); font-weight: 600; }
.apply-panel { border-top: 3px solid var(--red); }
.notice-closed { background: #fff7e6; border: 1px solid #f3d9a4; color: #7a5410; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.share-row { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Article ---------- */
.article-meta { color: var(--muted); font-size: 15px; margin-bottom: 20px; display: flex; gap: 6px; align-items: center; }
.article-img { border-radius: var(--radius); margin-bottom: 24px; width: 100%; max-height: 520px; object-fit: cover; }
.prose { font-size: 17px; }
.prose ul { padding-left: 20px; }
.prose h3 { margin-top: 24px; }
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.recent-list li:last-child { border-bottom: 0; }
.recent-list img, .recent-list .ph { width: 70px; height: 52px; object-fit: cover; border-radius: 2px; background: #e9ebef; }
.recent-list a { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; display: block; }
.recent-list a:hover { color: var(--red); }
.recent-list small { color: var(--muted); font-size: 13px; }
.side-jobs { list-style: none; padding: 0; margin: 0; }
.side-jobs li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-jobs li:last-child { border-bottom: 0; }
.side-jobs a { font-weight: 600; color: var(--ink); }
.side-jobs a:hover { color: var(--red); }
.side-jobs small { display: block; color: var(--muted); font-size: 14px; }

/* ---------- About page ---------- */
.lead { font-size: 1.15rem; color: var(--ink); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 28px; }
.mv-card p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value { padding: 26px 22px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value h3 { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.value p { margin: 0; font-size: 15px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery a { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.partner-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.partner-list li { border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius); background: #fff; font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.info-block { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block .ico { width: 42px; height: 42px; border-radius: var(--radius); background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.info-block .ico .ic { width: 20px; height: 20px; }
.info-block h4 { font-size: .95rem; margin: 0 0 4px; }
.info-block p { margin: 0; }
.mobile-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mobile-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-table tr:last-child td { border-bottom: 0; }
.mobile-table td:last-child { text-align: right; }
.map { border: 0; width: 100%; height: 380px; display: block; filter: grayscale(.2); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10,12,16,.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox button .ic { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #1b2130; color: #aeb4c0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { width: 240px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d7dbe2; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .country-grid { grid-template-columns: repeat(2, 1fr); }
    .steps, .values { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2), .value:nth-child(2) { border-right: 0; }
    .step:nth-child(-n+2), .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .with-sidebar, .with-sidebar.right { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--red-dark); flex-direction: column; padding: 8px 16px 16px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
    .main-nav a.active::after { display: none; }
    .main-nav a.active { background: rgba(0,0,0,.12); }
    .header-inner { min-height: 70px; }
    .brand img { width: 220px; }
    .search-box { grid-template-columns: 1fr 1fr; }
    .search-box .search-field:first-child { grid-column: 1 / -1; }
    .search-box .btn { grid-column: 1 / -1; }
    .split, .mv-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .split-media .since { left: 12px; }
    .announce-list a:nth-child(n+2) { display: none; }
}
@media (max-width: 640px) {
    h1 { font-size: 1.7rem; }
    .hero h1 { font-size: 2rem; }
    .hero-inner { padding: 52px 16px 60px; }
    .hide-sm { display: none !important; }
    .topbar-info { gap: 14px; }
    .topbar-info span:nth-child(2) { display: none; }
    .search-box { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
    .job-card { grid-template-columns: 44px 1fr; padding: 16px; gap: 14px; }
    .job-logo { width: 44px; height: 44px; font-size: 15px; }
    .job-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
    .job-head-inner { grid-template-columns: 1fr; }
    .job-head .job-logo { display: none; }
    .news-grid, .country-grid, .steps, .values, .footer-grid { grid-template-columns: 1fr; }
    .step, .value { border-right: 0; border-bottom: 1px solid var(--line); }
    .form-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .announce-label { padding: 12px; }
}

/* Collapsible job filters */
.filter-details > summary { list-style: none; cursor: pointer; }
.filter-details > summary::-webkit-details-marker { display: none; }
.filter-details:not([open]) > summary h3 { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
@media (max-width: 1024px) {
    .filter-details > summary h3 { display: flex; justify-content: space-between; }
    .filter-details > summary h3::after { content: "Show"; font: 600 13px var(--body); color: var(--red); }
    .filter-details[open] > summary h3::after { content: "Hide"; }
    .hide-md { display: none; }
}

/* Keep the footer at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
