/**
 * Our Staff — Figma UI (desktop grid + mobile list)
 */

:root {
	--os-navy: #0a1f57;
	--os-blue: #0b39a1;
	--os-red: #e30d11;
	--os-badge: #5b8def;
	--os-role: #03287c;
	--os-text-heading: #020617;
	--os-text-body: #334155;
	--os-text-muted: #64748b;
	--os-border: #e2e8f0;
	--os-font-heading: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--os-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.os-page {
	position: relative;
	background-color: #ffffff;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 50% auto;
	overflow-x: clip;
	padding-top: 64px;
	padding-bottom: 0;
	min-height: calc(100vh - 400px);
}

@media (max-width: 1024px) {
	.os-page {
		background-size: 60% auto;
		padding-top: 48px;
	}
}

@media (max-width: 768px) {
	.os-page {
		background-size: 80% auto;
		padding-top: 32px;
	}
}

.os-container {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px) 64px;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

/* Breadcrumbs */
/* Breadcrumbs (Figma 283:31921) */
.os-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 0;
}

.os-crumbs__home,
.os-crumbs__link {
	color: #64748b;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: color 0.15s ease;
}

.os-crumbs__home {
	color: #64748b;
}

.os-crumbs__home svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.os-crumbs__home:hover,
.os-crumbs__link:hover {
	color: #03287c;
}

.os-crumbs__sep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.os-crumbs__current {
	color: #03287c;
	font-weight: 600;
}

/* Header (Figma 283:31917 - 283:31920) */
.os-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
	margin-bottom: 64px;
	max-width: none;
}

.os-header__heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	min-width: 0;
}

.os-title {
	font-family: var(--os-font-heading);
	font-size: clamp(32px, 3.8vw, 48px);
	font-weight: 700;
	color: #020617;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-transform: uppercase;
}

.os-desc {
	flex: 1;
	max-width: 580px;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	color: #1e293b;
	margin: 0;
}

/* Controls / Toolbar (Figma 283:31935) */
.os-controls {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-bottom: 40px;
}

.os-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 320px;
	height: 44px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

.os-search__icon {
	color: #64748b;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.os-search__input {
	flex: 1;
	border: 0;
	outline: none;
	background: transparent;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #020617;
	min-width: 0;
}

.os-search__input::placeholder {
	color: #475569;
}

/* Horizontal tabs (Figma 283:31945) */
.os-filters {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
}

.os-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 8px 10px;
	border-radius: 6px;
	border: none;
	background: transparent;
	color: #64748b;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.os-filter:hover {
	color: #1e293b;
}

.os-filter.is-on {
	background: #ffffff;
	color: #1e293b;
	box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

.os-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 6px;
	border-radius: 6px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: #1e293b;
}

.os-filter.is-on .os-filter__count {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #1e293b;
}

/* Custom Table-of-Contents style Dropdown (Course TOC pattern) */
.os-select-wrap {
	display: none;
	position: relative;
	width: 100%;
}

.os-dd.ea-toc-dd {
	position: relative;
	display: block;
	width: 100%;
}

.os-dd .ea-toc-dd__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	height: 44px;
	padding: 8px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	font-family: var(--font-body, var(--os-font-body));
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #020617;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.os-dd .ea-toc-dd__btn:hover {
	border-color: #94a3b8;
}

.os-dd .ea-toc-dd__value {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.os-dd .ea-toc-dd__chevron {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	transition: transform 0.15s ease;
}

.os-dd.is-open .ea-toc-dd__chevron {
	transform: rotate(180deg);
}

.os-dd.is-open .ea-toc-dd__btn {
	border-color: #03287c;
	box-shadow: 0 0 0 3px rgba(3, 40, 124, 0.12);
}

.os-dd .ea-toc-dd__menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 50;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	max-height: 280px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

.os-dd .ea-toc-dd__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.os-dd .ea-toc-dd__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	color: #334155;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.12s ease, color 0.12s ease;
}

.os-dd .ea-toc-dd__option:hover,
.os-dd .ea-toc-dd__option:focus {
	background: #f8fafc;
	color: #03287c;
}

.os-dd .ea-toc-dd__option.is-active {
	background: #eff2fb;
	color: #03287c;
	font-weight: 600;
}

.os-dd__option-label {
	flex: 1;
	min-width: 0;
}

.os-dd__option-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 7px;
	border-radius: 6px;
	background: #f1f5f9;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	color: #475569;
}

.os-dd .ea-toc-dd__option.is-active .os-dd__option-count {
	background: #ffffff;
	color: #03287c;
}

