/* Job cards for listing pages (v1.28.5.5) — horizontal cards replacing
   the theme's plain list rows. Palette matches the site: title blue
   #2e64a6, green #009444, card border #e5e7eb, radius 10px. */

#content ol.jre-job-cards {
	list-style: none;
	margin: 0;
	padding: 0;
}

#content ol.jre-job-cards > li.jre-job-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px;
	margin: 0 0 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	list-style: none;
}

#content ol.jre-job-cards > li.jre-job-card:hover {
	border-color: #c8d8ee;
	box-shadow: 0 4px 14px rgba(46, 100, 166, 0.10);
}

#content ol.jre-job-cards > li.jre-job-card-featured {
	border-color: #c8a24a;
	background: #fdf8ec;
}

#content ol.jre-job-cards > li.jre-job-card-expired {
	opacity: 0.65;
}

#content .jre-card-logo {
	flex: 0 0 56px;
	text-decoration: none;
}

#content .jre-card-logo-box {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f3f4f6;
}

#content .jre-card-logo-box img.jre-card-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

#content .jre-card-avatar {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

#content .jre-card-body {
	flex: 1;
	min-width: 0;
}

#content h3.jre-card-title {
	font-size: 17px;
	line-height: 1.35;
	margin: 0 0 3px;
	padding: 0;
}

#content h3.jre-card-title a {
	color: #2e64a6;
	text-decoration: none;
	font-weight: 700;
}

#content h3.jre-card-title a:hover {
	text-decoration: underline;
}

#content .jre-card-new {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: #009444;
	color: #fff;
	padding: 2px 7px;
	border-radius: 4px;
	vertical-align: 2px;
	margin-left: 6px;
	white-space: nowrap;
}

#content .jre-card-featured-badge {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: #c8a24a;
	color: #fff;
	padding: 2px 7px;
	border-radius: 4px;
	vertical-align: 2px;
	margin-left: 6px;
	white-space: nowrap;
}

#content .jre-card-company {
	font-size: 13.5px;
	color: #4b5563;
	margin-bottom: 8px;
}

#content .jre-card-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

#content .jre-chip {
	font-size: 12px;
	line-height: 1.5;
	padding: 2px 9px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	border: 1px solid #e5e7eb;
	white-space: nowrap;
}

#content .jre-chip-type {
	background: #eef4fb;
	border-color: #d3e2f2;
	color: #2e64a6;
	font-weight: 600;
}

#content .jre-chip-cat {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #065f46;
}

#content .jre-chip-salary {
	background: none;
	border: none;
	padding-left: 2px;
	font-size: 13px;
	font-weight: 700;
	color: #065f46;
}

#content .jre-card-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	text-align: right;
}

#content .jre-deadline-chip {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	padding: 3px 10px;
	border-radius: 999px;
	background: #fdf8ec;
	border: 1px solid #c8a24a;
	color: #92400e;
	white-space: nowrap;
}

#content .jre-deadline-chip.jre-deadline-urgent {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
}

#content .jre-card-posted {
	font-size: 12px;
	color: #9ca3af;
	white-space: nowrap;
}

#content .jre-card-deadline-mobile {
	display: none;
	margin-top: 8px;
}

/* Reserved ad slots: invisible while empty; when ad code fills them,
   a minimum height is reserved so late-loading ads cannot shift the
   layout (CLS / accidental-click protection). */
#content li.jre-ad-slot-wrap {
	list-style: none;
	margin: 0;
	padding: 0;
}

#content .jre-ad-slot:empty {
	display: none;
}

#content .jre-ad-slot:not(:empty) {
	min-height: 110px;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 600px) {
	#content ol.jre-job-cards > li.jre-job-card {
		padding: 14px;
		gap: 11px;
	}

	#content .jre-card-logo {
		flex-basis: 46px;
	}

	#content .jre-card-logo-box {
		width: 46px;
		height: 46px;
	}

	#content .jre-card-avatar {
		font-size: 18px;
	}

	#content h3.jre-card-title {
		font-size: 15.5px;
	}

	#content .jre-card-side {
		display: none;
	}

	#content .jre-card-deadline-mobile {
		display: block;
	}

	/* Long chips (e.g. a full-sentence experience text) must wrap
	   instead of clipping at the card edge. */
	#content .jre-chip {
		white-space: normal;
		max-width: 100%;
	}

	#content .jre-ad-slot:not(:empty) {
		min-height: 100px;
	}
}
