/* wp-content/plugins/ceca-widgets/widgets/job-hero/job-hero.css */
/* Job Hero: the News Hero's type (16px grey date, 50/60 Bold title) and its
   5px #8CC078 full-bleed rule, without the image column — a vacancy has no
   cover image; the employer's logo sits in the description. */

.ceca-jh__date {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 30px;
	color: #7e7e7e;
}

.ceca-job-hero .ceca-jh__title {
	margin: 0;
	max-width: 1000px;
	font-size: 50px;
	line-height: 60px;
	font-weight: 700;
	color: #1a1a1a;
	text-wrap: balance;
}

/* Plum bar with a text label, so the state never relies on colour alone. */
.ceca-jh__closed {
	display: inline-block;
	margin: 24px 0 0;
	padding: 10px 20px;
	background: #411024;
	font-size: 18px;
	line-height: 30px;
	color: #ffffff;
}

/* Full-bleed rule: same formula as the News Hero. */
.ceca-jh__rule {
	position: relative;
	height: 5px;
	margin-top: 36px;
}

.ceca-jh__rule::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	background: #8cc078;
}

@media (max-width: 767px) {
	.ceca-jh__date {
		margin-bottom: 10px;
		line-height: 25px;
	}

	.ceca-job-hero .ceca-jh__title {
		font-size: 25px;
		line-height: 30px;
	}

	.ceca-jh__closed {
		margin-top: 16px;
		font-size: 16px;
		line-height: 26px;
	}

	.ceca-jh__rule {
		margin-top: 20px;
	}
}
