/* ==========================================================================
   Redesign: header, homepage and footer ("وظيفتك" look)
   Loaded after style.css. All new components use the .wz- prefix.
   ========================================================================== */

/* ---- Tokens ---- */
:root:not([data-theme="dark"]) {
	--autojobs-primary: #5a3fe0;
	--autojobs-primary-600: #4a31c4;
	--autojobs-primary-050: #efecff;
	--autojobs-accent: #f4511e;
	--autojobs-bg: #f3f2fd;
	--autojobs-text: #151331;
	--autojobs-muted: #6d6a92;
	--autojobs-border: #e6e3f7;
	--autojobs-footer-bg: #151331;
}

:root {
	--wz-grad: linear-gradient(135deg, #5a3fe0 0%, #7b57f6 100%);
	--wz-soft: #efecff;
	--wz-line: #e9e6fa;
	--wz-ink: #151331;
	--wz-sub: #6d6a92;
	--wz-glass: rgba(255, 255, 255, 0.8);
	--wz-shadow: 0 18px 40px -26px rgba(61, 43, 160, 0.45);
	--wz-fade: to right;
	--wz-news-dir: to right;
}

[dir="ltr"] {
	--wz-fade: to left;
	--wz-news-dir: to left;
}

[data-theme="dark"] {
	--wz-soft: #251f57;
	--wz-line: #2b2560;
	--wz-ink: #ece9ff;
	--wz-sub: #a9a5d3;
	--wz-glass: rgba(23, 17, 48, 0.82);
	--wz-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.8);
}

body.home .autojobs-main {
	min-height: 0;
}

.wz-container {
	width: min(1300px, 100% - 48px);
	margin-inline: auto;
}

/* ---- Buttons ---- */
.wz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	padding: 0 26px;
	border: 0;
	border-radius: 14px;
	font-family: var(--autojobs-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.18s var(--autojobs-ease), box-shadow 0.18s var(--autojobs-ease);
}

.wz-btn--primary,
.wz-btn--primary:hover {
	background: var(--wz-grad);
	color: #fff;
	box-shadow: 0 14px 26px -14px rgba(90, 63, 224, 0.8);
}

.wz-btn--grad,
.wz-btn--grad:hover {
	background: linear-gradient(90deg, #8a63ff, #6a47f0);
	color: #fff;
	box-shadow: 0 14px 26px -14px rgba(20, 10, 90, 0.8);
}

.wz-btn:hover {
	transform: translateY(-1px);
}

.wz-btn--block {
	width: 100%;
}

.wz-plus {
	font-size: 20px;
	font-weight: 600;
	line-height: 0.8;
}

.wz-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--wz-line);
	background: var(--wz-soft);
	color: var(--autojobs-primary);
	cursor: pointer;
	transition: background 0.18s var(--autojobs-ease), color 0.18s var(--autojobs-ease);
}

.wz-icon-btn:hover {
	background: var(--autojobs-primary);
	color: #fff;
}

/* ---- Top bar ---- */
.wz-header {
	position: sticky;
	top: -38px;
	z-index: 60;
	transition: box-shadow 0.2s var(--autojobs-ease);
}

.wz-header.is-scrolled {
	box-shadow: 0 12px 30px -22px rgba(21, 19, 49, 0.55);
}

.wz-topbar {
	height: 38px;
	background: linear-gradient(90deg, #161d5c 0%, #1f3b89 50%, #1a2468 100%);
	color: rgba(255, 255, 255, 0.88);
	font-size: 12.5px;
}

.wz-topbar__inner,
.wz-topbar__links,
.wz-topbar__side {
	display: flex;
	align-items: center;
}

.wz-topbar__inner {
	height: 100%;
	justify-content: space-between;
}

.wz-topbar__links,
.wz-topbar__side {
	gap: 22px;
}

.wz-topbar a,
.wz-topbar__loc {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
}

.wz-topbar a:hover {
	color: #fff;
}

.wz-topbar .autojobs-lang {
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
}

/* ---- Header ---- */
.wz-header__main {
	background: var(--autojobs-card);
	border-bottom: 1px solid var(--wz-line);
}

.wz-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	height: 88px;
}

