/* Biography page — RS brand (Poppins / Cormorant / slate-blue) */

.page-template-template-biography #main {
	background: #fff;
}

.page-template-template-biography #main .wf-wrap,
.page-template-template-biography #main .wf-container-main {
	max-width: none !important;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.rs-bio-content {
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
	font-family: var(--rs-font-sans);
	overflow-x: clip;
}

.page-template-template-biography .scroll-top {
	display: none !important;
}

/* Hero */
.rs-bio-hero {
	position: relative;
	overflow: hidden;
	background: var(--rs-ice-blue);
	min-height: 14rem;
	display: flex;
	align-items: flex-end;
	padding: 3rem 0 2.75rem;
	border-bottom: 1px solid var(--rs-ice-blue-border);
}

@media (min-width: 768px) {
	.rs-bio-hero {
		min-height: 18rem;
		padding: 4.5rem 0 3.5rem;
	}
}

.rs-bio-hero--has-image {
	background: var(--rs-slate-blue-dark);
	border-bottom: none;
}

.rs-bio-hero__media {
	position: absolute;
	inset: 0;
	background-image: var(--rs-bio-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.rs-bio-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(17, 37, 51, 0.88) 0%,
		rgba(17, 37, 51, 0.55) 55%,
		rgba(17, 37, 51, 0.35) 100%
	);
}

.rs-bio-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.rs-bio-hero__breadcrumbs {
	margin-bottom: 0.75rem;
}

.rs-bio-hero--has-image .rs-breadcrumbs {
	color: rgba(255, 255, 255, 0.72);
}

.rs-bio-hero--has-image .rs-breadcrumbs a {
	color: #fff;
}

.rs-bio-hero__title {
	margin: 0;
	font-family: var(--rs-font-serif);
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	font-weight: 600;
	color: var(--rs-slate-blue);
	line-height: 1.15;
}

.rs-bio-hero--has-image .rs-bio-hero__title {
	color: #fff;
}

.rs-bio-hero__subtitle {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	font-size: 1.05rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.65;
}

.rs-bio-hero--has-image .rs-bio-hero__subtitle {
	color: rgba(255, 255, 255, 0.85);
}

/* Profile body */
.rs-bio-profile {
	padding: 2.5rem 0 4rem;
	background: #fff;
}

@media (min-width: 768px) {
	.rs-bio-profile {
		padding: 3.5rem 0 5rem;
	}
}

/* Intro: image left / text right */
.rs-bio-intro {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: start;
	margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
	.rs-bio-intro {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
		gap: 3rem;
		align-items: center;
		margin-bottom: 4.5rem;
	}
}

.rs-bio-intro__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 28rem;
	overflow: hidden;
	background: var(--rs-ice-blue);
	border: 1px solid var(--rs-ice-blue-border);
}

@media (min-width: 768px) {
	.rs-bio-intro__media {
		max-height: none;
		aspect-ratio: 3 / 4;
	}
}

.rs-bio-intro__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.rs-bio-intro__placeholder {
	width: 100%;
	height: 100%;
	min-height: 16rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, var(--rs-slate-blue), var(--rs-slate-blue-dark));
	color: #fff;
	font-family: var(--rs-font-serif);
	font-size: 4rem;
	font-weight: 600;
}

.rs-bio-intro__content {
	min-width: 0;
}

.rs-bio-intro__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rs-slate-blue);
}

.rs-bio-intro__name {
	margin: 0 0 0.75rem;
	font-family: var(--rs-font-serif);
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 600;
	color: var(--rs-slate-blue-dark);
	line-height: 1.15;
}

.rs-bio-intro__meta {
	margin: 0 0 1.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.95rem;
	font-weight: 400;
	color: #64748b;
	line-height: 1.65;
}

.rs-bio-intro__heading {
	margin: 0 0 0.75rem;
	font-family: var(--rs-font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--rs-slate-blue-dark);
	padding-left: 0.75rem;
	border-left: 4px solid var(--rs-slate-blue);
	line-height: 1.25;
}

.rs-bio-intro__text {
	margin: 0;
	font-size: 1rem;
	font-weight: 300;
	color: #334155;
	line-height: 1.75;
}

/* Lower sections */
.rs-bio-section {
	margin-bottom: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e2e8f0;
}

.rs-bio-section--last {
	margin-bottom: 0;
}

.rs-bio-section__heading {
	margin: 0 0 1rem;
	font-family: var(--rs-font-serif);
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	font-weight: 600;
	color: var(--rs-slate-blue-dark);
	padding-left: 0.75rem;
	border-left: 4px solid var(--rs-slate-blue);
	line-height: 1.25;
}

.rs-bio-section__desc {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	font-weight: 400;
	color: #64748b;
}

.rs-bio-section__footnote {
	margin: 1.5rem 0 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--rs-slate-blue);
	background: var(--rs-ice-blue);
	padding: 0.85rem 1.15rem;
	border: 1px solid var(--rs-ice-blue-border);
}

/* Timeline */
.rs-bio-timeline {
	position: relative;
	border-left: 2px solid #cbd5e1;
	margin-left: 0.5rem;
	padding-left: 1.5rem;
}

@media (min-width: 768px) {
	.rs-bio-timeline {
		margin-left: 0.75rem;
		padding-left: 2rem;
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.rs-bio-timeline__item {
	position: relative;
	margin-bottom: 1.35rem;
}

.rs-bio-timeline__item:last-child {
	margin-bottom: 0;
}

.rs-bio-timeline__item::before {
	content: '';
	position: absolute;
	left: -1.95rem;
	top: 0.4rem;
	width: 0.75rem;
	height: 0.75rem;
	background: var(--rs-slate-blue);
	border: 3px solid #fff;
	border-radius: 9999px;
	box-sizing: border-box;
	box-shadow: 0 0 0 1px #cbd5e1;
}

@media (min-width: 768px) {
	.rs-bio-timeline__item::before {
		left: -2.45rem;
	}
}

.rs-bio-timeline__year {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--rs-slate-blue);
	margin-bottom: 0.2rem;
	letter-spacing: 0.02em;
}

.rs-bio-timeline__content {
	font-size: 0.95rem;
	font-weight: 300;
	color: #334155;
	line-height: 1.65;
}

/* Interventions grid */
.rs-bio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.rs-bio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.rs-bio-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rs-bio-grid__item {
	background: var(--rs-ice-blue);
	border: 1px solid var(--rs-ice-blue-border);
	padding: 1.25rem;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	box-sizing: border-box;
}

.rs-bio-grid__item:hover {
	border-color: var(--rs-slate-blue);
	background: #fff;
}

.rs-bio-grid__title {
	margin: 0 0 0.45rem;
	font-family: var(--rs-font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--rs-slate-blue);
}

.rs-bio-grid__text {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.55;
}

/* Membership lists — two columns on desktop */
.rs-bio-lists {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.rs-bio-lists {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

.rs-bio-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0;
}

.rs-bio-list li {
	position: relative;
	list-style: none !important;
	padding-left: 1.25rem;
	margin-bottom: 0.65rem;
	font-size: 0.95rem;
	font-weight: 400;
	color: #334155;
	line-height: 1.55;
}

.rs-bio-list li::marker {
	content: none;
	font-size: 0;
}

.rs-bio-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 9999px;
	background: var(--rs-slate-blue);
}

.rs-bio-list--roles {
	padding-top: 0;
	border-top: none;
}

@media (max-width: 767px) {
	.rs-bio-list--roles {
		border-top: 1px solid #f1f5f9;
		padding-top: 1.25rem;
	}
}
