:root {
	--jm-theme-canvas: #ffffff;
	--jm-theme-surface: #ffffff;
	--jm-theme-surface-soft: #f6f8fb;
	--jm-theme-surface-raised: #ffffff;
	--jm-theme-text: #1e1f21;
	--jm-theme-text-soft: #667085;
	--jm-theme-border: #dfe5ec;
	--jm-theme-shadow: rgba(16, 35, 63, 0.12);
}

html[data-jobmarkt-theme="dark"] {
	--jm-theme-canvas: #0b1018;
	--jm-theme-surface: #111925;
	--jm-theme-surface-soft: #172231;
	--jm-theme-surface-raised: #1c2939;
	--jm-theme-text: #edf3fa;
	--jm-theme-text-soft: #aebdcd;
	--jm-theme-border: #304156;
	--jm-theme-shadow: rgba(0, 0, 0, 0.38);
}

.jobmarkt-theme-switcher {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 100%;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: 700 13px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.jobmarkt-theme-switcher:hover,
.jobmarkt-theme-switcher:focus-visible {
	background: rgba(15, 128, 227, 0.08);
	color: #0f80e3;
	outline: 3px solid rgba(15, 128, 227, 0.28);
	outline-offset: -3px;
}

.jobmarkt-theme-switcher__icon {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	background: transparent;
	color: inherit;
	font-size: 23px;
	line-height: 1;
}

.jobmarkt-theme-switcher__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jobmarkt-theme-switcher__icon--sun,
html[data-jobmarkt-theme="dark"] .jobmarkt-theme-switcher__icon--moon {
	display: none;
}

html[data-jobmarkt-theme="dark"] .jobmarkt-theme-switcher {
	background: transparent;
	box-shadow: none;
	color: #edf3fa;
}

html[data-jobmarkt-theme="dark"] .jobmarkt-theme-switcher__icon--sun {
	display: grid;
	background: transparent;
	color: #f7c948;
}

html[data-jobmarkt-theme="dark"],
html[data-jobmarkt-theme="dark"] body {
	background: var(--jm-theme-canvas);
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] body,
html[data-jobmarkt-theme="dark"] #main-content,
html[data-jobmarkt-theme="dark"] .site-main,
html[data-jobmarkt-theme="dark"] .page-content,
html[data-jobmarkt-theme="dark"] .cariera-section-padding,
html[data-jobmarkt-theme="dark"] .main-footer,
html[data-jobmarkt-theme="dark"] .footer-widget-area,
html[data-jobmarkt-theme="dark"] .copyright-bar {
	background-color: var(--jm-theme-canvas);
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] .cariera-main-header,
html[data-jobmarkt-theme="dark"] .main-header,
html[data-jobmarkt-theme="dark"] .header-container,
html[data-jobmarkt-theme="dark"] .mobile-header,
html[data-jobmarkt-theme="dark"] .mm-menu,
html[data-jobmarkt-theme="dark"] .dropdown-menu,
html[data-jobmarkt-theme="dark"] .sub-menu {
	border-color: var(--jm-theme-border);
	background-color: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] :where(h1, h2, h3, h4, h5, h6),
html[data-jobmarkt-theme="dark"] :where(p, li, dt, dd, label, legend),
html[data-jobmarkt-theme="dark"] :where(.entry-title, .page-title, .widget-title, .listing-title, .company-title, .resume-title),
html[data-jobmarkt-theme="dark"] :where(.main-menu, .main-menu a, .menu-item > a, .footer-widget, .footer-widget a) {
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] :where(.text-muted, .meta, .listing-meta, .job-meta, .company-meta, .resume-meta, small) {
	color: var(--jm-theme-text-soft) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.widget,
	.card,
	.box,
	.panel,
	.modal-content,
	.dropdown-menu,
	.job_listing,
	.resume,
	.company,
	.blog-post,
	.post-content,
	.single-job-overview,
	.single-company-overview,
	.single-resume-overview,
	.dashboard-content,
	.dashboard-card,
	.woocommerce-MyAccount-content,
	.woocommerce-MyAccount-navigation,
	.woocommerce-cart-form,
	.cart_totals,
	.woocommerce-checkout-review-order,
	.job-manager-form,
	.job_filters,
	.resume_filters,
	.company_filters,
	.select2-dropdown,
	.select2-container--default .select2-selection--single,
	.select2-container--default .select2-selection--multiple,
	.elementor-accordion-item,
	.jobmarkt-content-contact-lock
) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 10px 28px var(--jm-theme-shadow);
}

