/**
 * Maison VIII Team and Area Guides presentation.
 */

.m8-editorial-hero,
.m8-editorial-hero * {
	box-sizing: border-box;
}

.m8-editorial-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(610px, 72svh, 760px);
	align-items: flex-end;
	overflow: hidden;
	background: #000;
	color: #fff;
}

.m8-editorial-hero__media,
.m8-editorial-hero__shade {
	position: absolute;
	inset: 0;
}

.m8-editorial-hero__media {
	z-index: -2;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: saturate(.72) contrast(1.04);
	transform: scale(1.035);
	transition: transform 1.6s cubic-bezier(.2, .7, .2, 1);
}

.m8-editorial-hero__shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, .12) 78%),
		linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 62%);
}
.page-id-592 .m8-editorial-hero__media {
    background-position: center top;
}
.page-id-592 .m8-editorial-hero__shade {
    background: linear-gradient(90deg, rgb(0 0 0 / 37%) 0%, rgb(0 0 0 / 27%) 42%, rgba(0, 0, 0, .12) 78%), linear-gradient(0deg, rgb(0 0 0 / 26%), transparent 0%);
}
.page-id-17710 .m8-editorial-hero__media {
    background-position: center right!important;
}
.m8-editorial-hero__shell {
	width: min(100% - 96px, 1380px);
	margin-inline: auto;
	padding: 180px 0 clamp(70px, 8vh, 104px);
}

.m8-editorial-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 32px;
	color: rgba(255, 255, 255, .62);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.m8-editorial-hero__eyebrow:before {
	width: 24px;
	height: 1px;
	background: currentColor;
	content: "";
}

.m8-editorial-hero__title {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-family: "Gilda Display", Georgia, serif;
	font-size: clamp(50px, 5.2vw, 76px);
	font-weight: 400;
	letter-spacing: -.028em;
	line-height: 1;
	text-wrap: balance;
}

.m8-editorial-hero__copy {
	max-width: 590px;
	margin: 38px 0 0;
	color: rgba(255, 255, 255, .72);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.8;
}

.m8-editorial-hero--team .m8-editorial-hero__media {
	background-color: #000;
	background-position: right bottom;
	background-size: min(118vw, 1700px) auto;
	filter: saturate(.78) contrast(1.03);
}

.m8-editorial-hero--team .m8-editorial-hero__shade {
	background:
		linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .92) 33%, rgba(0, 0, 0, .2) 78%),
		linear-gradient(0deg, rgba(0, 0, 0, .78), transparent 55%);
}

html.m8-js .m8-editorial-hero__eyebrow,
html.m8-js .m8-editorial-hero__title,
html.m8-js .m8-editorial-hero__copy {
	opacity: 0;
	transform: translateY(24px);
}

html.m8-js .m8-editorial-hero.is-ready .m8-editorial-hero__eyebrow,
html.m8-js .m8-editorial-hero.is-ready .m8-editorial-hero__title,
html.m8-js .m8-editorial-hero.is-ready .m8-editorial-hero__copy {
	opacity: 1;
	transform: none;
	transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1);
}

html.m8-js .m8-editorial-hero.is-ready .m8-editorial-hero__title {
	transition-delay: .12s;
}

html.m8-js .m8-editorial-hero.is-ready .m8-editorial-hero__copy {
	transition-delay: .22s;
}

.m8-editorial-hero.is-ready .m8-editorial-hero__media {
	transform: scale(1);
}

body.m8-team-page-view .elementor > .elementor-section:first-child .elementor-widget-houzez_elementor_space,
body.m8-team-page-view .elementor > .elementor-section:first-child .elementor-widget-heading,
body.m8-team-page-view .elementor > .elementor-section:first-child .mid-txt,
body.m8-team-page-view .elementor > .elementor-section:first-child .elementor-widget-divider,
body.m8-area-page-view .elementor > .elementor-section:first-child,
body.m8-area-page-view .elementor > .elementor-section:nth-child(2) .elementor-widget-heading,
body.m8-area-page-view .elementor > .elementor-section:nth-child(2) .mid-txt {
	display: none !important;
}

/* AWSM Team ------------------------------------------------------------ */

