.wap-author-profile {
	background: #f8fafc;
	border: 1px solid #dbe4ee;
	border-radius: 14px;
	box-sizing: border-box;
	color: #1f2937;
	margin: 2rem auto;
	max-width: 780px;
	padding: clamp(1rem, 3vw, 1.5rem);
}

.wap-author-profile--top {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #dbe4ee !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
	display: block;
	margin: 1.25rem 0;
	max-width: none;
	padding: .65rem 0;
	width: 100%;
}

.wap-author-profile__byline {
	align-items: center;
	color: #64748b;
	display: flex;
	flex-wrap: nowrap;
	font-size: .8125rem;
	gap: .25rem .45rem;
	line-height: 1.4;
	min-width: 0;
	width: 100%;
}

.wap-author-profile__byline-prefix {
	color: #64748b;
	font-weight: 500;
}

.wap-author-profile__author-trigger,
.wap-affiliate-inline__trigger {
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.wap-author-profile__author-trigger {
	color: #334155;
	font-weight: 700;
	text-align: left;
	text-decoration: underline;
	text-decoration-color: #334155;
	text-decoration-style: solid;
	text-underline-offset: 3px;
}

.wap-author-profile__author-trigger:hover,
.wap-affiliate-inline__trigger:hover {
	color: var(--wp--style--color--link, var(--wp--preset--color--vivid-cyan-blue, #0b63ce));
}

.wap-author-profile__author-trigger:focus-visible,
.wap-affiliate-inline__trigger:focus-visible {
	color: inherit;
	border-radius: 3px;
	outline: 2px solid #0b63ce;
	outline-offset: 3px;
}

.wap-author-profile__role {
	color: #64748b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wap-author-profile__separator {
	color: #94a3b8;
}

.wap-author-popover,
.wap-affiliate-inline {
	display: inline-flex;
	position: relative;
}

.wap-author-popover__content,
.wap-affiliate-inline__content {
	background: #fff;
	border: 1px solid #dbe4ee;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
	color: #334155;
	display: block;
	font-size: .8125rem;
	font-weight: 400;
	left: 0;
	line-height: 1.5;
	padding: .75rem .85rem;
	position: absolute;
	top: calc(100% + .5rem);
	width: min(320px, calc(100vw - 2rem));
	z-index: 20;
}

.wap-author-popover__content[hidden],
.wap-affiliate-inline__content[hidden] {
	display: none;
}

.wap-author-popover__content strong {
	color: #172033;
	display: block;
	font-size: .85rem;
	margin-bottom: .2rem;
}

.wap-author-popover__content p,
.wap-affiliate-inline__content p {
	margin: 0;
}

.wap-affiliate-inline__trigger {
	color: #64748b;
	font-size: .78rem;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wap-affiliate-inline__content {
	left: auto;
	right: 0;
}

.wap-author-profile__identity {
	align-items: center;
	display: flex;
	gap: 1rem;
}

.wap-author-profile__photo {
	border-radius: 999px;
	flex: 0 0 72px;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.wap-author-profile__eyebrow {
	color: #5b6b7f;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin: 0 0 .25rem;
	text-transform: uppercase;
}

.wap-author-profile__name {
	color: #172033;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.25;
	margin: 0;
}

.wap-author-profile__short-bio {
	margin: .4rem 0 0;
}

.wap-author-profile__disclaimer {
	background: #fff;
	border-left: 3px solid #d39b32;
	font-size: .875rem;
	margin-top: 1.25rem;
	padding: .75rem 1rem;
}

.wap-author-profile__disclaimer strong {
	display: block;
	font-size: .78rem;
	letter-spacing: .04em;
	margin-bottom: .25rem;
	text-transform: uppercase;
}

.wap-author-profile__disclaimer p:last-child {
	margin-bottom: 0;
}

.wap-author-profile--bottom {
	background: transparent;
	border: 0;
	border-top: 1px solid #dbe4ee;
	border-radius: 0;
	margin-top: 3rem;
	padding-left: 0;
	padding-right: 0;
}

.wap-author-profile__long-bio {
	margin-top: 1.25rem;
}

.wap-author-profile__long-bio > :first-child {
	margin-top: 0;
}

.wap-author-profile__long-bio > :last-child {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.wap-author-profile__byline {
		flex-wrap: wrap;
		gap: .2rem .35rem;
	}

	.wap-author-profile__identity {
		align-items: flex-start;
	}

}