/* Grid — sits cleanly on page without outer box (Figma 283:31946) */
.os-grid-wrap {
	margin-bottom: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.os-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.os-card {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
	box-sizing: border-box;
	min-height: 100%;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.os-card:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.os-card.os-card--no-detail {
	cursor: default;
}

.os-card.os-card--no-detail:hover {
	background: #f8fafc;
	border-color: #e2e8f0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
	transform: none;
}

.os-card:focus-visible {
	outline: 2px solid var(--os-blue);
	outline-offset: 4px;
	border-radius: 8px;
}

.os-card.is-hidden,
.os-card[hidden] {
	display: none !important;
}

.os-card__main {
	display: flex;
	align-items: center;
	align-self: stretch;
	gap: 16px;
	width: 100%;
}

.os-card__photo {
	position: relative;
	flex-shrink: 0;
	width: 90px;
	height: 90px;
	border-radius: 8px;
	border: 0.75px solid rgba(0, 0, 0, 0.16);
	overflow: hidden;
	background: #e8eef8;
	box-sizing: border-box;
}

.os-card--no-photo .os-card__photo {
	display: none;
}

.os-card--no-photo .os-card__main {
	gap: 0;
}

.os-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

/* Watermark: Figma bottom translucent strip with cut-out SSDC text */
.os-photo-watermark {
	position: absolute;
	right: 0;
	bottom: 0;
	left: auto;
	top: auto;
	z-index: 2;
	display: block;
	width: 90px;
	height: 12px;
	background: url('../img/watermark-ssdc.svg') no-repeat right bottom / 90px 12px;
	font-size: 0;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.os-photo-watermark::after {
	display: none;
	content: none;
}

.os-card__photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: var(--os-font-heading);
	font-weight: 700;
	font-size: 26px;
	color: var(--os-blue);
}

.os-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.os-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border: 1px solid #b1c6f6;
	border-radius: 9999px;
	background: #eff2fb;
	color: #03287c;
	font-family: var(--os-font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 20px;
	text-align: center;
}

.os-card__info {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	justify-content: flex-end;
}

.os-card__name {
	font-family: var(--os-font-body);
	font-size: 20px;
	font-weight: 600;
	color: #020617;
	line-height: 30px;
	margin: 0;
}

.os-card__role {
	font-family: var(--os-font-body);
	font-size: 18px;
	font-weight: 400;
	color: #03287c;
	line-height: 28px;
}

.os-card__link,
.os-card__link span {
	font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
	font-size: 18px !important; /* text-lg */
	font-weight: 600 !important;
	line-height: 28px !important; /* text-lg */
	letter-spacing: 0 !important;
	color: rgba(30, 41, 59, 1) !important;
}

.os-card__link {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none !important;
	transition: color 0.15s ease, opacity 0.15s ease;
	pointer-events: none;
}

.os-card__link svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: rgba(30, 41, 59, 1) !important;
	stroke: rgba(30, 41, 59, 1) !important;
	transition: color 0.15s ease, stroke 0.15s ease, transform 0.15s ease;
}

.os-card:hover .os-card__link,
.os-card:hover .os-card__link span {
	color: rgba(30, 41, 59, 1) !important;
}

.os-card:hover .os-card__link svg {
	color: rgba(30, 41, 59, 1) !important;
	stroke: rgba(30, 41, 59, 1) !important;
	transform: translateX(3px);
}

.os-card__link--muted {
	opacity: 1;
	cursor: default;
}

.os-card.os-card--no-detail:hover .os-card__link,
.os-card.os-card--no-detail:hover .os-card__link span {
	color: rgba(30, 41, 59, 1) !important;
}

.os-card.os-card--no-detail:hover .os-card__link svg {
	color: rgba(30, 41, 59, 1) !important;
	stroke: rgba(30, 41, 59, 1) !important;
	transform: none;
}

.os-empty {
	grid-column: 1 / -1;
	margin: 24px 0;
	text-align: center;
	font-family: var(--os-font-body);
	color: var(--os-text-muted);
}

/* View more (Figma 283:31971) */
.os-viewmore-wrap {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.os-viewmore-wrap[hidden] {
	display: none !important;
}

.os-viewmore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 9999px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #1e293b;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	cursor: pointer;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.05), inset 0px 0px 0px 1px rgba(0, 0, 0, 0.18);
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.os-viewmore-btn:hover {
	border-color: #94a3b8;
	color: #020617;
	background: #f8fafc;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.os-viewmore-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: currentColor;
}

/* Staff detail modal (Success Stories pattern) */
html.os-staff-modal-open {
	overflow: hidden;
}

.os-staff-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.os-staff-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.os-staff-modal[hidden] {
	display: none !important;
}

.os-staff-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.os-staff-modal__dialog {
	position: relative;
	z-index: 1;
	width: 650px;
	max-width: calc(100% - 32px);
	max-height: min(90vh, 560px);
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0px 3px 3px -1.5px rgba(0, 0, 0, 0.04), 0px 8px 8px -4px rgba(0, 0, 0, 0.03), 0px 20px 24px -4px rgba(0, 0, 0, 0.08);
	outline: none;
	overflow: hidden;
	transform: translateY(8px) scale(0.98);
	transition: transform 0.18s ease;
}

.os-staff-modal.is-open .os-staff-modal__dialog {
	transform: none;
}

.os-staff-modal__body {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	height: 436px;
	min-height: 0;
	box-sizing: border-box;
}

.os-staff-modal__profile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: 200px;
	flex-shrink: 0;
	padding: 24px 0 24px 24px;
	box-sizing: content-box;
}

.os-staff-modal__avatar-wrap {
	position: relative;
	width: 200px;
	height: 200px;
	border-radius: 16px;
	border: 0.75px solid rgba(0, 0, 0, 0.12);
	overflow: hidden;
	background: #e8eef8;
	flex-shrink: 0;
	box-sizing: border-box;
}

.os-staff-modal__avatar {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	object-fit: cover;
	display: block;
}

.os-staff-modal__avatar-wrap .os-photo-watermark {
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	width: 100%;
	height: 27px;
	background-size: auto 100%;
}

.os-staff-modal__avatar--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: var(--os-font-heading);
	font-weight: 800;
	font-size: 56px;
	color: #03287c;
	background: #e8eef8;
}

