/**
 * [exegypt_social_links] + [exegypt_contact_info] shortcodes.
 * Light card blocks (unlike the dark .exegypt-footer), built on the same
 * --exegypt-navy / --exegypt-gold brand tokens defined in footer.css.
 * Sharp corners throughout — no border-radius, matching the site's design.
 */

.exegypt-identity-block {
	background-color: #f6f8fb;
	border: 1px solid #e4e9f1;
	border-radius: 0;
	padding: 1.15rem;
}

.exegypt-identity-block__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--exegypt-navy);
}

/* ---------------------------------------------------------------
 * Social links grid
 * ------------------------------------------------------------- */

.exegypt-social-block__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	gap: 0.6rem;
}

.exegypt-social-block__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.85rem 0.4rem;
	background-color: #fff;
	border: 1px solid #e4e9f1;
	border-radius: 0;
	text-decoration: none;
	color: var(--exegypt-body-text-muted, #6b7484);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.exegypt-social-block__item:hover {
	border-color: var(--exegypt-gold);
	transform: translateY(-2px);
}

.exegypt-social-block__icon {
	display: flex;
	width: 18px;
	height: 18px;
	color: var(--exegypt-navy);
}

.exegypt-social-block__icon svg {
	width: 100%;
	height: 100%;
}

.exegypt-social-block__label {
	font-size: 0.75rem;
}

/* ---------------------------------------------------------------
 * Contact info rows
 * ------------------------------------------------------------- */

.exegypt-contact-block__rows {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.exegypt-contact-block__row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.exegypt-contact-block__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 0;
	color: #fff;
}

.exegypt-contact-block__icon svg {
	width: 16px;
	height: 16px;
}

.exegypt-contact-block__icon--navy {
	background-color: var(--exegypt-navy);
}

.exegypt-contact-block__icon--gold {
	background-color: var(--exegypt-gold);
}

.exegypt-contact-block__label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--exegypt-navy);
}

a.exegypt-contact-block__row:hover .exegypt-contact-block__label {
	text-decoration: underline;
}

/* ---------------------------------------------------------------
 * Responsive — small laptops / tablets / phones
 * ------------------------------------------------------------- */

@media (max-width: 991px) {
	.exegypt-social-block__grid {
		grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	}
}

@media (max-width: 767px) {
	.exegypt-identity-block {
		padding: 1rem;
	}

	.exegypt-social-block__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.5rem;
	}

	.exegypt-social-block__item {
		padding: 0.7rem 0.3rem;
	}
}

@media (max-width: 599px) {
	.exegypt-identity-block {
		padding: 0.85rem;
	}

	.exegypt-social-block__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.exegypt-contact-block__label {
		font-size: 0.82rem;
	}
}
