/* Emplava 0.3.1. A single color system for both modes; no light-mode overrides
   are allowed to inherit dark WordPress palette values for text or note panels. */
html:root, .editor-styles-wrapper {
    color-scheme: dark;
    --em-canvas:#161d26; --em-surface:#1e2834; --em-surface-soft:#24313f;
    --em-ink:#f2f5fa; --em-muted:#b7c4d4; --em-line:#3a4a5d;
    --em-primary:#97c4ff; --em-success:#79dfbe; --em-note:#273b50; --em-note-ink:#e0edff;
    --em-button:#2262c6; --em-button-hover:#174fa6; --em-button-ink:#ffffff;
    --em-hero-a:rgba(63,133,218,.14); --em-hero-b:rgba(193,144,65,.10);
    --em-shadow:0 14px 40px rgba(0,0,0,.16); --em-radius:18px;
    --em-admin-offset:0px; --em-sticky-offset:88px;
    --wp--preset--color--ink:var(--em-ink); --wp--preset--color--muted:var(--em-muted);
    --wp--preset--color--surface:var(--em-surface); --wp--preset--color--canvas:var(--em-canvas);
    --wp--preset--color--line:var(--em-line); --wp--preset--color--primary:var(--em-primary);
    --wp--preset--color--primary-dark:var(--em-primary); --wp--preset--color--success:var(--em-success);
}
html[data-emplava-theme="light"] {
    color-scheme:light;
    --em-canvas:#f1f3f6; --em-surface:#fffdf9; --em-surface-soft:#f0f3f6;
    --em-ink:#182b42; --em-muted:#536477; --em-line:#d5dee8;
    --em-primary:#2459ad; --em-success:#086545; --em-note:#e9f0fa; --em-note-ink:#273e5c;
    --em-button:#225dc1; --em-button-hover:#174895; --em-button-ink:#ffffff;
    --em-hero-a:rgba(98,153,225,.10); --em-hero-b:rgba(236,187,96,.12);
    --em-shadow:0 14px 40px rgba(37,58,86,.07);
}
*, *::before, *::after {box-sizing:border-box;}
html {scroll-padding-top:108px;}
body {margin:0;background:var(--em-canvas);color:var(--em-ink);}
body.admin-bar {--em-admin-offset:32px;}
img,video {max-width:100%;height:auto;}
a {color:var(--em-primary);text-underline-offset:.18em;}
:where(a,button,input,textarea,select):focus-visible {outline:3px solid var(--em-primary);outline-offset:4px;}
:where(.em-vacancy-page,.em-aside,.em-job-card) {font-size:16px;line-height:1.55;}
:where(.em-vacancy-page,.em-aside,.em-job-card) p {margin:0 0 .65em;}
:where(.em-vacancy-page,.em-aside,.em-job-card) p:last-child {margin-bottom:0;}
.em-header-shell,.em-footer-shell {background:var(--em-surface);border-color:var(--em-line);color:var(--em-ink);}
.em-header-shell {border-bottom:1px solid var(--em-line);}
/* A sticky template-part wrapper, not a child trapped inside a one-row parent. */
.wp-site-blocks > header {position:sticky;top:var(--em-admin-offset);z-index:50;margin-block-start:0;}
.em-header-inner {min-height:68px;gap:16px;padding-block:10px;}
.em-brand-row {gap:10px;}
.em-brand-mark {display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:var(--em-button);color:#fff;font-weight:800;}
.em-header-shell .wp-block-site-title {margin:0;font-size:20px;font-weight:750;}
.em-header-shell .wp-block-site-title a {color:var(--em-ink);text-decoration:none;}
.em-header-shell .wp-block-group.is-layout-flex {gap:14px;}
.em-site-nav,.em-social-links {display:flex;align-items:center;flex-wrap:wrap;gap:16px;}
.em-site-nav a,.em-social-links a {font-size:14px;font-weight:650;color:var(--em-ink);text-decoration:none;}
.em-site-nav a:hover,.em-social-links a:hover {color:var(--em-primary);}
.em-theme-toggle {appearance:none;border:1px solid var(--em-line);width:44px;height:44px;flex:none;display:inline-grid;place-items:center;border-radius:12px;background:var(--em-surface-soft);color:var(--em-ink);font:inherit;font-size:21px;cursor:pointer;}
.em-theme-toggle:hover {border-color:var(--em-primary);}
.em-icon {display:inline-block;vertical-align:middle;flex:none;}
.em-main-shell {padding-block:28px 48px;}
.em-main-shell .alignwide {max-width:1280px;}
.em-vacancy-page > * {min-width:0;}
/* Hero + facts are a single composition. Avoid blockGap accumulating between them. */
.em-vacancy-intro {overflow:hidden;border:1px solid var(--em-line);border-radius:22px;background:var(--em-surface);box-shadow:var(--em-shadow);}
.em-vacancy-hero {padding:28px 32px;background:radial-gradient(ellipse at 96% 0%,var(--em-hero-b),transparent 53%),radial-gradient(ellipse at 0% 100%,var(--em-hero-a),transparent 56%),var(--em-surface);color:var(--em-ink);}
.em-vacancy-intro > .em-vacancy-hero {margin:0!important;border:0;border-radius:0;}
.em-hero-eyebrow {display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:13px;}
.em-kicker {font-size:12px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--em-primary);font-weight:750;}
.em-work-mode {font-size:12px;line-height:1.4;color:var(--em-muted);padding-inline-start:12px;border-inline-start:1px solid var(--em-line);}
.em-title {margin:0!important;font-size:clamp(29px,3.3vw,46px);font-weight:780;line-height:1.12;letter-spacing:-.032em;max-width:1020px;text-wrap:balance;color:var(--em-ink);overflow-wrap:anywhere;}
.em-summary {max-width:90ch;margin:14px 0 0!important;font-size:16px;line-height:1.6;color:var(--em-muted);}
.em-facts {margin:0!important;}
.em-facts--band {border-top:1px solid var(--em-line);background:var(--em-surface-soft);}
.em-facts-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:0;}
.em-fact {padding:17px 22px;min-width:0;}
.em-fact + .em-fact {border-inline-start:1px solid var(--em-line);}
.em-fact-label {font-size:12px;line-height:1.4;color:var(--em-muted);margin-bottom:5px;}
.em-fact-value {margin:0;font-size:15px;line-height:1.4;font-weight:700;color:var(--em-ink);overflow-wrap:anywhere;}
.em-fact--salary .em-fact-value {color:var(--em-success);}
/* Stretch the right column to full row height. Sticky lives inside that column. */
.em-vacancy-columns.wp-block-columns {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(310px,344px);gap:20px;align-items:stretch!important;margin-top:20px!important;margin-bottom:0!important;}
.em-vacancy-columns > .wp-block-column {min-width:0;margin:0!important;}
.em-vacancy-columns > .wp-block-column:last-child {align-self:stretch!important;position:relative;overflow:visible;}
.em-vacancy-body {display:grid;gap:16px;}
.em-panel {border:1px solid var(--em-line);border-radius:var(--em-radius);background:var(--em-surface);overflow:hidden;color:var(--em-ink);}
.em-panel-heading {display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--em-line);background:var(--em-surface-soft);}
.em-panel-heading .em-icon {color:var(--em-primary);}
.em-panel-heading h2 {margin:0;font-size:19px;line-height:1.3;letter-spacing:-.015em;font-weight:740;color:var(--em-ink);}
.em-panel-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.em-section {min-width:0;padding:20px;border:0;border-radius:0;background:transparent;}
.em-section:nth-child(even):not(.em-section--wide) {border-inline-start:1px solid var(--em-line);}
.em-panel--terms .em-section {border-bottom:1px solid var(--em-line);}
.em-section--wide {grid-column:1 / -1;border-inline-start:0!important;}
.em-panel--terms .em-section:last-child {border-bottom:0;}
.em-section-heading {margin:0 0 10px!important;font-size:15px;font-weight:730;line-height:1.4;color:var(--em-ink);letter-spacing:0;}
.em-section-body {font-size:15px;line-height:1.6;color:var(--em-ink);overflow-wrap:anywhere;}
.em-section-body p {color:var(--em-ink);}
.em-section--additional .em-section-body {color:var(--em-muted);font-size:14px;}
.em-section--additional .em-section-body p {color:inherit;}
/* Real list semantics remain; markers are decorative, never claims that requirements are met. */
.em-section-body ul {list-style:none;margin:0;padding:0;}
.em-section-body ul li {position:relative;padding-inline-start:21px;margin:0;}
.em-section-body ul li + li {margin-top:8px;}
.em-section-body ul li::before {content:"";position:absolute;inset-inline-start:0;top:.68em;width:6px;height:6px;border:1px solid var(--em-primary);border-radius:2px;}
.em-list--dash ul li::before {top:.77em;width:9px;height:2px;border:0;border-radius:1px;background:var(--em-primary);}
.em-list--check ul li::before {top:.48em;inset-inline-start:2px;width:5px;height:9px;border:solid var(--em-success);border-width:0 2px 2px 0;border-radius:0;transform:rotate(45deg);}
.em-section-body ol {padding-inline-start:22px;margin:0;}
.em-section-body ol li + li {margin-top:8px;}
.em-section-body ul + p,.em-section-body p + ul {margin-top:10px;}
.em-aside {position:sticky;top:var(--em-sticky-offset,88px);display:grid;gap:10px;align-self:start;margin:0!important;}
.em-summary-card {padding:22px;border:1px solid var(--em-line);border-radius:var(--em-radius);background:var(--em-surface);box-shadow:var(--em-shadow);color:var(--em-ink);}
.em-summary-label {font-size:11px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--em-muted);margin-bottom:8px;font-weight:700;}
.em-salary-big {font-size:26px;font-weight:770;line-height:1.2;letter-spacing:-.025em;color:var(--em-success);margin-bottom:14px;overflow-wrap:anywhere;}
.em-detail-list {margin:0;}
.em-detail-row {display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:10px;padding:11px 0;border-bottom:1px solid var(--em-line);}
.em-detail-row:last-child {border-bottom:0;}
.em-detail-row dt {font-size:12px;line-height:1.55;color:var(--em-muted);}
.em-detail-row dd {margin:0;text-align:right;font-size:14px;font-weight:650;line-height:1.55;color:var(--em-ink);overflow-wrap:anywhere;}
.em-schedule-link {display:block;margin-top:4px;font-size:12px;font-weight:500;color:var(--em-primary);text-decoration:none;}
.em-side-note {margin-top:16px;padding:13px 14px;border:1px solid var(--em-line);border-radius:12px;background:var(--em-note);color:var(--em-note-ink);font-size:13px;line-height:1.6;}
/* Explicit descendants are intentional: no inherited dark text in light mode. */
.em-side-note :where(p,li,span,strong,a),.em-side-note {color:var(--em-note-ink);opacity:1;}
.em-side-note p {margin:0;}
.em-side-note p + p {margin-top:8px;}
.em-note-label {color:var(--em-note-ink);font-size:12px;font-weight:750;margin-bottom:6px;}
.em-section--bonus .em-side-note {margin:0;}
.em-cta-wrap {display:grid;gap:8px;margin-top:16px;}
.em-cta {display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;padding:12px 14px;border:1px solid transparent;border-radius:11px;background:var(--em-button);color:var(--em-button-ink);text-decoration:none;font-size:14px;font-weight:720;line-height:1.35;text-align:center;}
.em-cta:hover {background:var(--em-button-hover);color:var(--em-button-ink);}
.em-cta--secondary {background:transparent;border-color:var(--em-line);color:var(--em-primary);}
.em-cta--secondary:hover {background:var(--em-surface-soft);color:var(--em-primary);}
.em-cta .em-icon {width:17px;height:17px;}
.em-retention-link {display:block;padding:8px 0 0;text-align:center;font-size:12px;font-weight:650;color:var(--em-primary);text-decoration:none;}
.em-mobile-actions {display:none;}
.emplava-language-switcher {display:flex;gap:6px;flex-wrap:wrap;}
.emplava-language-link {min-width:38px;min-height:38px;display:grid;place-items:center;border:1px solid var(--em-line);background:var(--em-surface-soft);border-radius:10px;color:var(--em-muted);font-size:12px;font-weight:700;text-decoration:none;}
.emplava-language-link.is-current {color:var(--em-primary);}
.em-aside .emplava-language-switcher {display:none;} /* Already available in the header. */
.em-footer-shell {margin-block-start:0;border-top:1px solid var(--em-line);}
.em-editorial-shell {padding:clamp(20px,4vw,36px);border:1px solid var(--em-line);border-radius:18px;background:var(--em-surface);color:var(--em-ink);}
.em-post-list .wp-block-post {padding-block:20px;border-bottom:1px solid var(--em-line);}
.em-archive-head {margin-bottom:20px;}
.em-archive-head h1 {font-size:36px;line-height:1.15;margin:0 0 8px;color:var(--em-ink);}
.em-archive-head p {color:var(--em-muted);margin:0;}
.em-jobs-query .wp-block-post-template {gap:16px;}
.em-job-card {height:100%;display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--em-line);border-radius:18px;background:var(--em-surface);color:var(--em-ink);}
.em-card-meta {display:flex;gap:8px;flex-wrap:wrap;}
.em-chip {border:1px solid var(--em-line);background:var(--em-surface-soft);padding:5px 9px;font-size:12px;line-height:1.5;color:var(--em-muted);border-radius:8px;}
.em-card-title {font-size:21px;line-height:1.3;margin:0;}
.em-card-title a {text-decoration:none;color:var(--em-ink);}
.em-job-card-summary {font-size:14px;color:var(--em-muted);margin:0;}
.em-card-bottom {display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-top:auto;padding-top:8px;}
.em-card-salary {font-size:15px;font-weight:750;color:var(--em-success);}
.em-card-link {font-size:13px;font-weight:650;color:var(--em-primary);text-decoration:none;}
/* Safe fallbacks when a saved Site Editor template still contains the previous classes. */
.em-content-card {border:1px solid var(--em-line);border-radius:18px;background:var(--em-surface);}
.em-content-card > .em-section {border-bottom:1px solid var(--em-line);}
.em-content-card > .em-section:last-child {border-bottom:0;}
@media (min-width:981px) { .em-vacancy-columns > .wp-block-column:first-child {container-type:inline-size;} }
@container (max-width:540px) {
    .em-panel-grid {grid-template-columns:1fr;}
    .em-section:nth-child(even):not(.em-section--wide) {border-inline-start:0;}
    .em-panel--work .em-section + .em-section {border-top:1px solid var(--em-line);}
}
@media (max-width:980px) {
    .em-vacancy-columns.wp-block-columns {grid-template-columns:1fr;}
    .em-aside {position:static;}
    .em-main-shell {padding-top:20px;}
}
@media (max-width:782px) {body.admin-bar {--em-admin-offset:46px;}}
@media (max-width:640px) {
    .em-header-inner {min-height:62px;gap:9px;padding-block:8px;}
    .em-header-shell .wp-block-group.is-layout-flex {gap:9px;}
    .em-header-shell .wp-block-site-title {font-size:18px;}
    .em-site-nav a {font-size:12px;}
    .em-theme-toggle {width:40px;height:40px;}
    .em-main-shell {padding-block:14px 30px;}
    .em-vacancy-intro {border-radius:17px;}
    .em-vacancy-hero {padding:21px 18px;}
    .em-hero-eyebrow {margin-bottom:10px;}
    .em-title {font-size:29px;line-height:1.14;letter-spacing:-.022em;text-wrap:initial;}
    .em-summary {font-size:14px;line-height:1.6;margin-top:12px!important;}
    .em-facts-list {grid-template-columns:repeat(2,minmax(0,1fr));}
    .em-fact {padding:13px 15px;}
    .em-fact + .em-fact {border-inline-start:0;}
    .em-fact:nth-child(even) {border-inline-start:1px solid var(--em-line);}
    .em-fact:nth-child(n+3) {border-top:1px solid var(--em-line);}
    .em-fact-value {font-size:14px;}
    .em-vacancy-columns.wp-block-columns {gap:15px;margin-top:15px!important;}
    .em-panel-grid {grid-template-columns:1fr;}
    .em-panel {border-radius:15px;}
    .em-panel-heading {padding:12px 16px;}
    .em-panel-heading h2 {font-size:18px;}
    .em-section {padding:16px;}
    .em-section:nth-child(even):not(.em-section--wide) {border-inline-start:0;}
    .em-panel--work .em-section + .em-section {border-top:1px solid var(--em-line);}
    .em-section-body {font-size:15px;line-height:1.6;}
    .em-summary-card {padding:20px;}
    .em-mobile-actions {display:flex;gap:8px;position:fixed;inset:auto 0 0;z-index:60;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--em-surface);border-top:1px solid var(--em-line);}
    .em-mobile-actions .em-cta {flex:1;min-width:0;min-height:46px;}
    body:has(.em-mobile-actions) {padding-bottom:84px;}
    .em-card-bottom {flex-direction:column;}
}
@media (prefers-reduced-motion:no-preference) {
    .em-theme-toggle,.em-cta {transition:background-color .15s,border-color .15s;}
}