.wz-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--wz-ink);
}

.wz-brand__link:hover {
	color: var(--wz-ink);
}

.wz-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--wz-grad);
	box-shadow: 0 12px 22px -12px rgba(90, 63, 224, 0.85);
}

.wz-brand__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wz-brand__name {
	font-family: var(--autojobs-font-head);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
}

.wz-brand__tagline {
	font-size: 11.5px;
	color: var(--wz-sub);
}

.wz-brand__link--light,
.wz-brand__link--light:hover {
	color: #fff;
}

.wz-brand__link--light .wz-brand__tagline {
	color: #9a96c8;
}

.wz-nav__list {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wz-nav__list a {
	position: relative;
	display: block;
	padding: 10px 2px;
	color: #2a2750;
	font-family: var(--autojobs-font-head);
	font-size: 15px;
	font-weight: 600;
}

[data-theme="dark"] .wz-nav__list a {
	color: #d9d5ff;
}

.wz-nav__list a:hover,
.wz-nav__list .current-menu-item > a,
.wz-nav__list .current_page_item > a {
	color: var(--autojobs-primary);
}

.wz-nav__list .current-menu-item > a::after,
.wz-nav__list .current_page_item > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 3px;
	background: var(--autojobs-primary);
}

body.home .wz-nav__list:not(:has(.current-menu-item, .current_page_item)) > li:first-child > a {
	color: var(--autojobs-primary);
}

body.home .wz-nav__list:not(:has(.current-menu-item, .current_page_item)) > li:first-child > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 3px;
	background: var(--autojobs-primary);
}

.wz-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.wz-header__cta {
	height: 46px;
	margin-inline-end: 8px;
}

.wz-menu-toggle {
	display: none;
}

.wz-header .autojobs-theme-toggle__moon {
	display: none;
}

[data-theme="dark"] .wz-header .autojobs-theme-toggle__sun {
	display: none;
}

[data-theme="dark"] .wz-header .autojobs-theme-toggle__moon {
	display: inline-flex;
}

/* ---- Hero ---- */
.wz-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 78px 0 130px;
	color: #fff;
	background:
		linear-gradient(120deg, rgba(14, 13, 46, 0.78) 0%, rgba(23, 21, 74, 0.55) 55%, rgba(36, 26, 107, 0.72) 100%),
		url("../images/hero-bg.jpg") center / cover no-repeat,
		#14123f;
}

.wz-hero__art {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0; /* RTL: right side; flipped below so the man sits on the left */
	z-index: -1;
	width: 100%;
	pointer-events: none;
}

/* Man on the physical left in RTL, physical right in LTR */
.wz-hero__man {
	position: absolute;
	bottom: 0;
	left: max(0px, calc((100% - 1300px) / 2 - 20px));
	width: auto;
	height: calc(100% - 26px);
	max-width: 44%;
	object-fit: contain;
	object-position: left bottom;
	filter: drop-shadow(0 24px 40px rgba(8, 6, 40, 0.45));
}

[dir="ltr"] .wz-hero__man {
	left: auto;
	right: max(0px, calc((100% - 1300px) / 2 - 20px));
	transform: scaleX(-1);
}

