.elgamal-services-archive__hero {
	background: #1a1a18;
	color: #fff;
	padding: clamp(72px, 8vw, 112px) 0 clamp(56px, 8vw, 96px);
}

.elgamal-services-archive__hero-inner {
	width: min(100% - (var(--elgamal-gutter-inline) * 2), var(--elgamal-max-width));
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: none;
}

.elgamal-services-archive__eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #e3b66c;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 12px;
}

.elgamal-services-archive__rule {
	width: 28px;
	height: 3px;
	background: #c8913c;
	flex: none;
}

.elgamal-services-archive__title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.elgamal-services-archive__lead {
	margin: 0;
	font-size: 17px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.88);
	max-width: 54ch;
}

.elgamal-services-archive__grid-wrap {
	background: #ffffff;
	padding: var(--elgamal-section-y-tight, clamp(36px, 4.5vw, 72px)) 0;
}

.elgamal-services-archive__grid {
	width: min(100% - (var(--elgamal-gutter-inline) * 2), var(--elgamal-max-width));
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 20px;
}

.elgamal-services-archive__card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: #f6f4f0;
	overflow: hidden;
	min-height: 420px;
	transition: transform 0.35s ease;
}

.elgamal-services-archive__card:hover,
.elgamal-services-archive__card:focus-visible {
	transform: translateY(-4px);
	outline: none;
}

.elgamal-services-archive__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1a1a18;
}

.elgamal-services-archive__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.elgamal-services-archive__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 24, 0.55));
}

.elgamal-services-archive__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 26px;
	flex: 1;
}

.elgamal-services-archive__card-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #1d1d1b;
}

.elgamal-services-archive__card-tag {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5e584f;
	flex: 1;
}

.elgamal-services-archive__more {
	font-size: 14px;
	font-weight: 700;
	color: #8a6424;
}

.elgamal-services-archive__empty {
	width: min(100% - (var(--elgamal-gutter-inline) * 2), var(--elgamal-max-width));
	margin-inline: auto;
	color: #5e584f;
}

@media (prefers-reduced-motion: reduce) {
	.elgamal-services-archive__card {
		transition: none;
	}
}