/* 0.3.2 — vacancy navigation + canonical archive city filters. */
.em-vacancy-navigation{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.em-back-to-jobs{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid var(--em-line);border-radius:10px;background:var(--em-surface-soft);color:var(--em-primary);font-size:13px;font-weight:700;text-decoration:none}
.em-back-to-jobs:hover{background:var(--em-note);color:var(--em-primary)}
.em-breadcrumbs{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;line-height:1.5;color:var(--em-muted)}
.em-breadcrumbs a{color:var(--em-primary);text-decoration:none;font-weight:650}
.em-breadcrumbs span[aria-current="page"]{min-width:0;max-width:36ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.em-breadcrumb-separator{opacity:.6}
.em-city-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.em-city-filter{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;border:1px solid var(--em-line);border-radius:999px;background:var(--em-surface);color:var(--em-muted);font-size:13px;font-weight:650;line-height:1.3;text-decoration:none}
.em-city-filter:hover{background:var(--em-surface-soft);color:var(--em-ink)}
.em-city-filter.is-current{border-color:var(--em-primary);background:var(--em-note);color:var(--em-primary)}
.em-section--pay .em-section-body{font-size:14px}
@media (max-width:640px){
  .em-vacancy-navigation{display:grid;gap:9px}
  .em-breadcrumbs{order:-1}
  .em-back-to-jobs{width:max-content}
  .em-city-filters{gap:7px;margin-top:14px}
  .em-city-filter{min-height:36px;padding:6px 11px;font-size:12px}
}


/* 0.3.3 — canonical geometry, no orphan facts/cells. */
.em-vacancy-navigation{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0 0 18px;
  padding:0 0 12px;
  border-bottom:1px solid var(--em-line);
}
.em-breadcrumbs{min-width:0;display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.45;color:var(--em-muted)}
.em-breadcrumbs a{color:var(--em-primary);text-decoration:none;font-weight:700}
.em-breadcrumbs span[aria-current="page"]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.em-back-to-jobs{white-space:nowrap}
.em-hero-eyebrow{margin-top:0}
.em-facts-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.em-panel--work .em-panel-grid{align-items:stretch}
.em-panel--work .em-section{height:100%}
.em-panel--terms .em-section--wide{background:color-mix(in srgb,var(--em-surface-soft) 42%,transparent)}
.em-section--pay .em-section-body{font-size:15px;color:var(--em-ink)}
.em-section--additional .em-section-body{font-size:14px;line-height:1.65}
@media (max-width:900px){
  .em-vacancy-navigation{grid-template-columns:1fr;align-items:start}
  .em-back-to-jobs{grid-row:2;width:max-content}
}
@media (max-width:640px){
  .em-vacancy-navigation{margin-bottom:14px;padding-bottom:10px}
  .em-breadcrumbs span[aria-current="page"]{max-width:62vw}
}


/* 0.3.4 — compact one-row mobile header + one canonical list marker. */
.em-section-body ul li::before{
  content:"";
  position:absolute;
  inset-inline-start:2px;
  top:.66em;
  width:6px;
  height:6px;
  border:0;
  border-radius:50%;
  background:var(--em-primary);
  transform:none;
}
.em-list--dash ul li::before,
.em-list--square ul li::before,
.em-list--check ul li::before{
  content:"";
  inset-inline-start:2px;
  top:.66em;
  width:6px;
  height:6px;
  border:0;
  border-radius:50%;
  background:var(--em-primary);
  transform:none;
}

@media (max-width:640px){
  .em-header-inner{
    min-height:58px;
    gap:6px;
    padding-block:7px;
  }
  .em-brand-row{gap:7px;min-width:0}
  .em-brand-mark{width:32px;height:32px;border-radius:9px}
  .em-header-shell .wp-block-site-title{font-size:16px}
  .em-header-inner > .wp-block-group:last-child{gap:5px!important;min-width:0}
  .em-site-nav{gap:6px!important;flex-wrap:nowrap!important}
  .em-site-nav > a:not(.em-contact-phone){font-size:11.5px;white-space:nowrap}
  .emplava-language-menu > summary{
    min-width:38px!important;
    width:38px;
    min-height:38px;
    height:38px;
    padding:0!important;
    border-radius:10px;
  }
  .em-theme-toggle{
    width:38px;
    height:38px;
    border-radius:10px;
    font-size:19px;
  }
}

@media (max-width:370px){
  .em-header-shell .wp-block-site-title{font-size:15px}
  .em-brand-mark{width:30px;height:30px}
  .em-header-inner{gap:4px}
  .em-header-inner > .wp-block-group:last-child{gap:4px!important}
  .em-site-nav{gap:4px!important}
  .em-site-nav > a:not(.em-contact-phone){font-size:11px}
}


/* 0.3.6 — markerless canonical vacancy lists + publication freshness row. */
.em-section-body ul.em-clean-list,
.em-section-body ul {
  list-style:none;
  padding-inline-start:0;
}
.em-section-body ul li {
  position:static;
  padding-inline-start:0;
}
.em-section-body ul li::before,
.em-list--dash ul li::before,
.em-list--square ul li::before,
.em-list--check ul li::before {
  content:none!important;
  display:none!important;
}
.em-publication-meta{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid var(--em-line);
  color:var(--em-muted);
  font-size:12px;
  line-height:1.5;
}
.em-publication-label{font-weight:650;color:var(--em-muted);}


/* 0.3.8 — category-aware archive filters + linked hero category. */
.em-archive-filters{display:grid;gap:12px;margin-top:16px}
.em-filter-group{display:grid;gap:7px}
.em-filter-label{color:var(--em-muted);font-size:12px;font-weight:750;line-height:1.3}
.em-archive-filters .em-city-filters{margin-top:0}
.em-kicker--link{color:var(--em-primary);text-decoration:none;border-radius:6px}
.em-kicker--link:hover,.em-kicker--link:focus-visible{text-decoration:underline;text-underline-offset:3px}


/* 0.3.9 — canonical Emplava homepage. */
.em-home-page{padding-top:20px;padding-bottom:56px}
.em-home-page > *{margin-block-start:0!important}
.em-home-page > * + *{margin-block-start:22px!important}

.em-home-hero{
  position:relative;
  min-height:520px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  align-items:center;
  gap:42px;
  overflow:hidden;
  padding:clamp(34px,6vw,72px);
  border:1px solid var(--em-line);
  border-radius:26px;
  background:
    radial-gradient(circle at 12% 90%,var(--em-hero-a),transparent 38%),
    radial-gradient(circle at 96% 4%,var(--em-hero-b),transparent 40%),
    var(--em-surface);
  box-shadow:var(--em-shadow);
}
.em-home-hero-copy{position:relative;z-index:2;max-width:820px}
.em-home-kicker{
  margin-bottom:12px;
  color:var(--em-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.11em;
  line-height:1.4;
  text-transform:uppercase;
}
.em-home-hero h1{
  max-width:16ch;
  margin:0;
  color:var(--em-ink);
  font-size:clamp(42px,6vw,76px);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:.98;
  text-wrap:balance;
}
.em-home-hero-copy > p{
  max-width:68ch;
  margin:22px 0 0;
  color:var(--em-muted);
  font-size:clamp(17px,2vw,21px);
  line-height:1.62;
}
.em-home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.em-home-button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border:1px solid transparent;
  border-radius:12px;
  font-size:14px;
  font-weight:750;
  line-height:1.2;
  text-decoration:none;
}
.em-home-button--primary{background:var(--em-button);color:var(--em-button-ink)}
.em-home-button--primary:hover{background:var(--em-button-hover);color:var(--em-button-ink)}
.em-home-button--secondary{border-color:var(--em-line);background:var(--em-surface-soft);color:var(--em-ink)}
.em-home-button--secondary:hover{border-color:var(--em-primary);color:var(--em-primary)}

.em-home-hero-visual{
  position:relative;
  min-height:330px;
  display:grid;
  place-items:center;
}
.em-home-hero-card{
  position:relative;
  z-index:2;
  width:min(280px,72vw);
  aspect-ratio:1/1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:24px;
  border:1px solid var(--em-line);
  border-radius:28px;
  background:color-mix(in srgb,var(--em-surface) 88%,transparent);
  box-shadow:0 24px 70px rgba(0,0,0,.18);
  transform:rotate(3deg);
}
.em-home-hero-card span{
  display:grid;
  place-items:center;
  border:1px solid var(--em-line);
  border-radius:18px;
  background:var(--em-surface-soft);
  color:var(--em-primary);
  font-size:32px;
  font-weight:800;
}
.em-home-orbit{
  position:absolute;
  border:1px solid color-mix(in srgb,var(--em-primary) 38%,transparent);
  border-radius:999px;
}
.em-home-orbit--one{width:360px;height:220px;transform:rotate(-20deg)}
.em-home-orbit--two{width:250px;height:390px;transform:rotate(38deg)}

.em-home-section{
  padding:clamp(28px,4.5vw,50px);
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-home-section-head{max-width:780px;margin-bottom:26px}
.em-home-section-head h2,
.em-home-cta h2{
  margin:0;
  color:var(--em-ink);
  font-size:clamp(28px,4vw,44px);
  font-weight:790;
  letter-spacing:-.035em;
  line-height:1.08;
  text-wrap:balance;
}
.em-home-section-head > p,
.em-home-cta p{
  margin:14px 0 0;
  max-width:72ch;
  color:var(--em-muted);
  font-size:16px;
  line-height:1.65;
}

.em-home-markets-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:14px;
}
.em-home-market-card{
  min-height:235px;
  display:flex;
  flex-direction:column;
  padding:20px;
  border:1px solid var(--em-line);
  border-radius:18px;
  background:var(--em-surface-soft);
  color:var(--em-ink);
  text-decoration:none;
}
.em-home-market-card:hover{border-color:var(--em-primary)}
.em-home-market-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.em-home-country-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid var(--em-line);
  border-radius:10px;
  color:var(--em-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.em-home-market-arrow{color:var(--em-muted);font-size:20px}
.em-home-market-card h3{margin:28px 0 4px;font-size:25px;line-height:1.2;color:var(--em-ink)}
.em-home-market-count{color:var(--em-success);font-size:14px;font-weight:750}
.em-home-market-categories{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:20px}
.em-home-market-categories span{
  padding:5px 8px;
  border:1px solid var(--em-line);
  border-radius:999px;
  color:var(--em-muted);
  font-size:11px;
  line-height:1.3;
}
.em-home-empty{margin:0;color:var(--em-muted)}

.em-home-transparency{
  background:
    linear-gradient(140deg,color-mix(in srgb,var(--em-note) 44%,transparent),transparent 62%),
    var(--em-surface);
}
.em-home-facts-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--em-line);
  border-radius:18px;
  overflow:hidden;
}
.em-home-fact{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
  padding:17px;
  background:color-mix(in srgb,var(--em-surface-soft) 66%,transparent);
}
.em-home-fact:nth-child(n+2){border-inline-start:1px solid var(--em-line)}
.em-home-fact:nth-child(5){border-inline-start:0}
.em-home-fact:nth-child(n+5){border-top:1px solid var(--em-line)}
.em-home-fact span{color:var(--em-muted);font-size:11px;font-weight:700}
.em-home-fact strong{color:var(--em-ink);font-size:15px;line-height:1.35}

.em-home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.em-home-step{
  min-height:250px;
  padding:22px;
  border:1px solid var(--em-line);
  border-radius:18px;
  background:var(--em-surface-soft);
}
.em-home-step-number{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:12px;
  background:var(--em-note);
  color:var(--em-primary);
  font-weight:800;
}
.em-home-step h3{margin:40px 0 10px;color:var(--em-ink);font-size:20px;line-height:1.25}
.em-home-step p{margin:0;color:var(--em-muted);font-size:14px;line-height:1.65}

.em-home-trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.em-home-trust-card{
  padding:22px;
  border-top:2px solid var(--em-primary);
  border-radius:0 0 16px 16px;
  background:var(--em-surface-soft);
}
.em-home-trust-card h3{margin:0 0 10px;color:var(--em-ink);font-size:18px}
.em-home-trust-card p{margin:0;color:var(--em-muted);font-size:14px;line-height:1.65}

.em-home-faq-list{display:grid;gap:8px}
.em-home-faq-item{
  border:1px solid var(--em-line);
  border-radius:14px;
  background:var(--em-surface-soft);
  overflow:hidden;
}
.em-home-faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:17px 20px;
  color:var(--em-ink);
  font-size:15px;
  font-weight:740;
}
.em-home-faq-item summary::-webkit-details-marker{display:none}
.em-home-faq-item summary::after{
  content:"+";
  float:right;
  margin-inline-start:16px;
  color:var(--em-primary);
  font-size:20px;
  line-height:1;
}
.em-home-faq-item[open] summary::after{content:"–"}
.em-home-faq-item > div{padding:0 20px 18px}
.em-home-faq-item p{margin:0;max-width:85ch;color:var(--em-muted);font-size:14px;line-height:1.65}

