/* MWS Banner */

.elementor-widget-mws_ew_banner {
	width: 100%;
	height: 100%;
}

.mws-ew-bn {
	--mws-ew-bn-overlay: rgba(0, 0, 0, 0.28);
	--mws-ew-bn-overlay-hover: rgba(0, 0, 0, 0.48);
	--mws-ew-bn-overlay-dur: 500ms;
	--mws-ew-bn-zoom: 1.06;
	--mws-ew-bn-zoom-dur: 700ms;
	--mws-ew-bn-align: flex-start;
	--mws-ew-bn-text: start;
	--mws-ew-bn-gap: 14px;
	--mws-ew-bn-focus: #fff;
	--mws-ew-bn-image: none;

	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 480px;
	overflow: hidden;
	border-radius: 12px;
	color: #fff;
	isolation: isolate;
	box-sizing: border-box;
	background-color: #111;
}

.mws-ew-bn__stage,
.mws-ew-bn__media,
.mws-ew-bn__overlay,
.mws-ew-bn__overlay-hover,
.mws-ew-bn__link-overlay {
	position: absolute;
	inset: 0;
}

.mws-ew-bn__stage {
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.mws-ew-bn__media {
	overflow: hidden;
	background-color: #111;
	background-image: var(--mws-ew-bn-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transform: scale(1);
	transform-origin: center center;
	transition: transform var(--mws-ew-bn-zoom-dur) cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Beat Elementor/theme `img { height: auto }` so cover always fills the banner. */
.elementor-widget-mws_ew_banner .mws-ew-bn__media img,
.elementor-widget-mws_ew_banner .mws-ew-bn__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
	border: 0;
}

.mws-ew-bn__overlay,
.mws-ew-bn__overlay-hover {
	pointer-events: none;
}

.mws-ew-bn__overlay {
	z-index: 1;
	background: var(--mws-ew-bn-overlay);
}

.mws-ew-bn__overlay-hover {
	z-index: 2;
	background: var(--mws-ew-bn-overlay-hover);
	opacity: 0;
	transition: opacity var(--mws-ew-bn-overlay-dur) ease;
}

.mws-ew-bn__inner {
	position: relative;
	z-index: 4;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: var(--mws-ew-bn-align);
	justify-content: flex-start;
	width: 100%;
	min-height: 0;
	padding: 40px;
	box-sizing: border-box;
	text-align: var(--mws-ew-bn-text);
	pointer-events: none;
}

.mws-ew-bn--type2 .mws-ew-bn__inner {
	justify-content: flex-end;
}

.mws-ew-bn--type3 .mws-ew-bn__inner {
	justify-content: space-between;
}

.mws-ew-bn--type4 .mws-ew-bn__inner {
	justify-content: center;
}

.mws-ew-bn__content,
.mws-ew-bn__action {
	display: flex;
	flex-direction: column;
	align-items: var(--mws-ew-bn-align);
	width: 100%;
	max-width: 540px;
}

.mws-ew-bn__content {
	gap: var(--mws-ew-bn-gap);
}

.mws-ew-bn__action {
	width: auto;
	max-width: 100%;
}

.mws-ew-bn__item {
	margin: 0;
}

.mws-ew-bn__subtitle,
.mws-ew-bn__title,
.mws-ew-bn__text {
	display: block;
	max-width: 100%;
	word-break: break-word;
}

.mws-ew-bn__subtitle {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}

.mws-ew-bn__subtitle.is-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	padding: 6px 14px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.16);
	letter-spacing: 0.1em;
	color: #fff;
}

.mws-ew-bn__title {
	font-size: clamp(1.5rem, 3.2vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.mws-ew-bn__text {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.mws-ew-bn__btn {
	position: relative;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin-top: 4px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background-color: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	pointer-events: auto;
	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease;
}

.mws-ew-bn:not(.is-animating) .mws-ew-bn__btn {
	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease;
}

.mws-ew-bn:not(.is-animating) .mws-ew-bn__btn:hover,
.mws-ew-bn:not(.is-animating) .mws-ew-bn__btn:focus-visible {
	transform: translateY(-1px);
}

.mws-ew-bn__btn:focus-visible {
	outline: 2px solid var(--mws-ew-bn-focus);
	outline-offset: 3px;
}

.mws-ew-bn__btn-label {
	display: inline-block;
}

.mws-ew-bn__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	line-height: 1;
	transition: transform 0.3s ease;
}

.mws-ew-bn__btn-icon i,
.mws-ew-bn__btn-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
	fill: currentColor;
}

.mws-ew-bn__btn-icon svg {
	stroke: currentColor;
}

.mws-ew-bn__btn:hover .mws-ew-bn__btn-icon,
.mws-ew-bn__btn:focus-visible .mws-ew-bn__btn-icon {
	transform: translateX(3px);
}

.mws-ew-bn__link-overlay {
	z-index: 3;
	cursor: pointer;
}

.mws-ew-bn__link-overlay:focus-visible {
	outline: 2px solid var(--mws-ew-bn-focus);
	outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
	.mws-ew-bn.has-zoom:not(.is-animating):hover .mws-ew-bn__media,
	.mws-ew-bn.has-zoom:not(.is-animating):focus-within .mws-ew-bn__media {
		transform: scale(var(--mws-ew-bn-zoom));
	}

	.mws-ew-bn:not(.is-animating):hover .mws-ew-bn__overlay-hover,
	.mws-ew-bn:not(.is-animating):focus-within .mws-ew-bn__overlay-hover {
		opacity: 1;
	}
}

@media (hover: none) {
	.mws-ew-bn:focus-within .mws-ew-bn__overlay-hover {
		opacity: 1;
	}
}

/* Entrance FOUC guard: hide until GSAP is ready or the widget is marked in. */
.mws-ew-bn.is-entrance:not(.is-ready):not(.is-in) .mws-ew-bn__stage,
.mws-ew-bn.is-entrance:not(.is-ready):not(.is-in) .mws-ew-bn__item {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.mws-ew-bn.is-entrance:not(.is-ready):not(.is-in) .mws-ew-bn__stage,
	.mws-ew-bn.is-entrance:not(.is-ready):not(.is-in) .mws-ew-bn__item {
		opacity: 1;
	}

	.mws-ew-bn__media,
	.mws-ew-bn__overlay-hover,
	.mws-ew-bn__btn,
	.mws-ew-bn__btn-icon {
		transition: none;
	}
}

.mws-ew-bn.is-animating .mws-ew-bn__stage,
.mws-ew-bn.is-animating .mws-ew-bn__item {
	will-change: transform, opacity;
}

.mws-ew-bn__btn-icon:dir(rtl),
:is([dir="rtl"], .rtl) .mws-ew-bn__btn-icon {
	transform: scaleX(-1);
}

.mws-ew-bn__btn:hover .mws-ew-bn__btn-icon:dir(rtl),
.mws-ew-bn__btn:focus-visible .mws-ew-bn__btn-icon:dir(rtl),
:is([dir="rtl"], .rtl) .mws-ew-bn__btn:hover .mws-ew-bn__btn-icon,
:is([dir="rtl"], .rtl) .mws-ew-bn__btn:focus-visible .mws-ew-bn__btn-icon {
	transform: translateX(-3px) scaleX(-1);
}

@media (max-width: 767px) {
	.mws-ew-bn__title {
		font-size: clamp(1.35rem, 6vw, 1.85rem);
	}
}