.wz-hero__blob {
	position: absolute;
	bottom: -14%;
	left: max(-60px, calc((100% - 1300px) / 2 - 90px));
	width: 560px;
	height: 560px;
	border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
	background: linear-gradient(145deg, #4b6bff 0%, #6a47f0 55%, #8a5cff 100%);
	opacity: 0.95;
}

.wz-hero__blob--2 {
	bottom: 18%;
	left: max(120px, calc((100% - 1300px) / 2 + 150px));
	width: 300px;
	height: 300px;
	background: linear-gradient(160deg, #7b57f6, #9a6bff);
	opacity: 0.85;
}

[dir="ltr"] .wz-hero__blob {
	left: auto;
	right: max(-60px, calc((100% - 1300px) / 2 - 90px));
}

[dir="ltr"] .wz-hero__blob--2 {
	left: auto;
	right: max(120px, calc((100% - 1300px) / 2 + 150px));
}

.wz-hero__float {
	position: absolute;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	color: #5a3fe0;
	box-shadow: 0 16px 30px -14px rgba(8, 6, 40, 0.6);
	transform: rotate(-8deg);
}

.wz-hero__float--job {
	top: 14%;
	left: max(30px, calc((100% - 1300px) / 2 + 10px));
}

.wz-hero__float--chart {
	bottom: 12%;
	left: max(10px, calc((100% - 1300px) / 2 - 40px));
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
	backdrop-filter: blur(6px);
	transform: rotate(8deg);
}

[dir="ltr"] .wz-hero__float--job { left: auto; right: max(30px, calc((100% - 1300px) / 2 + 10px)); }
[dir="ltr"] .wz-hero__float--chart { left: auto; right: max(10px, calc((100% - 1300px) / 2 - 40px)); }

.wz-hero__content {
	max-width: 860px;
}

.wz-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 14px;
	font-weight: 600;
}

.wz-hero__badge svg {
	color: #ffb020;
}

.wz-hero__title {
	margin: 24px 0 16px;
	color: #fff;
	font-size: clamp(2.4rem, 4.6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.28;
}

.wz-hero__title span {
	display: block;
}

.wz-hero__title .wz-hero__title-accent {
	color: #b79dff;
}

.wz-hero__sub {
	margin: 0 0 36px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
}

/* Search */
.wz-search {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 30px 60px -26px rgba(8, 6, 40, 0.75);
}

.wz-field {
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 10px;
	min-width: 0;
	height: 56px;
	padding: 0 16px;
	border: 1px solid #e8e5f8;
	border-radius: 14px;
	background: #faf9ff;
	color: #8a85b3;
	cursor: text;
}

.wz-field--keyword {
	flex-grow: 1.25;
}

.wz-field:focus-within {
	border-color: #7b57f6;
	box-shadow: 0 0 0 3px rgba(123, 87, 246, 0.16);
}

.wz-field > svg:first-child {
	flex: none;
	color: #6c4df0;
}

.wz-field input,
.wz-field select {
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #151331;
	font-family: var(--autojobs-font-body);
	font-size: 15px;
	font-weight: 500;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
}

.wz-field select {
	cursor: pointer;
	padding-inline-end: 20px;
}

.wz-field select option {
	color: #151331;
}

.wz-field input::placeholder {
	color: #8a85b3;
	opacity: 1;
}

.wz-field__caret {
	position: absolute;
	inset-inline-end: 14px;
	pointer-events: none;
}

.wz-search__btn {
	height: 56px;
	padding: 0 32px;
	font-size: 16px;
}

/* Stats */
.wz-stats {
	display: flex;
	max-width: 720px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.wz-stats li {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 14px;
	padding-inline: 24px;
}

.wz-stats li:first-child {
	padding-inline-start: 0;
}

.wz-stats li + li {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.wz-stats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
	color: #cfc2ff;
}

.wz-stats strong {
	display: block;
	font-family: var(--autojobs-font-head);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
}

.wz-stats small {
	display: block;
	color: rgba(255, 255, 255, 0.76);
	font-size: 13.5px;
}

/* ---- Trusted companies ---- */
.wz-trust {
	position: relative;
	z-index: 2;
	margin-top: -64px;
	padding: 26px 40px 30px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 28px;
	background: var(--wz-glass);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 30px 60px -34px rgba(47, 35, 130, 0.5);
	text-align: center;
}

.wz-trust__title {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 700;
	color: var(--wz-ink);
}

.wz-trust__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
	gap: 18px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wz-trust__list a {
	color: #55527a;
	font-family: var(--autojobs-font-head);
	font-size: 22px;
	font-weight: 800;
	opacity: 0.85;
}

[data-theme="dark"] .wz-trust__list a {
	color: #cfcbf5;
}

.wz-trust__list a:hover {
	color: var(--autojobs-primary);
	opacity: 1;
}

.wz-trust__list img {
	max-height: 34px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.8;
}

.wz-ad {
	margin-top: 32px;
}

/* ---- Section heads ---- */
.wz-section {
	margin-top: 72px;
}

.wz-head__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	color: var(--wz-ink);
	font-size: clamp(1.5rem, 2.4vw, 1.95rem);
	font-weight: 800;
}

.wz-head__sub {
	margin: 0;
	color: var(--wz-sub);
	font-size: 15px;
}

.wz-head--center,
.wz-head--center-end {
	text-align: center;
}

.wz-head--center .wz-head__title,
.wz-head--center-end .wz-head__title {
	justify-content: center;
}

.wz-head__title--lined {
	gap: 22px;
}

.wz-head__title--lined::before,
.wz-head__title--lined::after {
	content: "";
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, #6c4df0);
}

.wz-head__title--lined::after {
	transform: scaleX(-1);
}

.wz-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.wz-head--spaced {
	margin-top: 52px;
}

.wz-head__icon {
	display: inline-flex;
	color: #6c4df0;
}

.wz-head__icon--fire {
	color: #f4511e;
}

.wz-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	color: var(--autojobs-primary);
	font-size: 14.5px;
	font-weight: 700;
}

.wz-more:hover {
	color: var(--autojobs-primary-600);
}

[dir="ltr"] .wz-more svg,
[dir="ltr"] .wz-tip__more svg,
[dir="ltr"] .wz-slider__nav svg {
	transform: scaleX(-1);
}

/* ---- Specialties ---- */
.wz-specs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.wz-spec {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	background: var(--wz-glass);
	box-shadow: var(--wz-shadow);
	color: var(--wz-ink);
	font-size: 15.5px;
	font-weight: 700;
	transition: transform 0.2s var(--autojobs-ease), box-shadow 0.2s var(--autojobs-ease), color 0.2s;
}

[data-theme="dark"] .wz-spec {
	border-color: var(--wz-line);
}

.wz-spec:hover {
	transform: translateY(-3px);
	color: var(--autojobs-primary);
	box-shadow: 0 22px 40px -24px rgba(61, 43, 160, 0.6);
}

.wz-spec__icon,
.wz-wanted__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--wz-soft);
	color: #6c4df0;
}