.em-home-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:clamp(28px,4.5vw,48px);
  border:1px solid var(--em-line);
  border-radius:22px;
  background:
    radial-gradient(circle at 96% 20%,var(--em-hero-a),transparent 34%),
    var(--em-surface);
}
.em-home-cta > div{max-width:760px}

@media (max-width:900px){
  .em-home-hero{grid-template-columns:1fr;min-height:0}
  .em-home-hero-visual{min-height:220px}
  .em-home-hero-card{width:220px}
  .em-home-orbit--one{width:280px;height:170px}
  .em-home-orbit--two{width:190px;height:280px}
  .em-home-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .em-home-fact:nth-child(n+2){border-inline-start:0}
  .em-home-fact:nth-child(even){border-inline-start:1px solid var(--em-line)}
  .em-home-fact:nth-child(n+3){border-top:1px solid var(--em-line)}
  .em-home-steps,.em-home-trust-grid{grid-template-columns:1fr}
  .em-home-step{min-height:0}
  .em-home-step h3{margin-top:28px}
}
@media (max-width:640px){
  .em-home-page{padding-top:10px;padding-bottom:32px}
  .em-home-page > * + *{margin-block-start:14px!important}
  .em-home-hero,
  .em-home-section,
  .em-home-cta{border-radius:17px;padding:22px 18px}
  .em-home-hero{gap:18px}
  .em-home-hero h1{font-size:39px;max-width:12ch}
  .em-home-hero-copy > p{font-size:15px;margin-top:16px}
  .em-home-actions{margin-top:20px}
  .em-home-button{width:100%}
  .em-home-hero-visual{min-height:160px}
  .em-home-hero-card{width:160px;padding:14px;gap:8px;border-radius:20px}
  .em-home-hero-card span{border-radius:12px;font-size:23px}
  .em-home-orbit--one{width:205px;height:125px}
  .em-home-orbit--two{width:142px;height:210px}
  .em-home-section-head{margin-bottom:20px}
  .em-home-section-head h2,.em-home-cta h2{font-size:30px}
  .em-home-markets-grid{grid-template-columns:1fr}
  .em-home-market-card{min-height:210px}
  .em-home-facts-grid{grid-template-columns:1fr}
  .em-home-fact:nth-child(even){border-inline-start:0}
  .em-home-fact:nth-child(n+2){border-top:1px solid var(--em-line)}
  .em-home-cta{align-items:flex-start;flex-direction:column}
}


/* 0.3.10 — homepage country cards + compact condition overview. */
.em-home-markets-grid{
  grid-template-columns:repeat(auto-fill,minmax(220px,280px));
  justify-content:start;
}
.em-home-market-card{
  min-height:170px;
}
.em-home-country-flag{
  width:42px;
  height:30px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--em-line);
  border-radius:8px;
  background:var(--em-surface);
  box-shadow:0 5px 16px rgba(0,0,0,.12);
}
.em-home-country-flag svg{
  display:block;
  width:100%;
  height:100%;
}
.em-home-country-fallback{
  color:var(--em-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.em-home-market-card h3{margin-top:24px}
.em-home-market-count{margin-top:auto;padding-top:8px}
.em-home-market-categories{display:none!important}

.em-home-facts-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  border:0;
  border-radius:0;
  overflow:visible;
}
.em-home-fact{
  min-height:70px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding:14px 16px;
  border:1px solid var(--em-line)!important;
  border-radius:12px;
  background:var(--em-surface-soft);
}
.em-home-fact strong{
  font-size:14px;
  line-height:1.35;
}
.em-home-fact span{display:none!important}

@media (max-width:900px){
  .em-home-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .em-home-markets-grid{grid-template-columns:minmax(0,1fr)}
  .em-home-market-card{min-height:155px}
  .em-home-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .em-home-fact{min-height:60px;padding:12px}
  .em-home-fact strong{font-size:13px}
}


/* 0.3.11 — multilingual About Emplava page. */
.em-static-page{
  padding-top:20px;
  padding-bottom:56px;
}
.em-static-page > *{margin-block-start:0}
.em-static-page > * + *{margin-block-start:22px}

.em-about-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(34px,6vw,72px);
  border:1px solid var(--em-line);
  border-radius:26px;
  background:
    radial-gradient(circle at 90% 12%,var(--em-hero-b),transparent 34%),
    radial-gradient(circle at 10% 100%,var(--em-hero-a),transparent 42%),
    var(--em-surface);
  box-shadow:var(--em-shadow);
}
.em-about-hero::after{
  content:"";
  position:absolute;
  inset:auto -70px -110px auto;
  width:310px;
  height:310px;
  border:1px solid color-mix(in srgb,var(--em-primary) 30%,transparent);
  border-radius:50%;
  box-shadow:
    0 0 0 46px color-mix(in srgb,var(--em-primary) 5%,transparent),
    0 0 0 92px color-mix(in srgb,var(--em-primary) 3%,transparent);
  pointer-events:none;
}
.em-about-hero h1{
  position:relative;
  z-index:1;
  max-width:15ch;
  margin:0;
  color:var(--em-ink);
  font-size:clamp(40px,5.8vw,70px);
  font-weight:800;
  letter-spacing:-.05em;
  line-height:.99;
  text-wrap:balance;
}
.em-about-hero > p{
  position:relative;
  z-index:1;
  max-width:72ch;
  margin:22px 0 0;
  color:var(--em-muted);
  font-size:clamp(17px,2vw,20px);
  line-height:1.64;
}
.em-about-hero .em-home-actions{position:relative;z-index:1}

