.iwp-profile {}
.iwp-profile__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: min(60px, 5vw);
}

@media (min-width: 769px) {
	.iwp-profile__row {
		flex-direction: row;
		justify-content: center;
		align-items: flex-start;
	}
}

.iwp-profile__figure {
	position: relative;
	flex-shrink: 0;
}

.iwp-profile__image-wrap {
	overflow: hidden;
	aspect-ratio: 323/407;
	width: 220px;
	border-radius: 24px;
}

@media (min-width: 769px) {
	.iwp-profile__image-wrap {
		width: 323px;
	}
}

.iwp-profile__figure::before {
	position: absolute;
	top: -20px;
	left: -40px;
	width: 160px;
	height: 80px;
	background-image: url('../../assets/images/profile-image-frame-top.webp');
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
}

.iwp-profile__figure::after {
	position: absolute;
	right: -16px;
	bottom: -16px;
	width: 160px;
	height: 84px;
	background-image: url('../../assets/images/profile-image-frame-bottom.webp');
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
}

@media (min-width: 769px) {
	.iwp-profile__figure::before {
		width: 226px;
		height: 116px;
	}
	.iwp-profile__figure::after {
		width: 226px;
		height: 120px;
	}
}

.iwp-profile__image-wrap>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.iwp-profile__content {
	flex: 1;
	margin-top: 30px;
}
.iwp-profile__content strong {
	background: linear-gradient(transparent 60%, #ffd0d1 60%);
}

.iwp-profile__content>p {
	margin: 0 !important;
	line-height: 2;
}

.iwp-profile__name {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--color-primary);
	text-align: center;
}

.iwp-profile__name::before {
	display: none !important;
}

@media (min-width: 769px) {
	h3.iwp-profile__name {
		text-align: left;
	}
}
