.stampli-press-spotlight {
	color: #1e3c74;
	width: 100%;
	padding: 48px 0 124px 0;
	border-top: 1px solid rgba(192, 220, 251, 0.50);
}

.stampli-press-spotlight__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-bottom: 48px;
}

.stampli-press-spotlight__heading {
	margin: 0;
	color: inherit;
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: 42px; /* 105% */
	letter-spacing: -0.5px;
}

.stampli-press-spotlight__nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.stampli-press-spotlight__arrow {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	color: #058EFF;
	background: #DBEBFD;
	font-size: 23px;
	cursor: pointer;
}

.stampli-press-spotlight__arrow:disabled {
	opacity: .3;
	cursor: default;
}

.stampli-press-spotlight__arrow:not(:disabled):hover {
	color: #fff;
	background: #058EFF;
}

.stampli-press-spotlight__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 8px;
}

.stampli-press-spotlight__track::-webkit-scrollbar {
	display: none;
}

.stampli-press-spotlight__card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - 48px) / 3);
	min-width: 0;
	scroll-snap-align: start;
	flex-shrink: 0;
	border: 1px solid #dce6f0;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.stampli-press-spotlight__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.stampli-press-spotlight__link:hover {
	color: inherit;
}

.stampli-press-spotlight__image-wrap {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #edf5fc;
	height: 165px;
	flex: 0 0 165px;
	background: #eaf3fc;
}

.stampli-press-spotlight__image {
	display: block;
	width: 100%;
	height: 165px !important;
	object-fit: cover;
	transition: transform .25s ease;
}

.stampli-press-spotlight__link:hover .stampli-press-spotlight__image {
	transform: scale(1.035);
}

.stampli-press-spotlight__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.stampli-press-spotlight__content-wrap{
	display: flex;
	flex: 1;
	padding: 16px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	background: #fff;
}

.stampli-press-spotlight__title {
	color: #1e3c74;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px;
	margin: 0 0 28px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Pagination: hidden on desktop, visible on tablet/mobile. */
.stampli-press-spotlight__pagination {
    display: none;
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 1024px) {
	
	.stampli-press-spotlight {
		margin-bottom: 24px;
		border-top: none;
		padding: 48px 0 72px 0;
	}
	
	.stampli-press-spotlight__card {
		flex-basis: calc((100% - 24px) / 2);
	}
	
	.stampli-press-spotlight__heading {
		font-size: 32px;
		font-style: normal;
		font-weight: 500;
		line-height: 33px; /* 103.125% */
		letter-spacing: -0.5px;
	}
	.stampli-press-spotlight__title {
		margin-bottom: 24px;
	}
	
    .stampli-press-spotlight__nav {
        display: none;
    }

    .stampli-press-spotlight__pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 48px;
    }

    .stampli-press-spotlight__dot {
        appearance: none;
        display: block;
        flex: 0 0 10px;
        width: 10px;
        height: 10px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #BFDBFE;
        cursor: pointer;
        transition: width .2s ease, flex-basis .2s ease, background-color .2s ease;
    }

    .stampli-press-spotlight__dot.is-active {
        flex-basis: 30px;
        width: 30px;
        background: #058EFF;
    }

    .stampli-press-spotlight__dot:focus-visible {
        outline: 2px solid #1e3c74;
        outline-offset: 4px;
    }	
	
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 767px) {
	.stampli-press-spotlight {
		padding: 16px 0;
	}
	
	.stampli-press-spotlight__heading {
		font-size: 24px;
		font-style: normal;
		font-weight: 500;
		line-height: 28px;
	}

	.stampli-press-spotlight__card {
		flex-basis: 85%;
	}

	.stampli-press-spotlight__header {
		align-items: flex-end;
		margin-bottom: 32px;
	}

	.stampli-press-spotlight__arrow {
		width: 38px;
		height: 38px;
	}
	
	.stampli-press-spotlight__pagination {
		margin-top: 24px;
	}
	.stampli-press-spotlight {
		padding-bottom: 40px;
	}
}

/* Match Blog Grid mobile card styling at its 600px breakpoint */
@media (max-width: 600px) {
    .stampli-press-spotlight__content-wrap {
        padding: 24px 24px 32px;
    }

    .stampli-press-spotlight__title {
        font-size: 22px;
        font-weight: 500;
        line-height: 30px;
    }
}

/* ========================================
   Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
	.stampli-press-spotlight__track {
		scroll-behavior: auto;
	}

	.stampli-press-spotlight__image {
		transition: none;
	}

    .stampli-press-spotlight__link:hover .stampli-press-spotlight__image {
        transform: none;
    }
	
    .stampli-press-spotlight__dot {
        transition: none;
    }
}
