/*
Theme Name: My-Wazifah
Theme URI: https://my-wazifah.com
Author: My-Wazifah
Description: Gulf jobs aggregator theme. Presentation layer only: the REST namespace, field names, authentication and ingestion logic all live in the My-Wazifah plugin and are untouched by this theme.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mywazifah
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
	--mw-bg: #ffffff;
	--mw-card: #ffffff;
	--mw-alt: #f4f7f5;          /* light section wash */
	--mw-alt-deep: #eaf3ed;
	--mw-ink: #282828;          /* headings, footer */
	--mw-ink-soft: #4b4b4b;
	--mw-soft: #6f7671;         /* muted body */
	--mw-line: #e6eae7;
	--mw-line-strong: #d3dad6;
	--mw-brand: #00af4d;        /* primary green */
	--mw-brand-2: #059a46;      /* pressed / deeper green */
	--mw-brand-soft: #e6f7ee;
	--mw-accent: #00af4d;
	--mw-amber: #f5a524;
	--mw-amber-soft: #fdf1dc;
	--mw-verified: #00af4d;
	--mw-alert: #d64545;
	--mw-radius: 12px;
	--mw-radius-lg: 18px;
	--mw-radius-pill: 999px;
	--mw-shadow-rest: 0 1px 2px rgba(40, 40, 40, .04), 0 12px 26px -22px rgba(40, 40, 40, .35);
	--mw-shadow-hover: 0 10px 20px -12px rgba(0, 175, 77, .35), 0 28px 60px -34px rgba(40, 40, 40, .55);
	--mw-max: 1200px;
	--mw-header-h: 84px;
	--mw-ease: cubic-bezier(.22, .61, .36, 1);
	--mw-sans: "Inter Tight", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mw-serif: "Inter Tight", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif;
}

/* =========================================================
   2. Base
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--mw-bg);
	color: var(--mw-ink);
	font-family: var(--mw-sans);
	font-size: 15.5px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.rtl { font-family: "IBM Plex Sans Arabic", var(--mw-sans); }

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--mw-brand); text-decoration: none; transition: color .2s var(--mw-ease); }
a:hover { color: var(--mw-brand-2); }

h1, h2, h3, h4 {
	font-family: var(--mw-serif);
	font-weight: 700;
	color: var(--mw-ink);
	line-height: 1.18;
	letter-spacing: -.02em;
	margin: 0 0 12px;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: 18px; }
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4 {
	font-family: "IBM Plex Sans Arabic", var(--mw-sans);
	letter-spacing: 0;
	line-height: 1.4;
}

p { margin: 0 0 14px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; inset-inline-start: 16px; top: 16px; z-index: 999;
	width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--mw-ink); color: #fff;
	border-radius: var(--mw-radius);
}

:focus-visible { outline: 2px solid var(--mw-brand); outline-offset: 3px; }

.mw-wrap { width: 100%; max-width: var(--mw-max); margin: 0 auto; padding: 0 20px; }
.mw-section { padding: clamp(52px, 7vw, 92px) 0; }
.mw-section--alt { background: var(--mw-alt); }
.mw-section--amber { background: linear-gradient(180deg, var(--mw-brand-soft) 0%, #fff 78%); }
.mw-section--dark { background: var(--mw-ink); color: #fff; }
.mw-section--dark h2, .mw-section--dark h3 { color: #fff; }

.mw-section__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.mw-section__head h2 { margin: 0; }
.mw-section__head p.mw-section__desc { margin: 10px 0 0; color: var(--mw-soft); font-size: 14.5px; max-width: 64ch; }
.mw-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.mw-section__head--center .mw-section__desc { margin-inline: auto; }

.mw-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--mw-brand);
}
.mw-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--mw-brand); border-radius: 2px; }
body.rtl .mw-eyebrow { letter-spacing: 0; }

.mw-display { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 12px; }
.mw-soft { color: var(--mw-soft); }
.mw-line { height: 1px; background: var(--mw-line); border: 0; margin: 0; }

.mw-link-more {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 600; color: var(--mw-ink);
	padding-bottom: 3px; border-bottom: 2px solid var(--mw-line-strong);
	transition: color .2s var(--mw-ease), border-color .2s var(--mw-ease), gap .2s var(--mw-ease);
}
.mw-link-more::after { content: "\2192"; transition: transform .2s var(--mw-ease); }
body.rtl .mw-link-more::after { content: "\2190"; }
.mw-link-more:hover { color: var(--mw-brand); border-color: var(--mw-brand); gap: 12px; }

/* =========================================================
   3. Buttons and chips
   ========================================================= */
.mw-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 46px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--mw-radius-pill);
	background: var(--mw-brand); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2;
	cursor: pointer; text-align: center; white-space: nowrap;
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), transform .25s var(--mw-ease), box-shadow .25s var(--mw-ease), border-color .25s var(--mw-ease);
}
/*
 * The wipe layer sits behind the label. z-index:-1 inside the button's own
 * stacking context keeps it above the button background but below the text,
 * including bare text nodes that are not wrapped in an element.
 */
.mw-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--mw-ink); transform: scaleX(0);
	transform-origin: left center; transition: transform .35s var(--mw-ease);
}
body.rtl .mw-btn::before { transform-origin: right center; }
.mw-btn > *, .mw-btn svg { position: relative; z-index: 1; }
.mw-btn svg { flex-shrink: 0; }
.mw-btn:hover, .mw-btn:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: var(--mw-shadow-hover); }
.mw-btn:hover::before, .mw-btn:focus-visible::before { transform: scaleX(1); }
.mw-btn:active { transform: translateY(0); }

