.gl-profile-social a:hover {
	transform: translateY(-1px);
	opacity: .88;
}

/* A lone featured article should feel like a contained editorial card,
   not stretch edge-to-edge across the entire section. */
.gl-profile-stories__grid--single {
	display: block;
}

.gl-profile-stories__grid--single .gl-profile-story--featured {
	width: min(100%, 920px);
	margin-inline: auto;
}

.gl-profile-stories__grid--single .gl-profile-story__image {
	display: block;
	width: 100%;
	overflow: hidden;
}

.gl-profile-stories__grid--single .gl-profile-story__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
}

.gl-profile-stories__grid--single .gl-profile-story__body {
	width: min(100%, 780px);
	margin-inline: auto;
	padding-left: clamp(22px, 4vw, 42px);
	padding-right: clamp(22px, 4vw, 42px);
}

@media (max-width: 700px) {
	.gl-profile-hero__actions .gl-profile-hero__button {
		width: 100%;
		min-width: 0;
		height: 48px;
	}

	.gl-profile-social a,
	.gl-profile-social a img {
		width: 36px;
		height: 36px;
	}
}


/* ==========================================================
   COMMUNITY PROFILE — RIGHT RAIL + FEATURED STORY TIGHTENING
   ========================================================== */

/* Keep the clickable community logo centered after wrapping it in an anchor. */
.gl-profile-community-card__logo {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.gl-profile-community-card__logo a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}

.gl-profile-community-card__logo img,
.gl-profile-community-card__logo a img {
	display: block;
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}

/* Match the right-rail CTA typography exactly. */
.gl-profile-community-card__button,
.gl-profile-community-card__discovery {
	text-transform: uppercase;
	font-family: inherit;
	font-size: .84rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

/* Single featured story: much tighter editorial card. */
.gl-profile-stories__grid--single .gl-profile-story--featured {
	width: min(100%, 820px);
	margin-inline: auto;
}

.gl-profile-stories__grid--single .gl-profile-story__image {
	width: 100%;
	margin: 0;
}

.gl-profile-stories__grid--single .gl-profile-story__image img {
	width: 100%;
	max-height: 430px;
	object-fit: cover;
}

.gl-profile-stories__grid--single .gl-profile-story__body {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 18px 22px 22px;
}

.gl-profile-stories__grid--single .gl-profile-story__type {
	margin-bottom: 6px;
}

.gl-profile-stories__grid--single .gl-profile-story__body h3 {
	margin: 0 0 8px;
}

.gl-profile-stories__grid--single .gl-profile-story__body p {
	margin: 0 0 12px;
}

