.rd-custom-cta {
	--rd-cta-max: 1280px;
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	width: 100%;
	height: 810px;
	min-height: 810px;
	max-height: 810px;
	overflow: hidden;
	background: #fff;
	color: #263640;
}

.rd-custom-cta::before,
.rd-custom-cta::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	max-width: var(--rd-cta-max);
	margin: 0 auto;
	content: "";
}

.rd-custom-cta::before {
	background: var(--rd-cta-image) center / cover no-repeat;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, .2) 8%,
		#000 28%,
		#000 72%,
		rgba(0, 0, 0, .2) 92%,
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, .2) 8%,
		#000 28%,
		#000 72%,
		rgba(0, 0, 0, .2) 92%,
		transparent 100%
	);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.rd-custom-cta::after {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .1) 12%, transparent 34%, transparent 66%, rgba(255, 255, 255, .06) 86%, rgba(255, 255, 255, .14) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .18));
}

.rd-custom-cta--dark {
	background: #000;
	color: #fff;
}

.rd-custom-cta--dark::after {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 12%, transparent 36%, transparent 68%, rgba(0, 0, 0, .36) 86%, rgba(0, 0, 0, .9) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0));
}

.rd-custom-cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: min(100%, var(--rd-cta-max));
	height: 100%;
	min-height: inherit;
	margin: 0 auto;
	padding: 72px 24px 80px;
}

.rd-custom-cta__inner > .rd-custom-cta__copy {
	margin-block: 0;
}

.rd-custom-cta__copy {
	width: min(100%, 680px);
	text-align: center;
}

.rd-custom-cta--position-top-left .rd-custom-cta__inner,
.rd-custom-cta--position-top-center .rd-custom-cta__inner,
.rd-custom-cta--position-top-right .rd-custom-cta__inner {
	align-items: flex-start;
}

.rd-custom-cta--position-center-left .rd-custom-cta__inner,
.rd-custom-cta--position-center-right .rd-custom-cta__inner {
	align-items: center;
}

.rd-custom-cta--position-bottom-left .rd-custom-cta__inner,
.rd-custom-cta--position-bottom-center .rd-custom-cta__inner,
.rd-custom-cta--position-bottom-right .rd-custom-cta__inner {
	align-items: flex-end;
}

.rd-custom-cta--position-top-left .rd-custom-cta__inner,
.rd-custom-cta--position-center-left .rd-custom-cta__inner,
.rd-custom-cta--position-bottom-left .rd-custom-cta__inner {
	justify-content: flex-start;
}

.rd-custom-cta--position-top-right .rd-custom-cta__inner,
.rd-custom-cta--position-center-right .rd-custom-cta__inner,
.rd-custom-cta--position-bottom-right .rd-custom-cta__inner {
	justify-content: flex-end;
}

.rd-custom-cta--position-top-left .rd-custom-cta__copy,
.rd-custom-cta--position-center-left .rd-custom-cta__copy,
.rd-custom-cta--position-bottom-left .rd-custom-cta__copy {
	text-align: left;
}

.rd-custom-cta--position-top-right .rd-custom-cta__copy,
.rd-custom-cta--position-center-right .rd-custom-cta__copy,
.rd-custom-cta--position-bottom-right .rd-custom-cta__copy {
	text-align: right;
}

.rd-custom-cta--position-top-left .rd-custom-cta__content,
.rd-custom-cta--position-center-left .rd-custom-cta__content,
.rd-custom-cta--position-bottom-left .rd-custom-cta__content {
	margin-right: 0;
	margin-left: 0;
}

.rd-custom-cta--position-top-right .rd-custom-cta__content,
.rd-custom-cta--position-center-right .rd-custom-cta__content,
.rd-custom-cta--position-bottom-right .rd-custom-cta__content {
	margin-right: 0;
	margin-left: auto;
}

.rd-custom-cta--dark .rd-custom-cta__title {
	background: linear-gradient(90deg, #fff 6.96%, #50828e 100%);
}

.rd-custom-cta--light .rd-custom-cta__title {
	background: linear-gradient(90deg, #50828e 0%, #262f3e 100%);
}

.rd-custom-cta--dark .rd-custom-cta__title,
.rd-custom-cta--light .rd-custom-cta__title {
	background-clip: text;
	color: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.rd-custom-cta__title {
	margin: 0;
	padding-bottom: .08em;
	color: inherit;
	font-size: clamp(2.25rem, 5vw, 48px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.045em;
}

.rd-custom-cta__content {
	max-width: 620px;
	margin: 24px auto 0;
	color: inherit;
	font-size: 16px;
	line-height: 1.6;
	opacity: .86;
}

.rd-custom-cta__content p {
	margin: 0;
}

.rd-custom-cta__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	transition: color 180ms ease, transform 180ms ease;
}

.rd-custom-cta__link svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	transition: transform 180ms ease;
}

.rd-custom-cta__link--link:hover {
	color: #50828e;
}

.rd-custom-cta--dark .rd-custom-cta__link--link:hover {
	color: #a9f0ff;
}

.rd-custom-cta__link--link:hover svg {
	transform: translate(2px, -2px);
}

.rd-custom-cta__link:focus-visible {
	outline: 2px solid #7ad7d2;
	outline-offset: 4px;
}

.rd-custom-cta__link--button {
	box-sizing: border-box;
	width: fit-content;
	min-height: 44px;
	padding: .625rem 1.25rem;
	border: 1px solid transparent;
	border-radius: .75rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -.02em;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.rd-custom-cta__link--button svg {
	width: 20px;
	height: 20px;
}

.rd-custom-cta__link--button.rd-button--dark {
	border-color: rgb(255 255 255 / 30%);
	background: rgb(255 255 255 / 5%);
	color: #fff;
}

.rd-custom-cta__link--button.rd-button--dark:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 10%);
	color: #fff;
}

.rd-custom-cta__link--button.rd-button--light {
	border-color: #50828e;
	background: rgb(80 130 142 / 10%);
	color: #335f68;
}

.rd-custom-cta__link--button.rd-button--light:hover {
	border-color: #335f68;
	background: rgb(80 130 142 / 20%);
	color: #335f68;
}

@media (min-width: 1024px) {
	.rd-custom-cta {
		height: auto;
		min-height: 1000px;
		max-height: none;
	}
}

@media (max-width: 600px) {
	.rd-custom-cta--dark {
		height: 850px;
		min-height: 850px;
		max-height: none;
	}

	.rd-custom-cta--dark::before {
		background-position: center bottom;
		background-size: 118% auto;
	}

	.rd-custom-cta__inner {
		padding: 72px 24px;
	}
}
