/* Shared presentation for manual profiles and their contextual data adapter. */
.emergency-hero--profile {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--white);
}

.emergency-hero--profile .emergency-profile__shell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	text-align: center;
}

.emergency-hero--profile .emergency-profile__portrait {
	flex: none;
	width: 7.5rem;
	max-width: 100%;
	margin: 0;
}

.emergency-hero--profile .emergency-profile__portrait img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.emergency-hero--profile .emergency-profile__identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	width: 100%;
}

.emergency-hero--profile :is(.emergency-profile__role, .emergency-profile__name, .emergency-profile__links) {
	margin: 0;
	max-width: 100%;
	color: inherit;
}

.emergency-hero--profile .emergency-profile__name {
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.emergency-hero--profile .emergency-profile__links {
	gap: 0.75rem;
	flex-wrap: wrap;
}

.emergency-hero--profile .emergency-profile__links .wp-social-link {
	color: inherit;
}

.emergency-hero--profile .emergency-profile__links .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.625rem;
	border-radius: var(--wp--custom--border-radius--small, 0.5rem);
}

.emergency-hero--profile .emergency-profile__links .wp-social-link svg {
	width: 1.5rem;
	height: 1.5rem;
}

.emergency-hero--profile .emergency-profile__links .wp-social-link a:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}
