.nvg-candidate-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	margin: 24px 0;
}

.nvg-candidate-card,
.nvg-profile,
.nvg-search-form,
.nvg-message {
	background: #fff;
	border: 1px solid #d7dde5;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(31, 41, 55, 0.06);
}

.nvg-candidate-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nvg-candidate-card__media img,
.nvg-profile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nvg-candidate-card__media {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #e8eef7, #f8fafc);
}

.nvg-candidate-card__content,
.nvg-profile__content,
.nvg-search-form,
.nvg-route-container {
	padding: 24px;
}

.nvg-candidate-card__title,
.nvg-profile h1,
.nvg-profile h2 {
	margin-top: 0;
}

.nvg-candidate-card__meta,
.nvg-profile__office {
	color: #4b5563;
	margin: 0 0 10px;
}

.nvg-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.nvg-button-link,
.nvg-search-form button,
.nvg-pagination a {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
}

.nvg-button-link,
.nvg-search-form button {
	background: #0f766e;
	border: none;
	color: #fff;
	cursor: pointer;
}

.nvg-search-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.nvg-search-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.nvg-search-form input,
.nvg-search-form select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
}

.nvg-search-form__actions {
	margin-top: 18px;
}

.nvg-profile {
	margin: 24px 0;
	overflow: hidden;
}

.nvg-profile__hero {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	gap: 24px;
	padding: 24px;
	background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.nvg-profile__media {
	min-height: 280px;
	background: linear-gradient(135deg, #e8eef7, #f8fafc);
	border-radius: 14px;
	overflow: hidden;
}

.nvg-profile__facts,
.nvg-profile__links,
.nvg-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.nvg-profile__facts li,
.nvg-profile__links a,
.nvg-pagination a {
	background: #f1f5f9;
	border-radius: 999px;
	padding: 8px 12px;
	color: #0f172a;
}

.nvg-profile__links a {
	text-decoration: none;
}

.nvg-profile__content section + section {
	margin-top: 24px;
}

.nvg-pagination {
	margin: 24px 0;
}

.nvg-pagination a {
	background: #e2e8f0;
	color: #0f172a;
}

.nvg-pagination a.is-active {
	background: #0f766e;
	color: #fff;
}

.nvg-message {
	padding: 16px 18px;
	margin: 20px 0;
}

.nvg-message-error {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.nvg-message-empty {
	background: #f8fafc;
	color: #334155;
}

.nvg-candidate-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 220px;
	font-weight: 600;
	color: #64748b;
}

@media (max-width: 768px) {
	.nvg-profile__hero {
		grid-template-columns: 1fr;
	}

	.nvg-candidate-card__content,
	.nvg-profile__content,
	.nvg-search-form,
	.nvg-route-container {
		padding: 18px;
	}
}
