/**
 * Karam Info Pages — fallback layout.
 *
 * Loaded ONLY when no `gs-team` stylesheet is registered on the request, which
 * means GS Team Members is inactive or has changed its handles. It reproduces
 * the two-column profile layout so the page degrades into something readable
 * instead of a stack of unstyled blocks. When the real stylesheet is present,
 * this file is never enqueued and cannot conflict with it.
 *
 * @package KaramInfoPages
 */

body.kip-profile-page .gs-team-single-content {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

body.kip-profile-page .gs_member_img {
	flex: 0 0 320px;
	max-width: 320px;
}

body.kip-profile-page .gs-team-single-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

body.kip-profile-page .gs_member_details {
	flex: 1 1 380px;
	min-width: 0;
}

body.kip-profile-page .gs-sin-mem-name {
	margin: 0 0 4px;
	font-size: 2rem;
	line-height: 1.2;
}

body.kip-profile-page .gs-sin-mem-desig {
	margin-bottom: 16px;
	font-size: 1.05rem;
	color: #5a6a85;
}

body.kip-profile-page .gs-team-social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

body.kip-profile-page .gs-team-social li {
	margin: 0;
}

body.kip-profile-page .gs-team-social a {
	width: 38px;
	height: 38px;
	border: 1px solid #ccd3db;
	border-radius: 50%;
	color: #5a6a85;
	text-decoration: none;
	transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.kip-profile-page .gs-team-social a:hover {
	transform: translateY(-2px);
	color: #1c2a3a;
	border-color: #1c2a3a;
}

body.kip-profile-page .gs-member-desc p {
	margin: 0 0 1em;
}

@media (max-width: 768px) {
	body.kip-profile-page .gs-team-single-content {
		gap: 24px;
	}

	body.kip-profile-page .gs_member_img {
		flex: 1 1 100%;
		max-width: 100%;
	}
}
