@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@600&family=Montserrat:wght@400&display=swap");

.dmImageTextWidget,
.dmImageTextWidget * {
	box-sizing: border-box;
}

.dmImageTextWidget {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 760px;
	overflow: hidden;
	background-color: #111111;
}

.dmImageTextWidget__background {
	position: absolute;
	inset: -45px;
	z-index: -3;
	background-image: var(--dm-bg-desktop);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	filter: blur(12px);
	transform: scale(1.08);
	will-change: transform, filter;
}

.dmImageTextWidget__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: rgba(0, 0, 0, 0.68);
	pointer-events: none;
}

.dmImageTextWidget__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 760px;
	padding: 90px 40px;
}

.dmImageTextWidget__content {
	width: 100%;
	max-width: 1000px;
	margin: 0;
	text-align: center;
}

.dmImageTextWidget__title {
	margin: 0 0 34px;
	padding: 0;
	color: #ffffff;
	font-family: "Cormorant", Georgia, serif;
	font-size: 72px;
	font-weight: 600;
	line-height: 1;
}

.dmImageTextWidget__description {
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
}

.dmImageTextWidget__description > :first-child {
	margin-top: 0;
}

.dmImageTextWidget__description p {
	margin: 0 0 22px;
}

.dmImageTextWidget__description p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.dmImageTextWidget__background {
		background-image: var(--dm-bg-tablet);
	}
}

@media (max-width: 767px) {
	.dmImageTextWidget__background {
		background-image: var(--dm-bg-mobile);
		inset: -50px;
	}
}
