.m10-committee-members-directory {
	position: relative;
	width: 100%;
}

.m10-committee-members-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
}

.m10-committee-member-name-button {
	appearance: none;
	border: 1px solid #d9d9d9;
	border-radius: 999px;
	background: #fff;
	color: #222;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	padding: 10px 18px;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.m10-committee-member-name-button:hover,
.m10-committee-member-name-button:focus-visible {
	background: #222;
	transform: translateY(-2px);
}

.m10-committee-members-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 28px;
}

.m10-committee-member-card {
	display: flex;
	height: 100%;
	min-height: var(--m10-card-min-height, 540px);
	overflow: hidden;
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	background: #fff;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.m10-committee-member-card:hover,
.m10-committee-member-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.m10-committee-member-card-trigger {
	display: flex;
	width: 100%;
	height: 100%;
	flex: 1;
	flex-direction: column;
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-align: left;
}

.m10-committee-member-card-trigger:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: -3px;
}

.m10-committee-member-card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #fff;
}

.m10-committee-member-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.m10-committee-member-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	padding: 24px;
}

.m10-committee-member-card-name {
	margin: 0 0 8px;
	font-size: 1.45rem;
	line-height: 1.2;
	font-family: 'Anton', sans-serif;
}

.m10-committee-member-card-job,
.m10-committee-member-card-company {
	margin: 0 0 4px;
}

.m10-committee-member-card-job {
	font-weight: 700;
	font-family: 'Inter', sans-serif;
}

.m10-committee-member-card-company {
	color: #666;
	font-family: 'Inter', sans-serif;
}

.m10-committee-member-card-summary {
	margin-top: 18px;
	color: #666;
	line-height: 1.6;
	font-family: 'Inter', sans-serif;
	
}

.m10-committee-member-card-link {
	display: inline-block;
	margin-top: auto;
	padding-top: 22px;
	font-weight: 700;
	text-decoration: underline;
}

/* Change card text colour on hover */
.m10-committee-member-card:hover .m10-committee-member-card-name,
.m10-committee-member-card:hover .m10-committee-member-card-job,
.m10-committee-member-card:hover .m10-committee-member-card-company,
.m10-committee-member-card:hover .m10-committee-member-card-link,
.m10-committee-member-card:focus-within .m10-committee-member-card-name,
.m10-committee-member-card:focus-within .m10-committee-member-card-job,
.m10-committee-member-card:focus-within .m10-committee-member-card-company,
.m10-committee-member-card:focus-within .m10-committee-member-card-link {
	color: #FDAFCA !important;
}

.m10-committee-member-modal[hidden] {
	display: none;
}

.m10-committee-member-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
}

.m10-committee-member-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.m10-committee-member-modal-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(1200px, calc(100% - 40px));
	height: min(760px, calc(100vh - 40px));
	max-height: calc(100vh - 40px);
	overflow: hidden;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.m10-committee-member-modal-content {
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.m10-committee-member-modal-dialog
.m10-committee-member-modal-close {
	all: unset;
	position: absolute;
	z-index: 20;
	top: 18px;
	right: 22px;

	display: block;
	width: 30px;
	height: 30px;

	color: #000;
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 34px;
	font-weight: 300;
	line-height: 28px;
	text-align: center;

	box-sizing: border-box;
}

.m10-committee-member-modal-dialog
.m10-committee-member-modal-close span {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: inherit;
}

.m10-committee-member-modal-dialog
.m10-committee-member-modal-close:hover {
	opacity: 0.6;
}

.m10-committee-member-modal-dialog
.m10-committee-member-modal-close:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.m10-committee-member-profile {
	display: grid;
	grid-template-columns: minmax(340px, 45%) minmax(0, 1fr);
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.m10-committee-member-modal-image-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #fff;
}

.m10-committee-member-modal-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center top;
}

