/* Vacancies Scrape v1.0 by EVOKE — gov.kn jobs page */
.pmovf-wrap {
	--pmovf-red: #9b101b;
	--pmovf-red-dark: #7c0d16;
	--pmovf-red-tint: #fdf1f1;
	--pmovf-navy: #1b2a4a;
	--pmovf-gold: #c9a227;
	--pmovf-text: #3f4654;
	--pmovf-muted: #6b7280;
	--pmovf-line: #e6e8ec;
	--pmovf-bg: #ffffff;
	--pmovf-soft: #f7f8fa;
	--pmovf-radius: 6px;
	--pmovf-heading-font: "Libre Baskerville", Georgia, "Times New Roman", serif;
	max-width: none;
	margin: 0 auto 48px;
	padding: 0 30px;
	color: var(--pmovf-text);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
	width: 100%;
	container-type: inline-size;
	container-name: pmovf;
}
.pmovf-wrap *, .pmovf-wrap *::before, .pmovf-wrap *::after { box-sizing: border-box; }
.pmovf-wrap .pmovf-i { flex: none; }
.pmovf-wrap .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;
}
.pmovf-wrap a:focus-visible, .pmovf-wrap button:focus-visible, .pmovf-wrap select:focus-visible, .pmovf-wrap input:focus-visible {
	outline: 3px solid var(--pmovf-gold); outline-offset: 2px;
}

/* ---------- Search card ---------- */
.pmovf-search {
	background: var(--pmovf-bg);
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(20, 30, 55, .10);
	padding: 18px 24px 22px;
	margin: 0 0 36px;
	position: relative;
	z-index: 2;
}
.pmovf-overlap .pmovf-search { margin-top: -70px; }
.pmovf-search-row { display: flex; border: 1px solid var(--pmovf-line); border-radius: var(--pmovf-radius); overflow: hidden; }
.pmovf-search-input { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 16px; color: var(--pmovf-navy); }
.pmovf-search-input input {
	flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important;
	font: inherit; font-size: 16px; padding: 12px 0 !important; min-width: 0; color: var(--pmovf-navy); margin: 0;
}
.pmovf-search-btn {
	border: 0; background: var(--pmovf-red); color: #fff; font: inherit; font-weight: 700; font-size: 16px;
	padding: 0 48px; cursor: pointer; border-radius: 0; margin: 0; min-height: 46px;
}
.pmovf-search-btn:hover { background: var(--pmovf-red-dark); }
.pmovf-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pmovf-filter { min-width: 0; border: 1px solid var(--pmovf-line); border-radius: var(--pmovf-radius); }
.pmovf-filter > label { display: block; font-size: 13px; font-weight: 700; color: var(--pmovf-navy); padding: 7px 12px; border-bottom: 1px solid var(--pmovf-line); margin: 0; }
.pmovf-select { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--pmovf-red); }
.pmovf-select::after {
	content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
	border-right: 2px solid var(--pmovf-navy); border-bottom: 2px solid var(--pmovf-navy); transform: rotate(45deg); pointer-events: none;
}
.pmovf-select select {
	appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; border: 0 !important; background: transparent !important;
	box-shadow: none !important; font: inherit; font-size: 14px; color: var(--pmovf-text); padding: 11px 24px 11px 0 !important; margin: 0; cursor: pointer; height: auto;
}

/* ---------- Layout ---------- */
.pmovf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.pmovf-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.pmovf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.pmovf-heading { font-family: var(--pmovf-heading-font); font-size: 30px; line-height: 1.2; color: var(--pmovf-navy); margin: 0; font-weight: 700; }
.pmovf-subheading { position: relative; margin: 6px 0 0; padding-left: 50px; color: var(--pmovf-muted); font-size: 14px; }
.pmovf-subheading::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 2px; background: var(--pmovf-gold); }
.pmovf-count { margin: 10px 0 0; color: var(--pmovf-navy); font-size: 15px; white-space: nowrap; }
.pmovf-count strong { font-weight: 700; font-size: 17px; }
.pmovf-count small { display: block; text-align: right; font-size: 12.5px; color: var(--pmovf-muted); margin-top: 2px; }
.pmovf-clear { margin: 0 0 12px; font-size: 14px; }
.pmovf-clear a { color: var(--pmovf-red); font-weight: 600; }

