.page-wrap.staff-page {
	max-width: 1200px;
	margin-inline: auto;
	padding: 3rem 1rem;
}

.staff-page .h1 {
	text-align: center;
	margin-bottom: 1.25rem;
}

.staff-page .page-content {
	max-width: 900px;
	margin: 0 auto 2.5rem;
}

.staff-page .page-content p {
	font-size: 1.05rem;
	line-height: 1.6;
}

.staffMembers {
	width: 100%;
	margin-top: 2rem;
}

.staffMembers--tabs {
	margin-top: 1.5rem;
}

.staffMembers--flat .category_title {
	width: 100%;
	margin: 2rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #d7d7d7;
	text-transform: capitalize;
}

.staff__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	border-bottom: 1px solid #d7d7d7;
	margin: 0 0 1.5rem;
	padding: 0;
}

.staff__category__item {
	list-style: none;
}

.staff__category__btn {
	width: 100%;
	border: 1px solid #d7d7d7;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	background: #f7f7f7;
	color: #111;
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.staff__category__item.active .staff__category__btn {
	background: var(--primary-color, #000);
	color: var(--primary-text-color, #fff);
}

.staff-tab-pane {
	display: none;
}

.staff-tab-pane.active {
	display: block;
}

.staff-info__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 250px));
	gap: 1.5rem;
	justify-content: start;
	margin: 0;
	padding: 0;
}

.staff-info__item {
	list-style: none;
	width: 100%;
	max-width: 250px;
	background: #fff;
	overflow: hidden;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border 0.2s ease;
}

.staff-card-style--border .staff-info__item {
	border: 1px solid #e5e5e5;
	box-shadow: none;
}

.staff-card-style--border_shadow .staff-info__item {
	border: 1px solid #e5e5e5;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.staff-card-style--no_border .staff-info__item {
	border: none;
	box-shadow: none;
}

.staff-info__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 250px;
	background: #f1f1f1;
	overflow: hidden;
}

.page__wrap .page__content .staff-info__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.staff-info__text-wrap {
	padding: 0 0 1rem;
	text-align: center;
}

.staff-info__email-link {
	display: block;
	width: 100%;
	background: var(--primary-color, #000) !important;
	color: var(--primary-text-color, #fff) !important;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	padding: 0.65rem 1rem;
	margin-bottom: 0.85rem;
}

.staff-info__email-link:hover,
.staff-info__email-link:focus {
	opacity: 0.85;
	color: var(--primary-text-color, #fff) !important;
	text-decoration: none;
}

.staff-info__name .h6 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.staff-info__job-title,
.staff-info__phone {
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 1.25;
	margin-bottom: 0.5rem;
	padding-inline: 0.75rem;
}

.staff-info__job-title-secondary {
	font-style: italic;
}

.staff-info__phone a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	color: inherit;
	text-decoration: none;
}

.staff-info__phone a:hover,
.staff-info__phone a:focus {
	text-decoration: underline;
}

.staff-info__phone .superheader__contact-icon {
	display: inline-flex;
	font-size: 0.9em;
	line-height: 1;
	opacity: 0.75;
}

.staff-info__phone .staff-info__phone-text {
	line-height: 1;
}

.staff-info__more-info-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--primary-color, #000);
	background: transparent;
	color: var(--primary-color, #000);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.45rem 0.75rem;
	margin-top: 0.25rem;
	cursor: pointer;
}

.staff-info__more-info-toggle:hover,
.staff-info__more-info-toggle:focus {
	background: var(--primary-color, #000);
	color: var(--primary-text-color, #fff);
}

.staff-info__more-info {
	font-size: 0.875rem;
	line-height: 1.35;
	padding: 0.75rem;
	margin: 0.75rem;
	background: #f7f7f7;
}

.staff-more-info-modal__dialog {
	width: min(92vw, 42rem);
}

.staff-more-info-modal__content {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 1.5rem;
	align-items: start;
}

.staff-more-info-modal__image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 12rem;
	background: #f1f1f1;
	overflow: hidden;
}

.staff-more-info-modal__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
}

.staff-more-info-modal__name {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.35rem;
}

.staff-more-info-modal__job {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 1rem;
}

.staff-more-info-modal__bio {
	font-size: 0.95rem;
	line-height: 1.55;
}

.staff-more-info-modal__bio> :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.page-wrap.container.staff-page {
		padding-block: 2rem;
	}

	.staff__categories {
		display: block;
		border-bottom: 0;
		margin-bottom: 0;
	}

	.staff__category__item {
		margin-bottom: 0.5rem;
	}

	.staff__category__btn {
		position: relative;
		border: 1px solid #d7d7d7;
		border-radius: 4px;
		text-align: left;
		padding-right: 2.5rem;
	}

	.staff__category__btn::after {
		content: "▾";
		position: absolute;
		right: 1rem;
		top: 50%;
		transform: translateY(-50%);
		transition: transform 0.2s ease;
	}

	.staff__category__item.active .staff__category__btn::after {
		transform: translateY(-50%) rotate(180deg);
	}

	.staffMembers--tabs .staff-tab-pane {
		margin-bottom: 1.25rem;
		padding-top: 1rem;
	}

	.staff-info__items {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		justify-content: center;
	}

	.staff-info__item {
		max-width: none;
	}

	.staff-more-info-modal__content {
		grid-template-columns: 1fr;
	}

	.staff-more-info-modal__image-wrap {
		max-width: 12rem;
	}

	.staff-info__image {
		height: auto;
	}
}