/**
 * Founders overview — route-scoped editorial redesign.
 */

.ych-team-overview {
	--ych-founders-ink: #f4f6fb;
	--ych-founders-muted: #bdcce0;
	--ych-founders-line: rgba(155, 180, 215, 0.18);
	--ych-founders-wash: #081523;
	--ych-founders-panel: #0a1828;
	position: relative;
	overflow: clip;
	background: var(--ych-founders-wash);
	color: var(--ych-founders-ink);
}

.ych-team-overview > :where(section, nav) .site-container {
	width: min(calc(100% - (var(--page-gutter) * 2)), 76rem);
}

.ych-team-overview .ych-team-section,
.ych-team-overview .ych-founders-cta {
	content-visibility: auto;
	contain-intrinsic-size: auto 70rem;
}

.ych-team-overview a:focus-visible {
	outline: 0.1875rem solid #9fc5f4 !important;
	outline-offset: 0.25rem !important;
}

.ych-founders-hero {
	position: relative;
	display: grid;
	min-height: clamp(31rem, 62vw, 43rem);
	isolation: isolate;
	align-items: end;
	background: #091322;
}

.ych-founders-hero__media,
.ych-founders-hero__media img,
.ych-founders-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ych-founders-hero__media {
	z-index: -2;
	overflow: hidden;
}

.ych-founders-hero__media img {
	display: block;
	object-fit: cover;
	object-position: 57% 40%;
}

.ych-founders-hero__overlay {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(5, 14, 27, 0.94) 0%, rgba(5, 14, 27, 0.79) 39%, rgba(5, 14, 27, 0.25) 72%, rgba(5, 14, 27, 0.18) 100%),
		linear-gradient(0deg, rgba(5, 14, 27, 0.72) 0%, transparent 45%);
}

.ych-founders-hero__inner {
	padding-block: clamp(7rem, 12vw, 10rem) clamp(4rem, 7vw, 6rem);
}

.ych-founders-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: clamp(2.25rem, 5vw, 4rem);
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.8125rem;
	font-weight: 700;
}

.ych-founders-hero__breadcrumb a {
	color: #ffffff;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 0.25em;
}

.ych-founders-hero__eyebrow,
.ych-founders-cta__eyebrow {
	margin: 0 0 0.8rem;
	color: #a9cff7;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ych-founders-hero h1 {
	max-width: 10ch;
	margin: 0;
	color: #ffffff;
	font-size: clamp(3.25rem, 7vw, 6.4rem);
	letter-spacing: -0.055em;
	line-height: 0.92;
	text-wrap: balance;
}

.ych-founders-hero__lead {
	max-width: 41rem;
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.65;
}

.ych-founders-hero__actions,
.ych-founders-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	margin-top: 2rem;
}

.ych-team-overview .ych-founders-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0.0625rem solid transparent;
	text-decoration: none;
}

.ych-team-overview .ych-founders-button--secondary {
	border-color: rgba(255, 255, 255, 0.38) !important;
	background: rgba(5, 14, 27, 0.32) !important;
	color: #ffffff !important;
	backdrop-filter: blur(0.4rem);
}

.ych-team-overview__nav {
	position: relative;
	z-index: 4;
	border-bottom: 0.0625rem solid var(--ych-founders-line);
	background: rgba(8, 21, 35, 0.97);
	box-shadow: 0 0.45rem 1.25rem rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(0.75rem);
}

.ych-team-overview__nav .site-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 5.25rem;
}