html[data-jobmarkt-theme="dark"] :where(
	input:not([type="submit"]):not([type="button"]):not([type="reset"]),
	textarea,
	select,
	.select2-search__field,
	.select2-selection__rendered
) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(input, textarea)::placeholder {
	color: #8fa0b4 !important;
	opacity: 1;
}

html[data-jobmarkt-theme="dark"] :where(table, th, td) {
	border-color: var(--jm-theme-border) !important;
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] :where(th, thead td) {
	background-color: var(--jm-theme-surface-soft) !important;
}

html[data-jobmarkt-theme="dark"] :where(tr:nth-child(even), .alt) {
	background-color: rgba(255, 255, 255, 0.025);
}

html[data-jobmarkt-theme="dark"] :where(.elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap) {
	border-color: var(--jm-theme-border);
}

html[data-jobmarkt-theme="dark"] :where(.elementor-widget-text-editor, .elementor-widget-heading, .elementor-tab-content, .elementor-accordion-content) {
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] :where(.elementor-tab-title, .elementor-accordion-title) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface-soft);
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jobmarkt-social-community,
html[data-jobmarkt-theme="dark"] .jm-services-gateway,
html[data-jobmarkt-theme="dark"] .jm-app-home {
	background-color: var(--jm-theme-canvas) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jobmarkt-social-community__inner, .jobmarkt-social-community__stat, .jm-services-group, .jm-services-card, .jm-app-feature, .jm-card) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 12px 30px var(--jm-theme-shadow);
}

html[data-jobmarkt-theme="dark"] :where(.jobmarkt-social-community h2, .jobmarkt-social-community__stat strong, .jobmarkt-social-community__stat span) {
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] .jobmarkt-social-community__copy > p:not(.jobmarkt-social-community__eyebrow) {
	color: var(--jm-theme-text-soft);
}

html[data-jobmarkt-theme="dark"] .jm-jobsie__panel {
	border-color: var(--jm-theme-border);
	background: var(--jm-theme-surface);
	color: var(--jm-theme-text);
}

html[data-jobmarkt-theme="dark"] :where(.jm-jobsie__messages, .jm-jobsie__status, .jm-jobsie__form, .jm-jobsie__starter-action, .jm-jobsie__bubble) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-jobsie__message--user .jm-jobsie__bubble {
	border-color: #0f80e3 !important;
	background: #0f80e3 !important;
	color: #ffffff !important;
}

html[data-jobmarkt-theme="dark"] :where(.woocommerce-message, .woocommerce-info, .woocommerce-error, .alert, .notice) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(a:not(.button):not(.elementor-button):not(.jm-jobsie__launcher)) {
	text-decoration-color: currentColor;
}

html[data-jobmarkt-theme="dark"] :where(a:hover, a:focus-visible) {
	color: #55b2ff;
}

html[data-jobmarkt-theme="dark"] .cariera-main-header :where(.main-menu > li > a, .extra-menu-item > a) {
	color: #dce7f3 !important;
}

html[data-jobmarkt-theme="dark"] .cariera-main-header :where(.main-menu > li.current-menu-item > a, .main-menu > li > a:hover, .extra-menu-item > a:hover) {
	color: #55b2ff !important;
}