.em-about-purpose{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  gap:clamp(28px,5vw,70px);
  align-items:start;
  padding:clamp(30px,5vw,54px);
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-about-purpose h2,
.em-about-section > h2,
.em-about-role h2{
  margin:0;
  color:var(--em-ink);
  font-size:clamp(28px,4vw,44px);
  font-weight:790;
  letter-spacing:-.035em;
  line-height:1.08;
  text-wrap:balance;
}
.em-about-purpose-copy{
  padding-top:28px;
  border-top:2px solid var(--em-primary);
}
.em-about-purpose-copy p,
.em-about-role > p{
  margin:0;
  color:var(--em-muted);
  font-size:16px;
  line-height:1.72;
}

.em-about-section{
  padding:clamp(30px,5vw,54px);
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-about-section > h2{max-width:18ch}
.em-about-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:26px;
}
.em-about-card{
  min-height:190px;
  padding:20px;
  border:1px solid var(--em-line);
  border-radius:16px;
  background:var(--em-surface-soft);
}
.em-about-card h3,
.em-employers-audiences .em-about-card h2{
  margin:0 0 10px;
  color:var(--em-ink);
  font-size:18px;
  line-height:1.3;
}
.em-about-card p{
  margin:0;
  color:var(--em-muted);
  font-size:14px;
  line-height:1.65;
}

.em-about-role{
  max-width:1040px;
  margin-inline:auto;
  padding:clamp(34px,6vw,68px);
  border-left:3px solid var(--em-primary);
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--em-note) 62%,transparent),transparent 72%);
}
.em-about-role h2{max-width:18ch}
.em-about-role > p{max-width:70ch;margin-top:20px}

.em-about-principles-list{
  display:grid;
  margin-top:28px;
  border-top:1px solid var(--em-line);
}
.em-about-principle{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--em-line);
}
.em-about-principle-number{
  color:var(--em-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.em-about-principle h3{
  margin:0 0 8px;
  color:var(--em-ink);
  font-size:18px;
  line-height:1.3;
}
.em-about-principle p{
  margin:0;
  max-width:78ch;
  color:var(--em-muted);
  font-size:14px;
  line-height:1.65;
}
.em-home-inline-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  color:var(--em-primary);
  font-size:14px;
  font-weight:750;
  text-decoration:none;
}
.em-home-inline-link:hover{text-decoration:underline;text-underline-offset:3px}

@media (max-width:900px){
  .em-about-purpose{grid-template-columns:1fr}
  .em-about-purpose-copy{padding-top:20px}
}
@media (max-width:640px){
  .em-static-page{padding-top:10px;padding-bottom:32px}
  .em-static-page > * + *{margin-block-start:14px}
  .em-about-hero,
  .em-about-purpose,
  .em-about-section{padding:22px 18px;border-radius:17px}
  .em-about-hero h1{font-size:38px;max-width:13ch}
  .em-about-hero > p{font-size:15px;margin-top:16px}
  .em-about-hero::after{width:210px;height:210px;right:-90px;bottom:-110px}
  .em-about-grid{grid-template-columns:1fr}
  .em-about-card{min-height:0}
  .em-about-role{
    padding:26px 18px;
    border-left-width:2px;
  }
  .em-about-principle{
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
  }
}


/* 0.3.12 — footer is one real DOM card, not two visually-adjacent siblings. */
.em-footer-card{
  width:100%;
  max-width:1280px;
  min-width:0;
  padding:16px;
  overflow:hidden;
  border:1px solid var(--em-line);
  border-radius:16px;
  background:var(--em-surface-soft);
}
.em-footer-top{
  width:100%;
  min-width:0;
  margin:0!important;
  padding:0 0 12px;
  border-bottom:1px solid var(--em-line);
  align-items:center;
  gap:10px 18px;
}
.em-footer-top .wp-block-site-title,
.em-footer-top .wp-block-paragraph{
  margin:0;
}
.em-footer-contact-panel{
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:12px 0 0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  overflow:hidden;
}
.em-footer-contact-panel > *{
  min-width:0;
  max-width:100%;
}
.em-footer-contact-panel .em-contact-phone--footer{
  width:auto;
  min-width:0;
  max-width:100%;
  min-height:42px;
  margin:0;
  padding:.5rem .78rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  border:1px solid color-mix(in srgb,currentColor 28%,transparent);
  border-radius:.72rem;
  background:transparent;
  color:inherit;
  text-decoration:none;
  font-weight:650;
  line-height:1.15;
  box-sizing:border-box;
  overflow:hidden;
}
.em-footer-contact-panel .em-contact-phone--footer bdi{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.em-footer-contact-panel .em-secondary-contacts--footer{
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,max-content));
  justify-content:start;
  align-items:center;
  gap:8px;
  overflow:hidden;
}
.em-footer-contact-panel .em-secondary-contacts--footer .em-contact-channel{
  width:auto;
  max-width:100%;
  min-width:0;
  margin:0;
  box-sizing:border-box;
  overflow:hidden;
}
.em-footer-contact-panel .em-channel-number{
  display:none!important;
}

@media (max-width:640px){
  .em-footer-card{padding:12px;border-radius:14px}
  .em-footer-contact-panel{
    grid-template-columns:minmax(0,1fr);
  }
  .em-footer-contact-panel .em-contact-phone--footer{
    width:100%;
  }
  .em-footer-contact-panel .em-secondary-contacts--footer{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .em-footer-contact-panel .em-secondary-contacts--footer .em-contact-channel{
    width:100%;
    justify-content:center;
  }
}
@media (max-width:340px){
  .em-footer-contact-panel .em-secondary-contacts--footer{
    grid-template-columns:minmax(0,1fr);
  }
}


/* 0.3.13 — restore the clean footer: Brand | contacts | © Emplava. */
.em-footer-card{display:contents!important}

.em-footer-row{
  width:100%;
  min-width:0;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center!important;
  gap:14px 20px!important;
  margin:0!important;
}
.em-footer-row > *{
  min-width:0;
  margin:0!important;
}
.em-footer-row .wp-block-site-title{
  white-space:nowrap;
}
.em-footer-row > .has-muted-color{
  white-space:nowrap;
  text-align:right;
}

.em-footer-row .em-footer-contact-panel{
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;

  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}

.em-footer-row .em-footer-contact-panel .em-contact-phone--footer,
.em-footer-row .em-footer-contact-panel .em-secondary-contacts--footer{
  margin:0!important;
}

.em-footer-row .em-footer-contact-panel .em-secondary-contacts--footer{
  width:auto!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  overflow:visible!important;
}

.em-footer-row .em-footer-contact-panel .em-contact-phone--footer,
.em-footer-row .em-footer-contact-panel .em-secondary-contacts--footer .em-contact-channel{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}

@media (max-width:760px){
  .em-footer-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }

  .em-footer-row .em-footer-contact-panel{
    grid-column:1 / -1;
    grid-row:2;
    justify-content:flex-start!important;
  }
}

@media (max-width:480px){
  .em-footer-row{
    gap:10px!important;
  }

  .em-footer-row .em-footer-contact-panel{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
  }

  .em-footer-row .em-footer-contact-panel .em-contact-phone--footer{
    width:100%!important;
    justify-content:center!important;
  }

  .em-footer-row .em-footer-contact-panel .em-secondary-contacts--footer{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .em-footer-row .em-footer-contact-panel .em-secondary-contacts--footer .em-contact-channel{
    width:100%!important;
    justify-content:center!important;
  }
}


/* 0.3.14 — About page: candidate-facing content with tighter editorial balance. */
.em-about-compact-split{
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  align-items:center;
  padding:clamp(28px,4vw,44px);
}
.em-about-compact-split .em-about-purpose-title h2{
  max-width:17ch;
  font-size:clamp(28px,3.4vw,40px);
}
.em-about-compact-split .em-about-purpose-copy{
  padding:20px 0 20px 24px;
  border-top:0;
  border-left:2px solid var(--em-primary);
}

.em-about-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
  gap:24px 48px;
  align-items:end;
  margin-bottom:24px;
}
.em-about-section-head > div{min-width:0}
.em-about-section-head > div h2{
  max-width:18ch;
}
.em-about-section-head > p{
  margin:0;
  color:var(--em-muted);
  font-size:15px;
  line-height:1.65;
}
.em-about-section-head--single{
  grid-template-columns:minmax(0,1fr);
}

.em-about-grid{
  margin-top:0;
}

.em-about-two-up{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.em-about-audience,
.em-about-two-up .em-about-role{
  max-width:none;
  min-width:0;
  margin:0;
  padding:clamp(28px,4vw,44px);
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-about-two-up .em-about-role{
  border-left:1px solid var(--em-line);
  background:
    radial-gradient(circle at 100% 0%,var(--em-hero-a),transparent 46%),
    var(--em-surface);
}
.em-about-audience h2,
.em-about-two-up .em-about-role h2{
  max-width:18ch;
  margin:0;
  color:var(--em-ink);
  font-size:clamp(27px,3.4vw,40px);
  font-weight:790;
  letter-spacing:-.035em;
  line-height:1.09;
  text-wrap:balance;
}
.em-about-audience p,
.em-about-two-up .em-about-role p{
  max-width:66ch;
  margin:18px 0 0;
  color:var(--em-muted);
  font-size:15px;
  line-height:1.68;
}

.em-about-values-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.em-about-value{
  min-width:0;
  padding:20px;
  border-top:2px solid var(--em-primary);
  border-radius:0 0 15px 15px;
  background:var(--em-surface-soft);
}
.em-about-value h3{
  margin:0 0 9px;
  color:var(--em-ink);
  font-size:17px;
  line-height:1.3;
}
.em-about-value p{
  margin:0;
  color:var(--em-muted);
  font-size:14px;
  line-height:1.62;
}

/* The old oversized single-column role/principle compositions no longer render. */
.em-about-principles-list{display:none!important}

@media (max-width:900px){
  .em-about-compact-split,
  .em-about-section-head{
    grid-template-columns:minmax(0,1fr);
  }
  .em-about-compact-split .em-about-purpose-copy{
    padding:18px 0 0;
    border-left:0;
    border-top:2px solid var(--em-primary);
  }
  .em-about-two-up{
    grid-template-columns:minmax(0,1fr);
  }
  .em-about-values-grid{
    grid-template-columns:minmax(0,1fr);
  }
}

@media (max-width:640px){
  .em-about-compact-split,
  .em-about-audience,
  .em-about-two-up .em-about-role{
    padding:22px 18px;
    border-radius:17px;
  }
  .em-about-section-head{
    gap:12px;
    margin-bottom:18px;
  }
}


/* 0.3.15 — true centered footer + bottom anchoring on short pages. */
body > .wp-site-blocks{
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
body > .wp-site-blocks > main{
  flex:1 0 auto;
}
body > .wp-site-blocks > footer{
  margin-top:auto;
}

.em-footer-row{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
}
.em-footer-row > .wp-block-site-title{
  justify-self:start;
}
.em-footer-row > .em-footer-contact-panel{
  justify-self:center;
}
.em-footer-row > .has-muted-color{
  justify-self:end;
}

/* 0.3.15 — substantial but non-duplicative global Jobs Hub. */
.em-jobs-hub{
  display:grid;
  gap:18px;
}
.em-jobs-hub-hero,
.em-jobs-hub-section{
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-jobs-hub-hero{
  padding:clamp(30px,5vw,58px);
  background:
    radial-gradient(circle at 92% 10%,var(--em-hero-b),transparent 36%),
    radial-gradient(circle at 0% 100%,var(--em-hero-a),transparent 42%),
    var(--em-surface);
}
.em-jobs-hub-hero h1{
  max-width:14ch;
  margin:0;
  color:var(--em-ink);
  font-size:clamp(38px,5vw,60px);
  line-height:1;
  letter-spacing:-.045em;
}
.em-jobs-hub-hero p{
  max-width:68ch;
  margin:18px 0 0;
  color:var(--em-muted);
  font-size:17px;
  line-height:1.65;
}

.em-jobs-hub-section{
  padding:clamp(28px,4.5vw,48px);
}
.em-jobs-hub-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:20px 42px;
  align-items:end;
  margin-bottom:24px;
}
.em-jobs-hub-section-head h2{
  margin:0;
  max-width:18ch;
  color:var(--em-ink);
  font-size:clamp(28px,4vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.em-jobs-hub-section-head > p{
  margin:0;
  color:var(--em-muted);
  font-size:15px;
  line-height:1.65;
}

.em-jobs-hub-market-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,280px));
  gap:12px;
}
.em-jobs-hub-market-card{
  min-height:176px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid var(--em-line);
  border-radius:16px;
  background:var(--em-surface-soft);
  color:var(--em-ink);
  text-decoration:none;
}
.em-jobs-hub-market-card:hover{
  border-color:var(--em-primary);
}
.em-jobs-hub-market-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.em-jobs-hub-market-arrow{
  color:var(--em-primary);
  font-size:18px;
}
.em-jobs-hub-market-card h3{
  margin:24px 0 4px;
  color:var(--em-ink);
  font-size:23px;
  line-height:1.2;
}
.em-jobs-hub-market-card strong{
  margin-top:auto;
  padding-top:8px;
  color:var(--em-success);
  font-size:14px;
}

.em-jobs-hub-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.em-jobs-hub-step{
  min-height:210px;
  padding:20px;
  border:1px solid var(--em-line);
  border-radius:16px;
  background:var(--em-surface-soft);
}
.em-jobs-hub-step > span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--em-note);
  color:var(--em-primary);
  font-size:12px;
  font-weight:800;
}
.em-jobs-hub-step h3{
  margin:30px 0 8px;
  color:var(--em-ink);
  font-size:18px;
}
.em-jobs-hub-step p{
  margin:0;
  color:var(--em-muted);
  font-size:14px;
  line-height:1.62;
}