.ych-team-overview__nav-label {
	margin: 0;
	color: var(--ych-founders-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ych-team-overview__nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ych-team-overview__nav-list a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.75rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	color: var(--ych-founders-ink);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.ych-team-overview__nav-list a:is(:hover, :focus-visible) {
	background: rgba(120, 169, 228, 0.14);
	color: #ffffff;
}

.ych-team-overview .ych-team-section {
	background: var(--ych-founders-panel);
	color: var(--ych-founders-ink);
	scroll-margin-top: 2rem;
}

.ych-team-overview .ych-team-section:nth-of-type(even) {
	background: var(--ych-founders-wash);
}

.ych-team-overview .ych-team-section__header {
	padding: clamp(4.5rem, 8vw, 7rem) 0 0;
	background: transparent;
}

.ych-team-overview .ych-team-section__header h2,
.ych-team-overview .ych-leadership-section-heading h2 {
	margin: 0;
	color: var(--ych-founders-ink);
	font-size: clamp(2.5rem, 5vw, 4.25rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.ych-team-overview .ych-leadership-label {
	margin-bottom: 0.8rem;
	color: #517fb2;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
}

.ych-team-overview .ych-leadership-intro {
	padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
	background: transparent;
}

.ych-team-overview .ych-leadership-intro__panel {
	max-width: none;
	border: 0.0625rem solid var(--ych-founders-line);
	background: #0d1b2d;
	box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.2);
}

.ych-team-overview .ych-leadership-intro__panel p {
	color: var(--ych-founders-muted);
}

.ych-team-overview .ych-founders-page .ych-leadership-intro__panel {
	display: grid;
	grid-template-columns: minmax(15rem, 0.76fr) minmax(0, 1.24fr);
	gap: 0.9rem clamp(2.5rem, 6vw, 5.5rem);
	padding: clamp(2rem, 5vw, 4.5rem);
	border-left: 0.25rem solid var(--ych-accent-purple);
	border-radius: 1.5rem;
	background:
		linear-gradient(135deg, rgba(120, 169, 228, 0.06), rgba(154, 114, 208, 0.07)),
		#0d1b2d;
}

.ych-team-overview .ych-founders-page .ych-leadership-intro__statement {
	grid-column: 1;
	grid-row: 1 / span 4;
	margin: 0;
	color: #9fc9f7 !important;
	font-family: var(--ych-font-display);
	font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
	font-weight: 400;
	line-height: 1.5 !important;
}

.ych-team-overview .ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
	grid-column: 2;
	margin: 0;
	font-size: 1rem;
	line-height: 1.72;
	color: #d7e2ef;
}

.ych-team-overview .ych-leadership-members {
	padding: 0 0 clamp(5rem, 9vw, 8rem);
	background: transparent;
}

.ych-team-overview .ych-leadership-section-heading {
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.ych-team-overview .ych-team-section .ych-leadership-section-heading {
	display: block;
}

.ych-team-overview .ych-founders-page .ych-profile-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card {
	display: grid;
	grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
	grid-template-rows: auto;
	min-height: 27rem;
	overflow: hidden;
	border: 0.0625rem solid var(--ych-founders-line);
	border-radius: 1.5rem !important;
	background: #102033;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18) !important;
}

.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card--reverse {
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
}

.ych-team-overview .ych-founders-page .ych-profile-media {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	height: 100%;
	min-height: 27rem;
	aspect-ratio: auto;
	overflow: hidden;
	background: #dce4ee;
}

.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-media {
	grid-column: 2;
}

.ych-team-overview .ych-profile-picture,
.ych-team-overview .ych-profile-picture img {
	display: block;
	width: 100%;
	height: 100%;
}

.ych-team-overview .ych-founders-page .ych-profile-image {
	position: absolute;
	inset: 0;
	object-fit: cover;
	object-position: var(--ych-profile-position, 50% 35%);
	transition: transform 420ms ease;
}

.ych-team-overview .ych-founders-page .ych-profile-card:is(:hover, :focus-within) .ych-profile-image {
	transform: scale(1.025);
}

.ych-team-overview .ych-founders-page .ych-profile-content {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4.5rem);
}

.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-content {
	grid-column: 1;
}

.ych-team-overview .ych-profile-role {
	margin: 0 0 0.65rem;
	color: #8fc4ff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ych-team-overview .ych-founders-page .ych-profile-card h3 {
	margin: 0 0 1.5rem;
	color: var(--ych-founders-ink);
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.04em;
}

.ych-team-overview .ych-founders-page .ych-profile-bio {
	max-width: 45rem;
	color: var(--ych-founders-muted);
	font-size: 1rem;
	line-height: 1.72;
}

.ych-team-overview .ych-founders-page .ych-profile-bio p {
	margin: 0 0 1rem;
}

/* Supporting leadership groups retain their content while sharing the new rhythm. */
.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) {
	border-top: 0.0625rem solid var(--ych-founders-line);
}

.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro__panel {
	max-width: 58rem;
	margin-inline: auto;
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 1.25rem;
}

.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
	gap: 1.5rem;
}

