/* =============================================================================
   Nejat Image Feature Grid
   Layout: header above | large image left + 2×2 numbered card grid right
   ============================================================================= */

.nejat-ifg {
	padding-top: var(--nejat-section-pad-v);
	padding-bottom: var(--nejat-section-pad-v);
	background-color: #f7f7f7;
}

.nejat-ifg__inner {
	max-width: var(--nejat-max-width);
	margin: 0 auto;
	padding-left: var(--nejat-gutter);
	padding-right: var(--nejat-gutter);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.nejat-ifg__header {
	margin-bottom: var(--nejat-gap-md);
}

.nejat-ifg__eyebrow {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: capitalize;
	color: #4ab3c8;
	margin-bottom: 8px;
}

.nejat-ifg__headline {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.2;
}

.nejat-ifg__description {
	font-size: 16px;
	line-height: 1.65;
	color: #555555;
	margin: 16px 0 0;
}

.nejat-ifg__description p {
	margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Body: image column + cards column                                           */
/* -------------------------------------------------------------------------- */

.nejat-ifg__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--nejat-gap-md);
	align-items: stretch;
}

/* -------------------------------------------------------------------------- */
/* Image Column                                                                */
/* -------------------------------------------------------------------------- */

.nejat-ifg__image-col {
	min-height: 0;
}

.nejat-ifg__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

/* -------------------------------------------------------------------------- */
/* Cards Column                                                                */
/* -------------------------------------------------------------------------- */

.nejat-ifg__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--nejat-gap-sm);
}

.nejat-ifg__card {
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 220px;
}

.nejat-ifg__card-top {
	flex: 1;
}

.nejat-ifg__card-title {
	font-size: 1.0625rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.35;
}

.nejat-ifg__card-desc {
	font-size: 0.9375rem;
	color: #666666;
	line-height: 1.6;
	margin: 0;
}

.nejat-ifg__card-bottom {
	margin-top: 24px;
}

.nejat-ifg__card-num {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #1a1a1a;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.nejat-ifg__body {
		grid-template-columns: 1fr;
	}

	.nejat-ifg__image-col {
		max-height: 480px;
		overflow: hidden;
	}

	.nejat-ifg__image {
		height: 480px;
	}
}

@media (max-width: 600px) {
	.nejat-ifg__grid {
		grid-template-columns: 1fr;
	}

	.nejat-ifg__card {
		min-height: auto;
	}
}