.wz-spec__name {
	min-width: 0;
	line-height: 1.4;
}

.wz-center {
	margin-top: 30px;
	text-align: center;
}

.wz-pill-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	border: 1px solid var(--wz-line);
	border-radius: 999px;
	background: var(--autojobs-card);
	box-shadow: var(--wz-shadow);
	color: var(--autojobs-primary);
	font-size: 14.5px;
	font-weight: 700;
}

.wz-pill-link:hover {
	color: var(--autojobs-primary-600);
}

/* ---- Split: latest + login ---- */
.wz-split {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.wz-split__side {
	display: grid;
	gap: 18px;
	padding-top: 4px;
}

/* Slider */
.wz-slider {
	position: relative;
}

.wz-slider__viewport {
	margin-block: -8px -30px;
	padding-block: 8px 30px;
	overflow: hidden;
	touch-action: pan-y;
}

.wz-slider__track {
	display: flex;
	transition: transform 0.55s var(--autojobs-ease);
}

.wz-job {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
	padding: 32px 34px 28px;
	border: 1px solid var(--wz-line);
	border-radius: 26px;
	background: var(--autojobs-card);
	box-shadow: 0 24px 50px -30px rgba(61, 43, 160, 0.5);
}

.wz-job__top {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	padding-inline-end: 44px;
}

.wz-job__logo {
	flex: none;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 20px;
	background: #151a45;
}

.wz-job__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.wz-job__avatar {
	border-radius: 20px;
}

.wz-job__main {
	min-width: 0;
}

.wz-job__title {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.4;
}

.wz-job__title a {
	color: var(--wz-ink);
}

.wz-job__title a:hover {
	color: var(--autojobs-primary);
}

.wz-job__company {
	margin: 0 0 8px;
	color: var(--wz-sub);
	font-size: 16px;
	font-weight: 600;
}

.wz-job__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	color: var(--wz-sub);
	font-size: 14px;
}

