/*
 * Meta Engitech Vacancies - card list.
 *
 * Every value is the one the static Open Requisitions placeholder shipped with
 * (scratchpad/build_life_requisitions.php, measured against
 * raw-images/life at metaengitech/life at metaengitech full page.png):
 *
 *   card        white, 1px #E5E7EB, radius 6, padding 32 / 28 (tab) / 24x20 (mob),
 *               18px between cards, row space-between + centred; column <= 767
 *   title       Montserrat 600, Card-title step 18 -> 24, 1.25em, -0.032em, #1D1D1D
 *   description Inter 400, UI-14 12 -> 14, 1.5em, #616161, measure capped at 748
 *               (that cap is what reproduces the design's two-line wrap)
 *   Apply Now   Open Sans 600 14px, 10 x 27 padding, square corners, #FA7118,
 *               hover #E2620F (the hover is an addition, not in the export),
 *               27px between the label and the arrow
 *
 * Every selector carries `.mev ` in front for two-class weight: Astra's form /
 * heading / link rules and the Elementor kit's `h3` rule are (0,1,1), and a bare
 * class loses to them (CLAUDE.md 7, the calculator's finding).
 */

.mev {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mev .mev-card {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 32px;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
}

.mev .mev-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.mev .mev-title {
	margin: 0 0 12px;
	padding: 0;
	color: #1D1D1D;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: clamp(1.125rem, 0.993rem + 0.563vw, 1.5rem);
	line-height: 1.25em;
	letter-spacing: -0.032em;
	text-transform: none;
}

/* the title links to the vacancy post; hover is an addition, not in the export */
.mev .mev-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.mev .mev-title a:hover,
.mev .mev-title a:focus-visible {
	color: #FA7118;
}

/* Apply Now appended below a single vacancy post */
.mev.mev-single {
	display: block;
	margin-top: 32px;
}

/* Astra underlines links in post content at (0,2,1) - out-weigh it */
.mev.mev-single a.mev-btn,
.mev.mev-single a.mev-btn:hover,
.mev.mev-single a.mev-btn:focus-visible {
	color: #FFFFFF;
	text-decoration: none;
}

.mev .mev-desc {
	max-width: 748px;
	margin: 0;
	padding: 0;
	color: #616161;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: clamp(0.75rem, 0.70599rem + 0.18779vw, 0.875rem);
	line-height: 1.5em;
	letter-spacing: 0;
}

.mev .mev-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 27px;
	padding: 10px 27px;
	border-radius: 0;
	background: #FA7118;
	color: #FFFFFF;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5em;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease;
}

.mev .mev-btn:hover,
.mev .mev-btn:focus-visible {
	background: #E2620F;
	color: #FFFFFF;
}

.mev .mev-btn:focus-visible {
	outline: 2px solid #1D1D1D;
	outline-offset: 2px;
}

.mev .mev-arrow {
	width: 1em;
	height: auto;
	flex: none;
}

.mev .mev-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.mev .mev-empty {
	margin: 0;
	padding: 32px;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	color: #616161;
	font-family: "Inter", sans-serif;
	font-size: clamp(0.875rem, 0.834rem + 0.176vw, 0.9375rem);
	line-height: 1.5em;
}

@media (max-width: 1024px) {
	.mev .mev-card {
		padding: 28px;
	}
}

@media (max-width: 767px) {
	.mev .mev-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px 20px;
	}
}
