/**
 * RoyalPine Form — Author card.
 *
 * Scoped under .rpw-author. The button's theme-vulnerable properties are forced
 * (like the AI buttons) so a theme's link/button styles cannot bleed in.
 */

.rpw-author {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin: 22px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rpw-author--center {
	text-align: center;
	justify-content: center;
}

.rpw-author--center .rpw-author__body {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.rpw-author--right {
	justify-content: flex-end;
	text-align: right;
}

.rpw-author__media {
	flex: 0 0 auto;
	line-height: 0;
}

.rpw-author .rpw-author__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: block;
}

.rpw-author__body {
	min-width: 0;
}

.rpw-author .rpw-author__name {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #1f2a44;
	letter-spacing: -0.01em;
}

.rpw-author .rpw-author__bio {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #52607a;
	max-width: 640px;
}

/* Button — forced values defeat theme link/button styling. */
.rpw-author a.rpw-author__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 20px;
	border: 0 !important;
	border-radius: 8px !important;
	background: #111 !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-transform: none;
	box-shadow: none !important;
	background-image: none !important;
	cursor: pointer;
	transition: opacity 0.12s ease, transform 0.12s ease;
	-webkit-appearance: none;
	appearance: none;
}

.rpw-author a.rpw-author__btn:hover,
.rpw-author a.rpw-author__btn:focus {
	color: #fff !important;
	background: #000 !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.rpw-author a.rpw-author__btn:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

@media (max-width: 600px) {

	.rpw-author {
		gap: 14px;
	}

	.rpw-author .rpw-author__name {
		font-size: 18px;
	}
}

/* Reading time ([read-time]). */
.reading-time {
	font-size: 15px;
	color: #52607a;
}
