/* =================================================================
 * 20-guest.css — single guest page
 *
 * Added 2026-11-18. The template passed the contrast audit already,
 * so this is layout and consistency rather than a defect fix:
 *
 *  - 0 of 109 guests have a portrait, so the initials monogram is
 *    what every one of these pages shows today. It was rendering as
 *    a flat grey disc, unlike the aurora monograms used on the home
 *    page guest row and the series cards. One treatment, everywhere.
 *  - Only 16 of 109 have a description. On the other 93 the header
 *    left a 200px disc beside an empty column the width of the page.
 *    The header now collapses to the avatar's own width when there
 *    is nothing to sit next to it.
 *
 * The markup already prefers a real thumbnail, so each of these
 * pages upgrades to a photograph by itself as Al delivers them.
 * ================================================================= */

.ppe-g-single { margin-top: .4rem; }

/* --- header ------------------------------------------------------ */

.ppe-g-head {
	display: flex !important;
	gap: 2rem !important;
	align-items: center !important;
	padding-bottom: 1.8rem !important;
	margin-bottom: 2rem !important;
	border-bottom: 1px solid var(--awb-color3) !important;
}

.ppe-g-id {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

/* Nothing to say about this guest yet: don't reserve a column for it. */
.ppe-g-head:not(:has(.ppe-g-bio)):not(:has(.ppe-g-links)) { gap: 1.4rem !important; }

.ppe-g-bio {
	color: var(--awb-color2) !important;
	font-size: 1rem !important;
	line-height: 1.65 !important;
	max-width: 62ch !important;
}

.ppe-g-bio p:last-child { margin-bottom: 0 !important; }

/* --- avatar / monogram -------------------------------------------- */

.ppe-g-single .ppe-g-av {
	flex: 0 0 auto !important;
	width: 148px !important;
	height: 148px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 1px solid var(--awb-color3) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Same aurora tile as the home-page guest row and the artless series
 * cards, so 109 portrait-less pages still look like one set. */
.ppe-g-single .ppe-g-ini,
.ppe-g-grid .ppe-g-ini {
	background:
		radial-gradient(120% 100% at 25% 15%, rgba(122, 31, 184, .55) 0%, rgba(122, 31, 184, 0) 60%),
		radial-gradient(120% 110% at 80% 85%, rgba(44, 192, 170, .40) 0%, rgba(44, 192, 170, 0) 58%),
		linear-gradient(160deg, #1B2036 0%, #0F1220 100%) !important;
	color: var(--awb-color1) !important;
	font-weight: 600 !important;
	letter-spacing: .06em !important;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .5) !important;
}

.ppe-g-single .ppe-g-ini { font-size: 2.6rem !important; }

/* --- external links ------------------------------------------------ */

.ppe-g-links {
	list-style: none !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: .5rem !important;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
}

.ppe-g-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: .4rem !important;
	border: 1px solid rgba(56, 214, 240, .35) !important;
	border-radius: 999px !important;
	padding: .35rem .85rem !important;
	font-size: .8rem !important;
	color: var(--awb-color5) !important;
	text-decoration: none !important;
	transition: border-color .15s ease, background .15s ease !important;
}

.ppe-g-link:hover {
	border-color: var(--awb-color5) !important;
	background: rgba(56, 214, 240, .1) !important;
}

/* --- episode count heading ------------------------------------------ */

/* Was a plain 2rem h2, which read as a second page title under the
 * guest's name. It is a section label, so it gets the same uppercase
 * tracked treatment as every other section head on the site. */
.ppe-g-single .ppe-g-h {
	font-size: .78rem !important;
	font-weight: 600 !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
	color: var(--awb-color6) !important;
	margin: 0 0 1rem !important;
	padding: 0 !important;
}

@media (max-width: 700px) {
	.ppe-g-head {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 1.2rem !important;
	}
	.ppe-g-single .ppe-g-av {
		width: 104px !important;
		height: 104px !important;
	}
	.ppe-g-single .ppe-g-ini { font-size: 1.9rem !important; }
}
