.cpb-banner {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	list-style: none;
	isolation: isolate;
	--cpb-control-bg: rgba(255, 255, 255, .72);
	--cpb-control-bg-hover: rgba(255, 255, 255, .9);
	--cpb-control-color: rgba(24, 24, 27, .64);
	--cpb-control-shadow: 0 2px 10px rgba(15, 23, 42, .12);
}

.cpb-banner.cpb--full {
	grid-column: 1 / -1;
	width: 100%;
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 100%;
	margin-block: var(--cpb-row-gap, 20px);
}

.cpb-banner.cpb--card {
	grid-column: auto;
	width: auto;
	min-width: 0;
}

.cpb-banner .cpb-viewport {
	position: relative;
	overflow: hidden;
	min-width: 0;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
}

.cpb-banner .cpb-viewport:active { cursor: grabbing; }

.cpb-banner .cpb-track {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.cpb-banner .cpb-track.cpb-track--transitioning {
	transition: transform 400ms ease;
}

.cpb-banner .cpb-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.cpb-banner picture,
.cpb-banner img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.cpb-banner img {
	-webkit-user-drag: none;
	user-select: none;
}

.cpb-banner .cpb-close,
.cpb-banner .cpb-arrow,
.cpb-banner .cpb-dot {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	border: 0;
	padding: 0;
	font: inherit;
	line-height: 1;
	box-shadow: var(--cpb-control-shadow);
	color: var(--cpb-control-color);
	background: var(--cpb-control-bg);
	cursor: pointer;
	touch-action: manipulation;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cpb-banner .cpb-control-icon {
	display: block;
	color: inherit;
	line-height: 1;
	pointer-events: none;
}

.cpb-banner .cpb-close .cpb-control-icon { font-size: calc(var(--cpb-close-size, 32px) * .56); font-weight: 400; }
.cpb-banner .cpb-arrow .cpb-control-icon { font-size: 24px; font-weight: 400; }

.cpb-banner .cpb-close {
	position: absolute;
	z-index: 2;
	width: var(--cpb-close-size, 32px);
	height: var(--cpb-close-size, 32px);
	border-radius: 50%;
}

.cpb-banner.cpb--close-top-left .cpb-close { top: 14px; left: 14px; }
.cpb-banner.cpb--close-top-right .cpb-close { top: 14px; right: 24px; }
.cpb-banner.cpb--close-bottom-left .cpb-close { bottom: 14px; left: 14px; }
.cpb-banner.cpb--close-bottom-right .cpb-close { right: 14px; bottom: 14px; }

.cpb-banner .cpb-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 8px calc(var(--cpb-close-size, 32px) + 16px);
}

/*.cpb-banner .cpb-dot {
	width: 24px;
	height: 24px;
	padding: 6px;
	border-radius: 50%;
}
*/
.cpb-banner .cpb-dot {
	position: relative;
	width: 20px;
	height: 20px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
}

.cpb-banner .cpb-dot::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(24, 24, 27, .28);
	transition: background-color 200ms ease, transform 200ms ease;
}

.cpb-banner .cpb-dot[aria-current="true"] {
	background: transparent;
}

.cpb-banner .cpb-dot[aria-current="true"]::before {
	background: rgba(24, 24, 27, .72);
	transform: scale(1.25);
}


.cpb-banner .cpb-dot[aria-current="true"] { background: currentColor; }
.cpb-banner .cpb-arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 36px;
	height: 36px;
	min-width: 0;
	min-height: 0;
	border-radius: 50%;
	transform: translateY(-50%);
}
.cpb-banner .cpb-arrow--previous { left: 12px; }
.cpb-banner .cpb-arrow--next { right: 12px; }

.cpb-banner .cpb-close:hover,
.cpb-banner .cpb-arrow:hover {
	background: var(--cpb-control-bg-hover);
	color: rgba(24, 24, 27, .82);
}

.cpb-banner .cpb-close:active,
.cpb-banner .cpb-arrow:active {
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 1px 5px rgba(15, 23, 42, .16);
}

.cpb-banner button:focus-visible,
.cpb-banner a:focus-visible {
	outline: 2px solid rgba(24, 24, 27, .72);
	outline-offset: 2px;
}
/*
@media (max-width: 480px) {
	.cpb-banner .cpb-dots { gap: 4px; }
	.cpb-banner .cpb-dot { width: 28px; height: 28px; }
}
*/
@media (max-width: 480px) {
	.cpb-banner .cpb-dots {
		gap: 2px;
	}

	.cpb-banner .cpb-dot {
		width: 20px;
		height: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cpb-banner,
	.cpb-banner * {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}

	.cpb-banner .cpb-viewport { cursor: auto; }
}
