.starter-portfolio-hero {
	overflow: clip;
	--starter-portfolio-hero-ink: #111111;
	--starter-portfolio-hero-title-color: var(--starter-portfolio-hero-ink);
	--starter-portfolio-hero-place-color: var(--starter-portfolio-hero-ink);
	--starter-portfolio-hero-roles-color: var(--starter-portfolio-hero-ink);
	--starter-portfolio-hero-roles-gap: 0.35rem;
	--starter-portfolio-hero-intro-color: var(--starter-portfolio-hero-ink);
	--starter-portfolio-hero-intro-width: 28rem;
	--starter-portfolio-hero-recent-color: var(--starter-portfolio-hero-ink);
	--starter-portfolio-hero-portrait-width: min(18rem, 70vw);
	--starter-portfolio-hero-portrait-offset: 1.25rem;
	--starter-portfolio-hero-padding: 1.5rem 0 2rem;
	position: relative;
	color: var(--starter-portfolio-hero-ink);
	background: #fff;
	padding: var(--starter-portfolio-hero-padding);
}

.starter-portfolio-hero__index {
	margin: 0 0 0.75rem 0.25rem;
}

.starter-portfolio-hero__stage {
	position: relative;
}

.starter-portfolio-hero__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--starter-portfolio-hero-title-color);
	text-align: center;
}

.starter-portfolio-hero__place {
	margin: 0.8rem 0 0;
	color: var(--starter-portfolio-hero-place-color);
	text-align: right;
}

.starter-portfolio-hero__portrait {
	width: var(--starter-portfolio-hero-portrait-width);
	margin-top: var(--starter-portfolio-hero-portrait-offset);
	margin-right: auto;
	margin-left: auto;
	background: #ececec;
}

.starter-portfolio-hero__portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.starter-portfolio-hero__role-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: inherit;
	text-decoration: none;
}

.starter-portfolio-hero__role-icon,
.starter-portfolio-hero__role-icon svg {
	width: 1em;
	height: 1em;
	flex: none;
	fill: currentColor;
}

.starter-portfolio-hero__role-link:hover {
	text-decoration: underline;
}

.starter-portfolio-hero__roles {
	display: flex;
	flex-direction: column;
	gap: var(--starter-portfolio-hero-roles-gap);
	margin: 1.25rem 0 0;
	padding: 0;
	color: var(--starter-portfolio-hero-roles-color);
	list-style: none;
}

.starter-portfolio-hero__intro {
	max-width: var(--starter-portfolio-hero-intro-width);
	margin: 1.75rem auto 0;
	color: var(--starter-portfolio-hero-intro-color);
	text-align: center;
}

.starter-portfolio-hero__recent {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	width: fit-content;
	margin: 2rem 0 0 auto;
	color: var(--starter-portfolio-hero-recent-color);
	text-decoration: none;
}

.starter-portfolio-hero__recent-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.starter-portfolio-hero__recent-label svg {
	width: 0.9rem;
	height: 0.9rem;
}

.starter-portfolio-hero__recent-name {
	line-height: 0.95;
}

@media (max-width: 1199px) {
	.starter-portfolio-hero__stage {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
		align-items: center;
		column-gap: 0.65rem;
	}

	.starter-portfolio-hero__title {
		grid-column: 1 / -1;
		margin-bottom: 0.35rem;
		padding-inline: 0;
		font-size: clamp(1.35rem, 6.6vw, 4.75rem);
		line-height: 0.95;
		white-space: nowrap;
	}

	.starter-portfolio-hero__roles {
		grid-column: 1 / -1;
		grid-row: 3;
		justify-self: stretch;
		width: 100%;
		margin: 0.85rem 0 0;
		padding: 0;
		font-size: clamp(0.72rem, 3.2vw, 1rem);
		text-align: left;
	}

	.elementor-widget-starter-portfolio-hero .starter-portfolio-hero__portrait,
	.starter-portfolio-hero__portrait {
		grid-column: 2;
		grid-row: 2;
		width: 100% !important;
		max-width: 100%;
		margin-top: 0 !important;
	}

	.starter-portfolio-hero__place {
		grid-column: 3;
		grid-row: 2;
		justify-self: end;
		margin: 0;
		padding: 0;
		font-size: clamp(0.62rem, 2.4vw, 0.95rem);
		text-align: right;
	}

	.starter-portfolio-hero__intro {
		padding-inline: 0.25rem;
		margin-top: 1.15rem;
		font-size: clamp(0.72rem, 2.8vw, 1rem);
	}

	.starter-portfolio-hero__recent {
		align-items: flex-end;
		max-width: 100%;
		margin: 1.35rem 0 0 auto;
		text-align: right;
	}

	.starter-portfolio-hero__recent-name {
		font-size: clamp(1.15rem, 4.5vw, 2.25rem);
	}
}

@media (min-width: 1200px) {
	.starter-portfolio-hero__place {
		position: absolute;
		top: 46%;
		right: 4%;
		z-index: 3;
		margin: 0;
	}

	.starter-portfolio-hero__roles {
		position: absolute;
		top: 62%;
		left: 7%;
		z-index: 3;
		margin: 0;
	}
}
