.pace-carousel-shell {
	position: relative;
	width: 100%;
	margin: 32px 0 12px;
}

.pace-carousel-shell:focus-visible {
	outline: 3px solid #238a33;
	outline-offset: 5px;
	border-radius: 20px;
}

.pace-work-carousel.wp-block-gallery {
	display: block !important;
	width: 100%;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 20px;
	background: #151817;
	box-shadow: 0 18px 45px rgba(18, 25, 22, 0.18);
}

.pace-work-carousel > .wp-block-image {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: none !important;
	height: min(70vh, 680px);
	margin: 0 !important;
	background: #151817;
}

.pace-work-carousel > .wp-block-image[hidden] {
	display: none !important;
}

.pace-work-carousel > .wp-block-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	object-fit: contain !important;
	background: #151817;
}

.pace-work-carousel > .wp-block-image figcaption {
	position: absolute !important;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 36px 76px 18px !important;
	overflow: visible !important;
	color: #fff !important;
	background: linear-gradient(transparent, rgba(7, 10, 9, 0.9)) !important;
	font-size: clamp(0.78rem, 1.7vw, 0.98rem) !important;
	font-weight: 800;
	line-height: 1.35;
	text-align: left !important;
}

.pace-work-carousel > .wp-block-image figcaption mark {
	padding: 0 !important;
	color: inherit !important;
	background: transparent !important;
}

.pace-carousel-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 50%;
	color: #fff;
	background: rgba(10, 14, 12, 0.72);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	font: inherit;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 160ms ease, transform 160ms ease;
}

.pace-carousel-arrow:hover {
	background: #bc1f31;
	transform: translateY(-50%) scale(1.04);
}

.pace-carousel-arrow:focus-visible,
.pace-carousel-dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.pace-carousel-prev {
	left: 16px;
}

.pace-carousel-next {
	right: 16px;
}

.pace-carousel-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 46px;
	padding-top: 12px;
}

.pace-carousel-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pace-carousel-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #b6beb9;
	cursor: pointer;
	transition: width 160ms ease, border-radius 160ms ease, background 160ms ease;
}

.pace-carousel-dot[aria-current="true"] {
	width: 28px;
	border-radius: 999px;
	background: #238a33;
}

.pace-carousel-status {
	min-width: 48px;
	color: #4d5b54;
	font-size: 0.82rem;
	font-weight: 800;
	text-align: center;
}

@media (max-width: 720px) {
	.pace-work-carousel > .wp-block-image {
		height: min(62vh, 540px);
	}

	.pace-carousel-arrow {
		width: 42px;
		height: 42px;
		font-size: 1.7rem;
	}

	.pace-carousel-prev {
		left: 10px;
	}

	.pace-carousel-next {
		right: 10px;
	}

	.pace-work-carousel > .wp-block-image figcaption {
		padding: 34px 60px 14px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pace-carousel-arrow,
	.pace-carousel-dot {
		transition: none;
	}
}
