/**
 * Nicholas Air Maintenance Careers — standalone, scoped styles.
 * Colors/fonts are pinned with !important so theme link/heading rules can't leak in.
 */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.na-mc {
	--na-mc-ink: #111111;
	--na-mc-red: #E1251B;
	--na-mc-line: rgba(17, 17, 17, .2);
	--na-mc-muted: rgba(17, 17, 17, .6);

	display: flex;
	flex-direction: column;
	width: 100%;
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--na-mc-ink);
	box-sizing: border-box;
}

.na-mc *,
.na-mc *::before,
.na-mc *::after {
	box-sizing: border-box;
}

.na-mc .na-mc-job {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	border-top: 1px solid var(--na-mc-line);
	text-decoration: none !important;
	color: var(--na-mc-ink) !important;
	text-transform: none !important;
	text-align: left !important;
}

.na-mc .na-mc-job:first-child {
	border-top: 0;
}

.na-mc .na-mc-job-title {
	font-family: 'Playfair Display', serif !important;
	font-style: italic;
	font-size: clamp(16px, 1.6vw, 20px);
	letter-spacing: -.01em;
	color: var(--na-mc-ink) !important;
	position: relative;
	padding-bottom: .3em;
	transition: color .25s;
}

.na-mc .na-mc-job-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width .25s;
}

.na-mc .na-mc-job-location {
	flex: none;
	font-size: clamp(13px, 1.2vw, 15px);
	color: var(--na-mc-muted) !important;
	white-space: nowrap;
	transition: color .25s;
}

.na-mc .na-mc-job:hover .na-mc-job-title,
.na-mc .na-mc-job:focus-visible .na-mc-job-title,
.na-mc .na-mc-job:hover .na-mc-job-location,
.na-mc .na-mc-job:focus-visible .na-mc-job-location {
	color: var(--na-mc-red) !important;
}

.na-mc .na-mc-job:hover .na-mc-job-title::after,
.na-mc .na-mc-job:focus-visible .na-mc-job-title::after {
	width: 100%;
}

.na-mc .na-mc-empty {
	margin: 0;
	padding: 8px 0;
	font-size: 16px;
	color: var(--na-mc-muted) !important;
}

@media screen and (max-width: 640px) {
	.na-mc .na-mc-job {
		flex-direction: column;
		gap: 4px;
	}
}
