/* BlueCloud Author Dashboard — book page: "by Author (Author)" byline + "About the author" card.
   Colours follow the brand variables printed inline (--bcad-primary …); fonts inherit from the theme. */

/* ---- byline: by Author (Author) ---------------------------------------- */
.bcad-book-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 .35em;
	margin: 10px 0 18px;
	font-size: 1.0625rem;
	line-height: 1.5;
	color: #374151;
}
.bcad-book-byline-by { font-weight: 400; }
.bcad-book-byline-name {
	font-weight: 700;
	color: var(--bcad-primary, #281c73);
	text-decoration: none;
}
a.bcad-book-byline-name:hover,
a.bcad-book-byline-name:focus-visible {
	color: var(--bcad-primary-dark, #1f1660);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bcad-book-byline-role { color: #6b7280; font-weight: 400; }

/* compact version on book listings (shop / category / related / carousels) */
.bcad-book-byline.is-loop {
	margin: 4px 0 0;
	font-size: .9375rem;
	line-height: 1.4;
	color: #6b7280;
}
.bcad-book-byline.is-loop .bcad-book-byline-name {
	font-weight: 500;
	color: #6b7280;
}
.bcad-book-byline.is-loop a.bcad-book-byline-name:hover { color: var(--bcad-primary, #281c73); }

/* ---- "About the author" section ----------------------------------------- */
.bcad-book-about {
	clear: both;
	margin: 56px 0 0;
	padding: 56px 0 0;
	border-top: 1px solid #e5e7eb;
	font-family: inherit;
	text-align: left;
}
.bcad-book-about.no-divider {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.bcad-book-about-head { margin: 0 0 26px; }
.bcad-book-kicker {
	margin: 0 0 12px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #6b7280;
}
.bcad-book-about-title {
	margin: 0;
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.125rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: #111827;
}
.bcad-book-about-card {
	display: flex;
	align-items: flex-start;
	gap: 36px;
	padding: 36px 40px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-sizing: border-box;
}
.bcad-book-about-photo { flex: 0 0 136px; }
.bcad-book-about-photo a { display: block; }
.bcad-book-about-photo img {
	display: block;
	width: 136px;
	height: 136px;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	background: #f3f4f6;
	box-shadow: 0 0 0 1px #e5e7eb;
}
.bcad-book-about-body { flex: 1 1 auto; min-width: 0; }
.bcad-book-about-name {
	margin: 0 0 14px;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	color: #111827;
}
.bcad-book-about-tagline {
	margin: -6px 0 14px;
	font-size: 1rem;
	color: #6b7280;
}
.bcad-book-about-bio {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #1f2937;
}
.bcad-book-about-bio p { margin: 0 0 1.1em; }
.bcad-book-about-bio p:last-child { margin-bottom: 0; }
.bcad-book-about-bio a { color: var(--bcad-primary, #281c73); }
.bcad-book-about-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
	padding: 13px 20px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	color: #111827;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.bcad-book-about-link:hover,
.bcad-book-about-link:focus-visible {
	border-color: var(--bcad-primary, #281c73);
	color: var(--bcad-primary, #281c73);
	background: var(--bcad-primary-soft, #f3f2fa);
	text-decoration: none;
}
.bcad-book-about-link:focus-visible {
	outline: 2px solid var(--bcad-primary-ring, #a79fd6);
	outline-offset: 2px;
}
.bcad-book-about-link svg { flex: 0 0 auto; }

@media (max-width: 640px) {
	.bcad-book-about { margin-top: 40px; padding-top: 40px; }
	.bcad-book-about-card { flex-direction: column; gap: 20px; padding: 24px; }
	.bcad-book-about-photo { flex-basis: auto; }
	.bcad-book-about-photo img { width: 104px; height: 104px; }
	.bcad-book-about-name { font-size: 1.3125rem; }
	.bcad-book-about-bio { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.bcad-book-about-link { transition: none; }
}