.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-card {
	border: 0.0625rem solid var(--ych-founders-line);
	background: #102033;
}

.ych-founders-cta {
	padding: clamp(4rem, 8vw, 7rem) 0;
	background: #081525;
	color: #ffffff;
}

.ych-founders-cta__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(2rem, 6vw, 5rem);
	padding: clamp(2rem, 5vw, 4.5rem);
	border: 0.0625rem solid rgba(169, 207, 247, 0.2);
	border-radius: 1.5rem;
	background:
		radial-gradient(circle at 85% 15%, rgba(154, 114, 208, 0.24), transparent 20rem),
		linear-gradient(135deg, #10233a, #0a1728);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
}

.ych-founders-cta h2 {
	max-width: 15ch;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.1rem, 4vw, 3.75rem);
	letter-spacing: -0.045em;
	line-height: 1;
}

.ych-founders-cta__actions {
	flex: 0 0 auto;
	justify-content: flex-end;
	margin-top: 0;
}

.ych-founders-cta__text-link {
	padding: 0.75rem 0.25rem;
	color: #ffffff;
	font-weight: 700;
	text-underline-offset: 0.3em;
}

.ych-team-overview.founders-reveal-ready [data-founders-reveal] {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 520ms ease, transform 520ms ease;
}

.ych-team-overview.founders-reveal-ready [data-founders-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (min-width: 48rem) {
	.ych-team-overview__nav {
		position: sticky;
		top: 0;
	}
}

@media (max-width: 64rem) {
	.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card,
	.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card--reverse {
		grid-template-columns: minmax(15rem, 34%) minmax(0, 1fr);
	}

	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-media {
		grid-column: 1;
	}

	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-content {
		grid-column: 2;
	}

	.ych-founders-cta__panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.ych-founders-cta__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 48rem) {
	.ych-founders-hero {
		min-height: 34rem;
	}

	.ych-founders-hero__media img {
		object-position: 58% 38%;
	}

	.ych-founders-hero__overlay {
		background: linear-gradient(0deg, rgba(5, 14, 27, 0.96) 0%, rgba(5, 14, 27, 0.74) 62%, rgba(5, 14, 27, 0.38) 100%);
	}

	.ych-founders-hero__breadcrumb {
		margin-bottom: 2rem;
	}

	.ych-team-overview__nav .site-container {
		display: block;
		min-height: 0;
		padding-block: 1.25rem;
	}

	.ych-team-overview__nav-label {
		margin-bottom: 0.75rem;
	}

	.ych-team-overview__nav-list {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		scrollbar-width: thin;
	}

	.ych-team-overview__nav-list li {
		flex: 0 0 auto;
	}

	.ych-team-overview .ych-founders-page .ych-leadership-intro__panel {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.ych-team-overview .ych-founders-page .ych-leadership-intro__statement,
	.ych-team-overview .ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
		grid-column: 1;
		grid-row: auto;
	}

	.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card,
	.ych-team-overview .ych-founders-page .ych-profile-list .ych-profile-card--reverse {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.ych-team-overview .ych-founders-page .ych-profile-media,
	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-media {
		grid-column: 1;
		grid-row: 1;
		width: min(100%, 22rem);
		height: auto;
		min-height: 0;
		margin: 1.25rem auto 0;
		border-radius: 1rem;
		aspect-ratio: 4 / 5;
	}

	.ych-team-overview .ych-founders-page .ych-profile-content,
	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-content {
		grid-column: 1;
		grid-row: 2;
		padding: 1.75rem;
	}
}

@media (max-width: 30rem) {
	.ych-team-overview > :where(section, nav) .site-container {
		width: min(calc(100% - 2rem), 76rem);
	}

	.ych-founders-hero {
		min-height: 35rem;
	}

	.ych-founders-hero__inner {
		padding-block: 6rem 3rem;
	}

	.ych-founders-hero h1 {
		font-size: clamp(2.8rem, 15vw, 4rem);
	}

	.ych-founders-hero__actions,
	.ych-founders-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ych-team-overview .ych-founders-button {
		width: 100%;
	}

	.ych-team-overview .ych-team-section__header {
		padding-top: 4rem;
	}

	.ych-team-overview .ych-founders-page .ych-leadership-intro__panel,
	.ych-founders-cta__panel {
		padding: 1.5rem;
	}

	.ych-team-overview .ych-founders-page .ych-profile-media,
	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-media {
		width: calc(100% - 2rem);
		margin-top: 1rem;
	}

	.ych-team-overview .ych-founders-page .ych-profile-content,
	.ych-team-overview .ych-founders-page .ych-profile-card--reverse .ych-profile-content {
		padding: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ych-team-overview *,
	.ych-team-overview *::before,
	.ych-team-overview *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.ych-team-overview.founders-reveal-ready [data-founders-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media (forced-colors: active) {
	.ych-founders-hero__overlay {
		background: Canvas;
		opacity: 0.72;
	}

	.ych-team-overview .ych-profile-card,
	.ych-team-overview .ych-leadership-intro__panel,
	.ych-founders-cta__panel {
		border: 0.125rem solid CanvasText;
	}
}

/*
 * People directory layout.
 * Keeps the existing YouthConnectHub palette and content while adopting the
 * compact left-navigation and portrait grid rhythm of the approved reference.
 */
.ych-team-directory {
	display: grid;
	grid-template-columns: minmax(12rem, 16.5rem) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 4vw, 4rem);
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.ych-team-overview .ych-team-overview__nav {
	position: sticky;
	top: 2rem;
	z-index: 3;
	padding: 0;
	border: 0;
	border-top: 0.25rem solid #78a9e4;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.ych-team-overview .ych-team-overview__nav-label {
	margin: 0;
	padding: 1rem 1.125rem;
	background: #102033;
	color: var(--ych-founders-ink);
}

.ych-team-overview .ych-team-overview__nav-list {
	display: block;
	margin: 0;
	padding: 0;
	border-inline: 0.0625rem solid var(--ych-founders-line);
	border-bottom: 0.0625rem solid var(--ych-founders-line);
}

.ych-team-overview .ych-team-overview__nav-list li + li {
	border-top: 0.0625rem solid var(--ych-founders-line);
}

.ych-team-overview .ych-team-overview__nav-list a {
	display: flex;
	justify-content: space-between;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.8rem 1.125rem;
	border-radius: 0;
	color: var(--ych-founders-ink);
}

.ych-team-overview .ych-team-overview__nav-list a:is(:hover, :focus-visible) {
	background: rgba(120, 169, 228, 0.14);
}

.ych-team-directory__content {
	min-width: 0;
}

.ych-team-overview .ych-team-directory__content .ych-team-section {
	padding: 0;
	border: 0;
	background: transparent;
	scroll-margin-top: 6rem;
}

.ych-team-overview .ych-team-directory__content .ych-team-section + .ych-team-section {
	margin-top: clamp(4.5rem, 8vw, 7rem);
	padding-top: clamp(4rem, 7vw, 6rem);
	border-top: 0.0625rem solid var(--ych-founders-line);
}

.ych-team-overview .ych-team-directory__content .site-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ych-team-overview .ych-team-directory__content .ych-team-section__header {
	padding: 0;
}

.ych-team-overview .ych-team-directory__content .ych-team-section__header h2 {
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	text-align: left;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-intro {
	padding: 1.5rem 0 clamp(2.5rem, 5vw, 4rem);
}

.ych-team-overview .ych-team-directory__content .ych-leadership-intro__panel,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-leadership-intro__panel {
	display: block;
	max-width: 52rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-intro__panel p {
	margin: 0 0 0.85rem;
	color: var(--ych-founders-muted);
	font-size: 1rem !important;
	font-weight: 400;
	line-height: 1.65 !important;
	text-align: left;
}

.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-leadership-intro__statement,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
	margin: 0 0 0.85rem;
	color: var(--ych-founders-muted) !important;
	font-family: inherit;
	font-size: 1rem !important;
	font-weight: 400;
	line-height: 1.65 !important;
}

.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-leadership-intro__statement {
	color: #9fc9f7 !important;
	font-size: 1.1rem !important;
	font-weight: 600;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-members {
	padding: 0;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-section-heading {
	margin-bottom: 1.5rem;
	text-align: left;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-section-heading .ych-leadership-label {
	display: none;
}

.ych-team-overview .ych-team-directory__content .ych-leadership-section-heading h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.ych-team-overview .ych-team-directory__content .ych-profile-list,
.ych-team-overview .ych-team-directory__content .ych-profile-grid,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(2rem, 3vw, 2.5rem) clamp(1.25rem, 2.2vw, 2rem);
}

.ych-team-overview .ych-team-directory__content .ych-profile-card,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list .ych-profile-card,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list .ych-profile-card--reverse,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	overflow: visible;
	border: 0;
	border-radius: 0 !important;
	background: transparent;
	box-shadow: none !important;
}

.ych-team-overview .ych-team-directory__content .ych-profile-card:hover {
	transform: none;
	box-shadow: none !important;
}

.ych-team-overview .ych-team-directory__content .ych-profile-media,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-media,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-card--reverse .ych-profile-media,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-media {
	position: relative;
	order: 1;
	grid-column: auto;
	grid-row: auto;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 1;
	background: #dce4ee;
}

.ych-team-overview .ych-team-directory__content .ych-profile-image,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--ych-profile-position, 50% 35%);
}

.ych-team-overview .ych-team-directory__content .ych-profile-content,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-content,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-card--reverse .ych-profile-content,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-content {
	display: flex;
	flex-direction: column;
	order: 2;
	grid-column: auto;
	grid-row: auto;
	justify-content: flex-start;
	padding: 1rem 0 0;
}

.ych-team-overview .ych-team-directory__content .ych-profile-card h3,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-card h3,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-content h3 {
	order: 1;
	margin: 0 0 0.35rem;
	color: var(--ych-founders-ink);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ych-team-overview .ych-team-directory__content .ych-profile-role,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-role {
	order: 2;
	margin: 0;
	color: #8fc4ff;
	font-size: 0.6875rem;
	line-height: 1.45;
}

.ych-team-overview .ych-profile-details {
	order: 3;
	margin-top: 0.8rem;
	color: var(--ych-founders-muted);
}

.ych-team-overview .ych-profile-details summary {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	color: #9fc9f7;
	font-size: 0.8125rem;
	font-weight: 700;
	list-style: none;
	text-underline-offset: 0.22em;
}

.ych-team-overview .ych-profile-details summary::-webkit-details-marker {
	display: none;
}

.ych-team-overview .ych-profile-details summary::after {
	content: "+";
	font-size: 1rem;
	line-height: 1;
}

.ych-team-overview .ych-profile-details[open] summary::after {
	content: "\2212";
}

.ych-team-overview .ych-profile-details summary:is(:hover, :focus-visible) {
	color: #ffffff;
	text-decoration: underline;
}

.ych-team-overview .ych-profile-details .ych-profile-bio,
.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-details .ych-profile-bio,
.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-details .ych-profile-bio {
	max-width: none;
	margin-top: 0.75rem;
	color: var(--ych-founders-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.ych-team-overview .ych-profile-details .ych-profile-bio p {
	margin: 0 0 0.75rem;
}

@media (max-width: 68rem) {
	.ych-team-overview .ych-team-directory__content .ych-profile-list,
	.ych-team-overview .ych-team-directory__content .ych-profile-grid,
	.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list,
	.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 50rem) {
	.ych-team-directory {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.75rem;
	}

	.ych-team-overview .ych-team-overview__nav {
		position: static;
	}

	.ych-team-overview .ych-team-overview__nav-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ych-team-overview .ych-team-overview__nav-list li + li {
		border-top: 0;
		border-left: 0.0625rem solid var(--ych-founders-line);
	}

	.ych-team-overview .ych-team-overview__nav-list a {
		height: 100%;
	}
}

@media (max-width: 40rem) {
	.ych-team-overview .ych-team-directory__content .ych-profile-list,
	.ych-team-overview .ych-team-directory__content .ych-profile-grid,
	.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list,
	.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 27rem) {
	.ych-team-overview .ych-team-overview__nav-list,
	.ych-team-overview .ych-team-directory__content .ych-profile-list,
	.ych-team-overview .ych-team-directory__content .ych-profile-grid,
	.ych-team-overview .ych-team-directory__content .ych-founders-page .ych-profile-list,
	.ych-team-overview .ych-team-directory__content :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-team-overview .ych-team-overview__nav-list li + li {
		border-top: 0.0625rem solid var(--ych-founders-line);
		border-left: 0;
	}
}
