/* Editorial identity: retain the existing palette, typography and card geometry.
 * Only this author's expanded labels need wrapping and explicit focus treatment. */
body.author-morteza-riahi .id-author-hero .public-inner-hero-title {
	max-inline-size: 100%;
	white-space: normal;
}

body.author-morteza-riahi .id-author-hero .public-inner-hero-title > span {
	min-inline-size: 0;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

body.author-morteza-riahi .id-author-hero .public-inner-hero-description {
	margin-inline: auto;
	text-align: center;
}

body.author-morteza-riahi .id-author-profile-card :is(
	.id-author-profile-card__eyebrow,
	.id-author-profile-card__role,
	.id-author-profile-card__metric strong,
	.id-author-profile-card__metric span,
	.id-author-profile-card__bio,
	.id-author-profile-card__links a
) {
	min-inline-size: 0;
	max-inline-size: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.author-morteza-riahi .id-author-profile-card__section-heading {
	flex-wrap: wrap;
}

body.author-morteza-riahi .id-author-profile-card__specialty :is(strong, small) {
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.author-morteza-riahi .id-author-profile-card__links a > svg {
	flex-shrink: 0;
}

body.author-morteza-riahi .id-author-profile-card__links a:focus-visible,
body.author-morteza-riahi .id-author-credentials a:focus-visible {
	outline: 2px solid var(--id-primary, #9f4d3e);
	outline-offset: 3px;
}

body.author-morteza-riahi .id-author-articles-title {
	margin-block: 0 1.25rem;
	color: var(--id-foreground, #2d2733);
	font-size: var(--public-type-h2, 1.25rem);
	font-weight: 600;
	line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
	body.author-morteza-riahi .id-author-profile-card__specialty,
	body.author-morteza-riahi .id-author-profile-card__links a {
		transition: none;
	}
}
