.ej-filter{margin:0 0 24px;padding:20px;background:var(--surface,#fff);color:var(--text,#263844);border:1px solid var(--border,#dce3e8);border-radius:18px}
.ej-filter__primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ej-filter label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:600}
.ej-filter input,.ej-filter select{display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--border,#dce3e8);border-radius:10px;background:var(--surface,#fff);color:inherit;font:inherit;font-weight:400}
.ej-filter__pay{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;border:0;padding:0;margin:18px 0}
.ej-filter__pay legend{font-size:15px;font-weight:700;padding:0;margin-bottom:10px}
.ej-filter__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ej-filter__status{min-height:1.3em;margin:10px 0 0;font-size:14px}
.ej-filter__status:empty{min-height:0;margin-top:0}
.ej-filter [aria-busy=true]{opacity:.7}
.ej-facts{display:flex;gap:12px 24px;flex-wrap:wrap;margin:16px 0;font-size:14px}
.ej-facts>div{min-width:150px;max-width:100%}.ej-facts dt{font-weight:600;opacity:.72}.ej-facts dd{margin:5px 0 0;overflow-wrap:anywhere}
#dle-content > .story-card{margin-block:2px}#dle-content > .story-card:hover{transform:none}
.story-card.ej-job-card{display:block}.ej-job-card .story-body{width:100%}
.ej-card-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,max-content);align-items:start;gap:20px}.ej-card-heading{min-width:0}.ej-job-card .ej-card-title{margin:0 0 12px;font-size:24px;font-weight:750;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}.ej-card-location{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;font-size:15px;line-height:1.5}.ej-card-country{color:var(--muted,#5f6b76)}.ej-card-country a,.ej-card-city a{color:inherit;text-decoration:none}.ej-card-country a:hover,.ej-card-city a:hover{text-decoration:underline}.ej-card-city{color:var(--text,#263844);font-size:18px;font-weight:700}.ej-card-location-separator{color:var(--muted,#5f6b76)}.ej-card-pay{min-width:0;max-width:300px;margin:0;padding:12px 16px;border:1px solid var(--line,#dce3e8);border-radius:12px;background:var(--accent-soft,#e8f0f6)}.ej-card-pay dt{margin:0 0 4px;font-size:12px;font-weight:600;color:var(--muted,#5f6b76)}.ej-card-pay dd{margin:0}.ej-card-pay-value{display:block;font-size:24px;font-weight:750;line-height:1.25;font-variant-numeric:tabular-nums;color:var(--accent-strong,#496c8b);overflow-wrap:anywhere}.ej-card-pay-value--empty{font-size:18px}.ej-card-pay-unit{display:block;margin-top:5px;color:var(--muted,#5f6b76);font-size:13px;line-height:1.4}.ej-job-card .story-top{margin:14px 0 10px;font-size:12px}.ej-card-profession{padding:4px 9px;border-radius:7px;background:var(--surface-soft,#f7f9fb);color:var(--muted,#5f6b76);font-size:12px;font-weight:600}.ej-job-card .story-text{margin-top:0}
.ej-filter__primary{position:relative}.ej-filter__field{position:relative;display:flex;flex-direction:column;gap:7px;min-width:0}.ej-filter__country{position:static}.ej-place-picker{position:relative;min-width:0}.ej-filter__country .ej-place-picker{position:static}.ej-place-picker[hidden],.ej-place-picker [hidden],.ej-filter select[hidden]{display:none!important}.ej-place-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--border,#dce3e8);border-radius:10px;background:var(--surface,#fff);color:var(--text,#263844);font:inherit;font-size:14px;font-weight:400;text-align:start}.ej-place-trigger:disabled{opacity:.6;cursor:not-allowed;background:var(--surface-soft,#f7f9fb)}.ej-place-trigger>.icon{width:16px;height:16px;flex:none;margin-inline-start:auto}.ej-place-value{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex:1}.ej-place-panel{position:absolute;z-index:40;top:calc(100% + 8px);inset-inline:0;max-height:min(420px,60vh);overflow:auto;box-sizing:border-box;padding:12px;border:1px solid var(--line,#dce3e8);border-radius:12px;background:var(--surface,#fff);box-shadow:var(--shadow,0 12px 32px #20304026)}.ej-place-search{position:sticky;top:-12px;z-index:1;background:var(--surface,#fff);padding:0 0 8px}.ej-place-options{display:grid;gap:4px}.ej-place-option{display:block;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:8px;background:var(--surface-soft,#f7f9fb);color:var(--text,#263844);font:inherit;font-size:14px;text-align:start}.ej-place-option:hover,.ej-place-option[aria-selected=true]{background:var(--accent-soft,#e8f0f6);color:var(--accent-strong,#496c8b)}.ej-place-empty{margin:12px 0;font-size:14px;color:var(--muted,#5f6b76)}
.ej-editor{margin:20px 0}.ej-editor[hidden]{display:none}.ej-editor__tabs{display:flex;flex-wrap:wrap;gap:8px}.ej-editor__tabs button{min-height:44px;padding:10px 14px;border:1px solid var(--border,#dce3e8);border-radius:10px;background:var(--surface-soft,#f7f9fb);color:var(--text,#263844);font:inherit;font-size:14px}.ej-editor__tabs button[aria-selected=true]{background:var(--accent,#4f7189);color:var(--accent-ink,#fff)}.ej-original{display:block;font-size:13px}.ej-editor__hint{margin:10px 0;font-size:14px;opacity:.8}
.ej-countries__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}.ej-countries__links button{display:flex;justify-content:space-between;gap:12px;align-items:center;box-sizing:border-box;min-height:44px;padding:9px 13px;border:0;border-radius:var(--r-md,12px);background:var(--surface-soft,#f7f9fb);color:var(--muted,#5f6b76);font:inherit;font-size:var(--fs-ui,14px);font-weight:600;line-height:1.4;text-align:start;transition:background-color .15s,color .15s}.ej-countries__links button:hover,.ej-countries__links button[aria-selected=true]{background:var(--accent-soft,#e8f0f6);color:var(--accent-strong,#496c8b)}.ej-country-count{font-variant-numeric:tabular-nums;color:var(--muted,#5f6b76);font-size:var(--fs-meta,12px);font-weight:600;opacity:.75;flex-shrink:0}.ej-countries__links button[aria-selected=true] .ej-country-count{color:inherit}
@media(max-width:900px){.ej-countries__links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ej-countries__links{grid-template-columns:1fr}}
.ej-country-name{display:inline-flex;align-items:center;min-width:0}.ej-country-flag{display:inline-block;width:24px;height:18px;object-fit:cover;border-radius:2px;vertical-align:middle;margin-inline-end:7px;flex-shrink:0;box-shadow:0 0 0 1px var(--border,#dce3e8)}.ej-country-name .ej-country-group{width:24px;height:18px;flex-shrink:0;margin-inline-end:7px}
@media(max-width:850px){.ej-filter__pay{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.ej-card-head{grid-template-columns:1fr;gap:14px}.ej-card-pay{max-width:none;justify-self:stretch}.ej-job-card .ej-card-title{font-size:22px}}
@media(max-width:600px){.ej-filter{padding:16px;border-radius:14px}.ej-filter__primary{grid-template-columns:1fr}.ej-filter__pay{grid-template-columns:repeat(2,minmax(0,1fr))}.ej-filter input,.ej-filter select{font-size:16px}.ej-filter__actions>*{min-height:44px}.ej-facts{gap:10px 18px}}
@media(max-width:600px){.ej-filter__country{position:relative}.ej-place-trigger{font-size:16px}.ej-job-card .ej-card-title{font-size:21px}.ej-card-city{font-size:17px}.ej-card-pay-value{font-size:23px}.ej-card-pay{padding:12px 14px}.ej-place-option{min-height:44px}}

/* Other public jobs of the author of the opened vacancy. */
.ej-author-jobs{margin-block:28px}
.ej-author-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ej-author-grid .ej-author-card{min-width:0;margin:0}
.ej-author-card .story-body{padding:20px}
.ej-author-card .ej-card-head{grid-template-columns:minmax(0,1fr);gap:14px}
.ej-author-card .ej-card-title{font-size:21px;line-height:1.3}
.ej-author-card .ej-card-location{font-size:16px}
.ej-author-card .ej-card-city{font-size:17px}
.ej-author-card .ej-card-pay{width:100%;text-align:left}
.ej-author-card .ej-card-pay-value{font-size:23px}
.ej-author-card .story-top{flex-wrap:wrap;margin-top:14px;gap:6px 12px}
@media(max-width:640px){.ej-author-grid{grid-template-columns:minmax(0,1fr)}.ej-author-card .story-body{padding:18px}}

/* Country-scoped city dictionaries. */
.ej-native-city{display:none!important}.ej-editor-city{width:100%;max-width:600px}.ej-city-more{width:100%;margin:8px 0;font-size:12px;min-height:36px}.ej-city-credit{display:block;padding:6px 4px 0;font-size:11px;color:var(--text-muted,#657587)}.ej-place-panel .ej-place-options[aria-busy=true]{opacity:.6}

.ej-other-city-button{margin-top:8px;font-size:12px;min-height:34px}.ej-other-city-button[hidden],.ej-manual-city-field[hidden],.selector:has(>select.ej-native-city),.bootstrap-select:has(>select.ej-native-city){display:none!important}.ej-feature-filter{margin:14px 0;border-top:1px solid var(--border,#dce3e8);padding-top:12px}.ej-feature-filter>summary{cursor:pointer;font-size:14px}.ej-feature-filter__options{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px}.ej-feature-check{display:flex!important;align-items:center;gap:7px;font-size:13px}.ej-feature-check input{width:auto!important;margin:0}.ej-job-features{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.ej-feature{display:inline-block;border-radius:7px;padding:4px 8px;font-size:12px;line-height:1.4;background:var(--accent-soft,#e8f0f6);color:var(--accent-strong,#496c8b)}

.ej-feature-check input{width:16px!important;height:16px!important;min-height:0!important;flex-shrink:0;padding:0!important;accent-color:var(--accent-strong,#496c8b)}

/* Compact filter actions: features share the action row; posting stays at the end. */
.ej-filter__actions .ej-feature-filter{position:relative;flex:0 1 auto;margin:0;padding:0;border:0;min-width:0}
.ej-filter__actions .ej-feature-filter>summary{display:flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-height:44px;padding:10px 14px;list-style:none;border:0;border-radius:12px;background:var(--surface-soft,#f7f9fb);color:var(--text,#263844);font:inherit;font-size:14px;font-weight:600;line-height:1.35;cursor:pointer;white-space:nowrap}
.ej-filter__actions .ej-feature-filter>summary::-webkit-details-marker{display:none}
.ej-filter__actions .ej-feature-filter>summary::before{content:"▸";display:inline-block;flex:none;transition:transform .15s}
.ej-filter__actions .ej-feature-filter[open]>summary::before{transform:rotate(90deg)}
.ej-filter__actions .ej-feature-filter>summary:focus-visible{outline:2px solid var(--accent-strong,#496c8b);outline-offset:3px}
.ej-filter__actions .ej-feature-filter[open]>summary{background:var(--accent-soft,#e8f0f6);color:var(--accent-strong,#496c8b)}
.ej-filter__actions .ej-feature-filter__options{position:absolute;z-index:45;top:calc(100% + 8px);inset-inline-end:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;box-sizing:border-box;width:360px;max-width:calc(100vw - 64px);max-height:min(340px,60vh);overflow:auto;margin:0;padding:16px;border:1px solid var(--line,#dce3e8);border-radius:12px;background:var(--surface,#fff);box-shadow:var(--shadow,0 12px 32px #20304026)}
.ej-filter__actions .ej-feature-filter:not([open])>.ej-feature-filter__options{display:none}
.ej-filter__actions .ej-feature-check{flex-direction:row;line-height:1.4}
.ej-filter__actions>.ej-filter__post{margin-inline-start:auto;white-space:nowrap}
@media(max-width:600px){
 .ej-filter__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
 .ej-filter__actions>.primary-button,.ej-filter__actions>.soft-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:10px;white-space:normal;text-align:center;line-height:1.35}
 .ej-filter__actions .ej-feature-filter>summary{height:100%;padding:10px;white-space:normal;text-align:center}
 .ej-filter__actions .ej-feature-filter__options{inset-inline-start:0;inset-inline-end:auto;width:min(360px,calc(100vw - 64px));grid-template-columns:1fr}
}

/* Temporary home replacement for the partner RSS block. */
.ej-destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.ej-destinations>li{min-width:0}
.ej-destination-card{display:flex;align-items:center;gap:12px;min-height:88px;box-sizing:border-box;padding:16px;border:1px solid var(--line,#e4e9ee);border-radius:14px;background:var(--surface,#fff);color:var(--text,#1d2935);text-decoration:none;transition:background-color .15s,border-color .15s}
.ej-destination-card:hover,.ej-destination-card:focus-visible{background:var(--accent-soft,#e8f0f6);border-color:var(--accent-strong,#496c8b)}
.ej-destination-card:focus-visible{outline:2px solid var(--accent-strong,#496c8b);outline-offset:3px}
.ej-destination-card__flag{display:grid;place-items:center;flex:0 0 44px;height:38px;border-radius:10px;background:var(--surface-soft,#f7f9fb)}
.ej-destination-card__flag .ej-country-flag{margin:0}
.ej-destination-card__body{display:grid;gap:4px;min-width:0}
.ej-destination-card__body strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.ej-destination-card__count{font-size:13px;line-height:1.4;color:var(--muted,#595f64)}
.ej-destination-card>.icon{flex:none;width:16px;height:16px;margin-inline-start:auto;color:var(--accent-strong,#496c8b)}
.ej-destinations-empty{grid-column:1/-1;color:var(--muted,#595f64);font-size:14px}
.ej-employer-promo{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding:24px;border-radius:14px;background:var(--accent-soft,#e8f0f6)}
.ej-employer-promo>div{min-width:0}
.ej-employer-promo h3{margin:0 0 6px;font-size:21px;line-height:1.3}
.ej-employer-promo p{margin:0;color:var(--muted,#595f64);font-size:14px;line-height:1.6}
.ej-employer-promo>.primary-button{flex:none;text-align:center}
@media(max-width:1000px){.ej-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .ej-destinations{gap:12px}
 .ej-destination-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;padding:14px}
 .ej-destination-card__flag{grid-column:1;grid-row:1;justify-self:start;width:40px;height:32px}
 .ej-destination-card__body{grid-column:1/-1;grid-row:2}
 .ej-destination-card__body strong{font-size:15px}
 .ej-destination-card>.icon{grid-column:2;grid-row:1}
 .ej-employer-promo{align-items:stretch;flex-direction:column;gap:16px;padding:20px}
 .ej-employer-promo h3{font-size:20px}
 .ej-employer-promo>.primary-button{width:100%;box-sizing:border-box;white-space:normal}
}

.feed:has(> .ej-filter + #dle-content) {
    --ej-vacancy-gap: 10px;
    row-gap: var(--ej-vacancy-gap);
}
.feed:has(> .ej-filter + #dle-content) > .ej-filter {
    margin-bottom: 0;
}
.feed:has(> .ej-filter + #dle-content) > #dle-content > .ej-job-card {
    margin-block: 0;
}
.feed:has(> .ej-filter + #dle-content) > #dle-content > .ej-job-card + .ej-job-card {
    margin-block-start: var(--ej-vacancy-gap);
}
.feed:has(> .ej-filter + #dle-content) .ej-author-grid {
    row-gap: var(--ej-vacancy-gap);
}