.mw-btn--ghost { background: transparent; color: var(--mw-ink); border-color: var(--mw-line-strong); }
.mw-btn--ghost::before { background: var(--mw-brand); }
.mw-btn--ghost:hover, .mw-btn--ghost:focus-visible { color: #fff; border-color: var(--mw-brand); }

.mw-btn--accent { background: var(--mw-ink); }
.mw-btn--accent::before { background: var(--mw-brand); }
.mw-btn--accent:hover, .mw-btn--accent:focus-visible { color: #fff; }

/*
 * Buttons whose hover surface is white or a pale tint must switch their label
 * to ink, never keep white on white. Kept in one place so no variant can drift.
 */
.mw-btn--light { background: #fff; color: var(--mw-ink); }
.mw-btn--light::before { background: var(--mw-brand); }
.mw-btn--light:hover, .mw-btn--light:focus-visible { color: #fff; }

.mw-btn--onlight::before,
.mw-btn--onmedia::before,
.mw-cta .mw-btn--ghost::before { background: #fff; }
.mw-btn--onlight:hover, .mw-btn--onlight:focus-visible,
.mw-btn--onmedia:hover, .mw-btn--onmedia:focus-visible,
.mw-cta .mw-btn--ghost:hover, .mw-cta .mw-btn--ghost:focus-visible { color: var(--mw-ink); border-color: #fff; }

.mw-btn--sm { min-height: 38px; padding: 8px 18px; font-size: 13px; }
.mw-btn--lg { min-height: 52px; padding: 15px 30px; font-size: 15.5px; }
.mw-btn--block { display: flex; width: 100%; }

.mw-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 11px; border-radius: var(--mw-radius-pill);
	background: var(--mw-alt); color: var(--mw-ink-soft);
	font-size: 11.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.7;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease);
}
.mw-chip--brand { background: var(--mw-brand-soft); color: var(--mw-brand-2); }
.mw-chip--hot { background: var(--mw-amber-soft); color: #92610b; }
.mw-chip--remote { background: #e8f1ff; color: #22509a; }
.mw-chip--expired { background: #fdeaea; color: var(--mw-alert); }
.mw-chip--new { background: var(--mw-brand); color: #fff; }

/* WhatsApp share, same geometry as the other buttons. */
.mw-btn--wa { background: #1faa54; color: #fff; border-color: #1faa54; }
.mw-btn--wa:hover, .mw-btn--wa:focus-visible { background: #17843f; border-color: #17843f; color: #fff; }
.mw-btn--wa svg { flex: none; }

.mw-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; }

/* =========================================================
   4. Header (sticky, transparent over hero, solid on scroll)
   ========================================================= */
.mw-header {
	position: fixed; top: 0; inset-inline: 0; z-index: 90;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
	transition: background .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease), padding .3s var(--mw-ease);
}
.mw-header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--mw-header-h); }
.mw-header__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

/* Solid state: scrolled, or any page without a hero behind the header. */
.mw-header.is-stuck,
body:not(.mw-has-hero) .mw-header {
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom-color: var(--mw-line);
	box-shadow: 0 10px 30px -24px rgba(40, 40, 40, .7);
}

/* Pages with a hero start overlaid; everything else is pushed down. */
body:not(.mw-has-hero) #mw-main { padding-top: var(--mw-header-h); }
body:not(.mw-has-hero) #mw-main > .mw-jobhead,
body:not(.mw-has-hero) #mw-main > .mw-insights__hero,
body:not(.mw-has-hero) #mw-main > .mw-404 { padding-top: 40px; }

.mw-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.mw-brand__img { display: block; height: 44px; width: auto; transition: transform .3s var(--mw-ease); }
.mw-brand:hover .mw-brand__img { transform: translateY(-1px) scale(1.02); }
.mw-brand__text { font-family: var(--mw-serif); font-size: 22px; font-weight: 700; }

.mw-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.mw-nav a {
	position: relative; display: inline-block; padding: 6px 0;
	color: var(--mw-ink); font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.mw-nav a::after {
	content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
	width: 100%; height: 2px; background: var(--mw-brand);
	transform: scaleX(0); transform-origin: left center;
	transition: transform .28s var(--mw-ease);
}
body.rtl .mw-nav a::after { transform-origin: right center; }
.mw-nav a:hover, .mw-nav .current-menu-item > a { color: var(--mw-brand); }
.mw-nav a:hover::after, .mw-nav .current-menu-item > a::after { transform: scaleX(1); }

/* Transparent state over the hero photo: light nav text. */
body.mw-has-hero .mw-header:not(.is-stuck) .mw-nav a,
body.mw-has-hero .mw-header:not(.is-stuck) .mw-iconbtn,
body.mw-has-hero .mw-header:not(.is-stuck) .mw-burger,
body.mw-has-hero .mw-header:not(.is-stuck) .mw-adminlink { color: #fff; }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-iconbtn,
body.mw-has-hero .mw-header:not(.is-stuck) .mw-burger,
body.mw-has-hero .mw-header:not(.is-stuck) .mw-adminlink { border-color: rgba(255, 255, 255, .45); }

/* Language lockups: colour asset on solid header, white asset over the hero. */
.mw-brand__img--light { display: none; }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-brand__img--color { display: none; }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-brand__img--light { display: block; }

.mw-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border-radius: 50%;
	border: 1px solid var(--mw-line-strong); color: var(--mw-ink); background: transparent;
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), border-color .25s var(--mw-ease), transform .25s var(--mw-ease);
}
.mw-iconbtn:hover { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; transform: rotate(-8deg); }

.mw-adminlink { display: none; border: 1px solid var(--mw-line-strong); border-radius: var(--mw-radius-pill); padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--mw-ink); }
.mw-adminlink:hover { background: var(--mw-ink); border-color: var(--mw-ink); color: #fff; }

/* =========================================================
   Language switcher
   -----------------------------------------------------------
   The switcher carries its own surface in every header state, so the inactive
   label never has to borrow contrast from whatever sits behind the header.
   Selectors cover the theme markup and the switcher markup printed by the
   optional language plugin.
   ========================================================= */
.mw-lang {
	display: inline-flex; flex-shrink: 0; overflow: hidden;
	border: 1px solid var(--mw-line-strong); border-radius: var(--mw-radius-pill);
	background: var(--mw-alt);
}
.mw-lang__item,
[data-mw-lang-switcher] > a {
	display: inline-flex; align-items: center; padding: 8px 13px;
	font-size: 12px; font-weight: 700; line-height: 1; color: var(--mw-ink);
	letter-spacing: .05em; white-space: nowrap;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease);
}
.mw-lang__item.is-active,
[data-mw-lang-switcher] > a[aria-current="true"] { background: var(--mw-brand); color: #fff; }
.mw-lang__item:hover,
[data-mw-lang-switcher] > a:hover { background: #fff; color: var(--mw-brand-2); }
.mw-lang__item.is-active:hover,
[data-mw-lang-switcher] > a[aria-current="true"]:hover { background: var(--mw-brand-2); color: #fff; }

/* Transparent header over the hero: translucent white pill, white inactive label. */
body.mw-has-hero .mw-header:not(.is-stuck) .mw-lang {
	background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45);
	backdrop-filter: saturate(140%) blur(6px);
}
body.mw-has-hero .mw-header:not(.is-stuck) .mw-lang__item,
body.mw-has-hero .mw-header:not(.is-stuck) [data-mw-lang-switcher] > a { color: #fff; }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-lang__item:hover,
body.mw-has-hero .mw-header:not(.is-stuck) [data-mw-lang-switcher] > a:hover { background: rgba(255, 255, 255, .28); color: #fff; }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-lang__item.is-active,
body.mw-has-hero .mw-header:not(.is-stuck) [data-mw-lang-switcher] > a[aria-current="true"] { background: var(--mw-brand); color: #fff; }

/* Dark surfaces: the footer. The drawer sits on a white card and keeps the default pill.
   Scoped to the footer wrapper as well as the class, so the pill is styled whether the
   markup comes from the theme fallback or from the language plugin. */
.mw-lang--footer,
.mw-footer__lang .mw-lang,
.mw-footer__lang [data-mw-lang-switcher] {
	display: inline-flex; flex-shrink: 0; overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .32); border-radius: var(--mw-radius-pill);
	background: rgba(255, 255, 255, .12);
}
.mw-lang--footer .mw-lang__item,
.mw-footer__lang .mw-lang__item,
.mw-footer__lang [data-mw-lang-switcher] > a,
.mw-footer__lang > a {
	display: inline-flex; align-items: center; padding: 8px 13px;
	font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .05em;
	white-space: nowrap; color: #fff;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease);
}
.mw-lang--footer .mw-lang__item:hover,
.mw-footer__lang .mw-lang__item:hover,
.mw-footer__lang [data-mw-lang-switcher] > a:hover,
.mw-footer__lang > a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.mw-lang--footer .mw-lang__item.is-active,
.mw-footer__lang .mw-lang__item.is-active,
.mw-footer__lang [data-mw-lang-switcher] > a[aria-current="true"],
.mw-footer__lang > a[aria-current="true"] { background: var(--mw-brand); color: #fff; }
.mw-footer__lang { display: block; }

.mw-burger {
	display: none; align-items: center; justify-content: center;
	width: 42px; height: 42px; min-width: 42px; padding: 0; box-sizing: border-box;
	border-radius: 50%; background: none; line-height: 0;
	border: 1px solid var(--mw-line-strong); cursor: pointer; color: var(--mw-ink); flex-shrink: 0;
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), border-color .25s var(--mw-ease);
}
.mw-burger svg { display: block; }
.mw-burger:hover { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; }

/* =========================================================
   5. Off-canvas drawer
   ========================================================= */
.mw-drawer-overlay {
	position: fixed; inset: 0; z-index: 95; background: rgba(40, 40, 40, .5);
	opacity: 0; transition: opacity .25s var(--mw-ease);
}
.mw-drawer-overlay.is-open { opacity: 1; }
.mw-drawer {
	position: fixed; top: 0; inset-inline-end: 0; z-index: 96;
	width: min(360px, 88vw); height: 100dvh; overflow-y: auto;
	background: var(--mw-card); border-inline-start: 1px solid var(--mw-line);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .3s var(--mw-ease);
	box-shadow: -30px 0 60px -40px rgba(40, 40, 40, .8);
}
/* RTL slides in from the other edge. The :not() keeps the closed-state rule from
   outranking the open state, which previously left the Arabic drawer offscreen. */
body.rtl .mw-drawer:not(.is-open) { transform: translateX(-100%); }
.mw-drawer.is-open,
body.rtl .mw-drawer.is-open { transform: translateX(0); }
.mw-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--mw-line); }
.mw-drawer__brand img { display: block; height: 38px; width: auto; }
.mw-drawer__close {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
	border-radius: 50%; border: 1px solid var(--mw-line-strong); background: none; color: var(--mw-ink); cursor: pointer; flex-shrink: 0;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease);
}
.mw-drawer__close:hover { background: var(--mw-ink); color: #fff; }
.mw-drawer__nav { padding: 8px 0; flex: 1; }
.mw-drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.mw-drawer__nav li + li { border-top: 1px solid var(--mw-line); }
.mw-drawer__nav a {
	display: block; padding: 15px 20px; color: var(--mw-ink); font-weight: 600; font-size: 15px;
	border-inline-start: 3px solid transparent;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease), border-color .2s var(--mw-ease), padding .2s var(--mw-ease);
}
.mw-drawer__nav a:hover { background: var(--mw-brand-soft); color: var(--mw-brand-2); border-inline-start-color: var(--mw-brand); padding-inline-start: 26px; }
.mw-drawer__foot { padding: 20px; border-top: 1px solid var(--mw-line); display: grid; gap: 14px; justify-items: stretch; }
.mw-drawer__foot .mw-lang { justify-self: start; }
body.mw-scroll-locked { overflow: hidden; }

/* =========================================================
   6. Hero
   ========================================================= */
.mw-hero {
	position: relative; isolation: isolate; color: #fff;
	padding: calc(var(--mw-header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 7vw, 96px);
	background: var(--mw-ink);
}
.mw-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mw-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mw-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(105deg, rgba(24, 26, 25, .93) 0%, rgba(24, 26, 25, .78) 42%, rgba(24, 26, 25, .35) 100%);
}
body.rtl .mw-hero::after { background: linear-gradient(255deg, rgba(24, 26, 25, .93) 0%, rgba(24, 26, 25, .78) 42%, rgba(24, 26, 25, .35) 100%); }
.mw-hero h1 { color: #fff; max-width: 15ch; }
.mw-hero .mw-eyebrow { color: #7ef0ab; }
.mw-hero .mw-eyebrow::before { background: #7ef0ab; }
.mw-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.mw-hero__sub { color: rgba(255, 255, 255, .84); font-size: clamp(15px, 1.35vw, 17.5px); max-width: 58ch; margin-bottom: 26px; }
.mw-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mw-hero__cta .mw-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.mw-hero__search { margin-top: clamp(32px, 4vw, 48px); }
.mw-hero__searchhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mw-hero__searchhead h2 { color: #fff; font-size: clamp(19px, 2vw, 24px); margin: 0; }

/* Stat card floating over the hero photo */
.mw-statcard {
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(14px); border-radius: var(--mw-radius-lg); padding: 24px;
	transition: transform .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-statcard:hover { transform: translateY(-4px); border-color: rgba(126, 240, 171, .6); }
.mw-statcard .mw-eyebrow { color: #7ef0ab; }
.mw-statcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin: 16px 0 0; }
.mw-statcard dt { font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-bottom: 2px; }
.mw-statcard dd { margin: 0; }
.mw-stat__value { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.mw-statcard__note { margin: 18px 0 0; font-size: 12px; color: rgba(255, 255, 255, .62); line-height: 1.6; }

/* Search form */
.mw-search {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 8px; padding: 10px; background: #fff; border-radius: var(--mw-radius-pill);
	box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
}
.mw-search__field { display: flex; align-items: center; position: relative; }
.mw-search__field + .mw-search__field::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 20%; height: 60%; width: 1px; background: var(--mw-line);
}
.mw-search input, .mw-search select {
	width: 100%; border: 0; background: transparent; padding: 12px 18px;
	font: inherit; font-size: 14.5px; color: var(--mw-ink); border-radius: var(--mw-radius-pill);
	appearance: none; cursor: pointer;
}
.mw-search input { cursor: text; }
.mw-search input::placeholder { color: var(--mw-soft); }
.mw-search input:focus, .mw-search select:focus { outline: none; background: var(--mw-alt); }
.mw-search .mw-btn { width: 100%; }

.mw-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.mw-popular .mw-eyebrow { color: rgba(255, 255, 255, .75); }
.mw-popular .mw-eyebrow::before { background: rgba(255, 255, 255, .5); }
.mw-popular a {
	color: #fff; padding: 5px 13px; border-radius: var(--mw-radius-pill);
	border: 1px solid rgba(255, 255, 255, .3);
	transition: background .2s var(--mw-ease), border-color .2s var(--mw-ease), transform .2s var(--mw-ease);
}
.mw-popular a:hover { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; transform: translateY(-2px); }

/* Search form on light backgrounds (archive head, 404) */
.mw-jobhead .mw-search, .mw-404 .mw-search { box-shadow: var(--mw-shadow-rest); border: 1px solid var(--mw-line); }
.mw-jobhead .mw-popular, .mw-404 .mw-popular { color: var(--mw-soft); }
.mw-jobhead .mw-popular a, .mw-404 .mw-popular a { color: var(--mw-ink); border-color: var(--mw-line-strong); }
.mw-jobhead .mw-popular .mw-eyebrow { color: var(--mw-brand); }
.mw-jobhead .mw-popular .mw-eyebrow::before { background: var(--mw-brand); }

/* =========================================================
   7. Grids, tiles, fields
   ========================================================= */
.mw-grid { display: grid; gap: 20px; }
.mw-grid--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mw-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mw-grid--jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mw-grid--fields { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.mw-tile {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
	padding: 24px; border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg);
	background: var(--mw-card); color: var(--mw-ink); min-height: 168px;
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-tile::after {
	content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px;
	border-radius: 50%; background: var(--mw-brand-soft); opacity: 0;
	transition: opacity .3s var(--mw-ease), transform .4s var(--mw-ease); transform: scale(.6);
}
.mw-tile:hover { transform: translateY(-6px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-tile:hover::after { opacity: 1; transform: scale(1); }
.mw-tile > * { position: relative; z-index: 1; }
.mw-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mw-tile__flag {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 16px; font-size: 30px; line-height: 1;
	background: var(--mw-alt); border: 1px solid var(--mw-line);
	transition: transform .3s var(--mw-ease), background .3s var(--mw-ease);
}
.mw-tile:hover .mw-tile__flag { transform: scale(1.06) rotate(-4deg); background: #fff; }
.mw-tile__count { font-size: 12px; font-weight: 600; color: var(--mw-brand-2); background: var(--mw-brand-soft); padding: 5px 11px; border-radius: var(--mw-radius-pill); }
.mw-tile strong { display: block; font-size: 18px; letter-spacing: -.01em; }
.mw-tile__meta { display: block; font-size: 13px; color: var(--mw-soft); margin-top: 2px; }

/* Career field / city card: icon, label, live count. Icon box, padding and
   radius match the stat and route cards so the grids line up exactly. */
.mw-field {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
	padding: 14px 16px; border: 1px solid var(--mw-line); border-radius: var(--mw-radius);
	background: var(--mw-card); color: var(--mw-ink); font-weight: 600; font-size: 14px;
	transition: transform .25s var(--mw-ease), border-color .25s var(--mw-ease), background .25s var(--mw-ease), box-shadow .25s var(--mw-ease);
}
.mw-field__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
	background: var(--mw-brand-soft); color: var(--mw-brand-2);
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), transform .25s var(--mw-ease);
}
.mw-field__icon svg { display: block; }
.mw-field__name { min-width: 0; line-height: 1.35; }
.mw-field:hover { transform: translateY(-3px); border-color: var(--mw-brand); background: var(--mw-brand-soft); color: var(--mw-brand-2); box-shadow: var(--mw-shadow-rest); }
.mw-field:hover .mw-field__icon { background: #fff; color: var(--mw-brand); transform: scale(1.04); }
.mw-field__count { font-size: 12px; font-weight: 700; color: var(--mw-soft); background: var(--mw-alt); border-radius: var(--mw-radius-pill); padding: 4px 10px; }
.mw-field:hover .mw-field__count { background: #fff; color: var(--mw-brand-2); }

/* =========================================================
   8. Stats band
   ========================================================= */
.mw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mw-stat {
	position: relative; overflow: hidden;
	padding: 28px 24px; border-radius: var(--mw-radius-lg);
	background: var(--mw-card); border: 1px solid var(--mw-line); text-align: start;
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease), background .3s var(--mw-ease);
}
.mw-stat__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
	background: var(--mw-brand-soft); color: var(--mw-brand-2);
	transition: background .3s var(--mw-ease), color .3s var(--mw-ease), transform .3s var(--mw-ease);
}
.mw-stat__icon svg { width: 24px; height: 24px; }
.mw-stat__num { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.mw-stat__label { display: block; font-size: 14px; color: var(--mw-soft); margin-top: 4px; }
.mw-stat:hover { transform: translateY(-6px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-stat:hover .mw-stat__icon { background: var(--mw-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.mw-stats__note { margin: 20px 0 0; font-size: 13px; color: var(--mw-soft); }

/* =========================================================
   9. Tabs (latest / remote / government)
   ========================================================= */
.mw-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.mw-tab {
	appearance: none; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600;
	padding: 10px 20px; border-radius: var(--mw-radius-pill);
	border: 1px solid var(--mw-line-strong); background: #fff; color: var(--mw-ink);
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), border-color .25s var(--mw-ease), transform .25s var(--mw-ease);
}
.mw-tab:hover { border-color: var(--mw-brand); color: var(--mw-brand-2); transform: translateY(-2px); }
.mw-tab.is-active { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; }
.mw-tabpanel[hidden] { display: none; }

/* =========================================================
   10. Feed rows and cards
   ========================================================= */
.mw-feed { display: grid; gap: 14px; }

.mw-row {
	background: var(--mw-card); border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg);
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-row:hover { transform: translateY(-4px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-row__link {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center; gap: 20px; padding: 20px 22px; color: inherit;
}
.mw-row__logo {
	display: inline-flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; border-radius: 14px; overflow: hidden;
	background: var(--mw-alt); border: 1px solid var(--mw-line); flex-shrink: 0;
	transition: border-color .3s var(--mw-ease), transform .3s var(--mw-ease);
}
.mw-row__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mw-row:hover .mw-row__logo { border-color: var(--mw-brand); transform: scale(1.04); }
.mw-row__main { min-width: 0; }
.mw-row__title { margin: 0 0 3px; font-size: 17.5px; transition: color .25s var(--mw-ease); }
.mw-row:hover .mw-row__title { color: var(--mw-brand-2); }
.mw-row__org { margin: 0 0 8px; font-size: 13.5px; color: var(--mw-soft); }
.mw-row__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--mw-soft); }
.mw-row__facts span { display: inline-flex; align-items: center; gap: 6px; }
.mw-row__facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mw-line-strong); }
.mw-row__side { display: grid; gap: 3px; text-align: end; font-size: 12.5px; color: var(--mw-soft); white-space: nowrap; }
.mw-row__apply {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: var(--mw-radius-pill);
	border: 1px solid var(--mw-line-strong); background: #fff;
	font-size: 13.5px; font-weight: 600; color: var(--mw-ink); white-space: nowrap;
	transition: background .28s var(--mw-ease), color .28s var(--mw-ease), border-color .28s var(--mw-ease), transform .28s var(--mw-ease), box-shadow .28s var(--mw-ease);
}
.mw-row__apply::after { content: "\2192"; transition: transform .28s var(--mw-ease); }
body.rtl .mw-row__apply::after { content: "\2190"; }
.mw-row:hover .mw-row__apply, .mw-row__apply:hover {
	background: var(--mw-brand); border-color: var(--mw-brand); color: #fff;
	box-shadow: 0 10px 22px -12px rgba(0, 175, 77, .8);
}
.mw-row:hover .mw-row__apply::after { transform: translateX(4px); }
body.rtl .mw-row:hover .mw-row__apply::after { transform: translateX(-4px); }

.mw-card {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
	padding: 24px; border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg);
	background: var(--mw-card); color: inherit;
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-card::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 3px; height: 100%;
	background: var(--mw-brand); transform: scaleY(0); transform-origin: top;
	transition: transform .3s var(--mw-ease);
}
.mw-card:hover { transform: translateY(-6px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-card:hover::before { transform: scaleY(1); }
.mw-card__head { display: flex; align-items: flex-start; gap: 14px; }
.mw-card__head img { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; background: var(--mw-alt); border: 1px solid var(--mw-line); padding: 5px; }
.mw-card__body { min-width: 0; }
.mw-card__title { margin: 0 0 4px; font-size: 17px; transition: color .25s var(--mw-ease); }
.mw-card:hover .mw-card__title { color: var(--mw-brand-2); }
.mw-card__company { margin: 0; font-size: 13.5px; color: var(--mw-soft); }
.mw-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--mw-soft); border-top: 1px solid var(--mw-line); padding-top: 14px; }

.mw-empty {
	padding: 40px 24px; border: 1px dashed var(--mw-line-strong); border-radius: var(--mw-radius-lg);
	text-align: center; color: var(--mw-soft); background: var(--mw-alt);
}
.mw-expired { padding: 14px 18px; border-radius: var(--mw-radius); background: #fdeaea; color: var(--mw-alert); font-weight: 600; }

/* =========================================================
   11. Choose your work / value cards
   ========================================================= */
.mw-choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mw-choose__item {
	position: relative; overflow: hidden; display: block;
	padding: 32px 26px; border-radius: var(--mw-radius-lg);
	background: var(--mw-card); border: 1px solid var(--mw-line); color: inherit;
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), background .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-choose__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px;
	background: var(--mw-brand-soft); color: var(--mw-brand-2);
	transition: background .3s var(--mw-ease), color .3s var(--mw-ease), transform .3s var(--mw-ease);
}
.mw-choose__icon svg { width: 26px; height: 26px; }
.mw-choose__item h3 { margin: 0 0 8px; font-size: 19px; }
.mw-choose__item p { margin: 0 0 16px; color: var(--mw-soft); font-size: 14px; }
.mw-choose__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--mw-brand-2); }
.mw-choose__item:hover { transform: translateY(-6px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-choose__item:hover .mw-choose__icon { background: var(--mw-brand); color: #fff; transform: rotate(-6deg); }

/* =========================================================
   12. Insights
   ========================================================= */
.mw-insights__hero { padding: calc(var(--mw-header-h) + 40px) 0 40px; background: var(--mw-alt); border-bottom: 1px solid var(--mw-line); }
.mw-insights__lede { max-width: 68ch; color: var(--mw-soft); font-size: 16px; }
.mw-insights__intro { max-width: 68ch; color: var(--mw-soft); }
.mw-insights__section { padding: clamp(44px, 6vw, 76px) 0; }
.mw-insights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mw-insight {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
	padding: 26px; background: var(--mw-card); border: 1px solid var(--mw-line);
	border-radius: var(--mw-radius-lg);
	transition: transform .3s var(--mw-ease), box-shadow .3s var(--mw-ease), border-color .3s var(--mw-ease);
}
.mw-insight::after {
	content: ""; position: absolute; inset-inline-start: 26px; bottom: 22px; height: 2px; width: 34px;
	background: var(--mw-brand); transform: scaleX(.4); transform-origin: left center;
	transition: transform .3s var(--mw-ease);
}
body.rtl .mw-insight::after { transform-origin: right center; }
.mw-insight:hover { transform: translateY(-6px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-insight:hover::after { transform: scaleX(1.6); }
.mw-insight__title { margin: 0; font-size: 18px; }
.mw-insight__title a { color: inherit; }
.mw-insight:hover .mw-insight__title a { color: var(--mw-brand-2); }
.mw-insight__text { margin: 0 0 26px; font-size: 14px; color: var(--mw-soft); }
.mw-insight__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-top: auto; }
.mw-insights__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.mw-insights__prose { max-width: 760px; }

/* =========================================================
   13. Archive, filters, results
   ========================================================= */
.mw-jobhead {
	padding: calc(var(--mw-header-h) + 40px) 0 44px;
	background: var(--mw-alt); border-bottom: 1px solid var(--mw-line);
}
.mw-jobhead h1 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 42px); }
.mw-jobhead__count { margin: 0; color: var(--mw-soft); font-size: 14.5px; }
.mw-jobhead__search { margin-top: 24px; }
.mw-jobhead__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px; }
.mw-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--mw-soft); margin: 0 0 12px; list-style: none; padding: 0; }
.mw-breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--mw-line-strong); }

/* Filters on the LEFT, results on the right. */
.mw-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 28px; align-items: start; }
.mw-layout--right { grid-template-columns: minmax(0, 1fr) 340px; }
.mw-layout--split { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mw-panel { background: var(--mw-card); border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg); padding: 22px; }
.mw-sticky { position: sticky; top: calc(var(--mw-header-h) + 16px); display: grid; gap: 18px; }

.mw-filterbar { display: none; margin-bottom: 16px; }
.mw-filterbar__btn { width: 100%; }
.mw-filterbar__count { background: var(--mw-brand); color: #fff; border-radius: var(--mw-radius-pill); padding: 1px 9px; font-size: 12px; }

.mw-filterpanel { position: sticky; top: calc(var(--mw-header-h) + 16px); }
.mw-filterpanel__head { display: none; }
.mw-filters { display: flex; flex-direction: column; gap: 4px; }
.mw-filters__body { display: grid; gap: 14px; }
.mw-filters h3 { margin: 6px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mw-soft); }
body.rtl .mw-filters h3 { letter-spacing: 0; }
.mw-filters input[type="text"], .mw-filters select {
	width: 100%; padding: 11px 14px; font: inherit; font-size: 14px;
	border: 1px solid var(--mw-line-strong); border-radius: var(--mw-radius); background: #fff; color: var(--mw-ink);
	transition: border-color .2s var(--mw-ease), box-shadow .2s var(--mw-ease);
}
.mw-filters input[type="text"]:focus, .mw-filters select:focus {
	outline: none; border-color: var(--mw-brand); box-shadow: 0 0 0 3px var(--mw-brand-soft);
}
.mw-filters label {
	display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mw-ink-soft);
	padding: 7px 10px; border-radius: var(--mw-radius); cursor: pointer;
	transition: background .2s var(--mw-ease), color .2s var(--mw-ease);
}
.mw-filters label:hover { background: var(--mw-brand-soft); color: var(--mw-brand-2); }
.mw-filters input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--mw-brand); cursor: pointer; flex-shrink: 0; }

.mw-filtergroup { border-top: 1px solid var(--mw-line); padding-top: 12px; }
.mw-filtergroup__summary {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	cursor: pointer; list-style: none; font-weight: 600; font-size: 14.5px; padding: 4px 0;
	transition: color .2s var(--mw-ease);
}
.mw-filtergroup__summary::-webkit-details-marker { display: none; }
.mw-filtergroup__summary::after {
	content: "+"; font-size: 18px; font-weight: 400; color: var(--mw-soft);
	transition: transform .25s var(--mw-ease), color .25s var(--mw-ease);
}
.mw-filtergroup[open] > .mw-filtergroup__summary::after { content: "\2212"; }
.mw-filtergroup__summary:hover { color: var(--mw-brand-2); }
.mw-filtergroup__summary:hover::after { color: var(--mw-brand); }
.mw-filtergroup__count { background: var(--mw-brand); color: #fff; border-radius: var(--mw-radius-pill); font-size: 11.5px; padding: 1px 8px; margin-inline-start: auto; }
.mw-filtergroup__body { display: grid; gap: 2px; padding: 6px 0 10px; max-height: 250px; overflow-y: auto; }
.mw-filters__actions { display: grid; gap: 10px; margin-top: 18px; }
.mw-filters__apply { width: 100%; }
.mw-filters__reset { width: 100%; }

.mw-filters-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(40, 40, 40, .5); opacity: 0; transition: opacity .25s var(--mw-ease); }
.mw-filters-overlay.is-open { opacity: 1; }

.mw-results { min-width: 0; }
.mw-resultbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.mw-activefilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.mw-activefilters__label { font-size: 12.5px; color: var(--mw-soft); font-weight: 600; }
.mw-activefilters .mw-chip { background: var(--mw-brand-soft); color: var(--mw-brand-2); padding: 6px 12px; }
.mw-activefilters .mw-chip:hover { background: var(--mw-brand); color: #fff; }
.mw-chip__x { font-weight: 700; opacity: .7; }
.mw-activefilters__clear { font-size: 12.5px; font-weight: 600; color: var(--mw-alert); }

.mw-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 34px 0 0; padding: 0; }
.mw-pagination a, .mw-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
	padding: 0 14px; border-radius: var(--mw-radius-pill); border: 1px solid var(--mw-line-strong);
	color: var(--mw-ink); font-size: 14px; font-weight: 600;
	transition: background .25s var(--mw-ease), color .25s var(--mw-ease), border-color .25s var(--mw-ease), transform .25s var(--mw-ease);
}
.mw-pagination a:hover { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; transform: translateY(-2px); }
.mw-pagination .current { background: var(--mw-ink); border-color: var(--mw-ink); color: #fff; }

/* =========================================================
   14. Single opportunity
   ========================================================= */
.mw-jobtop { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.mw-jobtop__logo {
	display: inline-flex; align-items: center; justify-content: center;
	width: 96px; height: 96px; border-radius: 20px; background: #fff;
	border: 1px solid var(--mw-line); overflow: hidden; flex-shrink: 0;
	transition: border-color .3s var(--mw-ease), transform .3s var(--mw-ease);
}
.mw-jobtop__logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.mw-jobtop__logo:hover { border-color: var(--mw-brand); transform: translateY(-3px); }
.mw-jobtop__main { flex: 1; min-width: 260px; }
.mw-jobtop__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--mw-soft); font-size: 14px; }
.mw-jobtop__facts li { display: inline-flex; align-items: center; gap: 8px; }
.mw-jobtop__facts svg { width: 16px; height: 16px; color: var(--mw-brand); }
.mw-jobtop__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mw-dl { display: grid; gap: 0; margin: 0; }
.mw-dl > div {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding: 11px 0; border-bottom: 1px solid var(--mw-line);
	transition: padding-inline .2s var(--mw-ease), background .2s var(--mw-ease);
}
.mw-dl > div:last-child { border-bottom: 0; }
.mw-dl > div:hover { background: var(--mw-brand-soft); border-radius: 8px; padding-inline: 10px; }
.mw-dl dt { font-size: 13px; color: var(--mw-soft); }
.mw-dl dd { margin: 0; font-size: 14px; font-weight: 600; text-align: end; }

.mw-prose { max-width: 100%; font-size: 15.5px; color: var(--mw-ink-soft); }
.mw-prose h2 { font-size: 24px; margin: 32px 0 12px; }
.mw-prose h3 { font-size: 19px; margin: 24px 0 10px; }
.mw-prose ul, .mw-prose ol { padding-inline-start: 20px; margin: 0 0 18px; }
.mw-prose li { margin-bottom: 8px; }
.mw-prose li::marker { color: var(--mw-brand); }
.mw-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   15. About / contact
   ========================================================= */
.mw-pagehero {
	position: relative; padding: calc(var(--mw-header-h) + 56px) 0 56px;
	background: var(--mw-ink); color: #fff;
}
.mw-pagehero h1 { color: #fff; }
.mw-pagehero p { color: rgba(255, 255, 255, .78); max-width: 62ch; margin: 0; }
.mw-pagehero .mw-breadcrumb { color: rgba(255, 255, 255, .6); }

.mw-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.mw-about__media { position: relative; border-radius: var(--mw-radius-lg); overflow: hidden; }
.mw-about__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mw-ease); }
.mw-about__media:hover img { transform: scale(1.04); }
.mw-about__badge {
	position: absolute; inset-inline-end: 20px; bottom: 20px; background: var(--mw-brand); color: #fff;
	border-radius: var(--mw-radius); padding: 16px 20px; font-weight: 700; line-height: 1.25;
	box-shadow: var(--mw-shadow-hover);
}
.mw-about__badge span { display: block; font-size: 26px; }
.mw-about__badge small { font-weight: 500; opacity: .9; }
.mw-checklist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.mw-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mw-ink-soft); }
.mw-checklist svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--mw-brand); }

