/* Sales Programs block */
.sales-programs-block {
	padding: 83px 0 5px;
		background-color: #fff;
		color: #172756;
		box-sizing: border-box
}

.sales-programs-block__title {
	margin: 0 auto 2.5rem;
		max-width: 700px;
		font-family: 'Montserrat', sans-serif;
		font-size: 56px;
		font-weight: 400;
		line-height: 66px;
		text-align: center;
		color: #172756;
		text-transform: capitalize;
}

.sales-programs-block__title strong {
	font-weight: 700;
	color: #172756;
		font-family: 'Montserrat Bold';
}

/* Full-bleed strip for edge-to-edge arrows; viewport is full width of the strip. */
.sales-programs-block__slider-wrap {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 2.5rem;
	padding: 0;
}

/* Reset global theme `button` rules (style.css) so arrows stay visible */
.sales-programs-block__slider-wrap .mtt-ticker-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	color: #3d4a6b !important;
	background: transparent !important;
	border: none !important;
	border-radius: 4px;
	cursor: pointer;
	opacity: 1 !important;
	-webkit-appearance: none;
	appearance: none;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow svg {
	display: block;
	width: 24px;
	height: 24px;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow svg path {
	stroke: #3d4a6b;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow:hover {
	color: #172756 !important;
	opacity: 1 !important;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow:hover svg path {
	stroke: #172756;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow:focus {
	outline: none;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow:focus-visible {
	outline: 2px solid #3d4a6b;
	outline-offset: 2px;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow--prev {
	left: 0;
}

.sales-programs-block__slider-wrap .mtt-ticker-arrow--next {
	right: 0;
}

.sales-programs-ticker-viewport {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	container-type: inline-size;
	container-name: sales-programs-ticker;
}

.sales-programs-ticker-viewport.is-dragging {
	cursor: grabbing;
}

.sales-programs-ticker {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1rem;
	width: max-content;
	will-change: transform;
}

.sales-programs-ticker__group {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: stretch;
	gap: 25px;
}

/* 3.25 slides visible: (viewport − 3 gaps) / 3.25 */
.sales-programs-slide {
	flex: 0 0 auto;
	width: clamp(16rem, 38vw, 22rem);
	max-width: 22rem;
	width: calc((100cqw - 3 * 1rem) / 3.1);
	max-width: none;
	box-sizing: border-box;
}

.sales-programs-card {
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

.sales-programs-card__media {
	display: flex;
		align-items: flex-end;
		justify-content: center;
		min-height: 300px;
		padding: 0;
		box-sizing: border-box;
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	position: relative;
}
.sales-programs-card__media:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background-color: #F2ECE7;
	border-radius: 30px;
	z-index: 0;
}

.sales-programs-card__img {
	display: block;
	max-width: 100%;
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: center bottom;
	position: relative;
	z-index: 1;
	aspect-ratio: 1 / 1;
}

.sales-programs-card__title {
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
	color: #172756;
}

.sales-programs-block__cta-wrap {
	margin: 0;
	text-align: center;
}

.sales-programs-block__cta.button {
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
	display: inline-block;
	margin: 20px 0 62px;
	padding: 22px 25px;
	font-family: 'Montserrat Bold';
	font-size: 18px;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background-color: #172756;
	border-radius: 0;
	border: none;
	transition: background-color 0.2s ease;
}

.sales-programs-block__cta.button:hover,
.sales-programs-block__cta.button:focus {
	background-color:#1D3C8B;
}

@media all and (max-width: 768px) {
	.sales-programs-block__title {
			font-size: 46px;
				line-height: 56px;
				margin: 0 auto 0;
	}
	.sales-programs-block {
			padding: 40px 0 0;
	}
		.sales-programs-block__cta.button {
				font-size: 16px;
					padding: 18px 20px;
		}

			    .sales-programs-block__slider-wrap {
			    	margin-bottom: 0;
			    	padding: 0;
			    }

	.sales-programs-slide {
		width: min(18rem, 85vw);
	}

	.sales-programs-card__media {
		min-height: 12rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sales-programs-ticker-viewport {
		cursor: default;
	}
}