.em-jobs-hub-check{
  background:
    linear-gradient(140deg,color-mix(in srgb,var(--em-note) 40%,transparent),transparent 64%),
    var(--em-surface);
}
.em-jobs-hub-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.em-jobs-hub-fact{
  min-height:62px;
  display:flex;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--em-line);
  border-radius:12px;
  background:var(--em-surface-soft);
  color:var(--em-ink);
  font-size:14px;
  font-weight:700;
}

@media (max-width:900px){
  .em-jobs-hub-section-head{
    grid-template-columns:minmax(0,1fr);
  }
  .em-jobs-hub-steps{
    grid-template-columns:minmax(0,1fr);
  }
  .em-jobs-hub-step{
    min-height:0;
  }
  .em-jobs-hub-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .em-footer-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .em-footer-row > .em-footer-contact-panel{
    justify-self:stretch;
  }
}

@media (max-width:640px){
  .em-jobs-hub{gap:14px}
  .em-jobs-hub-hero,
  .em-jobs-hub-section{
    padding:22px 18px;
    border-radius:17px;
  }
  .em-jobs-hub-market-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .em-jobs-hub-market-card{
    min-height:150px;
  }
  .em-jobs-hub-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* 0.3.16 — desktop footer contacts are geometrically centered, not merely
   placed in the middle grid column. */
@media (min-width:761px){
  .em-footer-row{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:50px;
    gap:20px!important;
  }

  .em-footer-row > .wp-block-site-title{
    flex:0 0 auto;
    margin:0!important;
  }

  .em-footer-row > .has-muted-color{
    flex:0 0 auto;
    margin:0!important;
    text-align:right;
  }

  .em-footer-row > .em-footer-contact-panel{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;
    max-width:58%!important;
    margin:0!important;
    padding:0!important;
    justify-content:center!important;
    z-index:1;
  }
}

/* On smaller widths we deliberately abandon absolute centering so contacts
   cannot overlap the brand/copyright. */
@media (max-width:760px){
  .em-footer-row{
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }

  .em-footer-row > .em-footer-contact-panel{
    position:static!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    grid-column:1 / -1!important;
    justify-self:stretch!important;
  }
}


/* 0.3.17 — center the footer itself, not only the middle control group. */
@media (min-width:761px){
  .em-footer-shell{
    position:relative!important;
  }

  .em-footer-row{
    position:static!important;
    width:100%!important;
    max-width:1280px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;

    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:20px!important;
  }

  .em-footer-row > .wp-block-site-title,
  .em-footer-row > .has-muted-color{
    position:relative;
    z-index:2;
    flex:0 0 auto;
    margin:0!important;
  }

  /* Center contacts against the full-width footer shell / viewport.
     The row is deliberately NOT positioned, so this absolute child uses
     .em-footer-shell as its containing block. */
  .em-footer-row > .em-footer-contact-panel{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;
    max-width:min(58vw,760px)!important;
    margin:0!important;
    padding:0!important;
    justify-content:center!important;
    z-index:1;
  }
}

@media (max-width:760px){
  .em-footer-shell{
    position:static!important;
  }

  .em-footer-row{
    width:100%!important;
    max-width:100%!important;
    margin-inline:auto!important;
  }
}


/* 0.3.18 — recruitment-status archive filter. */
.em-status-filters{
  margin-top:0;
}
.em-status-filter--active{
  color:var(--em-success);
  border-color:color-mix(in srgb,var(--em-success) 46%,var(--em-line));
}
.em-status-filter--active:hover,
.em-status-filter--active.is-current{
  color:var(--em-success);
  border-color:var(--em-success);
  background:color-mix(in srgb,var(--em-success) 10%,var(--em-surface));
}
.em-status-filter--paused,
.em-status-filter--no_places{
  color:color-mix(in srgb,#e5b66a 88%,var(--em-ink));
}
.em-status-filter--paused.is-current,
.em-status-filter--no_places.is-current{
  border-color:#e5b66a;
  background:color-mix(in srgb,#e5b66a 9%,var(--em-surface));
}


/* 0.3.19 — Contact + minimal owner information. */
.em-contact-page{
  display:grid;
  gap:18px;
}
.em-contact-page-hero,
.em-contact-page-card,
.em-contact-page-info,
.em-contact-page-vacancy{
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-contact-page-hero{
  padding:clamp(32px,5vw,58px);
  background:
    radial-gradient(circle at 94% 8%,var(--em-hero-b),transparent 36%),
    radial-gradient(circle at 0% 100%,var(--em-hero-a),transparent 44%),
    var(--em-surface);
}
.em-contact-page-hero h1{
  margin:0;
  color:var(--em-ink);
  font-size:clamp(38px,5vw,60px);
  line-height:1;
  letter-spacing:-.045em;
}
.em-contact-page-hero p{
  max-width:72ch;
  margin:18px 0 0;
  color:var(--em-muted);
  font-size:17px;
  line-height:1.65;
}

.em-contact-page-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.em-contact-page-card{
  min-width:0;
  padding:clamp(24px,4vw,38px);
}
.em-contact-page-card-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid var(--em-line);
  border-radius:12px;
  color:var(--em-primary);
  background:var(--em-note);
  font-weight:800;
}
.em-contact-page-card h2{
  margin:28px 0 8px;
  color:var(--em-ink);
  font-size:24px;
}
.em-contact-page-card p{
  margin:0;
  color:var(--em-muted);
  line-height:1.65;
}
.em-contact-page-actions{
  margin-top:18px;
}
.em-contact-page-actions .em-contact-phone--contact-page{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem .8rem;
  border:1px solid var(--em-line);
  border-radius:11px;
  color:var(--em-ink);
  background:var(--em-surface-soft);
  text-decoration:none;
  font-weight:700;
}
.em-contact-page-actions .em-secondary-contacts--contact-page{
  justify-content:flex-start;
  margin:0;
}

.em-contact-page-info{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  overflow:hidden;
}
.em-contact-page-owner,
.em-contact-page-privacy{
  min-width:0;
  padding:clamp(26px,4vw,40px);
}
.em-contact-page-owner{
  border-right:1px solid var(--em-line);
}
.em-contact-page-info h2{
  margin:0;
  color:var(--em-ink);
  font-size:clamp(25px,3.2vw,36px);
  line-height:1.1;
}
.em-contact-owner-name{
  margin:18px 0 0;
  color:var(--em-ink);
  font-size:20px;
  font-weight:760;
}
.em-contact-owner-name.is-missing{
  color:#e5b66a;
  font-size:14px;
  font-weight:650;
}
.em-contact-page-privacy p{
  margin:0;
  color:var(--em-muted);
  line-height:1.65;
}
.em-contact-privacy-link{
  display:inline-flex;
  gap:7px;
  margin-top:16px;
  color:var(--em-primary);
  font-weight:700;
  text-decoration:none;
}
.em-contact-privacy-link:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.em-contact-page-vacancy{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:clamp(28px,4vw,42px);
}
.em-contact-page-vacancy h2{
  margin:0;
  color:var(--em-ink);
  font-size:clamp(26px,3.5vw,40px);
  line-height:1.08;
}
.em-contact-page-vacancy p{
  max-width:72ch;
  margin:12px 0 0;
  color:var(--em-muted);
  line-height:1.65;
}
.em-contact-page-vacancy .em-home-button{
  flex:0 0 auto;
}

@media (max-width:760px){
  .em-contact-page-grid,
  .em-contact-page-info{
    grid-template-columns:minmax(0,1fr);
  }
  .em-contact-page-owner{
    border-right:0;
    border-bottom:1px solid var(--em-line);
  }
  .em-contact-page-vacancy{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media (max-width:640px){
  .em-contact-page{gap:14px}
  .em-contact-page-hero,
  .em-contact-page-card,
  .em-contact-page-info,
  .em-contact-page-vacancy{
    border-radius:17px;
  }
  .em-contact-page-hero,
  .em-contact-page-card,
  .em-contact-page-owner,
  .em-contact-page-privacy,
  .em-contact-page-vacancy{
    padding:22px 18px;
  }
  .em-contact-page-vacancy .em-home-button{
    width:100%;
  }
}


/* 0.3.20 — localized 404. */
.em-main-shell--404{
  display:flex;
  align-items:center;
}
.em-not-found{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);
  gap:16px;
}
.em-not-found-main,
.em-not-found-help{
  border:1px solid var(--em-line);
  border-radius:22px;
  background:var(--em-surface);
}
.em-not-found-main{
  padding:clamp(32px,5vw,58px);
  background:
    radial-gradient(circle at 94% 8%,var(--em-hero-b),transparent 36%),
    radial-gradient(circle at 0% 100%,var(--em-hero-a),transparent 44%),
    var(--em-surface);
}
.em-not-found-main h1{
  max-width:14ch;
  margin:0;
  color:var(--em-ink);
  font-size:clamp(38px,5vw,60px);
  line-height:1;
  letter-spacing:-.045em;
}
.em-not-found-main > p{
  max-width:66ch;
  margin:18px 0 0;
  color:var(--em-muted);
  font-size:17px;
  line-height:1.65;
}
.em-not-found-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.em-not-found-help{
  align-self:stretch;
  padding:clamp(26px,4vw,38px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.em-not-found-help p{
  margin:0;
  color:var(--em-muted);
  line-height:1.65;
}
@media (max-width:760px){
  .em-not-found{
    grid-template-columns:minmax(0,1fr);
  }
  .em-not-found-main,
  .em-not-found-help{
    border-radius:17px;
    padding:22px 18px;
  }
  .em-not-found-actions{
    flex-direction:column;
  }
  .em-not-found-actions .em-home-button{
    width:100%;
  }
}

/* Emplava 0.3.21 — dynamic candidate fact band.
   Unknown facts are omitted; layout adapts to the facts that actually exist. */
@media (min-width:901px){
  .em-facts-list--1{grid-template-columns:minmax(0,1fr)}
  .em-facts-list--2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .em-facts-list--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .em-facts-list--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:900px){
  .em-facts-list--1{grid-template-columns:minmax(0,1fr)}
  .em-facts-list--2,.em-facts-list--3,.em-facts-list--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .em-facts-list--3 .em-fact:last-child{grid-column:1/-1;border-inline-start:0}
}

/* 0.3.22 — compact country-archive filter controls. */
.em-archive-filters{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:8px;
  margin-top:16px;
}
.em-filter-control{position:relative;min-width:0}
.em-filter-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:40px;min-width:118px;padding:8px 12px;
  border:1px solid var(--em-line);border-radius:999px;
  background:var(--em-surface);color:var(--em-ink);
  font-size:13px;font-weight:700;line-height:1.25;
  cursor:pointer;user-select:none;list-style:none;
}
.em-filter-trigger::-webkit-details-marker{display:none}
.em-filter-trigger::marker{content:""}
.em-filter-trigger:hover,.em-filter-trigger:focus-visible{
  border-color:color-mix(in srgb,var(--em-primary) 55%,var(--em-line));
  background:var(--em-surface-soft);outline:none;
}
.em-filter-control[data-active="1"] .em-filter-trigger,
.em-filter-control[open] .em-filter-trigger{
  border-color:var(--em-primary);background:var(--em-note);color:var(--em-primary);
}
.em-filter-caret{flex:0 0 auto;font-size:14px;line-height:1;transition:transform .15s ease}
.em-filter-control[open] .em-filter-caret{transform:rotate(180deg)}
.em-filter-panel{
  position:absolute;z-index:45;top:calc(100% + 8px);left:0;
  display:flex;flex-wrap:wrap;gap:7px;
  width:max-content;min-width:230px;max-width:min(540px,calc(100vw - 40px));
  max-height:min(420px,60vh);overflow:auto;margin:0!important;padding:10px;
  border:1px solid var(--em-line);border-radius:14px;background:var(--em-surface);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}
.em-filter-control--city .em-filter-panel{width:min(540px,calc(100vw - 40px))}
.em-filter-panel .em-city-filter{flex:0 0 auto}
@media (max-width:640px){
  .em-archive-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .em-filter-control{position:static;min-width:0}
  .em-filter-trigger{width:100%;min-width:0;min-height:38px;padding:7px 9px;font-size:12px}
  .em-filter-trigger > span:first-child{
    min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .em-filter-panel,.em-filter-control--city .em-filter-panel{
    left:0;right:0;top:calc(100% + 8px);width:100%;min-width:0;max-width:none;
    max-height:46vh;padding:10px;
  }
}


/* Emplava official Telegram channel and canonical site navigation. */
.em-site-nav{flex-wrap:nowrap}
.em-site-nav .em-tg-nav-text--compact,.em-site-nav .em-tg-nav-text--tiny{display:none}
/* All ordinary nav actions share the same button treatment on desktop. */
.em-site-nav .em-jobs-nav-link,
.em-site-nav .em-contact-page-nav-link,
.em-site-nav .em-contact-phone--header-desktop{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:8px 11px;border:1px solid var(--em-line);
  border-radius:10px;background:var(--em-surface-soft);white-space:nowrap;
}
.em-site-nav .em-jobs-nav-link:hover,
.em-site-nav .em-contact-page-nav-link:hover,
.em-site-nav .em-contact-phone--header-desktop:hover{
  border-color:var(--em-primary);color:var(--em-primary);background:var(--em-note);
}
.em-site-nav .em-tg-nav-link{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:44px;padding:7px 10px;border:1px solid var(--em-line);border-radius:10px;
  background:var(--em-surface-soft);color:var(--em-primary);white-space:nowrap;
}
.em-site-nav .em-tg-nav-link:hover{
  background:var(--em-note);border-color:var(--em-primary);color:var(--em-primary);
}
.em-site-nav .em-tg-nav-link svg{flex:none;width:17px;height:17px}
.em-tg-follow-section{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding:clamp(25px,3.4vw,42px);border:1px solid var(--em-line);border-radius:22px;
  background:linear-gradient(120deg,var(--em-note),var(--em-surface) 75%);color:var(--em-ink);
}
.em-tg-follow-copy{min-width:0;max-width:780px}
.em-tg-follow-section h2{
  font-size:clamp(26px,3.5vw,39px);font-weight:780;line-height:1.12;
  letter-spacing:-.03em;margin:0;color:var(--em-ink);
}
.em-tg-follow-section p{margin:12px 0 0;color:var(--em-muted);line-height:1.6}
.em-tg-follow-section .em-tg-follow-note{font-size:13px;margin-top:10px;color:var(--em-ink)}
.em-tg-follow-action{display:inline-flex;gap:9px;flex:0 0 auto;white-space:normal;text-align:center;max-width:290px}
.em-tg-follow-action svg{flex:none}
@media (max-width:1080px){
  .em-tg-follow-section{align-items:flex-start;flex-direction:column;gap:18px}
}
/* Same existing header template, arranged into two rows at compact widths.
   The right-hand WP group is presentational only: display:contents lets its
   existing nav, language selector and theme toggle occupy grid cells. */
@media (max-width:1180px){
  .em-header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-rows:auto auto;
    align-items:center;column-gap:9px;row-gap:8px;
    min-width:0;padding:8px 12px!important;
  }
  .em-header-inner > .wp-block-group:last-child{display:contents!important}
  .em-header-inner > .em-brand-row{
    grid-column:1;grid-row:1;position:relative;
    width:38px;min-width:38px;height:38px;margin:0;
  }
  .em-header-inner .em-brand-row .em-brand-logo-symbol{margin:0!important;width:38px;height:38px}
  /* Keep the original, language-aware home anchor over the logo. */
  .em-header-inner .em-brand-row .wp-block-site-title{
    position:absolute!important;inset:0;z-index:3;margin:0!important;
    width:38px;height:38px;font-size:0!important;
  }
  .em-header-inner .em-brand-row .wp-block-site-title a{
    display:block;width:100%;height:100%;overflow:hidden;text-indent:-9999px;
  }
  .em-header-inner > .wp-block-group:last-child > .emplava-language-switcher{
    grid-column:2;grid-row:1;justify-self:end;margin:0;
  }
  .em-header-inner > .wp-block-group:last-child > .em-theme-toggle{
    grid-column:3;grid-row:1;justify-self:end;margin:0;
  }
  .em-header-inner > .wp-block-group:last-child > .em-site-nav{
    grid-column:1/-1;grid-row:2;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
    align-items:stretch;gap:6px!important;
    min-width:0;width:100%;margin:0;
  }
  .em-header-inner > .wp-block-group:last-child > .em-site-nav:has(> .em-tg-nav-link){
    grid-template-columns:minmax(0,1.3fr) minmax(0,.95fr) 38px minmax(0,.95fr);
  }
  .em-header-inner .em-site-nav > a{
    min-width:0;min-height:38px;height:38px;max-width:100%;
    box-sizing:border-box;margin:0;white-space:nowrap;
    padding:5px 6px;border-radius:10px;font-size:12px;
    text-align:center;overflow:hidden;
  }
  .em-header-inner .em-site-nav .em-contact-phone--header-desktop{
    width:38px;height:38px;min-height:38px;flex-basis:38px;
    padding:0;justify-self:center;
  }
  .em-site-nav .em-tg-nav-link{min-height:38px;padding:5px 6px;gap:5px}
  .em-site-nav .em-tg-nav-text--full{display:none}
  .em-site-nav .em-tg-nav-text--compact{display:inline}
}
@media (max-width:640px){
  .em-tg-follow-section{padding:23px 18px;border-radius:17px}
  .em-tg-follow-action{width:100%;max-width:none}
  .em-header-inner .em-site-nav > a{font-size:11px;padding-inline:5px}
  .em-site-nav .em-tg-nav-link{min-width:0;min-height:38px;padding:5px;gap:4px}
  .em-site-nav .em-contact-page-nav-link{min-height:38px}
}
@media (max-width:440px){
  /* Always spell out Telegram at the narrowest width; do not leave an icon
     without context, and do not hide the jobs link. */
  .em-site-nav .em-tg-nav-text--compact{display:none}
  .em-site-nav .em-tg-nav-text--tiny{display:inline}
}
@media (max-width:360px){
  .em-header-inner{padding-inline:8px!important}
  .em-header-inner > .wp-block-group:last-child > .em-site-nav{gap:4px!important}
  .em-header-inner .em-site-nav > a{font-size:10.5px;padding-inline:4px}
}

/* Emplava B2B page: reuse existing About/Home/Contact visual system. */
.em-employers-page{display:grid;gap:16px}
.em-employers-page .em-about-section{margin:0}
.em-employers-audiences,.em-employers-steps{display:grid;gap:14px}
.em-employers-audiences{grid-template-columns:repeat(2,minmax(0,1fr))}
.em-employers-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.em-employers-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 25px;padding:0;margin:20px 0 0;list-style:none}
.em-employers-fields li{position:relative;padding-inline-start:24px;line-height:1.5}
.em-employers-fields li:before{content:"✓";position:absolute;inset-inline-start:0;color:var(--em-success);font-weight:800}
.em-employers-contact{align-items:start;gap:25px}
.em-employers-privacy{font-size:13px!important;color:var(--em-muted)!important}
.em-employers-contact-actions{display:grid;gap:12px;min-width:240px}
.em-employers-contact-actions .em-contact-phone--contact-page{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;min-height:44px;border:1px solid var(--em-line);border-radius:12px;text-decoration:none;color:var(--em-ink);background:var(--em-surface-soft)}
.em-employers-contact-actions .em-secondary-contacts--contact-page{display:flex;flex-wrap:wrap;gap:8px}
.em-employers-contact-actions .em-home-button{display:inline-flex;justify-content:center}
/* Desktop: same navigation renderer, secondary links alongside the primary links. */
.em-site-nav .em-nav-more{display:flex;align-items:center;min-width:0}
.em-site-nav .em-nav-more-toggle{display:none}
.em-site-nav .em-nav-more-links{display:flex;align-items:center;gap:10px}
.em-site-nav .em-employers-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 11px;border:1px solid var(--em-line);border-radius:10px;background:var(--em-surface-soft);text-decoration:none;color:var(--em-ink);white-space:nowrap}
.em-site-nav .em-employers-nav-link:hover{border-color:var(--em-primary);color:var(--em-primary)}
/* One existing header: the mobile disclosure is part of the existing site-nav. */
@media(max-width:1180px){
  .em-header-inner{position:relative;overflow:visible}
  .em-header-inner>.wp-block-group:last-child>.em-site-nav{grid-template-columns:minmax(0,1fr) 38px}
  .em-header-inner>.wp-block-group:last-child>.em-site-nav:has(>.em-tg-nav-link){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 38px}
  .em-site-nav .em-nav-more{position:absolute!important;top:8px;left:65px;z-index:65;display:block;min-width:0}
  .em-site-nav .em-nav-more-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:6px 11px;border:1px solid var(--em-line);border-radius:10px;background:var(--em-surface-soft);color:var(--em-ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
  .em-site-nav .em-nav-more-toggle:hover,.em-site-nav .em-nav-more-toggle:focus-visible{border-color:var(--em-primary)}
  .em-site-nav .em-nav-more-links{display:none!important;position:absolute;top:calc(100% + 7px);left:0;z-index:80;flex-direction:column;align-items:stretch;gap:5px;width:max-content;min-width:195px;max-width:min(80vw,320px);padding:8px;border:1px solid var(--em-line);border-radius:12px;background:var(--em-surface);box-shadow:var(--em-shadow)}
  .em-site-nav .em-nav-more.is-open .em-nav-more-links{display:flex!important}
  .em-site-nav .em-nav-more-links>a{display:flex;min-height:38px;width:100%;padding:8px 10px;border-radius:8px;border:1px solid transparent;white-space:normal;text-align:start;font-size:13px}
  .em-site-nav .em-nav-more-links>a:hover,.em-site-nav .em-nav-more-links>a:focus-visible{background:var(--em-surface-soft);border-color:var(--em-line)}
}
@media(max-width:900px){
 .em-employers-steps{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
 .em-employers-audiences,.em-employers-fields{grid-template-columns:minmax(0,1fr)}
 .em-employers-contact{flex-direction:column;gap:14px}
 .em-employers-contact-actions{width:100%;min-width:0}
 .em-site-nav .em-nav-more{left:60px}
}
@media(max-width:360px){
 .em-site-nav .em-nav-more{left:51px}
 .em-site-nav .em-nav-more-toggle{padding-inline:8px;min-height:34px;font-size:11px}
}


/* V185: original plugin CSS appended byte-for-byte */
/* Application components only. Existing vacancy design, theme and content remain authoritative. */
.em-contact-actions { gap: .65rem; }
.em-contact-actions .em-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; text-align: center; text-decoration: none; box-sizing: border-box; overflow-wrap: anywhere; }
.em-contact-actions--intro { display: flex; flex-wrap: wrap; margin-block: 1rem 0; }
.em-contact-actions--intro .em-cta { padding: .75rem 1.25rem; }
.em-contact-actions--sidebar { display: grid; margin-block: 1.1rem; }
.em-contact-actions--sidebar .em-contact-text-link { text-align: center; font-size: .9rem; }
.em-contact-phone { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; }
.em-contact-phone bdi { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.em-contact-phone--header { font-size: .95rem; }
.em-global-contact { max-width: var(--wp--style--global--wide-size, 1200px); margin-inline: auto; padding-inline: var(--wp--preset--spacing--40, 24px); box-sizing: border-box; }
.em-global-contact--header { display: none; justify-content: flex-end; padding-block: 0 .35rem; }
.em-global-contact--footer { padding-block: 0 1rem; }
.em-application-panel { padding: clamp(1.15rem, 3vw, 2rem); margin-block-start: 1.25rem; scroll-margin-block: 1.5rem; }
.em-application-panel h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; }
.em-application-intro p { margin-block: .5rem 1rem; }
.em-application-job { font-weight: 650; overflow-wrap: anywhere; }
.em-application-form, .em-application-fields, .em-form-field { min-width: 0; }
.em-application-fields { margin: 0; padding: 0; border: 0; display: grid; gap: 1rem; }
.em-name-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.em-form-field { display: grid; gap: .4rem; }
.em-form-field label { font-weight: 650; }
.em-form-field input, .em-form-field textarea { width: 100%; min-height: 48px; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.5; padding: .7rem .85rem; border: 1px solid currentColor; border-radius: .7rem; color: inherit; background: transparent; }
.em-form-field textarea { resize: vertical; min-height: 100px; max-height: 500px; }
.em-form-field small, .em-required-note, .em-application-privacy { font-size: .9rem; line-height: 1.5; }
.em-form-field [aria-invalid="true"] { border-width: 2px; }
.em-field-error:not(:empty) { font-size: .875rem; font-weight: 650; }
.em-application-privacy, .em-required-note { margin: 0; }
.em-application-privacy a { text-decoration: underline; text-underline-offset: .2em; }
.em-form-submit { width: 100%; min-height: 50px; font: inherit; font-weight: 750; cursor: pointer; }
.em-form-submit:disabled { opacity: .65; cursor: default; }
.em-form-status { margin: .9rem 0 0; line-height: 1.5; }
.em-form-status:empty { display: none; }
.em-form-status:not(:empty), .em-application-preview-note { padding: .8rem 1rem; border: 1px solid currentColor; border-radius: .75rem; }
.em-form-status[data-state="success"] {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.15rem;
  border: 1px solid #157a38;
  border-radius: .8rem;
  background: #198f45;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 .45rem 1.25rem rgb(0 0 0 / .14);
}
.em-application-alternative { margin-top: .5rem; text-align: center; }
.em-form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.em-contact-actions a:focus-visible, .em-contact-phone:focus-visible, .em-application-panel :is(input,textarea,button,a):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.em-application-panel h2:focus-visible, .em-form-status:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.em-contact-actions--mobile { display: none; }
.em-contact-actions--mobile[hidden] { display: none !important; }
@media (max-width: 1023px) {
 .em-vacancy-page .em-summary-column { display: none; }
 .em-vacancy-page .em-main-column { flex-basis: 100% !important; }
 .em-vacancy-page .em-vacancy-columns { display: block; }
 .em-contact-actions--mobile { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); position: fixed; inset-inline: 0; bottom: 0; width: auto; margin: 0; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); z-index: 50; box-sizing: border-box; border-top: 1px solid currentColor; background: var(--wp--preset--color--base, Canvas); color: var(--wp--preset--color--contrast, CanvasText); }
 .em-contact-actions--mobile .em-apply-link { flex: 2; }
 .em-contact-actions--mobile:has(.em-apply-link):has(.em-call-link) { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
 .em-contact-actions--mobile .em-cta { font-size: .92rem; line-height: 1.25; padding: .65rem .55rem; min-height: 48px; }
 html.em-has-mobile-contact { scroll-padding-bottom: calc(var(--em-contact-bar-height, 92px) + 16px); }
 html.em-has-mobile-contact body { padding-bottom: var(--em-contact-bar-height, 92px); }
 .em-contact-actions--intro { margin-top: 1rem; }
}
@media (max-width: 540px) {
 .em-global-contact--header { justify-content: center; }
 .em-name-row { grid-template-columns: minmax(0,1fr); gap: 1rem; }
 .em-contact-actions--intro .em-apply-link { flex: 1 1 auto; }
 .em-contact-actions--intro .em-call-link { flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .em-application-panel, .em-contact-actions { scroll-behavior: auto; transition: none; } }
@media print { .em-contact-actions, .em-global-contact, .em-application-panel { display:none; } }

.em-site-nav { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 1023px) { .em-global-contact--header { display: flex; } .em-site-nav .em-contact-phone--header-desktop { display: none; } }

/* Secondary channels stay out of the two-action mobile bar. */
.em-secondary-contacts { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.35rem 1rem; margin-block:.5rem; }
.em-secondary-contacts a { min-height:44px; display:inline-flex; align-items:center; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:.2em; }
.em-viber-fallback { font-size:.875rem; line-height:1.5; margin-block:.5rem; }
.em-viber-fallback summary { cursor:pointer; min-height:44px; align-content:center; }
.em-viber-fallback p { margin-block:.5rem; }
.em-copy-phone { min-height:44px; border:1px solid currentColor; border-radius:.5rem; padding:.45rem .75rem; color:inherit; background:transparent; font:inherit; cursor:pointer; }
.em-copy-phone[hidden] { display:none; }
.em-copy-status { display:block; margin-block:.4rem; }
.em-secondary-contacts a:focus-visible,.em-copy-phone:focus-visible,.em-viber-fallback summary:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
.em-contact-panel { margin-block-start:1.25rem; padding:clamp(1.15rem,3vw,2rem); }
.em-contact-panel h2 { margin-block:0 .65rem; }
.em-global-contact--footer .em-secondary-contacts { justify-content:flex-start; }

/* rc3: visually scannable messaging channels. */
.em-secondary-contacts { gap: .55rem; }
.em-secondary-contacts .em-contact-channel {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .5rem .78rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: .72rem;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
  box-sizing: border-box;
}
.em-secondary-contacts .em-contact-channel:hover { border-color: currentColor; }
.em-channel-icon { flex: 0 0 auto; }
.em-secondary-contacts--sidebar .em-contact-channel { flex: 1 1 9rem; }
.em-secondary-contacts--footer { justify-content: flex-start; }
.em-secondary-contacts--footer .em-contact-channel { flex: 0 0 auto; }
.em-viber-fallback { margin-inline: auto; max-width: 30rem; opacity: .92; }

/* rc3: one scalable language control instead of one button per language. */
.emplava-language-switcher { position: relative; display: inline-flex; align-items: center; margin: 0; }
.emplava-language-menu { position: relative; }
.emplava-language-menu > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: .45rem .7rem;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: .72rem;
  box-sizing: border-box;
  font-weight: 700;
  user-select: none;
}
.emplava-language-menu > summary::-webkit-details-marker { display: none; }
.emplava-language-menu > summary::marker { content: ''; }
.emplava-language-menu[open] > summary { border-color: currentColor; }
.emplava-language-globe { flex: 0 0 auto; }
.emplava-language-current { font-size: .86rem; letter-spacing: .02em; }
.emplava-language-caret { font-size: .72rem; opacity: .8; transform-origin: center; }
.emplava-language-menu[open] .emplava-language-caret { transform: rotate(180deg); }
.emplava-language-options {
  position: absolute;
  z-index: 100;
  inset-block-start: calc(100% + .45rem);
  inset-inline-end: 0;
  min-width: 13rem;
  padding: .4rem;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: .85rem;
  background: var(--wp--preset--color--base, Canvas);
  color: var(--wp--preset--color--contrast, CanvasText);
  box-shadow: 0 .8rem 2.2rem rgb(0 0 0 / .18);
}
.emplava-language-link {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: .6rem;
  min-height: 42px;
  padding: .5rem .65rem;
  border-radius: .55rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.emplava-language-link:hover,
.emplava-language-link:focus-visible { background: color-mix(in srgb, currentColor 9%, transparent); }
.emplava-language-link.is-current { font-weight: 750; }
.emplava-language-code { font-size: .78rem; opacity: .72; }
.emplava-language-check { font-weight: 800; }
.emplava-language-menu > summary:focus-visible,
.emplava-language-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (max-width: 540px) {
  .emplava-language-menu > summary { min-width: 48px; padding-inline: .55rem; }
  .emplava-language-current { display: none; }
  .emplava-language-caret { display: none; }
  .emplava-language-options { position: fixed; inset-inline: 12px; inset-block-start: auto; top: 72px; min-width: 0; max-height: min(70vh, 28rem); overflow: auto; }
  .em-secondary-contacts .em-contact-channel { flex: 1 1 8rem; }
}

/* rc6: one mobile sticky header, two measured rows.
 * The theme header remains the sticky element. The phone lives INSIDE it as
 * row 2, so scrolling can never separate the navigation and phone. */
@media (max-width: 1023px) {
  header.em-header-with-contact {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  header.em-header-with-contact > .em-global-contact--header {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: .34rem max(16px, env(safe-area-inset-right)) .42rem max(16px, env(safe-area-inset-left));
    border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    box-sizing: border-box;
    position: static !important;
    inset: auto !important;
    z-index: auto;
    overflow: hidden;
  }
  header.em-header-with-contact > .em-global-contact--header .em-contact-phone {
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 34px;
    justify-content: center;
    gap: clamp(.35rem, 1.4vw, .5rem);
    padding: 0 .15rem;
    font-size: clamp(.84rem, 3.55vw, .98rem);
    line-height: 1.2;
    box-sizing: border-box;
  }
  header.em-header-with-contact > .em-global-contact--header .em-contact-phone svg {
    width: clamp(16px, 4vw, 18px);
    height: clamp(16px, 4vw, 18px);
    flex: 0 0 auto;
  }
  header.em-header-with-contact > .em-global-contact--header .em-contact-phone bdi {
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  header.em-header-with-contact > .em-global-contact--header {
    padding-inline: max(10px, env(safe-area-inset-left));
  }
  header.em-header-with-contact > .em-global-contact--header .em-contact-phone {
    font-size: clamp(.78rem, 3.9vw, .88rem);
  }
}

/* rc9: contact hierarchy cleanup.
 * Mobile shows the actual phone number only in the sticky header. Elsewhere,
 * actions stay actionable but use labels. Vacancy footers do not repeat contacts. */
.em-contact-call-label { display: none; }
.em-channel-number { display: inline; }

/* End-of-content contact panel: one aligned action row instead of a loose phone
 * plus centered messenger row. */
.em-contact-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
}
.em-contact-panel > h2 { grid-column: 1 / -1; width: 100%; }
.em-contact-panel .em-contact-phone--form {
  min-height: 42px;
  padding: .5rem .78rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: .72rem;
  line-height: 1.15;
  box-sizing: border-box;
}
.em-contact-panel .em-secondary-contacts--form {
  justify-content: flex-start;
  margin: 0;
}

@media (max-width: 1023px) {
  /* The header remains the single visible numeric phone on mobile. */
  .em-contact-phone:not(.em-contact-phone--header) .em-contact-number { display: none; }
  .em-contact-phone:not(.em-contact-phone--header) .em-contact-call-label { display: inline; }
  .em-secondary-contacts .em-channel-number { display: none; }

  .em-contact-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
  }
  .em-contact-panel > h2 { grid-column: auto; }
  .em-contact-panel .em-contact-phone--form { width: 100%; justify-content: center; }
  .em-contact-panel .em-secondary-contacts--form {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .em-contact-panel .em-secondary-contacts--form .em-contact-channel { width: 100%; }
}

@media (max-width: 420px) {
  .em-contact-panel .em-secondary-contacts--form { grid-template-columns: minmax(0, 1fr); }
}

/* rc11: denser application form and cleaner contact-number typography. */
.em-application-panel {
  padding: clamp(1rem, 2.1vw, 1.4rem);
}
.em-application-panel h2 {
  margin-bottom: .3rem;
}
.em-application-intro {
  display: grid;
  gap: .28rem;
  margin-bottom: .8rem;
}
.em-application-intro p {
  margin: 0;
}
.em-application-fields {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: .8rem;
  row-gap: .7rem;
}
.em-name-row,
.em-application-fields > .em-form-field,
.em-application-fields > .em-form-honeypot,
.em-application-fields > .em-form-submit {
  grid-column: 1 / -1;
}
.em-name-row {
  gap: .75rem;
}
.em-form-field {
  gap: .25rem;
}
.em-form-field input,
.em-form-field textarea {
  min-height: 46px;
  padding: .62rem .78rem;
}
.em-form-field textarea {
  min-height: 88px;
}
.em-form-field small,
.em-required-note,
.em-application-privacy {
  line-height: 1.35;
}
.em-application-privacy {
  grid-column: 1;
  align-self: center;
}
.em-required-note {
  grid-column: 2;
  align-self: center;
  text-align: end;
  white-space: nowrap;
}
.em-form-submit {
  min-height: 48px;
  margin-top: .05rem;
}
.em-application-alternative {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .7rem;
  text-align: start;
}
.em-application-alternative .em-secondary-contacts {
  margin: 0;
}
.em-application-alternative .em-contact-phone--form {
  min-height: 42px;
  padding: .5rem .78rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: .72rem;
  box-sizing: border-box;
}
.em-channel-number {
  margin-inline-start: .38rem;
}
@media (max-width: 540px) {
  .em-application-panel { padding: 1rem; }
  .em-application-fields { grid-template-columns: minmax(0, 1fr); row-gap: .72rem; }
  .em-application-privacy,
  .em-required-note { grid-column: 1; text-align: start; white-space: normal; }
  .em-required-note { margin-top: -.2rem; }
  .em-application-alternative { display: grid; grid-template-columns: minmax(0,1fr); }
  .em-application-alternative .em-contact-phone--form,
  .em-application-alternative .em-secondary-contacts { width: 100%; }
}



/* Emplava urgency marker: independent of recruitment lifecycle status. */
.em-hot-badge{display:inline-flex;align-items:center;gap:.35rem;width:fit-content;min-height:1.8rem;
 padding:.3rem .65rem;border:1px solid color-mix(in srgb,#f5a442 65%,transparent);
 background:color-mix(in srgb,#f5a442 13%,transparent);border-radius:999px;
 color:var(--wp--preset--color--warm,#efb460);font-weight:700;font-size:.84rem;line-height:1.25;}
.em-publication-meta{display:flex;flex-wrap:wrap;gap:.32rem;align-items:center;}
.em-publication-separator{opacity:.65;}
/* rc16: vacancy availability state is visible both on archive cards and vacancy pages. */
.em-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: .3rem .65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .01em;
}
.em-status-badge--no_places,
.em-status-badge--paused,
.em-status-badge--retired {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.em-job-card--no_places,
.em-job-card--paused,
.em-job-card--retired {
  opacity: .9;
}
.em-job-card .em-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}


/* rc19 — one-row mobile header contact and integrated footer contacts. */
.em-global-contact--header{display:none!important}

@media (max-width:1023px){
  .em-site-nav .em-contact-phone--header-desktop{
    display:inline-grid!important;
    place-items:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    min-height:38px;
    padding:0;
    margin:0;
    border:1px solid color-mix(in srgb,currentColor 24%,transparent);
    border-radius:10px;
    background:var(--em-surface-soft,transparent);
    color:inherit;
    line-height:1;
    text-decoration:none;
    overflow:hidden;
  }
  .em-site-nav .em-contact-phone--header-desktop .em-contact-number,
  .em-site-nav .em-contact-phone--header-desktop .em-contact-call-label{
    display:none!important;
  }
  .em-site-nav .em-contact-phone--header-desktop svg{
    width:18px;
    height:18px;
    margin:0;
  }
}

.em-footer-shell .em-global-contact--footer{
  max-width:var(--wp--style--global--wide-size,1200px);
  margin:10px auto 0;
  padding:12px var(--wp--preset--spacing--40,24px) 0;
  border-top:1px solid color-mix(in srgb,currentColor 16%,transparent);
  display:flex;
  align-items:center;
  gap:10px 16px;
  flex-wrap:wrap;
}
.em-footer-shell .em-global-contact--footer .em-contact-phone{
  flex:0 0 auto;
  margin:0;
}
.em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
  flex:1 1 auto;
  margin:0;
  justify-content:flex-start;
}
.em-footer-shell .em-global-contact--footer .em-channel-number{
  display:none!important;
}
@media (max-width:640px){
  .em-footer-shell .em-global-contact--footer{
    display:grid;
    gap:8px;
    padding-inline:max(16px,env(safe-area-inset-left));
  }
  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
    justify-content:flex-start;
  }
}


/* rc32 — homepage language control and stable compact mobile footer. */
@media (max-width:640px){
  .em-header-inner{gap:6px!important}
  .em-brand-row{gap:6px!important}
  .em-site-nav{gap:6px}

  .em-footer-shell .em-global-contact--footer{
    width:100%;
    max-width:none;
    margin:8px 0 0;
    padding:12px 0 0;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .em-footer-shell .em-global-contact--footer .em-contact-phone--footer{
    width:100%;
    min-width:0;
    justify-content:flex-start;
    padding-inline:0;
  }
  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer .em-contact-channel{
    width:100%;
    min-width:0;
    padding-inline:.55rem;
  }
}
@media (max-width:360px){
  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
    grid-template-columns:minmax(0,1fr);
  }
}


/* rc33 — vacancy lifecycle is always explicit, including active recruitment. */
.em-status-badge{
  gap:.42rem;
}
.em-status-badge-dot{
  width:.44rem;
  height:.44rem;
  flex:0 0 .44rem;
  border-radius:999px;
  background:currentColor;
}
.em-status-badge--active{
  color:var(--em-success);
  border-color:color-mix(in srgb,var(--em-success) 68%,transparent);
  background:color-mix(in srgb,var(--em-success) 11%,transparent);
}
.em-status-badge--active .em-status-badge-dot{
  box-shadow:0 0 0 .18rem color-mix(in srgb,var(--em-success) 13%,transparent);
}
.em-status-badge--no_places,
.em-status-badge--paused{
  color:var(--wp--preset--color--warm,#e5b66a);
  border-color:color-mix(in srgb,currentColor 62%,transparent);
  background:color-mix(in srgb,currentColor 9%,transparent);
}
.em-status-badge--retired{
  color:var(--em-muted);
  border-color:color-mix(in srgb,currentColor 42%,transparent);
  background:color-mix(in srgb,currentColor 7%,transparent);
}


/* rc36 — footer phone uses the same visible control treatment as messaging channels. */
.em-footer-shell .em-global-contact--footer .em-contact-phone--footer{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  padding:.5rem .78rem;
  border:1px solid color-mix(in srgb,currentColor 28%,transparent);
  border-radius:.72rem;
  background:var(--em-surface-soft,transparent);
  color:inherit;
  text-decoration:none;
  font-weight:650;
  line-height:1.15;
  box-sizing:border-box;
}
.em-footer-shell .em-global-contact--footer .em-contact-phone--footer:hover{
  border-color:currentColor;
}
@media (max-width:640px){
  .em-footer-shell .em-global-contact--footer .em-contact-phone--footer{
    width:100%;
    min-width:0;
    justify-content:center;
    padding:.55rem .72rem;
  }
}


/* rc38 — footer contacts are one contained plaque; nothing may escape it. */
.em-footer-shell .em-global-contact--footer{
  width:min(100%,var(--wp--style--global--wide-size,1200px))!important;
  max-width:var(--wp--style--global--wide-size,1200px)!important;
  min-width:0!important;
  margin:12px auto 0!important;
  padding:12px!important;
  box-sizing:border-box!important;

  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;

  border:1px solid color-mix(in srgb,currentColor 20%,transparent)!important;
  border-radius:14px!important;
  background:var(--em-surface-soft,transparent)!important;
  overflow:hidden!important;
}

.em-footer-shell .em-global-contact--footer > *{
  min-width:0!important;
  max-width:100%!important;
}

.em-footer-shell .em-global-contact--footer .em-contact-phone--footer{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:.55rem .75rem!important;
  box-sizing:border-box!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.45rem!important;

  border:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;
  border-radius:.72rem!important;
  background:transparent!important;
  overflow:hidden!important;
}

.em-footer-shell .em-global-contact--footer .em-contact-phone--footer bdi{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;

  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,max-content))!important;
  justify-content:start!important;
  align-items:center!important;
  gap:8px!important;
  overflow:hidden!important;
}

.em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer .em-contact-channel{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

@media (max-width:640px){
  .em-footer-shell .em-global-contact--footer{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    margin:10px 0 0!important;
    padding:10px!important;
  }

  .em-footer-shell .em-global-contact--footer .em-contact-phone--footer{
    width:100%!important;
    justify-content:center!important;
  }

  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer .em-contact-channel{
    width:100%!important;
    justify-content:center!important;
  }
}

@media (max-width:340px){
  .em-footer-shell .em-global-contact--footer .em-secondary-contacts--footer{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* EMPLAVA_PHONE_RED_OUTLINE_ONLY_V2_20261023 — no text, no locale copy. */
.em-application-panel .em-form-field input[data-field="phone"][aria-invalid="true"] {
  border: 3px solid #e45861;
  box-shadow: 0 0 0 3px rgb(228 88 97 / 22%);
}
.em-application-panel .em-form-field input[data-field="phone"][aria-invalid="true"]:focus-visible {
  outline-color: #e45861;
}
