/* [nebulo_legutobbi] — recent jobs list. Font-agnostic layout (CSS Grid) so
   switching between Arial / Montserrat / future webfonts doesn't break it. */

.nbmunka-recent {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nbmunka-recent__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(110px, 140px);
	align-items: stretch;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	font-family: inherit; /* inherit Montserrat / whatever the theme sets */
}

/* === Column 1: rate badge ============================================== */

.nbmunka-recent__rate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 16px 10px;
	text-align: center;
	border-right: 1px solid #f1f5f9;
}

.nbmunka-recent__rate-label {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	line-height: 1.2;
}

.nbmunka-recent__rate-qualifier {
	font-size: 11px;
	font-weight: 300;
	font-style: italic;
	color: #94a3b8;
	line-height: 1.2;
	margin-bottom: 2px;
}

.nbmunka-recent__rate-value {
	display: inline-block;
	background: #c8d420; /* brand lime-yellow */
	color: #1a1a1a;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.05;
	padding: 6px 14px;
	border-radius: 6px;
	white-space: nowrap;
}

.nbmunka-recent__rate-unit {
	font-size: 11px;
	font-weight: 500;
	color: #475569;
	line-height: 1.2;
	margin-top: 2px;
}

/* === Column 2: title + iroda ========================================== */

.nbmunka-recent__main {
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.nbmunka-recent__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.nbmunka-recent__title a {
	color: #0f172a;
	text-decoration: none;
}

.nbmunka-recent__title a:hover {
	text-decoration: underline;
}

.nbmunka-recent__iroda {
	margin: 0;
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

/* === Column 3: category (top) + location (bottom) ===================== */

.nbmunka-recent__right {
	display: flex;
	flex-direction: column;
	border-left: 1px solid #f1f5f9;
}

.nbmunka-recent__category {
	flex: 2;
	background: #6b7280;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.04em;
	padding: 12px 10px;
	text-align: center;
	line-height: 1.25;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nbmunka-recent__location {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 10px;
	text-align: center;
	font-size: 12px;
	color: #475569;
	line-height: 1.3;
}

.nbmunka-recent__pin {
	flex-shrink: 0;
	color: #94a3b8;
}

/* === Empty state for [nebulo_search_results] ========================== */

.nbmunka-search-empty {
	padding: 24px 16px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
	background: #fff;
	border: 1px dashed #e5e7eb;
	border-radius: 8px;
	margin: 0;
}

/* === Mobile: stack the three columns =================================== */

@media (max-width: 768px) {
	.nbmunka-recent__card {
		grid-template-columns: 1fr;
	}
	.nbmunka-recent__rate {
		border-right: none;
		border-bottom: 1px solid #f1f5f9;
	}
	.nbmunka-recent__right {
		border-left: none;
		border-top: 1px solid #f1f5f9;
	}
}
