
.mvv-tabs {
	--mvv-blue: #9CCBF0;
	--mvv-blue-text: #0E46B7;
	--mvv-border: #D6D6D6;
	--mvv-card-bg: #F3F3F3;
	--mvv-text: #222222;
	--mvv-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.mvv-tabs,
.mvv-tabs * {
	box-sizing: border-box;
}

.mvv-tabs__nav {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.mvv-tabs__tab {
	appearance: none;
	border: 1px solid var(--mvv-border);
	background: #fff;
	color: var(--mvv-blue-text);
	border-radius: 999px;
	padding: 18px 34px;
	min-width: 180px;
	font-size: 18px;
	line-height: 1.2;
	cursor: pointer;
	transition: all .25s ease;
	box-shadow: none;
}

.mvv-tabs__tab:hover,
.mvv-tabs__tab:focus {
	transform: translateY(-1px);
	outline: none;
}

.mvv-tabs__tab.is-active {
	background: var(--mvv-blue);
	color: var(--mvv-blue-text);
}

.mvv-tabs__panels {
	position: relative;
}

.mvv-tabs__panel {
	background: var(--mvv-card-bg);
	border: 1px solid var(--mvv-border);
	border-radius: 22px 22px 0 22px;
	overflow: hidden;
	box-shadow: var(--mvv-shadow);
	display: none;
}

.mvv-tabs__panel.is-active {
	display: block;
	animation: mvvFade .28s ease;
}

.mvv-tabs__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 567px;
	align-items: stretch;
	min-height: 440px;
	width: 100%;
}

.mvv-tabs__text {
	padding: 48px 42px;
	color: var(--mvv-text);
	min-width: 0;
}

.mvv-tabs__eyebrow {
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mvv-blue-text);
	margin-bottom: 12px;
	font-weight: 500;
}

.mvv-tabs__title {
	font-size: 42px;
	line-height: 1.15;
	color: var(--mvv-blue-text);
	margin: 0 0 18px;
}

.mvv-tabs__description p {
	font-size: 18px;
	line-height: 1.75;
	margin: 0;
}

.mvv-tabs__media {
	position: relative;
	width: 100%;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border-radius: 0 22px 0 0;
	margin-right: -1px; /* hides any 1px sliver from panel border rendering */
}

.mvv-tabs__image {
	display: block;
	width: calc(100% + 2px);
	max-width: none;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	margin-right: -2px;
	border-radius: 0 22px 0 0;
}

.mvv-tabs__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.mvv-tabs__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #4f4f4f;
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: all .25s ease;
}

.mvv-tabs__dot.is-active {
	background: var(--mvv-blue);
	border-color: #4f4f4f;
}

@keyframes mvvFade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1180px) {
	.mvv-tabs__content {
		grid-template-columns: minmax(0, 1fr) minmax(420px, 48%);
	}
}

@media (max-width: 1024px) {
	.mvv-tabs__content {
		grid-template-columns: 1fr;
	}

	.mvv-tabs__media {
		order: 2;
		max-height: 420px;
		border-radius: 0 0 0 22px;
		margin-right: 0;
	}

	.mvv-tabs__image {
		width: 100%;
		margin-right: 0;
		border-radius: 0 0 0 22px;
	}

	.mvv-tabs__text {
		order: 1;
		padding: 36px 28px;
	}

	.mvv-tabs__title {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.mvv-tabs__nav {
		gap: 12px;
		margin-bottom: 20px;
	}

	.mvv-tabs__tab {
		min-width: auto;
		padding: 14px 22px;
		font-size: 16px;
		width: calc(50% - 6px);
	}

	.mvv-tabs__text {
		padding: 24px 20px;
	}

	.mvv-tabs__title {
		font-size: 28px;
	}

	.mvv-tabs__description p {
		font-size: 16px;
		line-height: 1.7;
	}
}

@media (max-width: 520px) {
	.mvv-tabs__tab {
		width: 100%;
	}
}
