.sw-story-banner,
.sw-story-banner * {
	box-sizing: border-box;
}

.elementor-widget-seewell_story_banner {
	margin-block-end: 0;
}

.e-con:has(> .elementor-widget-seewell_story_banner) {
	padding: 0 !important;
}

.sw-story-banner {
	--sw-story-overlay: #112722;
	--sw-story-overlay-strength: 72%;
	--sw-story-position-y: 50%;
	position: relative;
	display: flex;
	width: 100%;
	min-height: 560px;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sw-story-banner__media,
.sw-story-banner__image,
.sw-story-banner__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sw-story-banner__media {
	z-index: 0;
	pointer-events: none;
}

/* Elementor's global image rule uses a more specific selector and sets
 * height:auto. Keep the banner image tied to the full media layer. */
.sw-story-banner__media > .sw-story-banner__image {
	width: 100%;
	height: 100%;
	max-width: none;
}

.sw-story-banner__image {
	display: block;
	object-fit: cover;
	object-position: 50% var(--sw-story-position-y);
}

.sw-story-banner__overlay {
	z-index: 1;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--sw-story-overlay) var(--sw-story-overlay-strength), transparent) 0%,
		color-mix(in srgb, var(--sw-story-overlay) 52%, transparent) 46%,
		color-mix(in srgb, var(--sw-story-overlay) 18%, transparent) 100%
	);
	pointer-events: none;
}

.sw-story-banner__container {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 24px;
}

.sw-story-banner__content {
	max-width: 560px;
	padding-block: 72px;
}

.sw-story-banner__eyebrow {
	margin: 0 0 20px;
	color: #d29a63;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.sw-story-banner__heading {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 4vw, 54px);
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.sw-story-banner__description {
	max-width: 540px;
	margin: 24px 0 0;
	color: #fff;
	font-size: 16px;
	line-height: 1.7;
	opacity: 0.9;
}

.sw-story-banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 28px;
	padding: 12px 25px;
	border-radius: 999px;
	background: #e8b84b;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
	color: #173734;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow 0.3s ease, filter 0.3s ease, transform 0.3s ease;
	gap: 10px;
}

.sw-story-banner__arrow {
	font-size: 18px;
	line-height: 1;
	transition: transform 0.3s ease;
}

.sw-story-banner__button:hover,
.sw-story-banner__button:focus-visible {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
	color: #173734;
	filter: brightness(1.04);
	transform: translateY(-2px);
}

.sw-story-banner__button:hover .sw-story-banner__arrow,
.sw-story-banner__button:focus-visible .sw-story-banner__arrow {
	transform: translateX(4px);
}

.sw-story-banner__button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.9);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.sw-story-banner {
		min-height: 480px;
	}

	.sw-story-banner__overlay {
		background: linear-gradient(
			90deg,
			color-mix(in srgb, var(--sw-story-overlay) 78%, transparent) 0%,
			color-mix(in srgb, var(--sw-story-overlay) 56%, transparent) 75%,
			color-mix(in srgb, var(--sw-story-overlay) 36%, transparent) 100%
		);
	}

	.sw-story-banner__container {
		padding-inline: 16px;
	}

	.sw-story-banner__content {
		padding-block: 56px;
	}

	.sw-story-banner__eyebrow {
		margin-bottom: 16px;
		font-size: 12px;
	}

	.sw-story-banner__heading {
		font-size: clamp(32px, 9vw, 42px);
	}

	.sw-story-banner__description {
		margin-top: 20px;
		font-size: 15px;
		line-height: 1.65;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sw-story-banner__button,
	.sw-story-banner__arrow {
		transition: none;
	}

	.sw-story-banner__button:hover,
	.sw-story-banner__button:focus-visible,
	.sw-story-banner__button:hover .sw-story-banner__arrow,
	.sw-story-banner__button:focus-visible .sw-story-banner__arrow {
		transform: none;
	}
}