html[data-jobmarkt-theme="dark"] .cariera-main-header .header-cta {
	background: #0f80e3 !important;
	color: #ffffff !important;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module {
	background:
		radial-gradient(circle at 18% 18%, rgba(15, 128, 227, 0.24), transparent 30%),
		radial-gradient(circle at 78% 20%, rgba(70, 133, 196, 0.18), transparent 28%),
		radial-gradient(circle at 68% 78%, rgba(53, 214, 180, 0.12), transparent 30%),
		linear-gradient(135deg, #0b111a 0%, #101c2b 48%, #0b111a 100%) !important;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-home-hero {
	color: #edf3fa;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-home-hero::before {
	background:
		radial-gradient(circle, rgba(85, 178, 255, 0.18) 1.3px, transparent 1.7px) 0 0 / 30px 30px,
		radial-gradient(circle, rgba(53, 214, 180, 0.12) 1px, transparent 1.5px) 15px 15px / 42px 42px,
		linear-gradient(115deg, rgba(18, 29, 44, 0.7), rgba(9, 15, 24, 0.2));
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-home-hero::after {
	border-color: rgba(174, 205, 235, 0.16);
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-hero-copy h1 {
	color: #f5f8fc;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-hero-copy p {
	color: #b5c4d5;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-underline::after {
	background: linear-gradient(90deg, rgba(55, 142, 229, 0.62), rgba(53, 214, 180, 0.42));
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-cta-alt {
	border-color: #3b4d63;
	background: rgba(23, 34, 49, 0.92);
	color: #edf3fa;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-node-card {
	border-color: #60748c;
	background: linear-gradient(180deg, rgba(27, 41, 58, 0.98), rgba(17, 27, 40, 0.96));
	box-shadow: 9px 10px 0 rgba(15, 128, 227, 0.16), 0 20px 40px rgba(0, 0, 0, 0.34);
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-node-card b {
	color: #f1f6fb;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-node-card span {
	color: #9fb0c3;
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-route-shadow {
	stroke: rgba(0, 0, 0, 0.42);
}

html[data-jobmarkt-theme="dark"] #SR7_2_1.jobmarkt-home-hero-module .jobmarkt-route-highlight {
	stroke: rgba(218, 238, 255, 0.82);
}

html[data-jobmarkt-theme="dark"] img {
	color-scheme: normal;
}

/* Shared page chrome and listing directories. */
html[data-jobmarkt-theme="dark"] :where(.wrapper, section.page-header, .page-header, .entry-header) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.page-header h1, .page-header h2, .page-header p, .page-header .breadcrumb, .page-header .breadcrumb a) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.job_filters .search_jobs,
	.job_filters .advanced-search-filters,
	.job_filters .job_types,
	.resume_filters .search_resumes,
	.company_filters .search_companies,
	.location-extra-fields,
	.showing_jobs,
	.showing_companies,
	.showing_resumes,
	#advance-search
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.job_listing .job-company,
	.company .company-logo,
	.company .company-info,
	.resume .candidate-photo,
	.listing-wrapper,
	.single-job-overview,
	.single-company-overview,
	.single-resume-overview,
	.jobmarkt-translator,
	.navigation.post-navigation,
	.jmam-ad
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.job_listing, .company, .resume, .job_listing a, .company a, .resume a) {
	color: var(--jm-theme-text) !important;
}

/* Submission, account and rich-text forms. */
html[data-jobmarkt-theme="dark"] :where(
	.cariera-listing-submission,
	.submit-listing-box,
	.field.account-sign-in,
	.job_listing_packages_title,
	.job-manager-message,
	.mce-panel,
	.mce-container,
	.mce-toolbar-grp,
	.mce-statusbar,
	.wp-editor-container,
	.jm-form-progress
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.job-manager-message.error, .woocommerce-error) {
	border-color: #7f3540 !important;
	background: #321b23 !important;
}

html[data-jobmarkt-theme="dark"] :where(.job-manager-message.generic, .woocommerce-info, .woocommerce-message) {
	border-color: #285c82 !important;
	background: #122b3f !important;
}

/* Packages and marketplace services. */
html[data-jobmarkt-theme="dark"] .jm-packages {
	--jm-text: var(--jm-theme-text);
	--jm-muted: var(--jm-theme-text-soft);
	background: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-packages__section, .jm-tailored__buy-box, .jm-package__bottom, .jm-package__audience, .jm-toggle) {
	border-color: var(--jm-theme-border) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-usp, .jm-tailored__usp, .jm-package, .jm-result__row) {
	border-color: var(--jm-theme-border) !important;
	background: linear-gradient(180deg, #172334 0%, #111925 100%) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 14px 34px var(--jm-theme-shadow) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-packages__eyebrow, .jm-packages__section-eyebrow, .jm-usp__icon, .jm-tailored__usp-icon, .jm-feature-icon) {
	border-color: #31506d !important;
	background: #172c40 !important;
	color: #6ec1ff !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.jm-package__title,
	.jm-package__description,
	.jm-feature-text,
	.jm-feature-text strong,
	.jm-package__audience strong,
	.jm-package__audience span,
	.jm-form__label,
	.jm-slider-value,
	.jm-result__row span,
	.jm-result__row strong,
	.jm-result__includes li,
	.jm-tailored__usp-text
) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-package__subtitle, .jm-packages__header p, .jm-packages__section-intro, .jm-form__help, .jm-tailored__buy-note) {
	color: var(--jm-theme-text-soft) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.jm-services-panel,
	.jm-services-message,
	.jm-marketplace-filters,
	.jm-marketplace-card,
	.jm-request-card,
	.jm-service-card
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 14px 34px var(--jm-theme-shadow) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-marketplace-privacy, .jm-services-panel p, .jm-services-panel small) {
	color: var(--jm-theme-text-soft) !important;
}

/* Magazine and editorial cards. */
html[data-jobmarkt-theme="dark"] .jm-magazine {
	background: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-mag-card, .jm-mag-company, .jm-mag-cats a, .jm-mag-topnav a) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 14px 34px var(--jm-theme-shadow) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-mag-card h3, .jm-mag-company h3, .jm-mag-section__head h2, .jm-mag-bottom h2) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-mag-card p, .jm-mag-company p, .jm-mag-card__meta) {
	color: var(--jm-theme-text-soft) !important;
}

/* WooCommerce surfaces. Product photography deliberately stays unchanged. */
html[data-jobmarkt-theme="dark"] :where(
	.woocommerce,
	.woocommerce-page,
	.woocommerce div.product,
	.woocommerce ul.products li.product,
	.woocommerce-cart-form,
	.cart_totals,
	.woocommerce-checkout,
	.woocommerce-checkout-review-order,
	.woocommerce-billing-fields,
	.woocommerce-shipping-fields,
	.woocommerce-account-fields,
	.woocommerce-MyAccount-navigation,
	.woocommerce-MyAccount-content
) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.woocommerce table.shop_table, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.woocommerce a, .woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce label, .woocommerce table.shop_table td, .woocommerce table.shop_table th) {
	color: var(--jm-theme-text);
}

