.tblog-job-list {
	padding-block: var(--tblog-section-space);
	background: var(--tblog-light);
}

.career-team-list .team-list-button-link--unavailable {
	cursor: default;
}

.career-team-list .team-list-item-details {
	margin-top: 0.75rem;
	color: var(--content-color);
	font-family: var(--open-sans);
	font-size: 0.95rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.career-team-list .team-list-item-details > :last-child {
	margin-bottom: 0;
}

/* Preserve the source table width when WordPress adds the alignfull class. */
.career-team-list.wp-block-tblog-job-list {
	max-width: 1230px;
	margin-right: auto;
	margin-left: auto;
}

.tblog-job-list__items {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tblog-job-list__item {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr) auto;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	border: 1px solid #e0e3e8;
	border-left: 5px solid var(--tblog-heading);
	background: var(--tblog-white);
	box-shadow: 0 12px 34px rgba(9, 18, 66, 0.07);
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

.tblog-job-list__item--expired {
	border-color: rgba(215, 25, 33, 0.34);
	border-left-color: var(--tblog-red);
	background: #fff5f5;
}

.tblog-job-list__heading {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.tblog-job-list__title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	overflow-wrap: anywhere;
}

.tblog-job-list__details {
	margin-top: 0.75rem;
	color: #4f5968;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.tblog-job-list__details > :last-child {
	margin-bottom: 0;
}

.tblog-job-list__item--expired .tblog-job-list__title {
	color: #6d3033;
}

.tblog-job-list__status {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #e8f5ec;
	color: #176734;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.7rem;
	text-transform: uppercase;
}

.tblog-job-list__status--expired {
	background: var(--tblog-red);
	color: var(--tblog-white);
}

.tblog-job-list__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
}

.tblog-job-list__meta > div {
	min-width: 0;
}

.tblog-job-list__meta dt {
	margin-bottom: 0.25rem;
	color: #626b7a;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tblog-job-list__meta dd {
	margin: 0;
	color: var(--tblog-heading);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.tblog-job-list__action {
	justify-self: end;
}

.tblog-job-list__apply {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 2px solid var(--tblog-red);
	background: var(--tblog-red);
	color: var(--tblog-white);
	font-weight: 700;
	padding: 0.65rem 1rem;
	text-align: center;
	text-decoration: none;
}

.tblog-job-list__apply:hover {
	background: var(--tblog-heading);
	border-color: var(--tblog-heading);
	color: var(--tblog-white);
}

.tblog-job-list__apply:focus-visible {
	outline: 3px solid var(--tblog-heading);
	outline-offset: 3px;
}

.tblog-job-list__apply--unavailable {
	border-color: #c9cdd4;
	background: #eceef1;
	color: #646b76;
	cursor: default;
}

.tblog-job-list__item--expired .tblog-job-list__apply--unavailable {
	border-color: #e3b8ba;
	background: #f3dfe0;
	color: #7b292d;
}

@media screen and (max-width: 991px) {
	.tblog-job-list__item {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.tblog-job-list__meta {
		grid-column: 1;
		grid-row: 2;
	}

	.tblog-job-list__action {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

@media screen and (max-width: 767px) {
	.tblog-job-list__item {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.tblog-job-list__heading {
		align-items: flex-start;
	}

	.tblog-job-list__meta,
	.tblog-job-list__action {
		grid-column: auto;
		grid-row: auto;
	}

	.tblog-job-list__action {
		justify-self: stretch;
	}

	.tblog-job-list__apply {
		width: 100%;
	}
}

@media screen and (max-width: 479px) {
	.tblog-job-list__heading,
	.tblog-job-list__meta {
		grid-template-columns: 1fr;
		flex-direction: column;
	}
}
