/* Header theme menu: native disclosure works with keyboard and touch. */
.fejer-theme-picker { position: relative; flex-shrink: 0; margin-inline: 8px; color: var(--fejer-ink, #142f43); }
.fejer-theme-picker summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; cursor: pointer; border: 1px solid var(--fejer-line, #dde5e8); border-radius: 10px; }
.fejer-theme-picker summary::-webkit-details-marker { display: none; }
.fejer-theme-picker summary:hover { background: var(--fejer-mint, #edf3f8); }
.fejer-theme-picker summary:focus-visible { outline: 2px solid #347db7; outline-offset: 2px; }
.fejer-theme-options { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 1050; min-width: 170px; padding: 6px; border: 1px solid var(--fejer-line, #dde5e8); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px #0002; }
.fejer-theme-options button { display: block; width: 100%; text-align: start; border: 0; border-radius: 7px; background: transparent; color: inherit; padding: 10px 12px; font: inherit; cursor: pointer; }
.fejer-theme-options button:hover, .fejer-theme-options button[aria-pressed="true"] { background: var(--fejer-mint, #edf3f8); }
.fejer-theme-options button[aria-pressed="true"]::after { content: '✓'; float: right; margin-inline-start: 12px; }
html[data-theme-style="dark"] .fejer-theme-options { background: #1b2531; color: #eaf0f7; }
/* Shared brand: derive dark controls from the same admin primary color as light mode. */
html[data-theme-style="dark"] {
    --fejer-dark-action: color-mix(in srgb, var(--primary-color, #002957) 82%, white);
    --fejer-dark-action-hover: color-mix(in srgb, var(--primary-color, #002957) 70%, white);
    --fejer-dark-accent: #8fb8e6;
    --fejer-dark-link: #aecbed;
    color-scheme: dark; background: #121922;
}
html[data-theme-style="dark"] body {
    --fejer-ink: #eaf0f7; --fejer-muted: #abb8c8; --fejer-line: #303e4e; --fejer-mint: #182431;
    --fejer-green: var(--fejer-dark-accent); --workspace-accent: var(--fejer-dark-accent); --workspace-tint: #23354a;
    --bs-body-bg: #121922; --bs-body-color: #eaf0f7; --bs-border-color: #303e4e;
    --bs-secondary-color: #abb8c8; --bs-tertiary-bg: #1b2531;
    --bb-body-bg: #121922; --bb-body-color: #eaf0f7; --bb-border-color: #303e4e;
    background: #121922; color: #eaf0f7;
}
html[data-theme-style="dark"] body :is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,.card-title,.text-dark,.text-body,.form-label,.form-check-label) { color: #eaf0f7 !important; }
html[data-theme-style="dark"] body .text-muted { color: #abb8c8 !important; }
html[data-theme-style="dark"] body :is(.navbar,.top-bar,.dropdown-menu,.card,.modal-content,.offcanvas,.accordion-item,.accordion-button,.popu-category-box,.fejer-registration-option,.auth-content,.candidate-list-widgets,.job-box,.job-list-box,.ps-sidebar,.ps-block--form-box,.fejer-theme-picker) { background-color: #1b2531 !important; color: #eaf0f7; border-color: #303e4e !important; }
html[data-theme-style="dark"] body :is(.bg-light,.bg-white,.fejer-jobs,.fejer-directory,.fejer-categories,.fejer-blog,.fejer-login,.fejer-registration,.fejer-registration-choice,.ps-main,.ps-main__wrapper) { background-color: #121922 !important; color: #eaf0f7; }
html[data-theme-style="dark"] body :is(.page-title-box,.bg-subscribe,.fejer-login-brand,.fejer-registration .auth-box > .row > .text-center) { background-color: #182431 !important; }
html[data-theme-style="dark"] body :is(.form-control,.form-select,.choices__inner,.choices__list--dropdown,.choices__list[aria-expanded],.choices__input,.select2-selection,.select2-dropdown,.select2-search__field,.input-group-text) { background-color: #151f2b !important; color: #eaf0f7 !important; border-color: #475b72 !important; }
html[data-theme-style="dark"] body :is(input,textarea)::placeholder { color: #abb8c8 !important; opacity: 1; }
html[data-theme-style="dark"] body :is(.dropdown-item,.navbar .nav-link,.menu > li > a,.choices__item,.select2-results__option) { color: #eaf0f7; }
html[data-theme-style="dark"] body :is(.dropdown-item:hover,.choices__item.is-highlighted,.select2-results__option--highlighted,.accordion-button:not(.collapsed)) { background: #2a405a !important; color: #fff !important; }
html[data-theme-style="dark"] body :is(.filter-search-form,.registration-form,.fejer-search,.filler-job-form,.job-list-header) { background-color: #1b2531 !important; border-color: #303e4e !important; }
html[data-theme-style="dark"] body :is(.btn-primary,.menu > li > a.active,.nav-pills .nav-link.active) { background: var(--fejer-dark-action) !important; border-color: var(--fejer-dark-action) !important; color: #fff !important; }
html[data-theme-style="dark"] body :is(.btn-outline-primary,.text-primary) { color: var(--fejer-dark-link); }
html[data-theme-style="dark"] body :is(.table,.table td,.table th) { --bs-table-bg: #1b2531; --bs-table-color: #eaf0f7; --bb-table-bg: #1b2531; background-color: #1b2531; color: #eaf0f7; border-color: #303e4e; }
html[data-theme-style="dark"] body :is(.bg-footer,.footer-alt) { background: #0e151e !important; }
html[data-theme-style="dark"] body .navbar-brand img,
html[data-theme-style="dark"] body .fejer-login-brand .logo-dark { background: #fff; padding: 6px 10px; border-radius: 8px; }
html[data-theme-style="dark"] body #home.fejer-hero { background-color: #151f2b; border-color: #303e4e; }
html[data-theme-style="dark"] body #home.fejer-hero .fejer-hero-copy :is(h1,p) { color: #f3f7fb !important; }
html[data-theme-style="dark"] body :is(.form-check-input,.page-link) { background-color: #151f2b; border-color: #475b72; color: #eaf0f7; }
html[data-theme-style="dark"] body .form-check-input:checked { background-color: var(--fejer-dark-action); }
@media print { .fejer-theme-picker { display: none; } }
html[data-theme-style="dark"] body :is(.fejer-jobs-empty,.fejer-category-card,.blog-grid-box,.fejer-blog .sidebar,.fejer-article .blog-post,.fejer-filter-footer,.fejer-jobs .toggle-views .btn,.fejer-jobs .map-views .btn) { background: #1b2531 !important; color: #eaf0f7; border-color: #303e4e; }
html[data-theme-style="dark"] body #home.fejer-hero .treding-keywords a { background: #182431; color: #eaf0f7 !important; border-color: #475b72; }
/* Selected links must not inherit the brand's dark navy on dark surfaces. */
html[data-theme-style="dark"] body #navbar :is(.nav-link.active, .nav-item.active > .nav-link, a[aria-current="page"], .nav-link:hover, .nav-link:focus-visible) {
    color: var(--fejer-dark-link) !important;
}
html[data-theme-style="dark"] body #navbar .dropdown-menu :is(.dropdown-item.active, .active > .dropdown-item, .dropdown-item[aria-current="page"]) {
    background: #2a405a !important;
    color: #fff !important;
}
html[data-theme-style="dark"] body :is(.job-list-menu .nav-link.active, .nav-pills .nav-link.active, .menu > li.active > a, .menu > li > a.active, .page-item.active .page-link) {
    background: var(--fejer-dark-action) !important;
    color: #fff !important;
    border-color: var(--fejer-dark-accent) !important;
}
html[data-theme-style="dark"] body .fejer-theme-options button[aria-pressed="true"] {
    background: #2a405a;
    color: #fff;
}
/* Keep unselected job tabs readable alongside the selected tab. */
html[data-theme-style="dark"] body .job-list-menu .nav-link:not(.active) {
    color: #d5deea !important;
    background: #1b2531 !important;
}
html[data-theme-style="dark"] body .job-list-menu .nav-link:not(.active):is(:hover, :focus-visible) {
    color: #fff !important;
    background: #2a405a !important;
}
/* Search dropdowns: explicit foreground/background pairs for every option state. */
html[data-theme-style="dark"] body .choices :is(.choices__list--dropdown, .choices__list[aria-expanded]) {
    background: #151f2b !important;
    color: #eaf0f7 !important;
    border-color: #475b72 !important;
}
html[data-theme-style="dark"] body .choices :is(.choices__list--dropdown, .choices__list[aria-expanded]) .choices__item {
    background: #151f2b !important;
    color: #eaf0f7 !important;
    opacity: 1;
}
html[data-theme-style="dark"] body .choices :is(.choices__list--dropdown, .choices__list[aria-expanded]) .choices__item:is(.is-selected, .is-highlighted) {
    background: #2a405a !important;
    color: #fff !important;
}
html[data-theme-style="dark"] body .choices :is(.choices__placeholder, .choices__heading, .has-no-results, .has-no-choices) {
    color: #c2cddd !important;
    opacity: 1;
}
html[data-theme-style="dark"] body .choices input.choices__input {
    background: #121922 !important;
    color: #f0f6fb !important;
    caret-color: #f0f6fb;
}
html[data-theme-style="dark"] body .choices input.choices__input::placeholder { color: #c2cddd !important; opacity: 1; }
html[data-theme-style="dark"] body .select2-container .select2-results__option { background: #151f2b; color: #eaf0f7 !important; }
html[data-theme-style="dark"] body .select2-container .select2-results__option:is(.select2-results__option--highlighted, .select2-results__option--selected, [aria-selected="true"]) { background: #2a405a !important; color: #fff !important; }
/* Language menus include nested labels with their own legacy text colors. */
html[data-theme-style] body :is(.language-switch, .language-wrapper) .dropdown-menu {
    background: #fff !important;
    border-color: #c4d0da !important;
    color: #142f43 !important;
}
html[data-theme-style] body :is(.language-switch, .language-wrapper) .dropdown-menu :is(a, a span) {
    color: #142f43 !important;
}
html[data-theme-style="dark"] body :is(.language-switch, .language-wrapper) > .btn,
html[data-theme-style="dark"] body .language-wrapper .dropdown > .btn {
    color: #eaf0f7 !important;
}
html[data-theme-style="dark"] body :is(.language-switch, .language-wrapper) .dropdown-menu {
    background: #1b2531 !important;
    border-color: #475b72 !important;
    color: #eaf0f7 !important;
}
html[data-theme-style="dark"] body :is(.language-switch, .language-wrapper) .dropdown-menu :is(a, a span) {
    color: #eaf0f7 !important;
}
html[data-theme-style] body :is(.language-switch, .language-wrapper) .dropdown-menu :is(a:hover, a:focus-visible, a.active, li:hover, li.active) {
    background: #2a405a !important;
    color: #fff !important;
}
html[data-theme-style] body :is(.language-switch, .language-wrapper) .dropdown-menu :is(a:hover, a:focus-visible, a.active, li:hover, li.active) :is(a, span) {
    color: #fff !important;
}

/* Search field icons use a light accent instead of the theme's navy brand color. */
html[data-theme-style="dark"] body :is(.filter-search-form, .filler-job-form) > i {
    color: var(--fejer-dark-link) !important;
}


/* Search-first layout: quieter chrome, clear surfaces and one brand accent. */
html[data-theme-style="dark"] body { --fejer-green: var(--fejer-dark-accent); --fejer-mint: #23354a; }
html[data-theme-style="dark"] body :is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6) { font-weight: 600; letter-spacing: -.025em; }
html[data-theme-style="dark"] body :is(h1,h2,h3,h4,h5,h6) a { color: inherit; }
html[data-theme-style="dark"] body :is(h1,h2,h3,h4,h5,h6) a:hover { color: var(--fejer-dark-link); }
html[data-theme-style="dark"] body .top-bar { background-color: #121922 !important; border-bottom-color: #293747; }
html[data-theme-style="dark"] body :is(.top-bar a,.navbar .nav-link) { color: #c2cddd !important; font-weight: 500; }
html[data-theme-style="dark"] body :is(.navbar,.fejer-theme-picker) { background-color: #121922 !important; }
html[data-theme-style="dark"] body .navbar { box-shadow: 0 1px 0 #2c3b4c; }
html[data-theme-style="dark"] body .navbar-brand .logo-dark,
html[data-theme-style="dark"] body .fejer-login-brand .logo-dark { display: inline-block !important; background: transparent; padding: 0; border-radius: 0; filter: brightness(0) invert(1); }
html[data-theme-style="dark"] body .btn { font-weight: 600; border-radius: 8px; box-shadow: none; }
html[data-theme-style="dark"] body :is(.btn-primary,.page-item.active .page-link) { background: var(--fejer-dark-action) !important; color: #fff !important; border-color: var(--fejer-dark-action) !important; }
html[data-theme-style="dark"] body .btn-primary:is(:hover,:focus-visible) { background: var(--fejer-dark-action-hover) !important; border-color: var(--fejer-dark-action-hover) !important; color: #fff !important; }
html[data-theme-style="dark"] body .btn-outline-primary { background: transparent; color: #d5deea; border-color: #475b72; }
html[data-theme-style="dark"] body .btn-outline-primary:is(:hover,:focus-visible) { background: #23354a; color: var(--fejer-dark-link); border-color: var(--fejer-dark-accent); }
html[data-theme-style="dark"] body .text-primary { color: var(--fejer-dark-link) !important; }
html[data-theme-style="dark"] body .page-title-box { background: #121922 !important; border-bottom: 1px solid #293747; padding: 30px 0 26px; }
html[data-theme-style="dark"] body .page-title-box :is(h1,h2) { font-size: clamp(26px,3vw,36px); font-weight: 600; text-align: start; margin-bottom: 8px !important; }
html[data-theme-style="dark"] body .page-title-box .breadcrumb { justify-content: flex-start; font-size: 11px; letter-spacing: .05em; }
html[data-theme-style="dark"] body :is(.page-title-box > .container,.fejer-jobs > .container-xl) { max-width: 1240px; padding-inline: 28px; }
html[data-theme-style="dark"] body .fejer-jobs { padding-top: 24px; }
html[data-theme-style="dark"] body .job-list-header { padding: 16px; border-radius: 12px; box-shadow: none; margin-bottom: 24px; }
html[data-theme-style="dark"] body .fejer-search { padding: 8px; border-radius: 12px; box-shadow: 0 16px 40px #0003; }
html[data-theme-style="dark"] body :is(.fejer-search,.job-list-header) :is(.filter-search-form,.filler-job-form) { background: transparent !important; }
html[data-theme-style="dark"] body :is(.fejer-search,.fejer-jobs) :is(.form-control,.choices__inner) { border: 1px solid #475b72 !important; border-radius: 8px !important; font-weight: 400; }
html[data-theme-style="dark"] body :is(.filter-search-form,.filler-job-form) > i { color: #abb8c8 !important; }
html[data-theme-style="dark"] body :is(.fejer-search,.fejer-jobs) .choices__list--single .choices__item { font-weight: 400; }
html[data-theme-style="dark"] body :is(.dropdown-menu,.fejer-theme-options,.choices__list--dropdown,.select2-dropdown) { box-shadow: 0 16px 40px #0005; }
html[data-theme-style="dark"] body :is(.job-box.card,.popu-category-box,.fejer-category-card,.blog-grid-box) { border-radius: 12px !important; box-shadow: none; border-color: #303e4e !important; }
html[data-theme-style="dark"] body :is(.job-box.card,.popu-category-box,.fejer-category-card,.blog-grid-box):hover { border-color: #536f8e !important; box-shadow: 0 4px 16px #0002; }
html[data-theme-style="dark"] body .job-box h3 { font-size: 19px; font-weight: 600; }
html[data-theme-style="dark"] body .job-box > .bg-light { background: #17212e !important; border-color: #303e4e; }
html[data-theme-style="dark"] body .job-box :is(.bg-soft-danger,.bg-soft-primary,.bg-soft-success) { background: #23354a !important; color: #b9d1ed !important; }
html[data-theme-style="dark"] body .job-list-menu { background: transparent !important; border-radius: 0; border-bottom: 1px solid #303e4e; padding: 0; gap: 24px; box-shadow: none; }
html[data-theme-style="dark"] body .job-list-menu .nav-link { border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0; padding: 14px 2px; font-weight: 500; }
html[data-theme-style="dark"] body .job-list-menu .nav-link:not(.active) { background: transparent !important; color: #abb8c8 !important; }
html[data-theme-style="dark"] body .job-list-menu .nav-link.active { background: transparent !important; color: var(--fejer-dark-link) !important; border-bottom-color: var(--fejer-dark-accent) !important; }
html[data-theme-style="dark"] body .job-list-menu .nav-link:not(.active):hover { color: #eaf0f7 !important; background: transparent !important; }
html[data-theme-style="dark"] body .process-menu .nav-link { background: #1b2531; color: #abb8c8; border-color: #303e4e; }
html[data-theme-style="dark"] body .process-menu.nav-pills .nav-link.active { background: #23354a !important; color: #eaf0f7 !important; border-color: #536f8e !important; }
html[data-theme-style="dark"] body .process-menu .number { background: #2a405a; color: var(--fejer-dark-link); }
html[data-theme-style="dark"] body .popular-box { background: #1b2531; border-color: #303e4e; border-radius: 6px; }
html[data-theme-style="dark"] body .popular-box :is(.h6,.number) { font-size: 13px; font-weight: 500; }
html[data-theme-style="dark"] body .popular-box .number { background: #23354a; color: var(--fejer-dark-link); }
html[data-theme-style="dark"] body .popular-box:hover { background: #23354a; border-color: #536f8e; }
html[data-theme-style="dark"] body #home.fejer-hero { border-bottom: 0; }
html[data-theme-style="dark"] body #home.fejer-hero h1 { font-weight: 600 !important; font-size: clamp(34px,4.3vw,56px); line-height: 1.12; max-width: 670px; }
html[data-theme-style="dark"] body #home.fejer-hero-with-image .fejer-hero-image::after { background: linear-gradient(0deg,#121922 0%,transparent 40%),linear-gradient(90deg,#121922eb 0%,#12192299 50%,#12192226 100%); }
html[data-theme-style="dark"] body #home.fejer-hero .treding-keywords a { background: #1b2531; border-color: #303e4e; border-radius: 6px; }
html[data-theme-style="dark"] body #home.fejer-hero .treding-keywords a:hover { background: #23354a; border-color: #536f8e; }
html[data-theme-style="dark"] body .section-title .title { font-weight: 600; font-size: clamp(25px,3vw,32px); }
html[data-theme-style="dark"] body .bg-subscribe { background: #1b2b3f !important; border-top: 1px solid #344b66; }
html[data-theme-style="dark"] body :is(.bg-footer,.footer-alt) { border-color: #293747; }
html[data-theme-style="dark"] body .fejer-jobs :is(.btn-check:checked + .btn,.map-views .btn.active) { background: #23354a !important; color: var(--fejer-dark-link) !important; border-color: #536f8e !important; }
@media (min-width: 1200px) {
    html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row { grid-template-columns: 1.15fr 1fr 1fr auto; align-items: center; }
    html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row > div:last-child { grid-column: auto; }
    html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row > div:last-child .col-6 { min-width: 0; }
    html[data-theme-style="dark"] body .fejer-jobs .job-list-header .btn { padding-inline: 14px; font-size: 13px; min-height: 56px; white-space: nowrap; }
}
@media (max-width: 767.98px) {
    html[data-theme-style="dark"] body :is(.page-title-box > .container,.fejer-jobs > .container-xl) { padding-inline: 20px; }
    html[data-theme-style="dark"] body .page-title-box { padding-block: 22px; }
    html[data-theme-style="dark"] body .job-list-menu { gap: 12px; }
    html[data-theme-style="dark"] body .job-list-menu .nav-link { font-size: 13px; }
    html[data-theme-style="dark"] body .fejer-search-fields { gap: 8px; }
}

/* Align title, breadcrumb and results to the same content grid. */
html[data-theme-style="dark"] body .page-content > .page-title-box { padding: 28px 0 24px; background-color: #121922 !important; background-blend-mode: multiply; }
html[data-theme-style="dark"] body .page-title-box > .container > .row > .col-md-6 { width: 100%; }
html[data-theme-style="dark"] body .page-title-box .text-center { text-align: start !important; }
html[data-theme-style="dark"] body .page-title-box .breadcrumb { justify-content: flex-start !important; }
html[data-theme-style="dark"] body .page-content > .page-title-box h1 { font-size: 30px; line-height: 1.25; }
html[data-theme-style="dark"] body .btn-primary :is(span,i) { color: inherit !important; }

html[data-theme-style="dark"] body .page-title-box > .container { max-width: 1240px !important; }
html[data-theme-style="dark"] body .fejer-search-fields { gap: 8px; }
html[data-theme-style="dark"] body :is(.menu > li.active > a,.menu > li > a.active) { color: #fff !important; }
html[data-theme-style="dark"] body .form-check-input:checked { background-color: var(--fejer-dark-action); border-color: var(--fejer-dark-accent); }
html[data-theme-style="light"] body :is(.language-switch,.language-wrapper) .dropdown-menu :is(a:hover,a:focus-visible,a.active,li:hover,li.active) { background: #303b47 !important; }

/* Account forms and header menus: override legacy Jobcy colors at equal specificity. */
html[data-theme-style="dark"] body .profile-content-nav.nav-pills .nav-item .nav-link {
    color: #abb8c8 !important; background: transparent !important;
}
html[data-theme-style="dark"] body .profile-content-nav.nav-pills .nav-item .nav-link.active {
    color: var(--fejer-dark-link) !important;
    background: transparent !important; border-bottom-color: var(--fejer-dark-accent);
}
html[data-theme-style="dark"] body :is(.profile-sidebar,.profile-content-page) {
    --bs-card-color: #eaf0f7; color: #eaf0f7;
}
html[data-theme-style="dark"] body .profile-sidebar .profile-contact a,
html[data-theme-style="dark"] body .profile-content-page a:not(.btn) { color: var(--fejer-dark-link); }
html[data-theme-style="dark"] body .profile-sidebar .profile-contact a:is(:hover,:focus-visible) { color: #fff; }
html[data-theme-style="dark"] body .profile-content-page .alert-info {
    color: #d5e6fa; background: #20364b; border-color: #42617e;
}
html[data-theme-style="dark"] body .profile-content-page .alert-warning {
    color: #f4deb2; background: #3b3021; border-color: #746044;
}
html[data-theme-style="dark"] body .profile-content-page :is(.alert-info,.alert-warning) .alert-heading { color: inherit !important; }
html[data-theme-style="dark"] body .profile-content-page .list-group-item {
    background: #151f2b; color: #eaf0f7; border-color: #303e4e;
}
html[data-theme-style="dark"] body .profile-content-page :is(.form-text,.text-secondary) { color: #abb8c8 !important; }
html[data-theme-style="dark"] body .select2-container .select2-selection__rendered { color: #eaf0f7 !important; }
html[data-theme-style="dark"] body .select2-container .select2-selection__placeholder { color: #abb8c8 !important; }
html[data-theme-style="dark"] body .tagify {
    --tags-border-color: #475b72; --tags-hover-border-color: #8fb8e6;
    --tags-focus-border-color: #8fb8e6; --tag-bg: #2a405a; --tag-hover: #35516f;
    --tag-text-color: #eaf0f7; --tag-remove-btn-color: #eaf0f7;
    --input-color: #eaf0f7; --placeholder-color: #abb8c8; --placeholder-color-focus: #abb8c8;
}
html[data-theme-style="dark"] body .tagify__dropdown__wrapper { background: #1b2531; color: #eaf0f7; border-color: #475b72; }
html[data-theme-style="dark"] body .tagify__dropdown__item--active { background: #2a405a; color: #fff; }
html[data-theme-style="dark"] body :is(.top-bar,#navbar) .dropdown-menu > li { background: transparent; }
html[data-theme-style="dark"] body :is(.top-bar,#navbar) .dropdown-menu .dropdown-item {
    background: transparent !important; color: #eaf0f7 !important;
    border-radius: 7px; text-transform: none; font-weight: 500;
}
html[data-theme-style="dark"] body :is(.top-bar,#navbar) .dropdown-menu .dropdown-item:is(:hover,:focus,:active,.active) {
    background: #2a405a !important; color: #fff !important;
}
html[data-theme-style="dark"] body :is(.top-bar,#navbar) .dropdown-menu .dropdown-item:focus-visible {
    outline: 2px solid #8fb8e6; outline-offset: -2px;
}

.fejer-bio-editor .ck-editor__editable_inline { min-height: 180px; max-height: 420px; }
html[data-theme-style="dark"] .fejer-bio-editor {
    --ck-color-base-background: #1b2531; --ck-color-base-foreground: #23354a;
    --ck-color-base-border: #475b72; --ck-color-text: #eaf0f7;
    --ck-color-toolbar-background: #1b2531; --ck-color-toolbar-border: #475b72;
    --ck-color-button-default-hover-background: #2a405a;
    --ck-color-button-on-background: #2a405a; --ck-color-button-on-color: #aecbed;
    --ck-color-focus-border: #8fb8e6;
}
html[data-theme-style="dark"] .fejer-bio-editor .ck-editor__editable { background: #151f2b; color: #eaf0f7; }

/* Keep account text editors free of the floating vendor badge. */
body:has(.fejer-simple-editor) .ck-powered-by-balloon { display: none !important; }

/* Job detail content uses legacy typography and may contain pasted inline colors. */
html[data-theme-style="dark"] body .job-detail-content,
html[data-theme-style="dark"] body .job-detail-content :is(p,li,span,div,strong,b,em,i,u,blockquote,td,th) {
    color: #dce5f0 !important; background-color: transparent !important;
}
html[data-theme-style="dark"] body .job-detail-content { line-height: 1.75; }
html[data-theme-style="dark"] body .job-detail-content a,
html[data-theme-style="dark"] body .job-detail-content a * { color: #aecbed !important; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme-style="dark"] body .job-detail-content a:is(:hover,:focus-visible) { color: #fff !important; }
html[data-theme-style="dark"] body .job-detail-content :is(blockquote,table,td,th) { border-color: #475b72 !important; }
html[data-theme-style="dark"] body .job-overview .icon.bg-soft-primary {
    background: #23354a !important; color: #aecbed !important;
}
html[data-theme-style="dark"] body .job-detail .bb-social-sharing .bb-social-sharing__item {
    border-color: #475b72; background: #23354a;
}
html[data-theme-style="dark"] body .job-detail .bb-social-sharing :is(a,button) { color: #aecbed !important; }
html[data-theme-style="dark"] body .job-detail .bb-social-sharing .bb-social-sharing__item:hover { background: #2a405a; border-color: #8fb8e6; }
html[data-theme-style="dark"] body .job-detail .job-bookmark-action { color: #aecbed; }

/* Saved opportunities: consistent filter bar and responsive cards. */
.fejer-saved-jobs { background: #f5f7fa; padding-block: 40px 64px; }
.fejer-saved-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.fejer-saved-heading h2 { font-size:26px; margin-bottom:8px; }
.fejer-saved-filters { display:flex; flex-direction:row; align-items:end; gap:16px; padding:24px; border:1px solid var(--fejer-line); border-radius:16px; }
.fejer-saved-filters > div { flex:1; min-width:0; }
.fejer-saved-filters .form-select { min-height:46px; }
.fejer-saved-count { margin:24px 0 14px; }
.fejer-saved-list { display:grid; gap:16px; }
.fejer-saved-card { display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:24px; padding:26px; border:1px solid var(--fejer-line); border-radius:16px; }
.fejer-saved-logo img { width:64px; height:64px; object-fit:contain; border-radius:12px; background:#fff; padding:6px; }
.fejer-saved-body h3 { font-size:20px; line-height:1.4; margin:0 0 12px; overflow-wrap:anywhere; }
.fejer-saved-body h3 a { color:var(--fejer-ink); }
.fejer-saved-meta { display:flex; flex-wrap:wrap; list-style:none; padding:0; gap:8px 20px; margin:0; color:var(--fejer-muted); font-size:14px; }
.fejer-saved-meta i { color:var(--fejer-green); }
.fejer-saved-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; }
.fejer-saved-tags span { background:#edf3f8; color:#244c71; padding:5px 10px; border-radius:6px; font-size:12px; }
.fejer-saved-actions { display:flex; flex-direction:column; justify-content:center; gap:10px; }
.fejer-saved-actions .btn { width:100%; font-size:13px; white-space:normal; }
.fejer-saved-empty { padding:48px 24px; align-items:center; text-align:center; border-radius:16px; }
.fejer-saved-empty > i { font-size:36px; color:var(--fejer-green); margin-bottom:16px; }
html[data-theme-style="dark"] body .fejer-saved-jobs { background:#121922; }
html[data-theme-style="dark"] body .fejer-saved-tags span { background:#23354a; color:#d5e6fa; }
html[data-theme-style="dark"] body .fejer-saved-actions .btn-outline-secondary { color:#c9d6e6; border-color:#475b72; background:transparent; }
html[data-theme-style="dark"] body .fejer-saved-actions .btn-outline-secondary:hover { background:#2a405a; color:#fff; }
@media(max-width:991.98px) {
 .fejer-saved-card { grid-template-columns:64px minmax(0,1fr); }
 .fejer-saved-actions { grid-column:2; flex-direction:row; justify-content:start; flex-wrap:wrap; }
 .fejer-saved-actions > .btn { width:auto; }
}
@media(max-width:575.98px) {
 .fejer-saved-heading { align-items:start; flex-direction:column; gap:16px; }
 .fejer-saved-filters { flex-direction:column; align-items:stretch; padding:18px; }
 .fejer-saved-card { padding:18px; gap:16px; grid-template-columns:48px minmax(0,1fr); }
 .fejer-saved-logo img { width:48px; height:48px; }
 .fejer-saved-body h3 { font-size:18px; }
 .fejer-saved-meta { flex-direction:column; }
 .fejer-saved-actions { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; }
}

@media(max-width:575.98px) { .fejer-saved-jobs > .container { padding-inline:16px; } }

/* Blog rich text must remain legible even when the editor stores inline colors. */
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content,
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content :is(p,li,span,div,strong,b,em,i,u,blockquote,td,th) {
    color: #dce5f0 !important; background-color: transparent !important;
}
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content { line-height: 1.75; }
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content a,
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content a * {
    color: #aecbed !important; text-decoration: underline; text-underline-offset: 3px;
}
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content a:is(:hover,:focus-visible),
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content a:is(:hover,:focus-visible) * { color: #fff !important; }
html[data-theme-style="dark"] body .fejer-blog .post-content .ck-content :is(blockquote,table,td,th) { border-color: #475b72 !important; }
html[data-theme-style="dark"] body .fejer-blog .bb-social-sharing .bb-social-sharing__item {
    border-color: #475b72; background: #23354a;
}
html[data-theme-style="dark"] body .fejer-blog .bb-social-sharing :is(a,button) { color: #aecbed !important; }
html[data-theme-style="dark"] body .fejer-blog .bb-social-sharing .bb-social-sharing__item:is(:hover,:focus-within) { background: #2a405a; border-color: #8fb8e6; }

/* Shared blog sidebar: categories, articles and tags. */
.fejer-blog .sidebar .sd-title { border-bottom: 0; }
.fejer-blog .sidebar .sd-title::before { display: none; }
.fejer-blog .sidebar .sd-title h6 { font-size: 17px !important; margin-bottom: 14px !important; }
.fejer-blog .sidebar .fejer-blog-category-links { display: grid; gap: 4px; }
.fejer-blog .sidebar .fejer-blog-category-links a {
    display: block; padding: 10px 12px; border-radius: 8px; color: #24415b;
    line-height: 1.45; overflow-wrap: anywhere; transition: background-color .15s;
}
.fejer-blog .sidebar .fejer-blog-category-links a:is(:hover,:focus-visible,[aria-current="page"]) {
    background: #eaf1f8; color: #052b55; font-weight: 600;
}
.fejer-blog .sidebar a:focus-visible { outline: 2px solid #719bc5; outline-offset: 2px; }
.fejer-blog .sidebar .widget-popular-post .text-truncate { white-space: normal; overflow: visible; min-width: 0; }
.fejer-blog .sidebar .widget-popular-post a { display: block; line-height: 1.5; overflow-wrap: anywhere; font-weight: 600; }
.fejer-blog .sidebar .widget-popular-post-img { width: 64px; height: 64px; flex-shrink: 0; object-fit: cover; }
.fejer-blog .sidebar .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.fejer-blog .sidebar .tagcloud a { margin: 0 !important; padding: 9px 12px; white-space: normal; line-height: 1.4; background: #edf3f8; color: #24415b; border: 1px solid #dbe4ed; border-radius: 8px; }
html[data-theme-style="dark"] body .fejer-blog .sidebar > div + div,
html[data-theme-style="dark"] body .fejer-blog .sidebar .border-bottom { border-color: #303e4e !important; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .fejer-blog-category-links a { color: #dce5f0 !important; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .fejer-blog-category-links a:is(:hover,:focus-visible,[aria-current="page"]) { background: #2a405a; color: #fff !important; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .widget-popular-post a { color: #dce5f0 !important; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .widget-popular-post a:hover { color: #aecbed !important; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .tagcloud a { background: #23354a; color: #dce5f0 !important; border-color: #475b72; }
html[data-theme-style="dark"] body .fejer-blog .sidebar .tagcloud a:is(:hover,:focus-visible) { background: #2a405a; color: #fff !important; }

/* Jobs search: readable hierarchy and spacious, consistent result cards. */
.page-content:has(.fejer-jobs) > .page-title-box { padding-block: 26px; }
.page-content:has(.fejer-jobs) > .page-title-box h1 { font-size: 30px; }
.fejer-jobs .job-list-header { padding: 24px; border-radius: 16px; margin-bottom: 24px; }
.fejer-search-heading { margin-bottom: 20px; }
.fejer-search-heading h2 { font-size: 21px; margin: 0 0 6px; }
.fejer-search-heading p { font-size: 14px; color: var(--fejer-muted); margin: 0; }
.fejer-search-label { display: block; font-size: 13px; font-weight: 600; color: var(--fejer-ink); margin-bottom: 8px; }
.fejer-jobs .fejer-job-search-row,
html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row { grid-template-columns: 1.15fr 1fr 1fr; align-items: end; gap: 16px; }
.fejer-jobs .fejer-job-search-row > div:last-child,
html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row > div:last-child { grid-column: 1 / -1; }
.fejer-jobs .fejer-job-search-row > div:last-child > .row { justify-content: flex-start; gap: 10px; margin: 0; }
.fejer-jobs .fejer-job-search-row > div:last-child .col-6 { min-width: 170px; padding: 0; }
.fejer-jobs .job-list-header .btn,
html[data-theme-style="dark"] body .fejer-jobs .job-list-header .btn { min-height: 46px; padding-inline: 18px !important; font-size: 14px; border-radius: 9px; }
.fejer-jobs .widget-popular-title { margin: 0 0 22px !important; }
.fejer-jobs .widget-popular-title h2 { font-size: 13px; color: var(--fejer-muted); margin-bottom: 10px; }
.fejer-jobs .widget-popular-title .list-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.fejer-jobs .widget-popular-title .list-inline-item { margin: 0; max-width: 100%; }
.fejer-jobs .popular-box { padding: 7px 12px; border-radius: 20px !important; box-shadow: none; }
.fejer-jobs .popular-box .number { width: auto; height: auto; min-width: 22px; padding: 2px 5px; line-height: 20px; border-radius: 6px; font-size: 12px; }
.fejer-jobs .popular-box .h6 { font-size: 13px !important; font-weight: 500; overflow-wrap: anywhere; }
.fejer-jobs .popular-box[data-selected] { border-color: #6389ad; background: #eaf2fa; }
.fejer-results-toolbar { align-items: center; padding-bottom: 4px; }
.fejer-jobs .showing-of-results { font-size: 14px; font-weight: 600; }
.fejer-map-title { font-size: 15px; margin: 0 0 14px; padding-top: 11px; }
.fejer-jobs .job-box { transition: border-color .15s, box-shadow .15s; }
.fejer-jobs .job-box:hover { transform: none; border-color: #9cb3c9; box-shadow: 0 6px 20px #152d4510; }
.fejer-jobs .fejer-opportunity { margin-top: 16px !important; border-radius: 14px; overflow: hidden; }
.fejer-jobs .fejer-opportunity-main { padding: 24px !important; }
.fejer-jobs .fejer-opportunity-layout { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px 18px; margin: 0; }
.fejer-jobs .fejer-opportunity-layout > div { width: auto; padding: 0; min-width: 0; }
.fejer-jobs .fejer-opportunity-logo { grid-column: 1; grid-row: 1 / 4; align-self: start; }
.fejer-jobs .fejer-opportunity-logo .text-center { margin: 0 !important; }
.fejer-jobs .fejer-opportunity-logo img { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 4px; }
.fejer-jobs .fejer-opportunity-title { grid-column: 2; padding-right: 14px !important; }
.fejer-jobs .fejer-opportunity-title h3 { font-size: 20px !important; line-height: 1.4; margin-bottom: 6px !important; }
.fejer-jobs .fejer-opportunity-location { grid-column: 2; }
.fejer-jobs .fejer-opportunity-location .d-flex { margin-bottom: 0 !important; }
.fejer-jobs .fejer-opportunity-location p { font-size: 14px; }
.fejer-jobs .fejer-opportunity-salary { grid-column: 2; font-size: 15px; font-weight: 600; }
.fejer-jobs .fejer-opportunity-salary p { margin: 0 !important; }
.fejer-jobs .fejer-opportunity-types { grid-column: 2; }
.fejer-jobs .fejer-opportunity-types .text-md-end { text-align: left !important; }
.fejer-jobs .fejer-opportunity-types .badge { font-size: 12px !important; padding: 6px 10px; font-weight: 500; background: #edf3f8; color: #244c71; }
.fejer-jobs .fejer-opportunity-main .job-applied-count { position: static; text-align: right; margin-bottom: 12px; font-size: 12px; }
.fejer-jobs .fejer-opportunity-footer { padding: 16px 24px !important; border-top: 1px solid var(--fejer-line); }
.fejer-jobs .fejer-opportunity-footer > .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.fejer-jobs .fejer-opportunity-footer > .row > div { width: auto; padding: 0; min-width: 0; }
.fejer-jobs .fejer-opportunity-footer .d-flex { flex-wrap: wrap; gap: 8px; font-size: 12px; }
.fejer-jobs .fejer-opportunity-footer .ms-4 { margin-left: 0 !important; }
.fejer-jobs .fejer-opportunity-footer .primary-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; min-height: 36px; }
.fejer-jobs .fejer-opportunity-grid { height: calc(100% - 24px); }
.fejer-jobs .fejer-opportunity-grid > .p-2 { padding: 20px !important; flex: 1; }
.fejer-jobs .fejer-opportunity-grid > .p-2 > .row { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; margin: 0; }
.fejer-jobs .fejer-opportunity-grid > .p-2 > .row > div { width: auto; padding: 0; }
.fejer-jobs .fejer-opportunity-grid h3 { font-size: 18px !important; line-height: 1.45; }
.fejer-jobs .fejer-opportunity-grid .list-inline-item { display: block; margin: 6px 0; }
html[data-theme-style="dark"] body .fejer-jobs .fejer-search-label { color: #dce5f0; }
html[data-theme-style="dark"] body .fejer-jobs .fejer-search-heading p { color: #abb8c8; }
html[data-theme-style="dark"] body .fejer-jobs .popular-box[data-selected] { background: #2a405a; border-color: #6389ad; }
html[data-theme-style="dark"] body .fejer-jobs .fejer-opportunity-footer { border-color: #303e4e; }
.fejer-jobs :is(a,button,.btn-check + label):focus-visible { outline: 2px solid #719bc5; outline-offset: 3px; }
@media(max-width:767.98px) {
 .fejer-jobs .fejer-job-search-row,
 html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row { grid-template-columns: 1fr; gap: 14px; }
 .fejer-jobs .job-list-header { padding: 20px; }
 .fejer-jobs .fejer-job-search-row > div:last-child .col-6 { flex: 1 1 100%; min-width: 0; }
 .fejer-jobs .fejer-opportunity-main { padding: 18px !important; }
 .fejer-jobs .fejer-opportunity-layout { grid-template-columns: 44px minmax(0,1fr); gap: 10px 14px; }
 .fejer-jobs .fejer-opportunity-logo img { width: 44px; height: 44px; }
 .fejer-jobs .fejer-opportunity-title h3 { font-size: 18px !important; }
 .fejer-jobs .fejer-opportunity-footer { padding: 14px 18px !important; }
 .fejer-jobs .fejer-opportunity-footer > .row > div:last-child { margin-left: auto; }
 .fejer-results-toolbar > .col-8 { width: 55%; }
 .fejer-results-toolbar > .col-4 { width: 45%; }
}
@media(prefers-reduced-motion:reduce) { .fejer-jobs .job-box { transition: none; } }

@media(min-width:1200px) {
 .fejer-jobs .fejer-job-search-row,
 html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row { grid-template-columns: 1.1fr 1fr 1fr 190px; align-items: end; }
 .fejer-jobs .fejer-job-search-row > div:last-child,
 html[data-theme-style="dark"] body .fejer-jobs .fejer-job-search-row > div:last-child { grid-column: auto; }
 .fejer-jobs .fejer-job-search-row > div:last-child .col-6 { width: 100%; min-width: 0; }
 .fejer-jobs .fejer-job-search-row > div:last-child > .row { gap: 6px; }
 .fejer-jobs .job-list-header .btn,
 html[data-theme-style="dark"] body .fejer-jobs .job-list-header .btn { min-height: 38px; padding-block: 7px; }
}

.fejer-jobs .fejer-opportunity-layout { grid-template-columns: 56px minmax(0,1fr) auto; }
.fejer-jobs .fejer-opportunity-layout > div { width: auto !important; margin-top: 0 !important; }
.fejer-jobs .fejer-opportunity-title { grid-column: 2 / -1; }
.fejer-jobs .fejer-opportunity-salary { grid-column: 3; grid-row: 2; }
.fejer-jobs .fejer-opportunity-types { grid-column: 2 / -1; }
.fejer-jobs .fejer-opportunity-main .job-applied-count { display: flex; justify-content: flex-end; gap: 4px; float: none; }
@media(max-width:575.98px) {
 .fejer-jobs .fejer-opportunity-layout { grid-template-columns: 44px minmax(0,1fr); }
 .fejer-jobs .fejer-opportunity-salary { grid-column: 2; grid-row: auto; }
}

.fejer-jobs > .container-xl { max-width: 1232px; padding-inline: 24px; }
.fejer-jobs .popular-box { border: 1px solid var(--fejer-line); }
@media(max-width:575.98px) { .fejer-jobs > .container-xl { padding-inline: 16px; } }

.fejer-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fejer-search-reset { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
html:not([data-theme-style="dark"]) .fejer-jobs .fejer-opportunity :is(.fejer-opportunity-salary .text-primary,.fejer-opportunity-location .text-primary) { color: #244c71 !important; }

/* Offer page: unified identity, structured content, dedicated application rail. */
.fejer-job-detail { --offer-surface:#fff; --offer-bg:#f4f6f9; --offer-line:#e2e7ee; --offer-text:#172e43; --offer-muted:#617184; --offer-link:#275d98; background:var(--offer-bg); padding:24px 0 64px; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--offer-text); }
html[data-theme-style="dark"] body .fejer-job-detail { --offer-surface:#1b2531; --offer-bg:#121922; --offer-line:#303e4e; --offer-text:#eaf0f7; --offer-muted:#abb8c8; --offer-link:#aecbed; background:var(--offer-bg); }
.fejer-job-detail :is(h1,h2,h3,h4,h5,h6) { font-family:inherit; font-weight:650; color:var(--offer-text); }
.fejer-job-detail > .container { max-width:1232px; padding-inline:24px; }
.page-content:has(.fejer-job-detail) > .page-title-box { padding-block:18px !important; background:#f4f6f9; }
.fejer-detail-back { display:inline-flex; align-items:center; gap:8px; color:var(--offer-muted); font-size:13px; margin-bottom:20px; }
.fejer-detail-back i { font-size:18px; }
.fejer-job-detail .job-detail.card { background:transparent !important; border:0 !important; border-radius:0; box-shadow:none; overflow:visible !important; }
.fejer-offer-hero { background:var(--offer-surface); border-radius:10px; padding:28px; }
.fejer-offer-cover { width:calc(100% + 56px); max-width:none !important; max-height:180px; object-fit:cover !important; margin:-28px -28px 24px; border-radius:10px 10px 0 0; }
.fejer-offer-identity { display:flex; align-items:center; gap:22px; }
.fejer-offer-identity > div { min-width:0; }
.fejer-job-detail .fejer-offer-logo { width:88px; height:88px; padding:10px; background:#fff; border:1px solid #e2e7ee; border-radius:8px; object-fit:contain; flex-shrink:0; }
.fejer-offer-identity h1 { font-size:clamp(23px,2.4vw,30px); line-height:1.3; letter-spacing:-.5px; margin:0 0 10px; overflow-wrap:anywhere; }
.fejer-offer-company { display:inline-flex; align-items:center; gap:8px; color:var(--offer-link); font-size:14px; line-height:1.6; }
.fejer-offer-meta { display:grid; grid-template-columns:1fr 1fr; list-style:none; margin:26px 0 0; padding:0; gap:0 24px; }
.fejer-offer-meta li { display:flex; gap:10px; align-items:baseline; font-size:13px; line-height:1.65; padding:12px 0; border-top:1px solid var(--offer-line); min-width:0; }
.fejer-offer-meta li > i { color:var(--offer-link); font-size:18px; flex-shrink:0; }
.fejer-offer-meta a { color:var(--offer-text); font-weight:500; }
.fejer-job-detail .job-detail > .card-body { padding:0 !important; }
.fejer-detail-heading { align-items:center; margin:0; padding:14px 4px 0; }
.fejer-detail-heading > .col-md-8 { flex:1; width:auto; min-width:0; }
.fejer-detail-heading > .col-lg-4 { width:auto; }
.fejer-detail-heading .list-inline { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:12px; }
.fejer-detail-heading .list-inline-item { margin:0; }
.fejer-detail-actions { padding:16px 0 0; }
.fejer-detail-actions > div,.fejer-detail-actions .btn { margin-top:0 !important; }
.fejer-job-detail .btn { min-height:48px; padding:12px 18px; border-radius:6px; font:600 14px/1.5 system-ui,sans-serif; white-space:normal; }
.fejer-job-detail .btn-hover:hover { transform:none; }
.fejer-detail-facts { background:var(--offer-surface); padding:24px 28px; border-radius:10px; margin-top:20px !important; }
.fejer-detail-facts > h2 { font-size:19px; margin-bottom:18px; }
.fejer-detail-facts .row { --bs-gutter-x:24px; --bs-gutter-y:16px; }
.fejer-detail-facts .row > div > .border { background:transparent; border:0 !important; border-radius:0 !important; padding:0 !important; }
.fejer-detail-facts .text-muted { font-size:12px; margin-bottom:5px !important; color:var(--offer-muted) !important; }
.fejer-detail-facts .fw-medium { font-size:14px; line-height:1.6; color:var(--offer-text); }
.fejer-offer-content { display:block; background:var(--offer-surface); border-radius:10px; margin-top:20px; padding:26px 28px; }
.fejer-detail-description { margin-top:0 !important; scroll-margin-top:110px; }
.fejer-detail-description h2 { font-size:21px; }
.fejer-job-detail .job-detail-desc p { font-size:15px; line-height:1.8; color:var(--offer-text) !important; }
.fejer-job-detail .job-detail-content { font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.fejer-job-detail .job-detail-content :is(h2,h3,h4) { margin:28px 0 14px; padding-top:24px; border-top:1px solid var(--offer-line); font-size:20px; line-height:1.4; }
.fejer-job-detail .job-detail-content :is(p,ul,ol) { margin-bottom:16px; }
.fejer-job-detail .job-detail-content li { margin-bottom:8px; }
.fejer-job-detail .job-detail-content img { max-width:100%; height:auto; }
.fejer-job-detail .side-bar { margin-left:0 !important; }
.fejer-job-detail .side-bar .card { background:var(--offer-surface) !important; border:0 !important; border-radius:10px; box-shadow:none; }
.fejer-job-detail .side-bar .card-body { padding:26px !important; }
.fejer-offer-pay-label { font-size:13px; color:var(--offer-muted); margin:0 0 8px; }
.fejer-job-detail .job-overview h2.fejer-offer-pay { font-size:26px; line-height:1.35; margin:0 0 24px; }
.fejer-detail-sidebar-action > div,.fejer-detail-sidebar-action .btn { margin-top:0 !important; }
.fejer-job-detail .job-overview ul { margin-top:24px !important; }
.fejer-job-detail .job-overview li { padding:15px 0; border-top:1px solid var(--offer-line); }
.fejer-job-detail .job-overview li:last-child { padding-bottom:0; }
.fejer-job-detail .job-overview li > .d-flex { margin-top:0 !important; }
.fejer-job-detail .job-overview .icon { display:none; }
.fejer-job-detail .job-overview li .ms-3 { margin-left:0 !important; min-width:0; overflow-wrap:anywhere; }
.fejer-job-detail .job-overview h3 { font-size:12px !important; font-weight:400; color:var(--offer-muted); margin-bottom:6px !important; }
.fejer-job-detail .job-overview li :is(p,span) { font-size:14px; line-height:1.65; color:var(--offer-text) !important; }
.fejer-job-detail .company-profile .card-body > .text-center { text-align:left !important; }
.fejer-job-detail .company-profile .card-body > .text-center > img { display:none; }
.fejer-job-detail .company-profile .card-body > .text-center > div { margin-top:0 !important; }
.fejer-job-detail .company-profile h3 { font-size:16px !important; line-height:1.5; }
.fejer-job-detail .company-profile .btn { background:transparent !important; color:var(--offer-link); border:1px solid var(--offer-line); }
.fejer-job-detail .job-board-street-map-container { border-radius:10px; overflow:hidden; }
.fejer-job-detail :is(a,button):focus-visible { outline:2px solid #719bc5; outline-offset:3px; }
@media(max-width:575.98px) {
 .fejer-job-detail > .container { padding-inline:16px; }
 .fejer-offer-hero,.fejer-detail-facts,.fejer-offer-content { padding:20px; }
 .fejer-offer-identity { align-items:start; gap:14px; }
 .fejer-job-detail .fejer-offer-logo { width:56px; height:56px; padding:5px; }
 .fejer-offer-identity h1 { font-size:22px; }
 .fejer-offer-meta { grid-template-columns:1fr; margin-top:20px; }
 .fejer-offer-cover { width:calc(100% + 40px); margin:-20px -20px 20px; }
 .fejer-detail-facts .col-lg-6 { width:50%; }
 .fejer-detail-heading > .col-lg-4 ul { margin-top:0 !important; }
}

/* Company profile uses the cover uploaded in company settings. */
.fejer-company-detail .fejer-company-cover {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
}
.fejer-company-detail .fejer-company-cover img {
    display: block;
    width: 100%;
    height: clamp(180px, 25vw, 320px);
    object-fit: cover;
    object-position: center;
}
@media (max-width: 575.98px) {
    .fejer-company-detail .fejer-company-cover { margin-bottom: 20px; border-radius: 10px; }
    .fejer-company-detail .fejer-company-cover img { height: 180px; }
}

/* Fixed ratio keeps the editor crop identical on company and job pages. */
.fejer-offer-cover, .fejer-company-detail .fejer-company-cover { aspect-ratio: 96 / 25; overflow: hidden; }
.fejer-offer-cover { max-height: none; }
.fejer-offer-cover img, .fejer-company-detail .fejer-company-cover img {
    display: block; width: 100%; height: 100%; max-width: none; object-fit: cover !important;
}

.fejer-offer-cover, .fejer-company-detail .fejer-company-cover { position:relative; }
.fejer-offer-cover img, .fejer-company-detail .fejer-company-cover img { position:absolute; inset:0; }