.wz-job__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wz-job__save {
	position: absolute;
	top: 112px;
	inset-inline-end: 34px;
	display: inline-flex;
	padding: 4px;
	border: 0;
	background: none;
	color: #c4bfe6;
	cursor: pointer;
	transition: color 0.18s, transform 0.18s;
}

.wz-job__save:hover {
	color: #f5a524;
	transform: scale(1.1);
}

.wz-job__save.is-on {
	color: #f5a524;
}

.wz-job__save.is-on svg {
	fill: currentColor;
}

.wz-job__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: auto;
}

.wz-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wz-chip {
	padding: 7px 16px;
	border: 1px solid var(--wz-line);
	border-radius: 999px;
	background: var(--wz-soft);
	color: var(--autojobs-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.wz-job__bottom .wz-btn {
	height: 52px;
	padding-inline: 38px;
	font-size: 16px;
}

.wz-slider__nav {
	position: absolute;
	top: calc((100% - 34px) / 2);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border: 1px solid var(--wz-line);
	border-radius: 50%;
	background: var(--autojobs-card);
	box-shadow: 0 10px 22px -10px rgba(21, 19, 49, 0.4);
	color: var(--wz-ink);
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
}

.wz-slider__nav:hover {
	background: var(--autojobs-primary);
	color: #fff;
}

.wz-slider__nav--prev {
	inset-inline-start: -20px;
}

.wz-slider__nav--next {
	inset-inline-end: -20px;
}

.wz-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.wz-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cfc9ee;
	cursor: pointer;
	transition: width 0.25s var(--autojobs-ease), background 0.25s;
}

.wz-dot.is-active {
	width: 30px;
	background: var(--wz-grad);
}

.wz-slider.is-single .wz-dots,
.wz-slider.is-single .wz-slider__nav {
	display: none;
}

/* Most wanted */
.wz-wanted {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.wz-wanted__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border: 1px solid var(--wz-line);
	border-radius: 16px;
	background: var(--autojobs-card);
	box-shadow: var(--wz-shadow);
	transition: transform 0.2s var(--autojobs-ease);
}

.wz-wanted__item:hover {
	transform: translateY(-3px);
}

.wz-wanted__text {
	min-width: 0;
}

.wz-wanted__text strong {
	display: block;
	color: var(--wz-ink);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.5;
}

.wz-wanted__text small {
	color: var(--wz-sub);
	font-size: 12.5px;
}

.wz-wanted__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

/* Login card */
.wz-login {
	padding: 26px 22px 24px;
	border-radius: 26px;
	background: linear-gradient(170deg, #5b42c9 0%, #3a2a92 42%, #1d1752 100%);
	box-shadow: 0 30px 60px -30px rgba(40, 28, 130, 0.75);
	color: #fff;
}

.wz-login__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.wz-bolt {
	display: inline-flex;
	color: #ff9f1c;
}

.wz-login__sub {
	margin: 8px 0 18px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
}

.wz-input {
	position: relative;
	display: block;
	margin-bottom: 12px;
}

.wz-input input {
	width: 100%;
	height: 50px;
	padding: 0 18px;
	padding-inline-start: 46px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: #151331;
	font-family: var(--autojobs-font-body);
	font-size: 14.5px;
	outline: none;
}

.wz-input input::placeholder {
	color: #9a96bd;
}

.wz-input input:focus {
	box-shadow: 0 0 0 3px rgba(183, 157, 255, 0.55);
}

.wz-input svg {
	position: absolute;
	top: 50%;
	inset-inline-start: 16px;
	margin-top: -9px;
	color: #8f8bb5;
	pointer-events: none;
}

.wz-login__forgot {
	display: block;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	text-align: center;
}

.wz-login__forgot:hover {
	color: #fff;
	text-decoration: underline;
}

.wz-login__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}

.wz-login__or::before,
.wz-login__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.22);
}