/* Bespoke public modules and dashboards. */
html[data-jobmarkt-theme="dark"] :where(
	.jm-dashboard,
	.jm-home-directory,
	.jm-demo,
	.jm-demo__chapter,
	.jm-demo__section,
	.jm-demo__browser,
	.jm-traffic__card,
	.jm-traffic__total,
	.jm-traffic__metric,
	.ref-logo-box
) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-scene, .jm-screen) {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface-soft) !important;
}

/* Elementor pages often carry explicit white section backgrounds. */
html[data-jobmarkt-theme="dark"] :where(.elementor > .e-con, .elementor > .elementor-section, .e-con-inner) {
	border-color: var(--jm-theme-border) !important;
}

html[data-jobmarkt-theme="dark"] :where(.e-con-inner[style*="background"], .elementor-element[style*="background-color"]) {
	background-color: var(--jm-theme-surface) !important;
}

/* Consent, mobile navigation and user-facing overlays. */
html[data-jobmarkt-theme="dark"] :where(#mm-1, .mm-panel, .responsive-nav, .cmplz-cookiebanner, .jobmarkt-client-notice) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.mm-listitem, .mm-listitem a, .cmplz-cookiebanner .cmplz-title, .cmplz-cookiebanner .cmplz-message, .jobmarkt-client-notice *) {
	border-color: var(--jm-theme-border) !important;
	color: var(--jm-theme-text) !important;
}

