.anyfor-hire-talent-mega {
	box-sizing: border-box;
	width: 100%;
	padding: 24px;
	color: #171717;
	font-family: Inter, sans-serif;
	background: #fff;
}

/* Workreap defaults every mega menu to 750px. This one has four curated
 * columns, so widen and center only the Hire Talent dropdown. */
@media (min-width: 1200px) {
	/* Anchor all three large dropdowns to the complete navigation list instead
	 * of to a single menu item near the left edge. This remains safe even when
	 * browser scripts are delayed or an older page is restored from cache. */
	.wr-header .wr-navbar .wr-navbarnav {
		position: relative;
	}

	.wr-header .menu-item-55.wr-megamenu-holder,
	.wr-header .menu-item-15852.wr-megamenu-holder,
	.wr-header .menu-item-15453.wr-megamenu-holder {
		position: static;
	}

	.wr-header .menu-item-55.wr-megamenu-holder > .workreap-megamenu,
	.wr-header .menu-item-15852.wr-megamenu-holder > .workreap-megamenu,
	.wr-header .menu-item-15453.wr-megamenu-holder > .workreap-megamenu {
		right: auto;
		left: 50%;
		width: min(960px, calc(100vw - 32px));
		max-width: calc(100vw - 32px);
		transform: translateX(calc(-50% + var(--anyfor-mega-shift, 0px)));
	}
}

.anyfor-talent-mega-header,
.anyfor-talent-mega-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.anyfor-talent-mega-header {
	padding: 0 2px 20px;
	border-bottom: 1px solid #eceef2;
}

.anyfor-talent-mega-eyebrow {
	display: block;
	margin-bottom: 3px;
	color: #1689f8;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.anyfor-talent-mega-header h2 {
	margin: 0;
	color: #16191f;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.anyfor-talent-mega-all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 13px;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 10px;
	background: linear-gradient(135deg, #1689f8, #b92be8);
	transition: transform .2s ease, box-shadow .2s ease;
}

.anyfor-talent-mega-all:hover {
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(89, 79, 222, .22);
}

.anyfor-talent-mega-all svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.anyfor-talent-mega-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding: 20px 0;
}

.anyfor-talent-mega-group {
	min-width: 0;
	padding: 15px 14px 12px;
	border: 1px solid #edf0f4;
	border-radius: 14px;
	background: #fbfcfe;
}

.anyfor-talent-mega-group-title {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	margin-bottom: 8px;
}

.anyfor-talent-mega-icon {
	display: inline-flex;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--anyfor-talent-accent, #1689f8);
	border-radius: 10px;
	background: var(--anyfor-talent-soft, #eaf4ff);
}

.anyfor-talent-mega-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.anyfor-accent-blue { --anyfor-talent-accent: #1689f8; --anyfor-talent-soft: #eaf4ff; }
.anyfor-accent-violet { --anyfor-talent-accent: #a23ae7; --anyfor-talent-soft: #f6edff; }
.anyfor-accent-gold { --anyfor-talent-accent: #d9a600; --anyfor-talent-soft: #fff7d8; }
.anyfor-accent-green { --anyfor-talent-accent: #15966f; --anyfor-talent-soft: #e7f8f2; }

.anyfor-talent-mega-group h3 {
	margin: 0;
	color: #20242b;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.anyfor-talent-mega-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.anyfor-talent-mega-group li {
	margin: 0;
	padding: 0;
}

.anyfor-talent-mega-group li + li {
	border-top: 1px solid #f0f2f5;
}

.anyfor-talent-mega-group li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 34px;
	padding: 7px 2px;
	color: #555c67 !important;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	transition: color .18s ease, transform .18s ease;
}

.anyfor-talent-mega-group li a:hover {
	color: var(--anyfor-talent-accent) !important;
	transform: translateX(2px);
}

.anyfor-talent-mega-group li small {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 20px;
	padding: 0 6px;
	color: #737b87;
	font-size: 10px;
	font-weight: 700;
	line-height: 20px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #e9ecf0;
}

.anyfor-talent-mega-footer {
	padding: 14px 16px;
	border-radius: 12px;
	background: #f5f7fa;
}

.anyfor-talent-mega-footer p {
	margin: 0;
	color: #646b76;
	font-size: 12px;
	line-height: 1.5;
}

.anyfor-talent-mega-footer p strong {
	color: #272b31;
}

.anyfor-talent-mega-footer > a {
	flex: 0 0 auto;
	color: #1689f8 !important;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 1199px) {
	.anyfor-hire-talent-mega {
		width: 100%;
		max-width: 100%;
		padding: 12px 15px 18px;
	}

	.anyfor-talent-mega-header {
		padding-bottom: 12px;
	}

	.anyfor-talent-mega-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 14px 0;
	}
}

@media (max-width: 767px) {
	.anyfor-talent-mega-header,
	.anyfor-talent-mega-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.anyfor-talent-mega-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.anyfor-talent-mega-group {
		padding: 12px;
	}

	.anyfor-talent-mega-footer > a {
		white-space: normal;
	}
}