.wz-google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 50px;
	border-radius: 14px;
	background: #fff;
	color: #2a2750;
	font-size: 14.5px;
	font-weight: 700;
	transition: box-shadow 0.18s;
}

.wz-google:hover {
	color: #2a2750;
	box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.6);
}

.wz-register {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border: 1px solid var(--wz-line);
	border-radius: 20px;
	background: var(--autojobs-card);
	box-shadow: var(--wz-shadow);
	color: var(--wz-ink);
	font-size: 13.5px;
}

.wz-register strong {
	color: var(--autojobs-primary);
}

.wz-register__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wz-soft);
	color: #6c4df0;
}

/* ---- Tips ---- */
.wz-tips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin-top: 30px;
}

.wz-tip {
	overflow: hidden;
	border: 1px solid var(--wz-line);
	border-radius: 22px;
	background: var(--autojobs-card);
	box-shadow: var(--wz-shadow);
}

.wz-tip__thumb {
	display: block;
	aspect-ratio: 2.55 / 1;
	background: var(--wz-soft);
}

.wz-tip__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wz-tip__body {
	padding: 20px 22px 18px;
}

.wz-tip__title {
	display: -webkit-box;
	margin: 0 0 18px;
	overflow: hidden;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.wz-tip__title a {
	color: var(--wz-ink);
}

.wz-tip__title a:hover {
	color: var(--autojobs-primary);
}

.wz-tip__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13.5px;
}

.wz-tip__time,
.wz-tip__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wz-tip__time {
	color: var(--wz-sub);
}

.wz-tip__more {
	color: var(--autojobs-primary);
	font-weight: 700;
}

/* ---- Newsletter band ---- */
.wz-news {
	position: relative;
	overflow: hidden;
	margin-top: 84px;
	padding: 56px 0;
	border-radius: 90px 90px 0 0 / 70px 70px 0 0;
	background: linear-gradient(var(--wz-news-dir), #8368fc 0%, #5a3fd8 52%, #3f2f98 100%);
	color: #fff;
}

.wz-news__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.wz-news__content {
	flex: 1;
	max-width: 640px;
}

.wz-news__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 800;
}

.wz-news__bell {
	display: inline-flex;
	color: #ffb020;
}

.wz-news__text {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
}

.wz-news .wz-news__form {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	max-width: 590px;
	padding: 7px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 24px 44px -26px rgba(10, 5, 60, 0.8);
}

.wz-news .wz-news__form input[type="email"] {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #151331;
	font-size: 15px;
	outline: none;
}

.wz-news .wz-news__form input[type="email"]::placeholder {
	color: #8a85b3;
}

.wz-news .wz-news__form .wz-btn {
	height: 50px;
	padding-inline: 34px;
	border-radius: 999px;
}

.wz-news__status {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 22px;
	color: #fff;
	font-size: 13px;
}

.wz-news__art {
	flex: none;
	line-height: 0;
}

/* ---- Footer ---- */
.wz-footer {
	padding-top: 66px;
	background: var(--autojobs-footer-bg);
	color: #b9b6dc;
}

.wz-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 48px;
}

.wz-footer__about {
	max-width: 360px;
	margin: 20px 0 0;
	color: #aaa7d4;
	font-size: 14px;
	line-height: 1.95;
}

.wz-footer__title {
	margin: 0 0 20px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.wz-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wz-footer__list li {
	margin-bottom: 12px;
}

.wz-footer__list a,
.wz-footer__legal a {
	color: #b9b6dc;
	font-size: 14.5px;
}

.wz-footer__list a:hover,
.wz-footer__legal a:hover {
	color: #fff;
}

.wz-social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wz-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background 0.18s var(--autojobs-ease), transform 0.18s;
}