/* ---------- Cards ---------- */
.pmovf-list { display: flex; flex-direction: column; gap: 14px; }
.pmovf-card {
	display: flex; gap: 16px; background: var(--pmovf-bg); border: 1px solid var(--pmovf-line);
	border-radius: var(--pmovf-radius); padding: 8px; box-shadow: 0 1px 3px rgba(20, 30, 55, .04);
	transition: box-shadow .2s ease, border-color .2s ease;
}
.pmovf-card:hover { box-shadow: 0 8px 22px rgba(20, 30, 55, .09); border-color: #d9dce2; }
.pmovf-logo {
	flex: 0 0 120px; width: 120px; min-height: 110px; background: var(--pmovf-soft); border-radius: 4px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center;
}
.pmovf-logo img { width: 64px; height: 64px; object-fit: contain; display: block; }
.pmovf-logo--own img { width: 84px; height: 72px; }
.pmovf-logo-caption { font-family: var(--pmovf-heading-font); font-size: 10px; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; color: var(--pmovf-navy); }
.pmovf-logo-placeholder { width: 56px; height: 56px; border-radius: 50%; background: #e9ebef; color: #8a93a3; display: flex; align-items: center; justify-content: center; }
.pmovf-logo-placeholder .pmovf-i { width: 28px; height: 28px; }
.pmovf-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 8px 10px 6px 0; }
.pmovf-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pmovf-title { font-family: var(--pmovf-heading-font); font-size: 20px; line-height: 1.3; margin: 0 0 4px; font-weight: 700; }
.pmovf-title a { color: var(--pmovf-navy); text-decoration: none; }
.pmovf-title a:hover { color: var(--pmovf-red); }
.pmovf-org, .pmovf-dept { margin: 0; color: var(--pmovf-text); font-size: 15px; line-height: 1.35; }
.pmovf-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.pmovf-source-tag {
	display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pmovf-muted);
	background: var(--pmovf-soft); border: 1px solid var(--pmovf-line); border-radius: 4px; padding: 5px 10px; text-decoration: none !important; white-space: nowrap;
}
a.pmovf-source-tag:hover { color: var(--pmovf-red); border-color: #e3c5c7; }
.pmovf-source-tag .pmovf-i { width: 14px; height: 14px; color: var(--pmovf-navy); }
.pmovf-closed { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b1b21; background: #f3e1e2; border-radius: 20px; padding: 3px 10px; }
.pmovf-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pmovf-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.pmovf-meta-item { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; }
.pmovf-meta-item .pmovf-i { color: var(--pmovf-red); width: 17px; height: 17px; margin-top: 1px; }
.pmovf-meta dt { margin: 0; color: var(--pmovf-muted); font-weight: 400; }
.pmovf-meta dd { margin: 0; color: var(--pmovf-muted); }
.pmovf-btn {
	display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--pmovf-red); color: var(--pmovf-red) !important;
	background: #fff; font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 4px; text-decoration: none !important; white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
.pmovf-btn .pmovf-i { width: 15px; height: 15px; }
.pmovf-btn:hover { background: var(--pmovf-red); color: #fff !important; }
.pmovf-btn-solid { background: var(--pmovf-red); color: #fff !important; }
.pmovf-btn-solid:hover { background: var(--pmovf-red-dark); }
.pmovf-card.is-closed .pmovf-logo, .pmovf-card.is-closed .pmovf-title a { opacity: .72; }

.pmovf-empty { text-align: center; background: #fff; border: 1px solid var(--pmovf-line); border-radius: var(--pmovf-radius); padding: 44px 24px; }
.pmovf-empty h3 { font-family: var(--pmovf-heading-font); color: var(--pmovf-navy); font-size: 21px; margin: 0 0 8px; }
.pmovf-empty p { margin: 0 auto; max-width: 460px; color: var(--pmovf-muted); }

/* ---------- Pagination ---------- */
.pmovf-pages { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pmovf-pages a, .pmovf-pages span {
	min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--pmovf-line); border-radius: 4px; color: var(--pmovf-navy); text-decoration: none; font-size: 14px; background: #fff;
}
.pmovf-pages a:hover { border-color: var(--pmovf-red); color: var(--pmovf-red); }
.pmovf-pages .is-current { background: var(--pmovf-red); border-color: var(--pmovf-red); color: #fff; font-weight: 700; }
.pmovf-pages .pmovf-i { width: 16px; height: 16px; }

/* ---------- Sidebar ---------- */
.pmovf-sidebar { display: flex; flex-direction: column; gap: 16px; }
.pmovf-panel { background: #fff; border: 1px solid var(--pmovf-line); border-radius: var(--pmovf-radius); padding: 18px 16px; }
.pmovf-panel h3 { display: flex; align-items: center; gap: 10px; font-family: var(--pmovf-heading-font); font-size: 17px; color: var(--pmovf-navy); margin: 0 0 12px; line-height: 1.3; }
.pmovf-panel h3 .pmovf-i { width: 22px; height: 22px; color: var(--pmovf-navy); }
.pmovf-panel-sknis { background: var(--pmovf-red-tint); border-color: #f3dcdc; }
.pmovf-panel-sknis h3 .pmovf-i { color: var(--pmovf-red); }
.pmovf-panel-sknis p { margin: 0 0 12px; font-size: 14px; color: var(--pmovf-text); }
.pmovf-panel-sknis a { display: inline-flex; gap: 8px; align-items: center; color: var(--pmovf-red); font-weight: 600; font-size: 14px; }
.pmovf-cats, .pmovf-help { list-style: none; margin: 0 -16px -18px; padding: 0; }
.pmovf-cats li, .pmovf-help li { border-top: 1px solid var(--pmovf-line); margin: 0; }
.pmovf-cats a, .pmovf-help a { text-decoration: none !important; display: flex; align-items: center; gap: 12px; padding: 11px 16px; color: var(--pmovf-text); text-decoration: none; font-size: 14px; }
.pmovf-cats a:hover, .pmovf-help a:hover, .pmovf-cats a.is-active { background: var(--pmovf-soft); color: var(--pmovf-red); }
.pmovf-cats a.is-active { font-weight: 700; box-shadow: inset 3px 0 0 var(--pmovf-red); }
.pmovf-cats .pmovf-i:first-child, .pmovf-help .pmovf-i:first-child { color: var(--pmovf-red); width: 20px; height: 20px; }
.pmovf-cat-label { flex: 1; }
.pmovf-cat-count { background: var(--pmovf-soft); border-radius: 50%; min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--pmovf-navy); }
.pmovf-cats a > .pmovf-i:last-child, .pmovf-help a > .pmovf-i:last-child { width: 14px; height: 14px; color: var(--pmovf-muted); }
.pmovf-help a span { flex: 1; display: flex; flex-direction: column; }
.pmovf-help strong { color: var(--pmovf-navy); font-weight: 600; }
.pmovf-help small { color: var(--pmovf-muted); font-size: 12.5px; }

/* ---------- Single vacancy page ---------- */
.pmovf-single { border: 1px solid var(--pmovf-line, #e6e8ec); border-radius: 6px; padding: 16px; margin: 0 0 24px; }
.pmovf-single-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.pmovf-single .pmovf-logo { flex-basis: 100px; width: 100px; min-height: 90px; }
.pmovf-single .pmovf-org { font-weight: 700; }
.pmovf-single-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pmovf-single, .pmovf-single-actions {
	--pmovf-red: #9b101b; --pmovf-red-dark: #7c0d16; --pmovf-navy: #1b2a4a; --pmovf-muted: #6b7280;
	--pmovf-soft: #f7f8fa; --pmovf-line: #e6e8ec; --pmovf-heading-font: "Libre Baskerville", Georgia, serif;
}


/* ---------- Full page: hero + closing banner ([pmovf_jobs_page]) ---------- */
.pmovf-page {
	--pmovf-red: #9b101b; --pmovf-navy: #1b2a4a; --pmovf-gold: #c9a227;
	--pmovf-heading-font: "Libre Baskerville", Georgia, "Times New Roman", serif;
	width: 100%;
}
.pmovf-page, .pmovf-page *, .pmovf-page *::before, .pmovf-page *::after { box-sizing: border-box; }
body:has(.pmovf-page .pmovf-bleed) { overflow-x: clip; }
.pmovf-bleed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.pmovf-hero {
	position: relative; color: #fff; background-color: var(--pmovf-navy);
	background-image: linear-gradient(135deg, #1b2a4a 0%, #243a66 100%);
	background-size: cover; background-position: center 40%;
	padding: 88px 0 130px; margin-bottom: 0;
}
.pmovf-hero.has-image {
	background-image:
		linear-gradient(90deg, rgba(14, 24, 45, .94) 0%, rgba(14, 24, 45, .82) 38%, rgba(14, 24, 45, .25) 72%, rgba(14, 24, 45, .05) 100%),
		var(--pmovf-hero-img);
}
.pmovf-hero-inner { max-width: none; margin: 0 auto; padding: 0 30px; }
.pmovf-hero-rule { display: block; width: 44px; height: 4px; background: var(--pmovf-gold); margin-bottom: 18px; }
.pmovf-hero-title {
	font-family: var(--pmovf-heading-font); font-weight: 700; color: #fff !important;
	font-size: clamp(40px, 6vw, 68px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.01em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.pmovf-hero-text { max-width: 520px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; margin: 0; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.pmovf-page .pmovf-overlap .pmovf-search { margin-top: -84px; }

.pmovf-banner {
	position: relative; background: #f4f6f9; min-height: 240px; margin-top: 24px;
	display: flex; align-items: flex-end; padding: 80px 0 40px;
	background-size: cover; background-position: center 60%;
}
.pmovf-banner.has-image {
	background-image:
		linear-gradient(0deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 32%, rgba(255, 255, 255, 0) 62%),
		linear-gradient(180deg, #fafbfc 0%, rgba(250, 251, 252, 0) 30%),
		var(--pmovf-banner-img);
	min-height: 320px;
}
.pmovf-banner-inner { width: 100%; max-width: none; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pmovf-banner-text {
	font-family: var(--pmovf-heading-font); color: var(--pmovf-navy); text-transform: uppercase; letter-spacing: .12em;
	font-size: clamp(16px, 2vw, 22px); line-height: 1.3; max-width: 340px; margin: 0;
	text-shadow: 0 0 16px rgba(255, 255, 255, .9);
}
.pmovf-banner-tags {
	display: flex; align-items: center; gap: 14px; margin: 0; padding-top: 14px; border-top: 2px solid var(--pmovf-gold);
	font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--pmovf-navy);
	text-shadow: 0 0 12px rgba(255, 255, 255, .9);
}
.pmovf-banner-tags .pmovf-dot { color: var(--pmovf-gold); letter-spacing: 0; }
@media (max-width: 700px) {
	.pmovf-hero { padding: 56px 0 110px; }
	.pmovf-hero.has-image { background-image: linear-gradient(180deg, rgba(14, 24, 45, .72), rgba(14, 24, 45, .82)), var(--pmovf-hero-img); }
	.pmovf-banner-inner { flex-direction: column; align-items: flex-start; }
	.pmovf-banner-tags { letter-spacing: .14em; gap: 8px; font-size: 12px; }
}

/* ---------- Responsive ----------
 * Container queries: the layout responds to the width of the column the
 * shortcode sits in (Elementor section, theme content area…), not the screen. */
@container pmovf (max-width: 920px) {
	.pmovf-layout { grid-template-columns: minmax(0, 1fr); }
	.pmovf-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@container pmovf (max-width: 760px) {
	.pmovf-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmovf-head { flex-direction: column; gap: 4px; }
	.pmovf-count { margin-top: 4px; }
	.pmovf-count small { display: inline; text-align: left; margin-left: 8px; }
	.pmovf-heading { font-size: 25px; }
	.pmovf-search-btn { padding: 0 28px; }
}
@container pmovf (max-width: 580px) {
	.pmovf-search { padding: 14px; }
	.pmovf-search-row { flex-direction: column; border: 0; gap: 10px; }
	.pmovf-search-input { border: 1px solid var(--pmovf-line); border-radius: var(--pmovf-radius); }
	.pmovf-search-btn { border-radius: var(--pmovf-radius); padding: 12px; }
	.pmovf-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pmovf-filter > label { font-size: 12px; padding: 6px 10px; }
	.pmovf-select { padding: 0 10px; gap: 6px; }
	.pmovf-select .pmovf-i { display: none; }
	.pmovf-select select { font-size: 13.5px; }
	.pmovf-card { flex-direction: column; gap: 10px; padding: 12px; }
	.pmovf-logo { flex-direction: row; flex-basis: auto; width: 100%; min-height: 0; justify-content: flex-start; gap: 12px; padding: 8px 10px; text-align: left; }
	.pmovf-logo img { width: 44px; height: 44px; }
	.pmovf-logo--own img { width: 56px; height: 44px; }
	.pmovf-card-body { padding: 0; }
	.pmovf-card-top { flex-direction: column-reverse; }
	.pmovf-badges { flex-direction: row; align-items: center; flex-wrap: wrap; }
	.pmovf-card-bottom { flex-direction: column; align-items: stretch; }
	.pmovf-btn { justify-content: center; }
	.pmovf-title { font-size: 18px; }
}
@container pmovf (max-width: 340px) {
	.pmovf-filters { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.pmovf-card, .pmovf-btn { transition: none; }
}

/* Select2 guard (v1.0.1): gov.kn loads Select2 site-wide, which replaces every <select>.
 * Keep our native dropdowns visible and hide any Select2 box added to them. */
.pmovf-select .select2-container { display: none !important; }
.pmovf-select select.select2-hidden-accessible {
	position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important;
	margin: 0 !important; overflow: visible !important; border: 0 !important; padding: 11px 24px 11px 0 !important; white-space: normal !important;
}

/* v1.0.2: content sits 30px from the left and right edges (16px on small phones). */
@media (max-width: 480px) {
	.pmovf-wrap, .pmovf-hero-inner, .pmovf-banner-inner { padding-left: 16px; padding-right: 16px; }
}

/* v1.0.3: the search box + list stretch edge to edge of the screen, leaving 30px each side,
 * even when the theme/Elementor puts the shortcode inside a narrower boxed column. */
.pmovf-page > .pmovf-wrap {
	width: 100vw; max-width: 100vw;
	margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	padding-left: 30px; padding-right: 30px;
}
@media (max-width: 480px) {
	.pmovf-page > .pmovf-wrap { padding-left: 16px; padding-right: 16px; }
}

/* v1.0.4: body text in the vacancies section is black (#000000) at 12.5px.
 * Headings, buttons, links, icons, the photo header and the bottom band keep their own styles. */
.pmovf-wrap .pmovf-org,
.pmovf-wrap .pmovf-dept,
.pmovf-wrap .pmovf-meta dt,
.pmovf-wrap .pmovf-meta dd,
.pmovf-wrap .pmovf-meta-item,
.pmovf-wrap .pmovf-source-tag,
.pmovf-wrap .pmovf-count,
.pmovf-wrap .pmovf-count strong,
.pmovf-wrap .pmovf-count small,
.pmovf-wrap .pmovf-subheading,
.pmovf-wrap .pmovf-filter > label,
.pmovf-wrap .pmovf-select select,
.pmovf-wrap .pmovf-search-input input,
.pmovf-wrap .pmovf-panel-sknis p,
.pmovf-wrap .pmovf-cat-label,
.pmovf-wrap .pmovf-help strong,
.pmovf-wrap .pmovf-help small,
.pmovf-wrap .pmovf-empty p {
	color: #000000 !important;
	font-size: 12.5px !important;
}
.pmovf-wrap .pmovf-logo-caption { color: #000000 !important; } /* kept at its own size so it fits the logo tile */

/* v1.0.5: bigger org/department lines, wider logo tile (+20px), larger black caption. */
.pmovf-wrap .pmovf-org,
.pmovf-wrap .pmovf-dept { color: #000000 !important; font-size: 14.5px !important; line-height: 1.35; }
.pmovf-wrap .pmovf-logo { flex: 0 0 140px; width: 140px; }
.pmovf-wrap .pmovf-logo-caption { color: #000000 !important; font-size: 12px !important; line-height: 1.25; }
.pmovf-wrap .pmovf-single .pmovf-logo { flex-basis: 120px; width: 120px; }
@media (max-width: 640px) {
	.pmovf-wrap .pmovf-logo { flex: 0 0 auto; width: 100%; }
}
.pmovf-wrap .pmovf-search-input input::placeholder { color: #000000; opacity: .6; }
