.bhv-showcase {
	--bhv-brown: #5b3d2b;
	--bhv-text: #111;
	display: grid;
	grid-template-columns: minmax(250px, .72fr) minmax(0, 1.65fr);
	min-height: 500px;
	align-items: center;
	font-family: "DM Sans", Arial, sans-serif;
	gap: clamp(35px, 5vw, 85px);
}

.bhv-showcase__tabs {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.bhv-showcase__tab {
	position: relative;
	display: flex;
	width: 100%;
	padding: 8px 0;
	align-items: flex-start;
	justify-content: space-between;
	border: 0;
	background: transparent;
	color: #bbb;
	font: inherit;
	font-size: clamp(25px, 2.1vw, 38px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -.035em;
	text-align: left;
	cursor: pointer;
	transition: color .25s ease;
}

.bhv-showcase__tab-title {
	position: relative;
}

.bhv-showcase__tab-title::after {
	position: absolute;
	right: 0;
	bottom: -4px;
	left: 0;
	height: 2px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .3s ease;
}

.bhv-showcase__tab:hover,
.bhv-showcase__tab.is-active {
	color: var(--bhv-text);
}

.bhv-showcase__tab.is-active .bhv-showcase__tab-title::after {
	transform: scaleX(1);
	transform-origin: left;
}

.bhv-showcase__tab-number {
	margin: .15em 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.bhv-showcase__stage,
.bhv-showcase__panel {
	position: relative;
	min-width: 0;
}

.bhv-showcase__panel[hidden] {
	display: none;
}

.bhv-showcase__panel.is-active {
	animation: bhv-panel-in .5s cubic-bezier(.22, 1, .36, 1) both;
}

.bhv-showcase__media {
	display: block;
	width: calc(100% - clamp(80px, 12vw, 185px));
	margin-left: auto;
	overflow: hidden;
	border-radius: 20px;
	background: #eee8e2;
	aspect-ratio: 7 / 5;
}

.bhv-showcase__image,
.bhv-showcase__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bhv-showcase__placeholder {
	background: linear-gradient(135deg, #eee8e2, #faf7f4);
}

.bhv-showcase__card {
	position: absolute;
	top: 50%;
	left: 0;
	box-sizing: border-box;
	width: min(405px, 52%);
	padding: clamp(28px, 3.2vw, 50px);
	border-radius: 18px;
	background: var(--bhv-brown);
	box-shadow: 0 20px 45px rgba(35, 22, 14, .16);
	color: #fff !important;
	transform: translateY(-50%);
}

.bhv-showcase .bhv-showcase__title {
	margin: 0 0 14px;
	color: #fff !important;
	font-size: clamp(22px, 1.75vw, 30px) !important;
	font-weight: 500;
	line-height: 1.2;
}

.bhv-showcase .bhv-showcase__excerpt {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	line-height: 1.65 !important;
}

.bhv-showcase__link {
	display: inline-flex;
	padding: 11px 17px;
	align-items: center;
	border-radius: 4px;
	background: #fff;
	color: #333 !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	gap: 8px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.bhv-showcase__link:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
	transform: translateY(-2px);
}

.bhv-showcase__link span {
	transition: transform .2s ease;
}

.bhv-showcase__link:hover span {
	transform: translateX(3px);
}

@keyframes bhv-panel-in {
	from { opacity: 0; transform: translate3d(12px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 900px) {
	.bhv-showcase {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 35px;
	}

	.bhv-showcase__tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 24px;
	}

	.bhv-showcase__tab {
		font-size: 23px;
	}
}

@media (max-width: 600px) {
	.bhv-showcase__tabs {
		grid-template-columns: 1fr;
	}

	.bhv-showcase__media {
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	.bhv-showcase__card {
		position: relative;
		width: calc(100% - 30px);
		margin: -45px auto 0;
		padding: 28px;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhv-showcase__panel.is-active,
	.bhv-showcase__tab-title::after,
	.bhv-showcase__link,
	.bhv-showcase__link span {
		animation: none;
		transition: none;
	}
}
