/* Meet the Team Block (.ms-team) */
body.template-block-builder .wp-block-acf-meet-team-block,
body.template-page .wp-block-acf-meet-team-block,
body.template-component-demo .wp-block-acf-meet-team-block,
.editor-styles-wrapper .wp-block-acf-meet-team-block {
	border: 0;
	margin-top: 0;
	margin-bottom: 0;
}

body.template-block-builder .ms-team,
body.template-page .ms-team,
body.template-component-demo .ms-team,
.editor-styles-wrapper .ms-team {
	--ms-team-bg: #faf7f0;
	--ms-team-ink: #241f21;
	--ms-team-accordion: #2d1d06;
	--ms-team-muted: #a7a6a6;
	--ms-team-placeholder: #e9e1d0;
	--ms-team-border: #241f21;
	--ms-team-max: 1200px;
	background: var(--ms-team-bg);
	box-sizing: border-box;
	margin: 0;
	padding: 100px 0 100px;
	width: 100%;
}

body.template-block-builder .ms-team__inner,
body.template-page .ms-team__inner,
body.template-component-demo .ms-team__inner,
.editor-styles-wrapper .ms-team__inner {
	max-width: var(--ms-team-max);
	margin: 0 auto;
	width: 100%;
	padding: 0 72px;
}

body.template-block-builder .ms-team__intro,
body.template-page .ms-team__intro,
body.template-component-demo .ms-team__intro,
.editor-styles-wrapper .ms-team__intro {
	max-width: 640px;
	margin: 0 0 64px;
	padding: 0;
}

body.template-block-builder .ms-team__headline,
body.template-page .ms-team__headline,
body.template-component-demo .ms-team__headline,
.editor-styles-wrapper .ms-team__headline {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 52px;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ms-team-ink);
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__description,
body.template-page .ms-team__description,
body.template-component-demo .ms-team__description,
.editor-styles-wrapper .ms-team__description {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 18px;
	line-height: 1.8;
	letter-spacing: 0;
	color: var(--ms-team-ink);
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__featured,
body.template-page .ms-team__featured,
body.template-component-demo .ms-team__featured,
.editor-styles-wrapper .ms-team__featured {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.template-block-builder .ms-team__card,
body.template-page .ms-team__card,
body.template-component-demo .ms-team__card,
.editor-styles-wrapper .ms-team__card {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body.template-block-builder .ms-team__card-btn,
body.template-page .ms-team__card-btn,
body.template-component-demo .ms-team__card-btn,
.editor-styles-wrapper .ms-team__card-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

body.template-block-builder .ms-team__card-media,
body.template-page .ms-team__card-media,
body.template-component-demo .ms-team__card-media,
.editor-styles-wrapper .ms-team__card-media {
	display: block;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
}

body.template-block-builder .ms-team__card-img,
body.template-page .ms-team__card-img,
body.template-component-demo .ms-team__card-img,
.editor-styles-wrapper .ms-team__card-img,
body.template-block-builder .ms-team__card-placeholder,
body.template-page .ms-team__card-placeholder,
body.template-component-demo .ms-team__card-placeholder,
.editor-styles-wrapper .ms-team__card-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__card-placeholder,
body.template-page .ms-team__card-placeholder,
body.template-component-demo .ms-team__card-placeholder,
.editor-styles-wrapper .ms-team__card-placeholder {
	background: var(--ms-team-placeholder);
}

body.template-block-builder .ms-team__card-name,
body.template-page .ms-team__card-name,
body.template-component-demo .ms-team__card-name,
.editor-styles-wrapper .ms-team__card-name {
	display: block;
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.4;
	color: var(--ms-team-ink);
	margin: 0 0 4px;
	padding: 0;
}

body.template-block-builder .ms-team__card-subtitle,
body.template-page .ms-team__card-subtitle,
body.template-component-demo .ms-team__card-subtitle,
.editor-styles-wrapper .ms-team__card-subtitle {
	display: block;
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ms-team-muted);
	margin: 0;
	padding: 0;
}

body.template-block-builder .ms-team__accordion,
body.template-page .ms-team__accordion,
body.template-component-demo .ms-team__accordion,
.editor-styles-wrapper .ms-team__accordion {
	width: 100%;
	margin: 64px 0 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__accordion-item,
body.template-page .ms-team__accordion-item,
body.template-component-demo .ms-team__accordion-item,
.editor-styles-wrapper .ms-team__accordion-item {
	border-top: 1px solid var(--ms-team-border);
	margin: 0;
	padding: 0;
}

body.template-block-builder .ms-team__accordion-item:last-child,
body.template-page .ms-team__accordion-item:last-child,
body.template-component-demo .ms-team__accordion-item:last-child,
.editor-styles-wrapper .ms-team__accordion-item:last-child {
	border-bottom: 1px solid var(--ms-team-border);
}

body.template-block-builder .ms-team__accordion-trigger,
body.template-page .ms-team__accordion-trigger,
body.template-component-demo .ms-team__accordion-trigger,
.editor-styles-wrapper .ms-team__accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 24px 72px;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

body.template-block-builder .ms-team__accordion-title,
body.template-page .ms-team__accordion-title,
body.template-component-demo .ms-team__accordion-title,
.editor-styles-wrapper .ms-team__accordion-title {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 24px;
	line-height: 1.8;
	letter-spacing: 0;
	color: var(--ms-team-accordion);
}

body.template-block-builder .ms-team__accordion-icon,
body.template-page .ms-team__accordion-icon,
body.template-component-demo .ms-team__accordion-icon,
.editor-styles-wrapper .ms-team__accordion-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-left: 24px;
	color: var(--ms-team-accordion);
	transition: transform 0.2s ease;
}

body.template-block-builder .ms-team__accordion-item.is-open .ms-team__accordion-icon,
body.template-page .ms-team__accordion-item.is-open .ms-team__accordion-icon,
body.template-component-demo .ms-team__accordion-item.is-open .ms-team__accordion-icon,
.editor-styles-wrapper .ms-team__accordion-item.is-open .ms-team__accordion-icon {
	transform: rotate(180deg);
}

body.template-block-builder .ms-team__accordion-panel,
body.template-page .ms-team__accordion-panel,
body.template-component-demo .ms-team__accordion-panel,
.editor-styles-wrapper .ms-team__accordion-panel {
	margin: 0;
	padding: 0 72px 40px;
	border: 0;
}

body.template-block-builder .ms-team__accordion-grid,
body.template-page .ms-team__accordion-grid,
body.template-component-demo .ms-team__accordion-grid,
.editor-styles-wrapper .ms-team__accordion-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: var(--ms-team-max);
	margin: 0 auto;
	padding: 0;
}

body.template-block-builder .ms-team__modal,
body.template-page .ms-team__modal,
body.template-component-demo .ms-team__modal,
.editor-styles-wrapper .ms-team__modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.template-block-builder .ms-team__modal.is-open,
body.template-page .ms-team__modal.is-open,
body.template-component-demo .ms-team__modal.is-open,
.editor-styles-wrapper .ms-team__modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.template-block-builder .ms-team__modal-backdrop,
body.template-page .ms-team__modal-backdrop,
body.template-component-demo .ms-team__modal-backdrop,
.editor-styles-wrapper .ms-team__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(36, 31, 33, 0.48);
}

