.ws-duo,
.ws-duo * {
	box-sizing: border-box;
}

.ws-duo {
	--ws-duo-height: 520px;
	--ws-duo-mobile-panel-height: 280px;
	position: relative;
	display: flex;
	width: 100%;
	height: var(--ws-duo-height);
	min-height: 360px;
	max-height: 680px;
	overflow: hidden;
	background: #111;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	isolation: isolate;
}

.ws-duo__panel {
	--ws-panel-color: #eee;
	--ws-image-position: center center;
	--ws-gradient-strong: rgba(0, 0, 0, .86);
	--ws-gradient-medium: rgba(0, 0, 0, .62);
	--ws-gradient-soft: rgba(0, 0, 0, .15);
	--ws-gradient-clear: rgba(0, 0, 0, 0);
	--ws-gradient-mid-stop: 27%;
	--ws-gradient-soft-stop: 61%;
	--ws-gradient-end-stop: 78%;
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: flex-end;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	color: #111;
	background: var(--ws-panel-color);
	isolation: isolate;
	transition: flex-grow .68s cubic-bezier(.22, .75, .18, 1);
}

.ws-duo__panel--first {
	flex-grow: 1.72;
}

.ws-duo__panel--second {
	flex-grow: .72;
	--ws-gradient-strong: rgba(179, 38, 0, .98);
	--ws-gradient-medium: rgba(179, 38, 0, .71);
	--ws-gradient-soft: rgba(179, 38, 0, .18);
	--ws-gradient-clear: rgba(179, 38, 0, 0);
	--ws-gradient-mid-stop: 22%;
	--ws-gradient-soft-stop: 50%;
	--ws-gradient-end-stop: 64%;
}

.ws-duo--first-active .ws-duo__panel--first,
.ws-duo--second-active .ws-duo__panel--second {
	flex-grow: 1.72;
}

.ws-duo--first-active .ws-duo__panel--second,
.ws-duo--second-active .ws-duo__panel--first {
	flex-grow: .72;
}

.ws-duo__panel--light {
	color: #fff;
}

.ws-duo__image,
.ws-duo__shade {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ws-duo .ws-duo__image {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	z-index: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: var(--ws-image-position) !important;
	transform: scale(1.01);
	transform-origin: center center;
	transition: transform .85s cubic-bezier(.22, .75, .18, 1);
}

.ws-duo__panel:hover .ws-duo__image,
.ws-duo__panel:focus-within .ws-duo__image {
	transform: scale(1.045);
}

.ws-duo__shade {
	z-index: 1;
	background: linear-gradient(
		to top,
		var(--ws-gradient-strong) 0,
		var(--ws-gradient-medium) var(--ws-gradient-mid-stop),
		var(--ws-gradient-soft) var(--ws-gradient-soft-stop),
		var(--ws-gradient-clear) var(--ws-gradient-end-stop)
	);
}

.ws-duo__content {
	position: absolute;
	z-index: 2;
	bottom: 36px;
	left: clamp(24px, 3.2vw, 58px);
	width: 560px;
	padding: 0;
	transform: scale(1);
	transform-origin: left bottom;
	transition: transform .68s cubic-bezier(.22, .75, .18, 1);
}

.ws-duo__heading,
.ws-duo__copy {
	max-width: 610px;
}

.ws-duo__kicker {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: normal;
}

.ws-duo h2 {
	max-width: 570px;
	margin: 0;
	font-size: clamp(28px, 2.4vw, 44px);
	font-family: Raleway, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: .5px;
	text-wrap: balance;
}

.ws-duo__copy {
	display: grid;
	grid-template-rows: 1fr;
	opacity: 1;
	transition: opacity .35s ease, transform .55s cubic-bezier(.22, .75, .18, 1);
}

.ws-duo__copy > p {
	max-width: 560px;
	margin: 15px 0 0;
	font-size: clamp(14px, 1vw, 16px);
	font-weight: 300;
	line-height: 1.6;
}

.ws-duo--first-active .ws-duo__panel--second .ws-duo__copy,
.ws-duo--second-active .ws-duo__panel--first .ws-duo__copy {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}

.ws-duo--first-active .ws-duo__panel--second .ws-duo__content,
.ws-duo--second-active .ws-duo__panel--first .ws-duo__content {
	transform: scale(.68);
}

.ws-duo__button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	min-width: 186px;
	width: fit-content;
	margin-top: 20px;
	padding: 12px 14px;
	border: 1px solid currentColor;
	color: inherit;
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.ws-duo__button:hover,
.ws-duo__button:focus {
	color: #111;
	border-color: #ede300;
	background: #ede300;
	outline: 2px solid transparent;
}

.ws-duo__button-icon {
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

@media (max-width: 980px) {
	.ws-duo__content {
		width: 520px;
	}

	.ws-duo--first-active .ws-duo__panel--second .ws-duo__content,
	.ws-duo--second-active .ws-duo__panel--first .ws-duo__content {
		transform: scale(.48);
	}

	.ws-duo h2 {
		font-size: clamp(26px, 3.6vw, 36px);
	}

	.ws-duo__copy > p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}
}

@media (max-width: 767px) {
	.ws-duo {
		display: block;
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.ws-duo__panel,
	.ws-duo--first-active .ws-duo__panel,
	.ws-duo--second-active .ws-duo__panel {
		width: 100%;
		height: var(--ws-duo-mobile-panel-height);
		min-height: var(--ws-duo-mobile-panel-height);
	}

	.ws-duo__content {
		position: relative;
		bottom: auto;
		left: auto;
		width: 100%;
		padding: 20px 20px 22px;
		transform: none;
	}

	.ws-duo h2 {
		font-size: clamp(24px, 6.8vw, 30px);
		line-height: 1.04;
	}

	.ws-duo__kicker {
		margin-bottom: 8px;
		font-size: 11px;
	}

	.ws-duo__copy > p {
		margin-top: 10px;
		font-size: 13px;
		line-height: 1.45;
		-webkit-line-clamp: 2;
	}

	.ws-duo__button {
		min-width: 158px;
		margin-top: 13px;
		padding: 10px 12px;
		font-size: 12px;
	}

	.ws-duo__button-icon {
		flex-basis: 14px;
		width: 14px;
		height: 14px;
	}

	.ws-duo__copy,
	.ws-duo--first-active .ws-duo__panel .ws-duo__copy,
	.ws-duo--second-active .ws-duo__panel .ws-duo__copy {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.ws-duo--first-active .ws-duo__panel .ws-duo__content,
	.ws-duo--second-active .ws-duo__panel .ws-duo__content {
		transform: none;
	}

}

@media (prefers-reduced-motion: reduce) {
	.ws-duo__panel,
	.ws-duo__image,
	.ws-duo__copy,
	.ws-duo__content {
		transition: none;
	}

	.ws-duo__panel:hover .ws-duo__image,
	.ws-duo__panel:focus-within .ws-duo__image {
		transform: scale(1.01);
	}
}