.wz-social a:hover {
	background: var(--autojobs-primary);
	color: #fff;
	transform: translateY(-2px);
}

.wz-footer__note {
	margin: 18px 0 0;
	color: #8d89c4;
	font-size: 13.5px;
	line-height: 1.8;
}

.wz-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13.5px;
}

.wz-footer__bottom p {
	margin: 0;
}

.wz-footer__legal {
	display: flex;
	gap: 14px;
}

/* Back to top */
.autojobs-to-top {
	width: 52px;
	height: 52px;
	border: 0;
	background: var(--wz-grad);
	color: #fff;
	box-shadow: 0 16px 30px -12px rgba(90, 63, 224, 0.8);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.wz-specs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wz-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.wz-news__art {
		display: none;
	}
}

@media (max-width: 960px) {
	.wz-header__inner {
		grid-template-columns: 1fr auto;
		height: 76px;
	}

	.wz-nav {
		display: none;
	}

	.wz-menu-toggle {
		display: inline-flex;
	}

	.wz-hero {
		padding-top: 56px;
	}

	.wz-hero__art {
		opacity: 0.28;
	}

	.wz-hero__man {
		max-width: 70%;
		height: 78%;
	}

	.wz-hero__blob--2,
	.wz-hero__float {
		display: none;
	}

	.wz-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.wz-slider__nav--prev {
		inset-inline-start: -8px;
	}

	.wz-slider__nav--next {
		inset-inline-end: -8px;
	}

	.wz-tips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.wz-header__cta {
		display: none;
	}

	.wz-search {
		flex-wrap: wrap;
		padding: 12px;
	}

	.wz-field,
	.wz-search__btn {
		flex: 1 1 100%;
	}

	.wz-stats {
		flex-direction: column;
		gap: 16px;
	}

	.wz-stats li,
	.wz-stats li + li {
		padding-inline: 0;
		border: 0;
	}

	.wz-trust {
		padding: 22px 20px;
		margin-top: -48px;
	}

	.wz-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.wz-wanted {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wz-job {
		padding: 24px 20px 22px;
	}

	.wz-job__top {
		padding-inline-end: 0;
	}

	.wz-job__save {
		top: 20px;
		inset-inline-end: 20px;
	}

	.wz-job__logo {
		width: 64px;
		height: 64px;
		border-radius: 16px;
	}

	.wz-job__logo .autojobs-job-avatar,
	.wz-job__logo img {
		width: 64px !important;
		height: 64px !important;
	}

	.wz-job__title {
		font-size: 19px;
	}

	.wz-news {
		border-radius: 48px 48px 0 0 / 36px 36px 0 0;
		padding: 44px 0;
	}

	.wz-news .wz-news__form {
		flex-wrap: wrap;
		border-radius: 24px;
	}

	.wz-news .wz-news__form .wz-btn {
		flex: 1 1 100%;
	}
}

@media (max-width: 560px) {
	.wz-wanted,
	.wz-tips {
		grid-template-columns: minmax(0, 1fr);
	}

	.wz-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.wz-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.wz-head--row {
		align-items: flex-start;
		flex-direction: column;
	}

	.wz-head__title--lined::before,
	.wz-head__title--lined::after {
		width: 28px;
	}

	.wz-topbar__links {
		gap: 14px;
	}

	.wz-topbar__loc {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wz-slider__track,
	.wz-btn,
	.wz-spec,
	.wz-wanted__item,
	.wz-social a {
		transition: none;
	}
}


/* Brand tagline: give the brand column room so the English tagline fits two lines inside the 88px header. */
@media (min-width: 961px) {
	.wz-brand__text {
		width: 250px;
	}
}

/* Keep English nav labels on one line. */
@media (min-width: 961px) {
	.wz-nav__list {
		gap: 24px;
	}

	.wz-nav__list a {
		white-space: nowrap;
	}
}