.os-staff-modal__meta {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 4px;
}

.os-staff-modal__badge {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	padding: 2px 10px;
	border: 1px solid #b1c6f6;
	border-radius: 9999px;
	background: #eff2fb;
	color: #03287c;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 24px;
}

.os-staff-modal__name {
	margin: 0;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	color: #020617;
}

.os-staff-modal__role {
	margin: 0;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #334155;
}

.os-staff-modal__category {
	font-family: var(--font-body, var(--os-font-body));
	font-size: 14px;
	line-height: 20px;
	color: #64748b;
}

.os-staff-modal__content {
	flex: 1;
	min-width: 0;
	padding: 24px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.os-staff-modal__content::-webkit-scrollbar {
	width: 6px;
}

.os-staff-modal__content::-webkit-scrollbar-track {
	background: transparent;
}

.os-staff-modal__content::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.os-staff-modal__content::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.os-staff-modal__bio {
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	line-height: 28px;
	color: #1e293b;
}

.os-staff-modal__bio p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0 0 16px;
}

.os-staff-modal__bio p:last-child {
	margin-bottom: 0;
}

.os-staff-modal__bio-empty {
	color: #94a3b8;
	font-style: italic;
}

.os-staff-modal__footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0 24px 24px;
	box-sizing: border-box;
}

.os-staff-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 14px;
	border-radius: 9999px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
	color: #334155;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.os-staff-modal__close:hover {
	border-color: #94a3b8;
	color: #020617;
	background: #f8fafc;
}

/* Individual staff profile */
.os-detail {
	position: relative;
	min-height: calc(100vh - 400px);
	padding: 64px 0 72px;
	background: #ffffff url('../img/page-bg.png') no-repeat right top / 50% auto;
}

@media (max-width: 1024px) {
	.os-detail {
		padding: 48px 0 60px;
		background-size: 60% auto;
	}
}

@media (max-width: 768px) {
	.os-detail {
		background-size: 80% auto;
	}
}

.os-detail__wrap {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

.os-detail__crumbs {
	margin-bottom: 28px;
}

.os-detail__card {
	display: grid;
	grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	padding: clamp(24px, 4vw, 48px);
	background: #fff;
	border: 1px solid var(--os-border);
	border-radius: 24px;
	box-shadow: 0 18px 48px rgba(10, 31, 87, 0.08);
}

.os-detail__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 560px;
	overflow: hidden;
	border-radius: 20px;
	border: 0.75px solid rgba(0, 0, 0, 0.16);
	background: #eef2f7;
	box-sizing: border-box;
}

.os-detail__photo .os-photo-watermark {
	right: 0;
	bottom: 0;
	left: 0;
	top: auto;
	width: 100%;
	height: clamp(28px, 5.5vw, 48px);
	background-size: auto 100%;
}

