.overview-box {
	--overview-reveal-gradient: linear-gradient(90deg, #ECE7E2 0%,#FFF6EE 100%);
	--overview-bg-duration: 1s;
	position: relative;
	overflow: hidden;
	background-color: transparent !important;
	box-shadow: none;
}

/* Fade-in gradient when scroll-revealed content is visible (not on hover) */
.overview-box::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	z-index: 0;
	pointer-events: none;
	background: var(--overview-reveal-gradient);
	opacity: 0;
	transition: opacity var(--overview-bg-duration) ease-in-out;
}

.overview-box.is-active.is-visible::after {
	opacity: 1;
}

.overview-box > * {
	position: relative;
	z-index: 1;
}

.overview-box .overview_content {
	display: none;
	opacity: 0;
	z-index: 2;
}

.overview-box.is-active .overview_content {
	display: block;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.overview-box.is-active.is-visible .overview_content {
	opacity: 1;
}

.overview-box.is-active.is-visible {
	background-color: transparent !important;
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	.overview-box::after {
		transition: none;
	}

	.overview-box.is-active.is-visible::after {
		opacity: 1;
	}

	.overview-box.is-active .overview_content {
		transition: none;
	}
}

.ov-modal {
	background-color: #ffffff;
	border-left: 3px solid #8f6d4f;
	box-shadow: 0px 18.79px 23.48px -4.7px rgba(0, 0, 0, 0.2);
}

.ov-modal {
	cursor: pointer;
}