/* MWS Fullscreen Menu */

.mws-ew-fsm {
	--mws-ew-fsm-bg: #ffffff;
	--mws-ew-fsm-ink: #111111;
	--mws-ew-fsm-muted: #9a9a9a;
	--mws-ew-fsm-line: rgba(17, 17, 17, 0.1);
	font-family: "Inter", sans-serif;
}

.mws-ew-fsm *,
.mws-ew-fsm *::before,
.mws-ew-fsm *::after {
	box-sizing: border-box;
}

.mws-ew-fsm__menu-btn {
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent;
	background-image: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: none;
	color: var(--mws-ew-fsm-ink);
	padding: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.mws-ew-fsm__menu-btn:hover,
.mws-ew-fsm__menu-btn:focus,
.mws-ew-fsm__menu-btn:active {
	background-image: none;
	box-shadow: none;
	outline: none;
}

.mws-ew-fsm__menu-btn-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.mws-ew-fsm__menu-btn-icon path {
	stroke: var(--mws-ew-fsm-ink);
}

.mws-ew-fsm__overlay {
	position: fixed;
	inset: 0;
	background: var(--mws-ew-fsm-bg);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 110px 48px 56px;
	visibility: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mws-ew-fsm__overlay[hidden] {
	display: none !important;
}

.mws-ew-fsm__nav {
	flex: 1 1 auto;
	min-height: 0;
}

.mws-ew-fsm.is-open .mws-ew-fsm__overlay {
	visibility: visible;
	display: flex !important;
}

.mws-ew-fsm button.mws-ew-fsm__close {
	-webkit-appearance: none;
	appearance: none;
	position: fixed;
	top: 32px;
	inset-inline-end: 48px;
	width: 26px;
	height: 26px;
	background: transparent;
	background-color: transparent;
	background-image: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, background-color 0.3s ease;
}

.mws-ew-fsm button.mws-ew-fsm__close:hover,
.mws-ew-fsm button.mws-ew-fsm__close:focus,
.mws-ew-fsm button.mws-ew-fsm__close:active {
	background: transparent;
	background-color: transparent;
	background-image: none;
	border: none;
	box-shadow: none;
	outline: none;
	color: inherit;
}

.mws-ew-fsm.is-open .mws-ew-fsm__close {
	opacity: 1;
	pointer-events: auto;
}

.mws-ew-fsm__close span {
	position: absolute;
	top: 50%;
	inset-inline-start: 50%;
	width: 26px;
	height: 2px;
	background: var(--mws-ew-fsm-ink);
}

.mws-ew-fsm__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mws-ew-fsm__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mws-ew-fsm__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mws-ew-fsm__nav-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mws-ew-fsm__nav-item {
	display: inline-block;
	text-decoration: none;
	color: var(--mws-ew-fsm-ink);
	font-weight: 800;
	font-size: clamp(38px, 8vw, 96px);
	line-height: 1.28;
	letter-spacing: -0.03em;
	transition: color 0.3s ease;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

a.mws-ew-fsm__nav-item:hover {
	color: var(--mws-ew-fsm-muted);
}

.mws-ew-fsm__nav-item--placeholder {
	font-size: 20px;
	font-weight: 600;
	color: var(--mws-ew-fsm-muted);
}

.mws-ew-fsm__nav-item--sub {
	font-size: clamp(20px, 4vw, 48px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.mws-ew-fsm__submenu-arrow {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mws-ew-fsm-ink);
	transition: color 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
	border-radius: 4px;
}

.mws-ew-fsm__submenu-arrow:hover {
	color: var(--mws-ew-fsm-ink);
}

.mws-ew-fsm__submenu-arrow svg {
	display: block;
	width: clamp(20px, 3vw, 32px);
	height: clamp(20px, 3vw, 32px);
	transition: transform 0.25s ease;
}

.mws-ew-fsm__nav-li.is-open > .mws-ew-fsm__nav-row .mws-ew-fsm__submenu-arrow svg {
	transform: rotate(90deg);
}

.mws-ew-fsm__submenu {
	overflow: hidden;
	max-height: 0;
}

.mws-ew-fsm__submenu[hidden] {
	display: none !important;
}

.mws-ew-fsm:not(.has-gsap) .mws-ew-fsm__nav-li.is-open > .mws-ew-fsm__submenu {
	display: block !important;
	max-height: 2000px;
}

.mws-ew-fsm.has-gsap .mws-ew-fsm__nav-li.is-open > .mws-ew-fsm__submenu {
	display: block !important;
}

.mws-ew-fsm__nav-desc {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: var(--mws-ew-fsm-muted);
	padding: 0 0 10px;
	max-width: 36em;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.mws-ew-fsm__submenu-list {
	list-style: none;
	margin: 0;
	padding-block: 4px;
	padding-inline-start: clamp(16px, 3vw, 40px);
	padding-inline-end: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mws-ew-fsm__socials {
	display: flex;
	gap: 24px;
	list-style: none;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.mws-ew-fsm__socials li {
	overflow: hidden;
}

.mws-ew-fsm__socials a {
	display: inline-block;
	color: var(--mws-ew-fsm-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--mws-ew-fsm-line);
	padding-bottom: 2px;
	transition: opacity 0.3s ease;
}

.mws-ew-fsm__socials a:hover {
	opacity: 0.5;
}

.elementor-editor-active .mws-ew-fsm {
	min-height: 50px;
	border: 1px dashed #d5d5d5;
	padding: 10px;
}
