/* Author profile page (author.php) */

body .site-main.author-profile {
	max-width: none;
	margin: 0;
	padding: 0;
	color: #1b1c1c;
	font-family: "Urbanist", var(--e-global-typography-text-font-family), sans-serif;
	font-weight: 400;
}

.author-profile p,
.author-profile li,
.author-profile a,
.author-profile h2,
.author-profile h3 {
	font-family: "Urbanist", var(--e-global-typography-text-font-family), sans-serif;
}

.author-profile .author-profile__container {
	box-sizing: border-box;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 80px;
}

.author-profile .author-profile__heading {
	margin: 0;
	color: var(--e-global-color-primary, #e756d6);
	font-size: 32px;
	font-weight: 700;
	line-height: 44px;
}

.author-profile .author-profile__text {
	font-size: 16px;
	line-height: 24px;
}

.author-profile .author-profile__text--medium {
	font-weight: 500;
}

.author-profile .author-profile__text p {
	margin: 0 0 16px;
}

.author-profile .author-profile__text > :last-child {
	margin-bottom: 0;
}

/* Banner */

.author-profile .author-profile__banner {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 352px;
	overflow: hidden;
	background: #9b989c;
}

.author-profile .author-profile__banner::after {
	content: "";
	position: absolute;
	inset: 0 0 13px;
	background: #9b989c;
	opacity: 0.5;
}

.author-profile .author-profile__banner-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-profile .author-profile__banner-title {
	position: relative;
	z-index: 1;
	margin: 78px 16px 0;
	color: #fff;
	font-family: "Wonderland", cursive !important;
	font-size: 64px;
	font-weight: 400;
	line-height: 74px;
	text-align: center;
}

.author-profile .author-profile__banner-wave {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 130px;
	transform: rotate(180deg);
}

.author-profile .author-profile__banner-wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.author-profile .author-profile__banner-wave .elementor-shape-fill {
	fill: #fff;
}

/* Profile card */

.author-profile .author-profile__card {
	display: flex;
	gap: 56px;
	margin-top: 100px;
	padding: 50px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 14px 22px rgba(0, 0, 0, 0.1);
}

.author-profile .author-profile__media {
	position: relative;
	flex: 0 0 400px;
	min-height: 505px;
}

.author-profile .author-profile__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-profile .author-profile__content {
	flex: 1 1 auto;
	min-width: 0;
}

.author-profile .author-profile__label {
	margin: 0;
	color: #9a7bf0;
	font-size: 15px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.author-profile .author-profile__name {
	margin: 12px 0 0;
	color: var(--e-global-color-primary, #e756d6);
	font-family: "Wonderland", cursive !important;
	font-size: 40px;
	font-weight: 400;
	line-height: 48px;
}

.author-profile .author-profile__job-title {
	margin: 10px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 28.8px;
}

.author-profile .author-profile__bio {
	margin-top: 24px;
}

/* Image + text rows */

.author-profile .author-profile__split {
	display: flex;
	align-items: center;
	gap: 38px;
	margin-top: 100px;
}

.author-profile .author-profile__split-content {
	display: flex;
	flex: 1 1 615px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.author-profile .author-profile__split-media {
	flex: 0 1 627px;
	min-width: 0;
}

.author-profile .author-profile__split-image {
	display: block;
	width: 100%;
	height: 354px;
	object-fit: cover;
	border-radius: 50px 0 50px 50px;
}

.author-profile .author-profile__band {
	margin-top: 100px;
	padding: 80px 0;
	background: var(--e-global-color-secondary, #effeff);
}

.author-profile .author-profile__band .author-profile__split {
	align-items: stretch;
	margin-top: 0;
}

.author-profile .author-profile__band .author-profile__split-content {
	gap: 24px;
}

.author-profile .author-profile__band .author-profile__split-image {
	height: 100%;
	min-height: 354px;
	border-radius: 0 50px 50px 50px;
}

.author-profile .author-profile__highlights {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.author-profile .author-profile__highlight {
	position: relative;
	padding-left: 33px;
}

.author-profile .author-profile__highlight-icon {
	position: absolute;
	top: 4px;
	left: 0;
	display: flex;
}

.author-profile .author-profile__highlight-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.author-profile .author-profile__highlight-text {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 24px;
}

/* Education */

.author-profile .author-profile__education {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 100px;
}

.author-profile .author-profile__education .author-profile__heading {
	line-height: normal;
}

/* Related stories */

.author-profile .author-profile__stories {
	margin-top: 100px;
}

.author-profile .author-profile__stories-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.author-profile .author-profile__stories-heading {
	margin: 0;
	color: #1b1c1c;
	font-family: inherit;
	font-size: 48px;
	font-weight: 700;
	line-height: 56px;
	letter-spacing: -0.96px;
}

.author-profile .author-profile__stories-link,
.author-profile .author-profile__story-more {
	display: inline-flex;
	align-items: center;
	color: var(--e-global-color-primary, #e756d6);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-transform: none;
	white-space: nowrap;
}

.author-profile .author-profile__stories-link {
	gap: 8px;
}

.author-profile .author-profile__story-more {
	gap: 4px;
}

.author-profile .author-profile__stories-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.author-profile .author-profile__story {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(104, 73, 187, 0.08);
}

.author-profile .author-profile__story-media {
	display: block;
	height: 224px;
	background: #f2f0f5;
}

.author-profile .author-profile__story-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-profile .author-profile__story-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
}

.author-profile .author-profile__story-title {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
}

.author-profile .author-profile__story-title a {
	color: #1b1c1c;
	font-family: inherit;
	font-size: inherit;
	text-transform: none;
}

.author-profile .author-profile__story-excerpt {
	margin: 0 0 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}

.author-profile .author-profile__story-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.author-profile .author-profile__story-date {
	color: #54414e;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
}

@media (max-width: 1024px) {
	.author-profile .author-profile__container {
		padding: 0 32px;
	}

	.author-profile .author-profile__banner {
		height: 280px;
	}

	.author-profile .author-profile__banner-title {
		margin-top: 64px;
		font-size: 52px;
		line-height: 60px;
	}

	.author-profile .author-profile__banner-wave {
		height: 100px;
	}

	.author-profile .author-profile__card {
		flex-direction: column;
		gap: 32px;
		margin-top: 64px;
		padding: 40px;
	}

	.author-profile .author-profile__media {
		flex-basis: auto;
		width: 100%;
		max-width: 400px;
		min-height: 0;
		aspect-ratio: 400 / 505;
	}

	.author-profile .author-profile__split,
	.author-profile .author-profile__band .author-profile__split {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		margin-top: 64px;
	}

	.author-profile .author-profile__band .author-profile__split {
		flex-direction: column-reverse;
		margin-top: 0;
	}

	.author-profile .author-profile__split-content,
	.author-profile .author-profile__split-media {
		flex: 0 0 auto;
	}

	.author-profile .author-profile__band .author-profile__split-image {
		height: 354px;
	}

	.author-profile .author-profile__band {
		margin-top: 64px;
		padding: 64px 0;
	}

	.author-profile .author-profile__education,
	.author-profile .author-profile__stories {
		margin-top: 64px;
	}

	.author-profile .author-profile__stories-grid {
		gap: 16px;
	}

	.author-profile .author-profile__story-title {
		font-size: 20px;
		line-height: 28px;
	}

}

@media (max-width: 767px) {
	.author-profile .author-profile__container {
		padding: 0 16px;
	}

	.author-profile .author-profile__banner {
		height: 220px;
	}

	.author-profile .author-profile__banner-title {
		margin-top: 48px;
		font-size: 40px;
		line-height: 48px;
	}

	.author-profile .author-profile__banner-wave {
		height: 60px;
	}

	.author-profile .author-profile__card {
		gap: 24px;
		margin-top: 40px;
		padding: 24px;
	}

	.author-profile .author-profile__name {
		font-size: 32px;
		line-height: 40px;
	}

	.author-profile .author-profile__heading {
		font-size: 26px;
		line-height: 34px;
	}

	.author-profile .author-profile__split,
	.author-profile .author-profile__education,
	.author-profile .author-profile__stories,
	.author-profile .author-profile__band {
		margin-top: 48px;
	}

	.author-profile .author-profile__band .author-profile__split {
		margin-top: 0;
	}

	.author-profile .author-profile__band {
		padding: 48px 0;
	}

	.author-profile .author-profile__split-image,
	.author-profile .author-profile__band .author-profile__split-image {
		height: 240px;
		min-height: 0;
		border-radius: 32px 0 32px 32px;
	}

	.author-profile .author-profile__band .author-profile__split-image {
		border-radius: 0 32px 32px 32px;
	}

	.author-profile .author-profile__stories-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 24px;
	}

	.author-profile .author-profile__stories-heading {
		font-size: 36px;
		line-height: 44px;
	}

	.author-profile .author-profile__stories-grid {
		grid-template-columns: minmax(0, 1fr);
	}

}