/* Remaining theme/plugin components found by the full visual audit. */
html[data-jobmarkt-theme="dark"] :where(
	.listing-search-form,
	.bloglist-text-wrapper,
	.review,
	.jm-drawer-panel,
	.jm-intro,
	.function,
	.retention,
	.jm-demo__job-demo,
	.jm-demo__browser-top,
	.jm-demo__search-demo,
	.jm-dashboard-head,
	.jm-traffic__mobile-week,
	.jm-traffic__social-platform
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 12px 30px var(--jm-theme-shadow) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.job_listing_packages li.job-package,
	.job_listing_packages li.user-job-package,
	.job_listing_packages li.resume-package,
	.job_listing_packages li.user-resume-package
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.job_listing_packages .package-details label,
	.job_listing_packages .package-details p,
	.job_listing_packages .package-footer,
	.bloglist-text-wrapper h2,
	.bloglist-text-wrapper h3,
	.bloglist-text-wrapper a,
	.review,
	.review p
) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] body.home :where(
	.elementor-element-06b9fb0,
	.elementor-element-2b5b5ddd,
	.elementor-element-6dd2a01f,
	.elementor-element-259d9edf
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jobmarkt-count-sentence, .jobmarkt-live-activity) {
	border-color: rgba(85, 178, 255, 0.24) !important;
	background: rgba(23, 34, 49, 0.9) !important;
	color: var(--jm-theme-text) !important;
}

/* Directory regions, related listings and company contact cards. */
html[data-jobmarkt-theme="dark"] :where(
	.jm-location-page,
	.jm-location-content,
	.jm-location-region,
	.jm-location-featured,
	.jm-featured-rail-inner,
	.jm-location-categories,
	ul.job_listings li.job_listing > a,
	ul.job_listings li.job_listing > .job-content-wrapper,
	.company-info,
	.blog-desc
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
	box-shadow: 0 12px 30px var(--jm-theme-shadow) !important;
}

html[data-jobmarkt-theme="dark"] :where(
	.jm-location-region h2,
	.jm-location-region h3,
	.jm-location-region a,
	.jm-location-region strong,
	.jm-location-categories a,
	ul.job_listings li.job_listing > a *,
	.company-info *,
	.blog-desc h1,
	.blog-desc h2,
	.blog-desc h3,
	.blog-desc strong
) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] :where(.jm-location-region small, .jm-location-region p, .blog-desc p, .blog-desc li) {
	color: var(--jm-theme-text-soft) !important;
}

/* Reference cards and the About-page testimonial. */
html[data-jobmarkt-theme="dark"] body.page-id-124644 .elementor,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .e-con-inner,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .elementor-element,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .elementor-widget-container,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .ref-logo-box,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .reference-card,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .testimonial-card,
html[data-jobmarkt-theme="dark"] body.page-id-124644 .elementor-element-280a6b9 {
	border-color: var(--jm-theme-border) !important;
	background-color: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] body.page-id-124644 :where(h1, h2, h3, h4, p, span, strong, blockquote) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] body.page-id-124644 :where(.elementor-widget-text-editor p, blockquote p) {
	color: var(--jm-theme-text-soft) !important;
}

html[data-jobmarkt-theme="dark"] body.page-id-124644 :where(.ref-logo-box, .logo, figure) {
	background: #f7f9fc !important;
}

html[data-jobmarkt-theme="dark"] body.page-id-10141 .elementor-element-280a6b9 {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] body.page-id-10141 .elementor-element-280a6b9 :where(h1, h2, h3, p, span, strong) {
	color: var(--jm-theme-text) !important;
}

/* Standalone Nabirej microsite uses its own hard-coded palette. */
html[data-jobmarkt-theme="dark"] #jm-nabirej {
	--jm-dark: var(--jm-theme-text);
	--jm-muted: var(--jm-theme-text-soft);
	--jm-border: var(--jm-theme-border);
	background: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej :where(
	.card,
	.chip,
	.benefit,
	.step-card,
	.mini-form,
	.faq-item,
	.ref-logo-box,
	.cta-panel,
	.btn-ghost,
	.input,
	.select,
	.textarea
) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej :where(h1, h2, h3, h4, p, span, strong, label, a, .h1, .h2, .h3, .lead, .muted, .help) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej :where(.muted, .help, .label, .faq-a p) {
	color: var(--jm-theme-text-soft) !important;
}