.m10-committee-member-modal-copy {
	min-width: 0;
	min-height: 0;
	overflow-y: auto;
	padding: 55px 50px 50px;
	background: #fff;
	box-sizing: border-box;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.m10-committee-member-modal-name {
	margin: 0 55px 10px 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	font-family: 'Anton', sans-serif;
}

.m10-committee-member-modal-job {
	margin: 0 0 5px;
	font-weight: 700;
}

.m10-committee-member-modal-company {
	margin: 0;
	color: #666;
}

.m10-committee-member-modal-summary {
	margin: 22px 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.55;
}

.m10-committee-member-modal-biography {
	margin-top: 28px;
	line-height: 1.7;
}

.m10-committee-member-modal-biography > :first-child {
	margin-top: 0;
}

.m10-committee-member-modal-biography > :last-child {
	margin-bottom: 0;
}

.m10-committee-member-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.m10-committee-member-modal-actions a {
	display: inline-block;
	border: 1px solid #222;
	border-radius: 999px;
	background: #222;
	color: #fff;
	padding: 10px 18px;
	text-decoration: none;
}

.m10-committee-member-modal-actions a:hover,
.m10-committee-member-modal-actions a:focus-visible {
	background: transparent;
	color: #222;
}

body.m10-committee-member-modal-open {
	overflow: hidden;
}

.m10-committee-members-empty {
	margin: 0;
}

@media (max-width: 1024px) {
	.m10-committee-member-modal-dialog {
		top: 20px;
		left: 20px;
		width: calc(100% - 40px) !important;
		height: calc(100% - 40px);
		max-height: calc(100% - 40px);
		overflow: hidden;
		transform: none;
		border-radius: 12px;
		background: #fff;
	}

	.m10-committee-member-profile {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
		min-height: 0;
		overflow: hidden;
		background: #fff;
	}

	.m10-committee-member-modal-image-wrap {
		position: relative;
		display: block;
		flex: 0 0 590px;
		width: 100%;
		height: 590px;
		min-height: 590px;
		max-height: 590px;
		overflow: hidden;
		background: #fff;
	}

	.m10-committee-member-modal-image {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: center top;
	}

	.m10-committee-member-modal-copy {
		position: relative;
		z-index: 1;
		flex: 1 1 auto;
		width: 100%;
		min-height: 0;
		margin: 0;
		padding: 35px 40px 50px;
		overflow-y: auto;
		background: #fff;
		box-sizing: border-box;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.m10-committee-member-modal-name {
		margin: 0 50px 10px 0;
	}
	
	

	.m10-committee-member-modal-biography {
		margin-top: 24px;
	}

	.m10-committee-member-modal-dialog
	.m10-committee-member-modal-close {
		position: absolute;
		top: 18px;
		right: 20px;
		z-index: 30;
		width: 32px;
		height: 32px;
		background: transparent;
		color: #000;
	}
}
@media (max-width: 767px) {
	
		.m10-committee-members-directory {
			width: 100%;
		}
	
		.m10-committee-members-grid {
			grid-template-columns: 1fr;
			grid-auto-rows: auto;
			gap: 22px;
		}
	
		.m10-committee-member-card {
			min-height: 0;
			height: auto;
			border-radius: 10px;
		}
	
		.m10-committee-member-card-trigger {
			height: auto;
		}
	
		.m10-committee-member-card-image {
			width: 100%;
			height: var(
				--m10-mobile-card-image-height,
				280px
			);
			aspect-ratio: auto;
		}
	
		.m10-committee-member-card-image img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center top;
		}
	
		.m10-committee-member-card-content {
			padding: 22px 20px 24px;
		}
	
		.m10-committee-member-card-name {
			margin-bottom: 7px;
			font-size: 1.55rem;
			line-height: 1.15;
		}
	
		.m10-committee-member-card-job,
		.m10-committee-member-card-company {
			font-size: 0.95rem;
			line-height: 1.4;
		}
	
		.m10-committee-member-card-summary {
			margin-top: 14px;
			font-size: 1rem;
			line-height: 1.55;
		}
	
		.m10-committee-member-card-link {
			padding-top: 18px;
		}
	
		.m10-committee-members-nav {
			display: flex;
			flex-wrap: nowrap;
			gap: 8px;
			margin-bottom: 28px;
			padding: 0 0 10px;
			overflow-x: auto;
			scroll-snap-type: x proximity;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: thin;
		}
	
		.m10-committee-member-name-button {
			flex: 0 0 auto;
			padding: 9px 15px;
			white-space: nowrap;
			scroll-snap-align: start;
		}
	
		.m10-committee-member-modal {
			position: fixed;
			z-index: 999999;
			inset: 0;
			width: 100%;
			height: 100dvh;
			padding: 0;
			overflow: hidden;
			touch-action: none;
		}
		
		.m10-committee-member-modal-overlay {
			position: fixed;
			inset: 0;
		}
		
		.m10-committee-member-modal-dialog {
			position: fixed;
			inset: 0;
			width: 100% !important;
			height: 100dvh;
			max-height: 100dvh;
			overflow-x: hidden;
			overflow-y: auto;
			transform: none;
			border-radius: 0;
			background: #fff;
			overscroll-behavior: contain;
			-webkit-overflow-scrolling: touch;
			touch-action: pan-y;
		}
		
		/* Reset inherited desktop heights */
		.m10-committee-member-modal-content {
			display: block;
			width: 100%;
			height: auto !important;
			min-height: 0 !important;
			overflow: visible;
		}
		
		.m10-committee-member-profile {
			display: block;
			width: 100%;
			height: auto !important;
			min-height: 0 !important;
			overflow: visible;
		}
		
		.m10-committee-member-modal-image-wrap {
			position: relative;
			display: block;
			width: 100%;
			height: auto !important;
			min-height: 0 !important;
			max-height: none !important;
			overflow: visible;
			background: #fff;
		}
		
		.m10-committee-member-modal-image {
			position: static;
			display: block;
			width: 100%;
			height: auto !important;
			min-height: 0 !important;
			max-width: 100%;
			max-height: none !important;
			object-fit: unset;
			object-position: unset;
		}
		
		/* Text follows immediately after the image */
		.m10-committee-member-modal-copy {
			position: static;
			display: block;
			width: 100%;
			height: auto !important;
			min-height: 0 !important;
			margin: 0 !important;
			padding: 32px 22px 45px;
			overflow: visible;
			background: #fff;
			box-sizing: border-box;
		}
		
		.m10-committee-member-modal-name {
			margin: 0 45px 8px 0;
			font-size: 2rem;
			line-height: 1.1;
		}
		
		.m10-committee-member-modal-job {
			margin-bottom: 4px;
		}
		
		.m10-committee-member-modal-company {
			line-height: 1.4;
		}
		
		.m10-committee-member-modal-summary {
			margin: 20px 0 0;
			font-size: 1.25rem;
			font-weight: 600;
			line-height: 1.55;
		}
		
		.m10-committee-member-modal-biography {
			margin-top: 22px;
			font-size: 1rem;
			line-height: 1.65;
		}
		
		.m10-committee-member-modal-dialog
		.m10-committee-member-modal-close {
			position: fixed;
			z-index: 9999999;
			top: 14px;
			right: 16px;
			width: 40px;
			height: 40px;
			background: rgba(255, 255, 255, 0.92);
			border-radius: 50%;
			color: #000;
		}
		
		.m10-committee-member-modal-actions {
			display: flex;
			flex-direction: column;
			gap: 12px;
			margin-top: 25px;
		}
		
		.m10-committee-member-modal-actions a {
			width: 100%;
			text-align: center;
			box-sizing: border-box;
		}
	}

/* Media Ten component styling alignment (v2). */
.m10-committee-member-card {
	border: 0;
	border-radius: 0;
	background: #f7f7f7;
}
.m10-committee-member-card-content { padding: 22px 20px 20px; }
.m10-committee-member-card-name { font-size: 1.65rem; color: #1e1e1e; }
.m10-committee-member-card-link {
	align-self: flex-start;
	margin-top: auto;
	padding: 10px 14px;
	border: 2px solid #fdafc9;
	background: #fff;
	color: #fdafc9;
	font-family: Anton, sans-serif;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.m10-committee-member-card:hover .m10-committee-member-card-link,
.m10-committee-member-card:focus-within .m10-committee-member-card-link {
	transform: translateY(-2px);
	background: #fdafc9;
	color: #1e1e1e !important;
}
.m10-committee-member-name-button {
	border: 2px solid #fdafc9;
	border-radius: 0;
	color: #fdafc9;
	font-family: Anton, sans-serif;
}
.m10-committee-member-name-button:hover,
.m10-committee-member-name-button:focus-visible {
	background: #fdafc9;
	color: #1e1e1e;
}
.m10-committee-member-modal-actions a {
	border: 2px solid #fdafc9;
	border-radius: 0;
	background: #fff;
	color: #fdafc9;
	font-family: Anton, sans-serif;
}
.m10-committee-member-modal-actions a:hover,
.m10-committee-member-modal-actions a:focus-visible {
	background: #fdafc9;
	color: #1e1e1e;
}
