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

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

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

.sw-story-quote {
	--sw-story-quote-overlay: #20160f;
	--sw-story-quote-overlay-strength: 38%;
	--sw-story-quote-position-x: 50%;
	--sw-story-quote-position-y: 50%;
	position: relative;
	display: flex;
	width: 100vw;
	min-height: 360px;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	isolation: isolate;
	background: #4d3422;
	font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sw-story-quote__media,
.sw-story-quote__media img,
.sw-story-quote__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sw-story-quote__media {
	z-index: 0;
	display: block;
	pointer-events: none;
}

.sw-story-quote__media img {
	display: block;
	object-fit: cover;
	object-position: var(--sw-story-quote-position-x) var(--sw-story-quote-position-y);
}

.sw-story-quote__overlay {
	z-index: 1;
	background: color-mix(in srgb, var(--sw-story-quote-overlay) var(--sw-story-quote-overlay-strength), transparent);
	pointer-events: none;
}

.sw-story-quote__container {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100% - 48px, 1280px);
	margin-inline: auto;
	padding-block: 64px;
}

.sw-story-quote__blockquote {
	width: 100%;
	max-width: 980px;
	margin: 0;
	text-align: center;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.sw-story-quote__text {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3vw, 44px);
	font-style: italic;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.sw-story-quote__citation {
	display: block;
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.03em;
}

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

	.sw-story-quote__container {
		width: calc(100% - 32px);
		padding-block: 56px;
	}

	.sw-story-quote__text {
		font-size: clamp(25px, 8vw, 34px);
		line-height: 1.3;
	}

	.sw-story-quote__citation {
		margin-top: 20px;
		font-size: 13px;
	}
}
