/* Executive Careers jobs board. Colours follow The Executive Magazine's Elementor globals. */
.temc-board {
	--temc-navy: var(--e-global-color-423470f, #1B252F);
	--temc-gold: var(--e-global-color-primary, #FCB000);
	--temc-ink: #1B252F;
	--temc-body: #4A5562;
	--temc-muted: #6B7480;
	--temc-line: #E4E6E9;
	--temc-soft: #F7F7F5;
	--temc-heading: Schnyder, "Playfair Display", Georgia, "Times New Roman", serif;
	--temc-text: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-family: var(--temc-text);
	color: var(--temc-body);
	font-size: 16px;
	line-height: 1.6;
	max-width: 100%;
}
.temc-board *,
.temc-board *::before,
.temc-board *::after { box-sizing: border-box; }

.temc-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.temc-icon {
	width: 16px; height: 16px; flex: 0 0 16px;
	fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Toolbar */
.temc-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 18px;
	padding: 16px;
	background: var(--temc-navy);
	border-top: 3px solid var(--temc-gold);
}
.temc-field { position: relative; margin: 0; }
.temc-field--search .temc-icon {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--temc-muted); pointer-events: none;
}
.temc-board .temc-toolbar input[type="search"],
.temc-board .temc-toolbar select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	font-family: var(--temc-text);
	font-size: 15px;
	color: var(--temc-ink);
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.temc-board .temc-toolbar input[type="search"] { padding-left: 40px; }
.temc-board .temc-toolbar select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B252F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	cursor: pointer;
}
.temc-board .temc-toolbar input:focus,
.temc-board .temc-toolbar select:focus { border-color: var(--temc-gold); box-shadow: 0 0 0 2px var(--temc-gold); }

.temc-count {
	margin: 0 0 14px;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--temc-muted);
}
.temc-count strong { color: var(--temc-ink); font-weight: 600; }

/* Cards */
.temc-board .temc-list { list-style: none; margin: 0; padding: 0; }
.temc-board .temc-card {
	display: flex;
	gap: 28px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 26px 28px;
	background: #fff;
	border: 1px solid var(--temc-line);
	border-left: 3px solid var(--temc-navy);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.temc-board .temc-card:hover {
	border-left-color: var(--temc-gold);
	box-shadow: 0 10px 30px -18px rgba(27, 37, 47, .45);
}
.temc-card[hidden] { display: none !important; }
.temc-card__body { flex: 1 1 auto; min-width: 0; }

.temc-card__eyebrow {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
	margin-bottom: 8px;
	font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.temc-card__category { color: var(--temc-ink); font-weight: 600; }
.temc-card__category::before {
	content: ""; display: inline-block; width: 18px; height: 2px; margin: 0 8px 3px 0;
	background: var(--temc-gold); vertical-align: middle;
}
.temc-card__date { color: var(--temc-muted); }

.temc-board .temc-card__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--temc-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: 0;
	color: var(--temc-ink);
}
.temc-board .temc-card__title a { color: inherit; text-decoration: none; }
.temc-board .temc-card__title a:hover,
.temc-board .temc-card__title a:focus { text-decoration: underline; text-decoration-color: var(--temc-gold); text-underline-offset: 4px; }
.temc-card__company { margin: -4px 0 10px; font-weight: 600; color: var(--temc-ink); }

.temc-board .temc-card__meta {
	display: flex; flex-wrap: wrap; gap: 8px 22px;
	list-style: none; margin: 0; padding: 0;
	font-size: 15px; color: var(--temc-body);
}
.temc-board .temc-card__meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.temc-board .temc-card__meta .temc-icon { color: var(--temc-muted); }
.temc-board .temc-card__meta .temc-meta--salary { color: var(--temc-ink); font-weight: 600; }

.temc-board .temc-card__excerpt {
	margin: 12px 0 0;
	max-width: 70ch;
	font-size: 15px; line-height: 1.65;
	color: var(--temc-body);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.temc-card__action {
	flex: 0 0 auto;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.temc-board a.temc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 150px;
	padding: 13px 22px;
	font-family: var(--temc-text);
	font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	line-height: 1;
	color: var(--temc-navy);
	background: var(--temc-gold);
	border: 1px solid var(--temc-gold);
	border-radius: 0;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.temc-board a.temc-btn:hover,
.temc-board a.temc-btn:focus {
	color: var(--temc-gold);
	background: var(--temc-navy);
	border-color: var(--temc-navy);
}
.temc-board a.temc-btn:focus-visible { outline: 2px solid var(--temc-gold); outline-offset: 3px; }
.temc-icon--arrow { width: 14px; height: 14px; flex-basis: 14px; }
.temc-card__source { font-size: 12px; color: var(--temc-muted); }

/* Show more / empty */
.temc-more-wrap { text-align: center; margin-top: 26px; }
.temc-board button.temc-more {
	padding: 14px 34px;
	font-family: var(--temc-text);
	font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--temc-navy);
	background: transparent;
	border: 1px solid var(--temc-navy);
	border-radius: 0;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.temc-board button.temc-more:hover,
.temc-board button.temc-more:focus { background: var(--temc-navy); color: #fff; }
.temc-more[hidden], .temc-noresults[hidden] { display: none !important; }

.temc-noresults {
	padding: 40px 20px; text-align: center;
	background: var(--temc-soft); border: 1px solid var(--temc-line);
}
.temc-noresults p { margin: 0 0 10px; color: var(--temc-ink); font-size: 17px; }
.temc-board button.temc-link-btn {
	padding: 0; background: none; border: 0; cursor: pointer;
	font: inherit; font-weight: 600; color: var(--temc-ink);
	text-decoration: underline; text-decoration-color: var(--temc-gold); text-underline-offset: 4px;
}
.temc-empty-msg { padding: 32px; background: var(--temc-soft); border-left: 3px solid var(--temc-gold); color: var(--temc-ink); margin: 0; }

/* Compact layout ("Latest roles") */
.temc-board--compact .temc-card { padding: 18px 20px; gap: 18px; margin-bottom: 10px; }
.temc-board--compact .temc-card__title { font-size: 19px; margin-bottom: 6px; }
.temc-board--compact .temc-card__meta { font-size: 14px; }
.temc-board--compact a.temc-btn { min-width: 0; padding: 11px 16px; font-size: 12px; }
.temc-board--compact .temc-card__source { display: none; }
.temc-viewall { margin: 14px 0 0; text-align: right; }
.temc-viewall a {
	font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--temc-ink); text-decoration: underline; text-decoration-color: var(--temc-gold); text-underline-offset: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
	.temc-toolbar { grid-template-columns: 1fr 1fr; }
	.temc-field--search { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.temc-toolbar { grid-template-columns: 1fr; padding: 12px; }
	.temc-board .temc-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
	.temc-board .temc-card__title { font-size: 21px; }
	.temc-card__action { align-items: stretch; }
	.temc-board a.temc-btn { width: 100%; }
	.temc-board--compact .temc-card { flex-direction: row; align-items: center; }
	.temc-board--compact .temc-card__action { align-items: center; }
	.temc-board--compact a.temc-btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.temc-board * { transition: none !important; }
}