.mw-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.mw-contactcards { display: grid; gap: 14px; }
.mw-contactcard {
	display: flex; gap: 16px; align-items: flex-start; padding: 22px;
	border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg); background: var(--mw-card);
	transition: transform .3s var(--mw-ease), border-color .3s var(--mw-ease), box-shadow .3s var(--mw-ease);
}
.mw-contactcard:hover { transform: translateY(-4px); border-color: var(--mw-brand); box-shadow: var(--mw-shadow-hover); }
.mw-contactcard__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border-radius: 14px; background: var(--mw-brand-soft); color: var(--mw-brand-2); flex-shrink: 0;
	transition: background .3s var(--mw-ease), color .3s var(--mw-ease);
}
.mw-contactcard:hover .mw-contactcard__icon { background: var(--mw-brand); color: #fff; }
.mw-contactcard h3 { margin: 0 0 4px; font-size: 16px; }
.mw-contactcard p { margin: 0; font-size: 14px; color: var(--mw-soft); }

.mw-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--mw-line); border-radius: var(--mw-radius-lg); background: var(--mw-card); }
.mw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mw-form label { font-size: 13px; font-weight: 600; color: var(--mw-ink-soft); display: grid; gap: 6px; }
.mw-form input, .mw-form textarea, .mw-form select {
	width: 100%; padding: 13px 15px; font: inherit; font-size: 14.5px; color: var(--mw-ink);
	border: 1px solid var(--mw-line-strong); border-radius: var(--mw-radius); background: #fff;
	transition: border-color .2s var(--mw-ease), box-shadow .2s var(--mw-ease);
}
.mw-form textarea { min-height: 150px; resize: vertical; }
.mw-form input:focus, .mw-form textarea:focus, .mw-form select:focus {
	outline: none; border-color: var(--mw-brand); box-shadow: 0 0 0 3px var(--mw-brand-soft);
}