.os-detail__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.os-detail__photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: var(--os-font-heading);
	font-size: clamp(64px, 10vw, 112px);
	font-weight: 800;
	color: var(--os-blue);
}

.os-detail__content {
	min-width: 0;
}

.os-detail__eyebrow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.os-detail__badge,
.os-detail__category {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 12px;
	border-radius: 999px;
	font-family: var(--os-font-body);
	font-size: 13px;
	font-weight: 700;
}

.os-detail__badge {
	border: 1px solid #b1c6f6;
	border-radius: 9999px;
	background: #eff2fb;
	color: #03287c;
	font-size: 14px;
	font-weight: 500;
	padding: 2px 10px;
}

.os-detail__category {
	background: #eef2f7;
	color: #475569;
}

.os-detail__title {
	margin: 0;
	font-family: var(--os-font-heading);
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--os-navy);
	text-transform: uppercase;
}

.os-detail__role {
	margin: 14px 0 0;
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #334155;
}

.os-detail__bio {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--os-border);
	font-family: var(--font-body, var(--os-font-body));
	font-size: 18px;
	line-height: 28px;
	color: #1e293b;
}

.os-detail__bio p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0 0 16px;
}

.os-detail__bio > :last-child {
	margin-bottom: 0;
}

.os-detail__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	font-family: var(--os-font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--os-blue);
	text-decoration: none;
}

.os-detail__back:hover {
	color: var(--os-navy);
	text-decoration: none;
}

@media (max-width: 767px) {
	.os-detail {
		padding: 32px 0 48px;
	}

	.os-detail__wrap {
		width: min(100% - 32px, 560px);
	}

	.os-detail__crumbs {
		margin-bottom: 20px;
	}

	.os-detail__card {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 18px;
		border-radius: 18px;
	}

	.os-detail__photo {
		width: min(100%, 280px);
		aspect-ratio: 4 / 5;
		max-height: 350px;
		margin: 0 auto;
		border-radius: 14px;
	}

	.os-detail__title {
		font-size: clamp(28px, 9vw, 40px);
	}

	.os-detail__bio {
		margin-top: 22px;
		padding-top: 20px;
		font-size: 15px;
	}
}