body.template-block-builder .ms-team__modal-dialog,
body.template-page .ms-team__modal-dialog,
body.template-component-demo .ms-team__modal-dialog,
.editor-styles-wrapper .ms-team__modal-dialog {
	position: relative;
	width: min(100%, 1120px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--ms-team-bg);
	margin: 0;
	padding: 48px;
	box-sizing: border-box;
}

body.template-block-builder .ms-team__modal-close,
body.template-page .ms-team__modal-close,
body.template-component-demo .ms-team__modal-close,
.editor-styles-wrapper .ms-team__modal-close {
	position: absolute;
	top: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ms-team-ink);
	cursor: pointer;
}

body.template-block-builder .ms-team__modal-layout,
body.template-page .ms-team__modal-layout,
body.template-component-demo .ms-team__modal-layout,
.editor-styles-wrapper .ms-team__modal-layout {
	display: grid;
	grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.template-block-builder .ms-team__modal-img,
body.template-page .ms-team__modal-img,
body.template-component-demo .ms-team__modal-img,
.editor-styles-wrapper .ms-team__modal-img,
body.template-block-builder .ms-team__modal-img-placeholder,
body.template-page .ms-team__modal-img-placeholder,
body.template-component-demo .ms-team__modal-img-placeholder,
.editor-styles-wrapper .ms-team__modal-img-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-img[hidden],
body.template-page .ms-team__modal-img[hidden],
body.template-component-demo .ms-team__modal-img[hidden],
.editor-styles-wrapper .ms-team__modal-img[hidden],
body.template-block-builder .ms-team__modal-img-placeholder[hidden],
body.template-page .ms-team__modal-img-placeholder[hidden],
body.template-component-demo .ms-team__modal-img-placeholder[hidden],
.editor-styles-wrapper .ms-team__modal-img-placeholder[hidden] {
	display: none;
}

body.template-block-builder .ms-team__modal-media,
body.template-page .ms-team__modal-media,
body.template-component-demo .ms-team__modal-media,
.editor-styles-wrapper .ms-team__modal-media {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-img-placeholder,
body.template-page .ms-team__modal-img-placeholder,
body.template-component-demo .ms-team__modal-img-placeholder,
.editor-styles-wrapper .ms-team__modal-img-placeholder {
	background: var(--ms-team-placeholder);
}

body.template-block-builder .ms-team__modal-name,
body.template-page .ms-team__modal-name,
body.template-component-demo .ms-team__modal-name,
.editor-styles-wrapper .ms-team__modal-name {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 52px;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ms-team-ink);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-position,
body.template-page .ms-team__modal-position,
body.template-component-demo .ms-team__modal-position,
.editor-styles-wrapper .ms-team__modal-position {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-style: normal;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ms-team-muted);
	margin: 0 0 8px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-credentials,
body.template-page .ms-team__modal-credentials,
body.template-component-demo .ms-team__modal-credentials,
.editor-styles-wrapper .ms-team__modal-credentials {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-style: normal;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ms-team-muted);
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-bio,
body.template-page .ms-team__modal-bio,
body.template-component-demo .ms-team__modal-bio,
.editor-styles-wrapper .ms-team__modal-bio {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 22px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	color: var(--ms-team-ink);
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-team__modal-bio p,
body.template-page .ms-team__modal-bio p,
body.template-component-demo .ms-team__modal-bio p,
.editor-styles-wrapper .ms-team__modal-bio p {
	margin: 0 0 1em;
	padding: 0;
}

body.template-block-builder .ms-team__modal-bio p:last-child,
body.template-page .ms-team__modal-bio p:last-child,
body.template-component-demo .ms-team__modal-bio p:last-child,
.editor-styles-wrapper .ms-team__modal-bio p:last-child {
	margin-bottom: 0;
}

body.ms-team-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	body.template-block-builder .ms-team__inner,
	body.template-page .ms-team__inner,
	body.template-component-demo .ms-team__inner,
	.editor-styles-wrapper .ms-team__inner {
		padding-left: 40px;
		padding-right: 40px;
	}

	body.template-block-builder .ms-team__featured,
	body.template-page .ms-team__featured,
	body.template-component-demo .ms-team__featured,
	.editor-styles-wrapper .ms-team__featured,
	body.template-block-builder .ms-team__accordion-grid,
	body.template-page .ms-team__accordion-grid,
	body.template-component-demo .ms-team__accordion-grid,
	.editor-styles-wrapper .ms-team__accordion-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.template-block-builder .ms-team__accordion-trigger,
	body.template-page .ms-team__accordion-trigger,
	body.template-component-demo .ms-team__accordion-trigger,
	.editor-styles-wrapper .ms-team__accordion-trigger,
	body.template-block-builder .ms-team__accordion-panel,
	body.template-page .ms-team__accordion-panel,
	body.template-component-demo .ms-team__accordion-panel,
	.editor-styles-wrapper .ms-team__accordion-panel {
		padding-left: 40px;
		padding-right: 40px;
	}

	body.template-block-builder .ms-team__modal-layout,
	body.template-page .ms-team__modal-layout,
	body.template-component-demo .ms-team__modal-layout,
	.editor-styles-wrapper .ms-team__modal-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 600px) {
	body.template-block-builder .ms-team,
	body.template-page .ms-team,
	body.template-component-demo .ms-team,
	.editor-styles-wrapper .ms-team {
		padding-top: 60px;
		padding-bottom: 120px;
	}

	body.template-block-builder .ms-team__inner,
	body.template-page .ms-team__inner,
	body.template-component-demo .ms-team__inner,
	.editor-styles-wrapper .ms-team__inner {
		padding-left: 24px;
		padding-right: 24px;
	}

	body.template-block-builder .ms-team__headline,
	body.template-page .ms-team__headline,
	body.template-component-demo .ms-team__headline,
	.editor-styles-wrapper .ms-team__headline,
	body.template-block-builder .ms-team__modal-name,
	body.template-page .ms-team__modal-name,
	body.template-component-demo .ms-team__modal-name,
	.editor-styles-wrapper .ms-team__modal-name {
		font-size: 36px;
	}

	body.template-block-builder .ms-team__featured,
	body.template-page .ms-team__featured,
	body.template-component-demo .ms-team__featured,
	.editor-styles-wrapper .ms-team__featured,
	body.template-block-builder .ms-team__accordion-grid,
	body.template-page .ms-team__accordion-grid,
	body.template-component-demo .ms-team__accordion-grid,
	.editor-styles-wrapper .ms-team__accordion-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.template-block-builder .ms-team__accordion-trigger,
	body.template-page .ms-team__accordion-trigger,
	body.template-component-demo .ms-team__accordion-trigger,
	.editor-styles-wrapper .ms-team__accordion-trigger,
	body.template-block-builder .ms-team__accordion-panel,
	body.template-page .ms-team__accordion-panel,
	body.template-component-demo .ms-team__accordion-panel,
	.editor-styles-wrapper .ms-team__accordion-panel {
		padding-left: 24px;
		padding-right: 24px;
	}

	body.template-block-builder .ms-team__modal-dialog,
	body.template-page .ms-team__modal-dialog,
	body.template-component-demo .ms-team__modal-dialog,
	.editor-styles-wrapper .ms-team__modal-dialog {
		padding: 32px 24px;
	}
}