/* =========================================================
   16. Newsletter
   ========================================================= */
.mw-newsletter {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(22px, 4vw, 48px); align-items: center;
	padding: clamp(30px, 5vw, 56px); border-radius: var(--mw-radius-lg);
	background: var(--mw-ink); color: #fff; position: relative; overflow: hidden;
}
.mw-newsletter::before {
	content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 300px; height: 300px;
	border-radius: 50%; background: rgba(0, 175, 77, .28); filter: blur(10px);
}
.mw-newsletter > * { position: relative; z-index: 1; }
.mw-newsletter h2, .mw-newsletter .mw-display { color: #fff; }
.mw-newsletter p { color: rgba(255, 255, 255, .76); margin: 0; }
.mw-newsletter .mw-eyebrow { color: #7ef0ab; }
.mw-newsletter .mw-eyebrow::before { background: #7ef0ab; }
.mw-newsletter form { display: flex; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--mw-radius-pill); }
.mw-newsletter input {
	flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 18px;
	font: inherit; font-size: 14.5px; color: #fff;
}
.mw-newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.mw-newsletter input:focus { outline: none; }
.mw-formnote {
	margin: 12px 2px 0; font-size: 13.5px; font-weight: 600;
	display: flex; align-items: center; gap: 8px;
}
.mw-formnote::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mw-newsletter .mw-formnote.is-ok { color: #7ef0ab; }
.mw-newsletter .mw-formnote.is-bad { color: #ffc9c9; }
.mw-formnote.is-ok::before { background: currentColor; }
.mw-formnote.is-bad::before { background: currentColor; }

/* =========================================================
   17. Footer
   ========================================================= */
.mw-footer { background: var(--mw-ink); color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 76px) 0 28px; }
.mw-footer__cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.mw-footer__logo img { display: block; height: 48px; width: auto; }
.mw-footer__logo img { filter: none; }
.mw-footer__logo { display: inline-block; margin-bottom: 16px; }
.mw-footer p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .62); max-width: 42ch; }
.mw-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .02em; }
.mw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mw-footer a { color: rgba(255, 255, 255, .68); font-size: 13.5px; display: inline-block; transition: color .2s var(--mw-ease), transform .2s var(--mw-ease); }
.mw-footer a:hover { color: var(--mw-brand); transform: translateX(4px); }
body.rtl .mw-footer a:hover { transform: translateX(-4px); }
.mw-footer__lang { margin-top: 18px; }
.mw-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
	margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 12.5px; color: rgba(255, 255, 255, .5);
}

