.best-of-both-worlds {
	position: relative;
	padding: clamp(4rem, 7vw, 6.5rem) 1.25rem;
	color: #162859;
	background-color: #f6f2ec;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.best-of-both-worlds--has-image {
	background-color: transparent;
}

.best-of-both-worlds__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.best-of-both-worlds__header {
	max-width: 42rem;
	margin: 0 auto 3.25rem;
	text-align: center;
}

.best-of-both-worlds__pre-title {
	margin: 0 0 0.7rem;
	color: #c0a47f;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
}

.best-of-both-worlds__separator {
	display: block;
	width: auto;
	max-width: 3.25rem;
	height: auto;
	max-height: 1.25rem;
	margin: 0 auto 1.15rem;
	object-fit: contain;
}

.best-of-both-worlds__separator--line {
	width: 2.25rem;
	height: 1px;
	max-height: none;
	background-color: #c0a47f;
}

.best-of-both-worlds__title {
	margin: 0 0 0.9rem;
	color: #162859;
	font-family: "Taviraj", Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.25rem);
	font-weight: 400;
	line-height: 1.12;
}

.best-of-both-worlds__text {
	color: #8b919c;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

.best-of-both-worlds__text > *:first-child {
	margin-top: 0;
}

.best-of-both-worlds__text > *:last-child {
	margin-bottom: 0;
}

.best-of-both-worlds__text p {
	margin: 0 0 1rem;
}

.best-of-both-worlds__text p:last-child {
	margin-bottom: 0;
}

.best-of-both-worlds__cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(0.85rem, 2vw, 1.75rem);
	max-width: 68rem;
	margin: 0 auto;
}

.best-of-both-worlds__cards:has(> :only-child) {
	grid-template-columns: minmax(0, 1fr);
	max-width: 32rem;
}

.best-of-both-worlds__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	height: 100%;
	padding: 3rem 2.5rem 3.5rem;
	border: 1px solid #ece4d7;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 30px 70px -10px rgba(15, 23, 46, 0.08);
	text-align: center;
}

.best-of-both-worlds__card-pre-title {
	margin: 0;
	color: #c0a47f;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.best-of-both-worlds__card-separator {
	display: block;
	width: auto;
	max-width: 2.75rem;
	height: auto;
	max-height: 1rem;
	margin: 0.95rem auto 0;
	object-fit: contain;
}

.best-of-both-worlds__card-separator--line {
	width: 2rem;
	height: 1px;
	max-height: none;
	background-color: #c0a47f;
}

.best-of-both-worlds__card-title {
	margin: 1.35rem 0 0;
	color: #162859;
	font-family: "Taviraj", Georgia, "Times New Roman", serif;
	font-size: clamp(1.65rem, 2.4vw, 2rem);
	font-weight: 400;
	line-height: 1.15;
}

.best-of-both-worlds__card-text {
	margin: 1.15rem 0 0;
	max-width: 22rem;
	color: #8b919c;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
}

.best-of-both-worlds__card-figure {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 1.5rem 0 0;
}

.best-of-both-worlds__card-figure img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 182px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

.best-of-both-worlds__card-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-top: 1.35rem;
	color: #c0a47f;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.best-of-both-worlds__card-link:hover,
.best-of-both-worlds__card-link:focus-visible {
	color: #a67d49;
	outline: none;
}

.best-of-both-worlds__card-link-arrow {
	display: block;
	width: 0.75rem;
	height: auto;
	transition: transform 0.25s ease;
}

.best-of-both-worlds__card-link:hover .best-of-both-worlds__card-link-arrow,
.best-of-both-worlds__card-link:focus-visible .best-of-both-worlds__card-link-arrow {
	transform: translateX(4px);
}

.best-of-both-worlds__plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	flex: 0 0 auto;
	align-self: center;
}

.best-of-both-worlds__plus img {
	display: block;
	width: 0.7rem;
	height: auto;
}

.best-of-both-worlds__bottom-text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.15rem;
	max-width: 36rem;
	margin: 2.75rem auto 0;
	color: #c0a47f;
	font-family: "RedHatDisplay", Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.best-of-both-worlds__bottom-label {
	flex: 0 1 auto;
}

.best-of-both-worlds__bottom-line {
	display: block;
	flex: 0 0 auto;
	width: 2.5rem;
	height: 1px;
}

@media (max-width: 991.98px) {
	.best-of-both-worlds__header {
		margin-bottom: 2.5rem;
	}

	.best-of-both-worlds__cards {
		grid-template-columns: minmax(0, 1fr);
		justify-items: stretch;
		gap: 1.5rem;
		max-width: 28rem;
	}

	.best-of-both-worlds__plus {
		order: 0;
		justify-self: center;
		width: auto;
	}

	.best-of-both-worlds__card--left {
		order: -1;
	}

	.best-of-both-worlds__card--right {
		order: 1;
	}

	.best-of-both-worlds__card-figure img {
		height: 150px;
	}

	.best-of-both-worlds__bottom-text {
		margin-top: 2.25rem;
		gap: 0.85rem;
	}
}

@media (max-width: 575.98px) {
	.best-of-both-worlds {
		padding: 3rem 1rem;
	}

	.best-of-both-worlds__title {
		font-size: clamp(1.85rem, 8vw, 2.4rem);
	}

	.best-of-both-worlds__text {
		font-size: 16px;
	}

	.best-of-both-worlds__card {
		padding: 2.35rem 1.5rem 2.15rem;
	}

	.best-of-both-worlds__card-title {
		margin-top: 1.15rem;
	}

	.best-of-both-worlds__card-text {
		margin-top: 1rem;
	}

	.best-of-both-worlds__card-figure {
		margin-top: 2rem;
	}

	.best-of-both-worlds__card-link {
		margin-top: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.best-of-both-worlds__card-link-arrow {
		transition: none;
	}
}