@media (max-width: 640px) {
	.os-staff-modal {
		padding: 16px;
		align-items: center;
		justify-content: center;
	}

	.os-staff-modal__dialog {
		width: 100%;
		max-width: 100%;
		max-height: min(90vh, 640px);
		border-radius: 16px;
	}

	.os-staff-modal__body {
		flex-direction: column;
		height: auto;
		max-height: none;
	}

	.os-staff-modal__profile {
		width: 100%;
		padding: 20px 20px 0;
		box-sizing: border-box;
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.os-staff-modal__avatar-wrap {
		width: 100px;
		height: 100px;
		border-radius: 12px;
	}

	.os-staff-modal__avatar {
		border-radius: 12px;
	}

	.os-staff-modal__avatar-wrap .os-photo-watermark {
		height: 13.5px;
	}

	.os-staff-modal__name {
		font-size: 18px;
		line-height: 26px;
	}

	.os-staff-modal__role {
		font-size: 15px;
		line-height: 22px;
	}

	.os-staff-modal__badge {
		font-size: 13px;
		line-height: 18px;
		padding: 2px 8px;
	}

	.os-staff-modal__content {
		padding: 16px 20px 16px;
		max-height: 260px;
	}

	.os-staff-modal__bio {
		font-size: 15px;
		line-height: 24px;
	}

	.os-staff-modal__footer {
		padding: 0 20px 20px;
		justify-content: flex-end;
	}

	.os-staff-modal__close {
		width: auto;
		min-width: 80px;
	}
}

@media (max-width: 480px) {
	.os-staff-modal__profile {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.os-staff-modal__avatar-wrap {
		width: 110px;
		height: 110px;
	}

	.os-staff-modal__avatar-wrap .os-photo-watermark {
		height: 15px;
	}
}

/* CTA */
.os-cta {
	margin-top: 48px;
	margin-bottom: 0;
	width: 100%;
	box-sizing: border-box;
}

.os-cta .ssdc-cta-banner,
.os-cta .ssdc-faq-banner {
	margin-top: 0;
	margin-bottom: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.os-cta {
		max-width: var(--ssdc-page-max, none);
		margin-left: auto;
		margin-right: auto;
		padding-left: var(--ssdc-gutter, 112px);
		padding-right: var(--ssdc-gutter, 112px);
		margin-bottom: 48px;
		box-sizing: border-box;
	}

	.os-cta .ssdc-cta-banner,
	.os-cta .ssdc-faq-banner {
		border-radius: 20px;
	}
}

.os-cta-placeholder {
	margin: 24px 0;
	padding: 20px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	color: #64748b;
	font-size: 14px;
	text-align: center;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
	.os-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 40px;
	}

	.os-desc {
		max-width: 100%;
	}

	.os-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.os-search {
		width: 100%;
		max-width: none;
	}

	.os-filters {
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.os-filter {
		white-space: nowrap;
		flex-shrink: 0;
	}

	.os-grid-wrap {
		padding: 0;
	}

	.os-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

/* Mobile — Figma Property 1=Mobile */
@media (max-width: 767px) {
	.os-page {
		padding-top: 32px;
		padding-bottom: 0;
	}

	.os-container {
		width: calc(100% - 32px);
		padding: 0 0 32px;
	}

	.os-header {
		margin-bottom: 28px;
		gap: 16px;
	}

	.os-title {
		font-size: 32px;
		line-height: 40px;
	}

	.os-desc {
		font-size: 16px;
		line-height: 24px;
	}

	.os-filters {
		display: none;
	}

	.os-select-wrap {
		display: block;
	}

	.os-search {
		width: 100%;
		max-width: none;
	}

	.os-grid-wrap {
		padding: 0;
		border: none;
		background: transparent;
	}

	.os-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.os-card {
		gap: 12px;
		padding: 16px;
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
		align-items: stretch;
	}

	.os-card__main {
		gap: 12px;
		align-items: flex-start;
	}

	.os-card__photo {
		width: 80px;
		height: 80px;
		border-radius: 8px;
		border: 0.75px solid rgba(0, 0, 0, 0.16);
	}

	.os-card__photo img {
		border-radius: 8px;
	}

	.os-card__photo .os-photo-watermark {
		right: 0;
		bottom: 0;
		width: 90px;
		height: 12px;
	}

	.os-card__body {
		gap: 4px;
		min-width: 0;
		flex: 1 1 auto;
	}

	.os-card__name {
		font-size: 18px;
		line-height: 28px;
	}

	.os-card__role {
		font-size: 16px;
		line-height: 24px;
	}

	.os-card__link,
	.os-card__link span {
		font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
		font-size: 18px !important;
		font-weight: 600 !important;
		line-height: 28px !important;
		letter-spacing: 0 !important;
		color: rgba(30, 41, 59, 1) !important;
	}

	.os-card__link {
		align-self: flex-end;
		margin-top: 4px;
		gap: 4px;
	}

	.os-card__link svg {
		width: 20px;
		height: 20px;
		color: rgba(30, 41, 59, 1) !important;
		stroke: rgba(30, 41, 59, 1) !important;
	}

	.os-card__link--muted {
		color: rgba(30, 41, 59, 1) !important;
	}

	.os-viewmore-btn {
		width: 100%;
		justify-content: center;
		font-size: 16px;
	}

	/* CTA: compact full-bleed block, short left-aligned careers button */
	.os-cta {
		margin: 24px 0 0;
		padding: 0;
		max-width: none;
		width: 100%;
	}

	.os-cta .ssdc-cta-banner,
	.os-cta .ssdc-faq-banner {
		margin: 0 !important;
		padding: 28px 20px;
		border-radius: 0 !important;
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		box-shadow: none;
	}

	.os-cta .ssdc-cta-banner__copy,
	.os-cta .ssdc-faq-banner__copy {
		align-items: flex-start;
		text-align: left;
		max-width: 100%;
	}

	.os-cta .ssdc-cta-banner__title,
	.os-cta .ssdc-faq-banner__title {
		font-size: 28px;
		line-height: 36px;
		margin-bottom: 8px;
	}

	.os-cta .ssdc-cta-banner__subtitle,
	.os-cta .ssdc-faq-banner__text {
		font-size: 15px;
		line-height: 22px;
		margin-bottom: 16px;
		max-width: 100%;
	}

	.os-cta .ssdc-cta-banner__actions,
	.os-cta .ssdc-faq-banner__actions {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-start;
		width: auto;
		max-width: 100%;
		gap: 12px;
	}

	.os-cta .ssdc-cta-btn,
	.os-cta .ssdc-faq-btn {
		width: auto !important;
		max-width: max-content;
		flex: 0 0 auto;
		justify-content: center;
		align-self: flex-start;
		text-align: center;
		box-sizing: border-box;
		padding: 10px 18px;
		font-size: 15px;
		line-height: 22px;
	}
}

@media (max-width: 640px) {
	.os-container {
		width: calc(100% - 32px);
		padding: 0 0 24px;
	}
}