/* =========================================================
   18. Misc blocks
   ========================================================= */
.mw-404 { padding: calc(var(--mw-header-h) + 60px) 0 80px; text-align: center; }
.mw-404__search { max-width: 720px; margin: 26px auto 0; }
.mw-ad { margin: 24px 0; text-align: center; }
.mw-ad--mobile { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--mw-line); }
.mw-scroller { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.mw-scroller > * { scroll-snap-align: start; }
.mw-table-wrap { overflow-x: auto; }
.mw-share { display: inline-flex; gap: 8px; }

/* =========================================================
   19. Entrance animation
   ========================================================= */
.mw-reveal { opacity: 0; transform: translateY(18px); }
.mw-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--mw-ease), transform .6s var(--mw-ease); }
.no-js .mw-reveal { opacity: 1; transform: none; }

.mw-fade-up { animation: mwFadeUp .8s var(--mw-ease) both; }
.mw-fade-up--1 { animation-delay: .05s; }
.mw-fade-up--2 { animation-delay: .18s; }
.mw-fade-up--3 { animation-delay: .32s; }
.mw-fade-up--4 { animation-delay: .46s; }
@keyframes mwFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
	.mw-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   20. Responsive: tablet
   ========================================================= */
@media (max-width: 1080px) {
	.mw-footer__cols { grid-template-columns: 1fr 1fr 1fr; }
	.mw-layout--right { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1023px) {
	:root { --mw-header-h: 72px; }

	.mw-nav { display: none; }
	.mw-burger { display: inline-flex; }
	.mw-iconbtn { display: none; }

	/* The row is logo + language pill + menu button. The logo is the only flexible
	   item, so it shrinks first and the pill and button always stay whole. */
	.mw-header__bar { gap: 12px; flex-wrap: nowrap; }
	.mw-header__tools { gap: 8px; flex-shrink: 0; }
	.mw-brand { min-width: 0; flex: 0 1 auto; overflow: hidden; }
	.mw-brand__img { height: 38px; max-width: 100%; object-fit: contain; object-position: left center; }
	body.rtl .mw-brand__img { object-position: right center; }


	.mw-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.mw-hero h1 { max-width: none; }

	.mw-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mw-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mw-grid--jobs { grid-template-columns: 1fr; }
	.mw-grid--fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mw-choose { grid-template-columns: 1fr; }
	.mw-insights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mw-about, .mw-contact, .mw-newsletter { grid-template-columns: 1fr; }
	.mw-layout, .mw-layout--right, .mw-layout--split { grid-template-columns: 1fr; }
	.mw-sticky { position: static; }

	.mw-search { grid-template-columns: 1fr 1fr; border-radius: var(--mw-radius-lg); }
	.mw-search__field + .mw-search__field::before { display: none; }
	.mw-search input, .mw-search select { border: 1px solid var(--mw-line); border-radius: var(--mw-radius); }
	.mw-search .mw-btn { grid-column: 1 / -1; }

	/* Mobile filters become the off-canvas drawer again. */
	.mw-filterbar { display: block; }
	.mw-filterpanel {
		position: fixed; top: 0; inset-inline-start: 0; z-index: 96;
		width: min(390px, 92vw); height: 100dvh; background: var(--mw-card);
		display: flex; flex-direction: column; overflow: hidden;
		transform: translateX(-100%); transition: transform .3s var(--mw-ease);
		box-shadow: 30px 0 60px -40px rgba(40, 40, 40, .8);
	}
	body.rtl .mw-filterpanel:not(.is-open) { transform: translateX(100%); }
	.mw-filterpanel.is-open,
	body.rtl .mw-filterpanel.is-open { transform: translateX(0); }
	.mw-filterpanel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--mw-line); }
	.mw-filterpanel__title { margin: 0; font-size: 18px; }
	.mw-filterpanel__close {
		display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
		border-radius: 50%; border: 1px solid var(--mw-line-strong); background: none; color: var(--mw-ink); cursor: pointer;
	}
	.mw-filterpanel__close:hover { background: var(--mw-ink); color: #fff; }
	.mw-filterpanel .mw-filters { flex: 1; min-height: 0; border: 0; border-radius: 0; padding: 18px 20px 0; }
	.mw-filters__body { overflow-y: auto; padding-bottom: 16px; }
	.mw-filters__actions { position: sticky; bottom: 0; background: #fff; padding: 14px 0 18px; border-top: 1px solid var(--mw-line); margin-top: 0; }
}

/* =========================================================
   21. Responsive: mobile
   ========================================================= */
@media (max-width: 720px) {
	body { font-size: 15px; }
	.mw-wrap { padding: 0 16px; }

	.mw-brand__img { height: 34px; }
	.mw-header__bar { gap: 10px; }
	.mw-burger { width: 40px; height: 40px; min-width: 40px; }
	.mw-lang__item,
	[data-mw-lang-switcher] > a { padding: 8px 10px; font-size: 11.5px; letter-spacing: .03em; }

	.mw-hero { padding-top: calc(var(--mw-header-h) + 36px); text-align: start; }
	.mw-hero h1 { font-size: clamp(27px, 8.4vw, 36px); }
	.mw-hero__sub { font-size: 15px; margin-bottom: 20px; }
	.mw-hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
	.mw-hero__cta .mw-btn { width: 100%; }
	.mw-hero::after { background: linear-gradient(180deg, rgba(24, 26, 25, .92) 0%, rgba(24, 26, 25, .8) 55%, rgba(24, 26, 25, .88) 100%); }
	.mw-statcard { padding: 20px; }
	.mw-statcard dl { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
	.mw-stat__value { font-size: 24px; }
	.mw-statcard__note { display: none; }

	.mw-search { grid-template-columns: 1fr; padding: 8px; }
	.mw-popular { gap: 8px; }

	.mw-grid--tiles, .mw-grid--cards, .mw-insights__grid { grid-template-columns: 1fr; }
	.mw-grid--fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mw-stats { grid-template-columns: 1fr; }

	.mw-row__link { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; }
	.mw-row__side { grid-column: 1 / -1; text-align: start; flex-direction: row; display: flex; gap: 14px; }
	.mw-row__apply { grid-column: 1 / -1; width: 100%; }

	.mw-jobtop__logo { width: 72px; height: 72px; }
	.mw-jobtop__actions { display: grid; grid-template-columns: 1fr; width: 100%; }

	.mw-form__row { grid-template-columns: 1fr; }
	.mw-newsletter form { flex-direction: column; border-radius: var(--mw-radius-lg); }
	.mw-newsletter .mw-btn { width: 100%; }

	.mw-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
	.mw-footer__cols > div:first-child { grid-column: 1 / -1; }
	.mw-footer__bottom { flex-direction: column; }
}

/* =========================================================
   19. Rebuild additions (v3): entrance animation, new blocks
   ========================================================= */
.mw-anim { opacity: 0; transform: translateY(16px); animation: mw-rise .7s var(--mw-ease) forwards; animation-delay: var(--mw-d, 0ms); }
@keyframes mw-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.mw-anim { opacity: 1; transform: none; animation: none; }
}

.mw-section--tight { padding-block: clamp(28px, 4vw, 44px); }

.mw-header__cta { display: none; }
@media (min-width: 1024px) { .mw-header__cta { display: inline-flex; } }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-header__cta { background: #fff; border-color: #fff; color: var(--mw-ink); }
body.mw-has-hero .mw-header:not(.is-stuck) .mw-header__cta:hover { background: var(--mw-brand); border-color: var(--mw-brand); color: #fff; }

.mw-btn--onmedia { color: #fff; border-color: rgba(255, 255, 255, .55); }
.mw-btn--onmedia:hover { background: #fff; border-color: #fff; color: var(--mw-ink); }

.mw-hero__copy { min-width: 0; }
.mw-hero__searchhead h2 { color: #fff; }

/* Country tiles: flag, name, count */
.mw-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.mw-tile__body { min-width: 0; }

/* Homepage tab group */
.mw-tabsgroup { display: block; }
.mw-tabs__more { margin: 18px 0 0; }

/* About */
.mw-about__intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.mw-about__side { position: sticky; top: calc(var(--mw-header-h) + 20px); }
.mw-panel--brand { border-color: var(--mw-brand); background: var(--mw-brand-soft); }
.mw-panel--brand h3 { margin-top: 0; }
.mw-panel--brand .mw-btn { margin-top: 18px; }

/* Shared closing call to action */
.mw-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 22px; padding: clamp(26px, 4vw, 44px); border-radius: var(--mw-radius-lg);
	background: var(--mw-ink); color: #fff;
}
.mw-cta h2 { color: #fff; margin: 0 0 6px; }
.mw-cta p { margin: 0; color: rgba(255, 255, 255, .78); }
.mw-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mw-cta .mw-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.mw-cta .mw-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--mw-ink); }

/* Page heroes on About and Contact */
.mw-pagehero { isolation: isolate; overflow: hidden; }
.mw-pagehero .mw-hero__media { position: absolute; inset: 0; z-index: -2; }
.mw-pagehero .mw-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.mw-pagehero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(105deg, rgba(24, 26, 25, .94) 0%, rgba(24, 26, 25, .8) 46%, rgba(24, 26, 25, .5) 100%);
}
.mw-pagehero__inner { position: relative; }
.mw-pagehero__sub { color: rgba(255, 255, 255, .82); max-width: 62ch; margin: 0; font-size: clamp(15px, 1.3vw, 17px); }
.mw-pagehero .mw-eyebrow { color: #7ef0ab; }
.mw-pagehero .mw-eyebrow::before { background: #7ef0ab; }

/* Contact */
.mw-contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mw-contact__panel {
	padding: clamp(22px, 3vw, 34px); border: 1px solid var(--mw-line);
	border-radius: var(--mw-radius-lg); background: var(--mw-card);
}
.mw-contact__panel h2 { margin-top: 0; }
.mw-formnote { margin: 14px 0 0; font-size: 12.5px; color: var(--mw-soft); }

@media (max-width: 1023px) {
	.mw-about__intro { grid-template-columns: 1fr; }
	.mw-about__side { position: static; }
	.mw-contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.mw-tile { grid-template-columns: auto minmax(0, 1fr); }
	.mw-tile__count { grid-column: 1 / -1; justify-self: start; }
	.mw-contact__cards { grid-template-columns: 1fr; }
	.mw-cta { flex-direction: column; align-items: flex-start; }
	.mw-cta__actions { width: 100%; }
	.mw-cta__actions .mw-btn { flex: 1 1 auto; justify-content: center; }
	.mw-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
	.mw-tab { flex: 0 0 auto; }
}

/* =========================================================
   22. Narrow phones (iPhone SE / mini, small Android)
   The header row must never clip the language pill.
   ========================================================= */
@media (max-width: 420px) {
	.mw-header__bar { gap: 8px; }
	.mw-header__tools { gap: 6px; }
	.mw-brand__img { height: 30px; }
	.mw-burger { width: 38px; height: 38px; min-width: 38px; }
	.mw-lang__item,
	[data-mw-lang-switcher] > a { padding: 7px 9px; font-size: 11px; }
}
