/* =========================================================
 * NationVoice — Mission Crew Widget
 * ========================================================= */

.nv-crew-wrapper {
	--nv-primary: #3c4d8c;
	--nv-heading: #202428;
	--nv-text: #5e5e5e;
	--nv-text-soft: #7c7c7c;
	--nv-bg: #ffffff;

	--nv-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--nv-trans: 0.35s var(--nv-ease);

	--nv-font-body: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nv-font-heading: Georgia, 'Times New Roman', serif;

	font-family: var(--nv-font-body);
	color: var(--nv-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.nv-crew-wrapper *,
.nv-crew-wrapper *::before,
.nv-crew-wrapper *::after { box-sizing: border-box; }

.elementor-page .nv-crew-wrapper,
.e-con .nv-crew-wrapper,
.elementor-widget-container .nv-crew-wrapper {
	color: var(--nv-text) !important;
	font-family: var(--nv-font-body) !important;
}

/* Frame */
.nv-crew-wrapper .nv-crew {
	width: 100%;
	background-color: var(--nv-bg);
}

.nv-crew-wrapper .nv-crew__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 72px 32px;
	width: 100%;
}

/* Header */
.nv-crew-wrapper .nv-crew__header {
	margin-bottom: 40px;
	max-width: 880px;
}

.nv-crew-wrapper .nv-crew__heading {
	margin: 0 0 16px;
	font-family: var(--nv-font-heading) !important;
	font-weight: 600;
	font-size: 40px;
	line-height: 1.2;
	color: var(--nv-heading) !important;
}

.nv-crew-wrapper .nv-crew__desc {
	margin: 0;
	font-family: var(--nv-font-body) !important;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nv-text) !important;
	max-width: 80ch;
}

/* Grid */
.nv-crew-wrapper .nv-crew__grid {
	display: grid;
	gap: 40px;
}

.nv-crew-wrapper .nv-crew__grid--cols-1 { grid-template-columns: 1fr; }
.nv-crew-wrapper .nv-crew__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.nv-crew-wrapper .nv-crew__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.nv-crew-wrapper .nv-crew__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card */
.nv-crew-wrapper .nv-crew__card {
	display: flex;
	align-items: center;
	gap: 20px;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform var(--nv-trans);

	opacity: 0;
	transform: translateY(20px);
	animation: nv-crew-fade-up 0.7s var(--nv-ease) forwards;
	animation-delay: calc(var(--nv-anim-order, 0) * 100ms);
}

a.nv-crew-wrapper .nv-crew__card:hover,
.nv-crew-wrapper a.nv-crew__card:hover { transform: translateY(-2px); }

.nv-crew-wrapper .nv-crew__avatar-wrap {
	flex-shrink: 0;
}

.nv-crew-wrapper .nv-crew__avatar {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e5e5e5;
	background-color: #f0f0f0;
	transition: border-color var(--nv-trans), transform var(--nv-trans);
}

.nv-crew-wrapper a.nv-crew__card:hover .nv-crew__avatar {
	border-color: var(--nv-primary);
	transform: scale(1.04);
}

.nv-crew-wrapper .nv-crew__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nv-crew-wrapper .nv-crew__name {
	font-family: var(--nv-font-body) !important;
	font-size: 16px;
	font-weight: 600;
	color: var(--nv-heading) !important;
	line-height: 1.4;
}

.nv-crew-wrapper .nv-crew__role {
	font-family: var(--nv-font-body) !important;
	font-size: 14px;
	font-weight: 400;
	color: var(--nv-text-soft) !important;
	line-height: 1.5;
}

@keyframes nv-crew-fade-up {
	to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
	.nv-crew-wrapper .nv-crew__container { padding: 56px 24px; }
	.nv-crew-wrapper .nv-crew__heading { font-size: 32px; }
	.nv-crew-wrapper .nv-crew__grid { gap: 32px; }
	.nv-crew-wrapper .nv-crew__avatar { width: 100px; height: 100px; }
}

@media (max-width: 768px) {
	.nv-crew-wrapper .nv-crew__container { padding: 48px 16px; }
	.nv-crew-wrapper .nv-crew__heading { font-size: 28px; }
	.nv-crew-wrapper .nv-crew__header { margin-bottom: 28px; }
	.nv-crew-wrapper .nv-crew__grid {
		grid-template-columns: 1fr !important;
		gap: 24px;
	}
	.nv-crew-wrapper .nv-crew__avatar { width: 96px; height: 96px; }
	.nv-crew-wrapper .nv-crew__name { font-size: 15px; }
	.nv-crew-wrapper .nv-crew__role { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.nv-crew-wrapper *, .nv-crew-wrapper *::before, .nv-crew-wrapper *::after {
		transition-duration: 0.01ms !important; animation-duration: 0.01ms !important;
	}
	.nv-crew-wrapper .nv-crew__card { opacity: 1 !important; transform: none !important; }
}