/* Cookie-blocked embeds must not flash as a white rectangle. */
html[data-jobmarkt-theme="dark"] :where(.cmplz-placeholder-parent, .cmplz-blocked-content-container) {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

/* Consistent secondary copy without affecting branded buttons. */
html[data-jobmarkt-theme="dark"] :where(
	.job_listing .job-info,
	.job_listing .location,
	.job_listing .company,
	.job_listing .salary,
	.company-info p,
	.company-info span,
	.submit-listing-box p,
	.woocommerce .product .price,
	.woocommerce .product .woocommerce-product-details__short-description
) {
	color: var(--jm-theme-text-soft) !important;
}

/* High-specificity fixes for modules whose CSS is printed after theme styles. */
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-content,
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-featured,
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-region {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-region {
	background: var(--jm-theme-surface) !important;
}

html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-pill,
html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-links a,
html[data-jobmarkt-theme="dark"] .jm-location-region-header small {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-pill span,
html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-links span,
html[data-jobmarkt-theme="dark"] .jm-location-region-header h2,
html[data-jobmarkt-theme="dark"] .jm-location-region-header small {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-pill small,
html[data-jobmarkt-theme="dark"] .jm-directory--locations .jm-directory-links small {
	color: var(--jm-theme-text-soft) !important;
}

html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero,
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero-stats span {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero h1,
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero-stats strong {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero p,
html[data-jobmarkt-theme="dark"] .jm-location-page .jm-location-hero-stats small {
	color: var(--jm-theme-text-soft) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej .hero,
html[data-jobmarkt-theme="dark"] #jm-nabirej .hero-bg,
html[data-jobmarkt-theme="dark"] #jm-nabirej section,
html[data-jobmarkt-theme="dark"] #jm-nabirej .jm-header,
html[data-jobmarkt-theme="dark"] #jm-nabirej .jm-footer {
	background-color: var(--jm-theme-canvas) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej .hero-bg {
	background-image: radial-gradient(circle at 15% 15%, rgba(15, 128, 227, .22), transparent 34%), linear-gradient(135deg, #101925, #17283a) !important;
}

html[data-jobmarkt-theme="dark"] #jm-nabirej .card,
html[data-jobmarkt-theme="dark"] #jm-nabirej .chip,
html[data-jobmarkt-theme="dark"] #jm-nabirej .pill,
html[data-jobmarkt-theme="dark"] #jm-nabirej .benefit,
html[data-jobmarkt-theme="dark"] #jm-nabirej .step-card,
html[data-jobmarkt-theme="dark"] #jm-nabirej .mini-form,
html[data-jobmarkt-theme="dark"] #jm-nabirej .cta-panel,
html[data-jobmarkt-theme="dark"] #jm-nabirej .btn-ghost {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .blog-desc input,
html[data-jobmarkt-theme="dark"] .blog-desc textarea,
html[data-jobmarkt-theme="dark"] .blog-desc select,
html[data-jobmarkt-theme="dark"] .blog-desc .form-control {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface-soft) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-detail-main,
html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-detail-side,
html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-how,
html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-how li,
html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-budget,
html[data-jobmarkt-theme="dark"] .jm-marketplace-detail .jm-marketplace-privacy {
	border-color: var(--jm-theme-border) !important;
	background: var(--jm-theme-surface) !important;
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-marketplace-detail :where(h1, h2, h3, strong, .jm-marketplace-meta span) {
	color: var(--jm-theme-text) !important;
}

html[data-jobmarkt-theme="dark"] .jm-marketplace-detail :where(p, li, small, .jm-marketplace-description) {
	color: var(--jm-theme-text-soft) !important;
}

@media (max-width: 640px) {
	.jobmarkt-theme-switcher {
		width: 40px;
		min-width: 40px;
		min-height: 44px;
		padding: 0 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jobmarkt-theme-switcher {
		transition: none;
	}
}
