.participant-single {
	margin: 0;
	color: var(--site-text);
	background: var(--site-background);
}

.participant-single__content {
	margin: 0;
	padding: 0 var(--site-gutter) clamp(72px, 9vw, 150px);
}

.participant-single__content > .wp-block-shortcode {
	margin: 0;
}

.participant-profile {
	width: 100%;
	max-width: none;
	margin: 0;
}

.participant-profile__tabs {
	display: flex;
	align-items: stretch;
	gap: clamp(20px, 1.75vw, 34px);
	min-height: 40px;
	margin: 0;
	overflow-x: auto;
	border-top: 1px solid var(--site-border);
	border-bottom: 1px solid var(--site-border);
	font-size: calc(18px * var(--a11y-text-scale, 1));
	scrollbar-width: none;
}

.participant-profile__tabs::-webkit-scrollbar {
	display: none;
}

.participant-profile__tab {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 39px;
	padding: 0;
	font-family: var(--wp--preset--font-family--primary);
	font-size: inherit;
	font-weight: 300;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	color: inherit;
}

.participant-profile__tab::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms ease;
}

.participant-profile__tab:hover::after,
.participant-profile__tab:focus-visible::after,
.participant-profile__tab.is-active::after {
	transform: scaleX(1);
}

.participant-profile__tab.is-active {
	font-weight: 600;
}

.participant-profile__tab:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: -3px;
}

.participant-profile__layout {
	display: grid;
	grid-template-columns: minmax(0, 690px) minmax(360px, 30.5556vw);
	justify-content: space-between;
	gap: clamp(64px, 8vw, 160px);
	align-items: start;
	padding-top: clamp(36px, 2.75vw, 52px);
}

.participant-profile--without-image .participant-profile__layout {
	display: block;
}

.participant-profile__panels {
	min-width: 0;
}

.participant-profile.is-enhanced .participant-profile__panel[hidden] {
	display: none;
}

.participant-profile__panel-content {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 300;
	line-height: 1.3;
}

.participant-profile__panel-content > :first-child {
	margin-top: 0;
}

.participant-profile__panel-content > :last-child {
	margin-bottom: 0;
}

.participant-profile__panel-content p,
.participant-profile__panel-content ul,
.participant-profile__panel-content ol,
.participant-profile__panel-content blockquote {
	margin-top: 0;
	margin-bottom: 1.4em;
}

.participant-profile__panel-content ul,
.participant-profile__panel-content ol {
	padding-left: 1.25em;
}

.participant-profile__panel-content a {
	color: inherit;
	text-underline-offset: 0.15em;
}

.participant-profile__program-stage + .participant-profile__program-stage {
	margin-top: 40px;
}

.participant-profile__program-stage-title {
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.2;
}

.participant-profile__program-stage-content > :first-child {
	margin-top: 0;
}

.participant-profile__program-stage-content > :last-child {
	margin-bottom: 0;
}

.participant-profile__visual {
	width: 100%;
	margin: 0;
}

.participant-profile__image {
	display: block;
	width: 100%;
	aspect-ratio: 440 / 572;
	height: auto;
	object-fit: cover;
	object-position: center top;
}

.participant-profile--artist .participant-profile__visual {
	display: flex;
	justify-content: flex-end;
}

.participant-profile--artist .participant-profile__image {
	width: auto;
	max-width: 100%;
	aspect-ratio: auto;
	height: auto;
	object-fit: contain;
}

.participant-single__country {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.25;
}

@media (max-width: 1024px) {
	.participant-profile__layout {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 38vw);
		gap: clamp(32px, 5vw, 64px);
	}
}

@media (max-width: 767px) {
	.participant-single__content {
		padding: 0 16px 72px;
	}

	.participant-profile__tabs {
		gap: 24px;
		height: 44px;
		font-size: calc(15px * var(--a11y-text-scale, 1));
	}

	.participant-profile__layout {
		display: flex;
		flex-direction: column;
		gap: 32px;
		padding-top: 24px;
	}

	.participant-profile__visual {
		order: -1;
	}

	.participant-profile.is-enhanced:not(.is-biography-active)
		.participant-profile__visual {
		display: none;
	}

	.participant-profile__image {
		aspect-ratio: auto;
		object-fit: contain;
	}
}

@media (prefers-reduced-motion: reduce) {
	.participant-profile__tab::after {
		transition: none;
	}
}