body.m8-team-page-view .elementor > .elementor-section:first-child {
	padding: clamp(82px, 8vw, 126px) 0 clamp(100px, 10vw, 150px);
	background: #fff;
}

body.m8-team-page-view .elementor > .elementor-section:first-child > .elementor-container {
	width: min(100% - 96px, 1380px);
	max-width: 1380px;
}

body.m8-team-page-view .awsm-grid-wrapper,
body.m8-team-page-view .awsm-grid {
	width: 100%;
	max-width: none;
}

body.m8-team-page-view .awsm-grid-card {
	padding: 14px;
	background: transparent;
}

body.m8-team-page-view .awsm-grid-card figure {
	margin: 0;
	overflow: hidden;
	background: #f1f0ec;
}

body.m8-team-page-view .awsm-grid-card img {
	filter: saturate(.78);
	transform: scale(1.002);
	transition: filter .65s ease, transform .85s cubic-bezier(.2, .7, .2, 1);
}

body.m8-team-page-view .awsm-grid-card:hover img {
	filter: saturate(1);
	transform: scale(1.035);
}

body.m8-team-page-view .awsm-personal-info h3 {
	margin: 0;
	color: #13243d;
	font-family: "Gilda Display", Georgia, serif;
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 400;
	line-height: 1.08;
}

body.m8-team-page-view .awsm-personal-info span {
	display: block;
	margin-top: 9px;
	color: rgba(19, 36, 61, .58);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 8px;
	font-weight: 500;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
}

html.m8-js body.m8-team-page-view .awsm-grid-card {
	opacity: 0;
	transform: translateY(24px);
}

html.m8-js body.m8-team-page-view .awsm-grid-card.m8-is-visible {
	opacity: 1;
	transform: none;
	transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1024px) {
	.m8-editorial-hero {
		min-height: clamp(590px, calc(84svh - 78px), 680px);
	}

	.m8-editorial-hero__shell {
		width: min(100% - 64px, 1380px);
		padding-top: 150px;
	}

	.m8-editorial-hero--team .m8-editorial-hero__media {
		background-position: 70% bottom;
		background-size: cover;
	}

	body.m8-team-page-view .elementor > .elementor-section:first-child > .elementor-container {
		width: min(100% - 64px, 1380px);
	}
}

@media (max-width: 767px) {
	.m8-editorial-hero {
		min-height: 340px;
	}

	.m8-editorial-hero__shell {
		width: calc(100% - 40px);
		padding: 120px 0 54px;
	}

	.m8-editorial-hero__title {
	font-size: clamp(30px, 4.5vw, 40px);
	}
	.m8-editorial-hero__eyebrow{
		    margin: 0 0 10px;
	}
	.m8-editorial-hero__copy {
		max-width: 94%;
		margin-top: 12px;
		font-size: 13px;
	}

	.m8-editorial-hero--areas .m8-editorial-hero__media {
		background-position: 58% center;
	}
.page-id-17710 .m8-editorial-hero__media {
    background-position: center center !important;
}
	.m8-editorial-hero--team {
		align-items: flex-start;
	}

	.m8-editorial-hero--team .m8-editorial-hero__media {
		background-position: 66% bottom;
		background-size: cover;
	}

/* 	.m8-editorial-hero--team .m8-editorial-hero__shade {
		background: linear-gradient(0deg, rgba(0, 0, 0, .35), #000 57%);
	} */

	body.m8-team-page-view .elementor > .elementor-section:first-child {
		padding: 64px 0 84px;
	}

	body.m8-team-page-view .elementor > .elementor-section:first-child > .elementor-container {
		width: calc(100% - 32px);
	}

	body.m8-team-page-view .awsm-grid-card {
		padding: 8px 4px;
	}

}

@media (max-width: 480px) {
	.m8-editorial-hero__shell {
		width: calc(100% - 32px);
	}

/* 	.m8-editorial-hero__title {
		font-size: clamp(38px, 11.5vw, 48px);
	} */
}

@media (prefers-reduced-motion: reduce) {
	.m8-editorial-hero__media,
	.m8-editorial-hero__eyebrow,
	.m8-editorial-hero__title,
	.m8-editorial-hero__copy,
	body.m8-team-page-view .awsm-grid-card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
