.acps-slider {
	--acps-background: #d8d8d8;
	--acps-text: #050505;
	--acps-frame: #f4f4f4;
	--acps-line: #111;
	--acps-height: 500px;
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--acps-background);
	color: var(--acps-text);
	padding: clamp(22px, 3vw, 40px) clamp(24px, 5vw, 90px);
}

.acps-slider *,
.acps-slider *::before,
.acps-slider *::after {
	box-sizing: border-box;
}

.acps-viewport {
	width: 100%;
	overflow: hidden;
}

.acps-track {
	display: flex;
	width: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform 560ms cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
	touch-action: pan-y;
}

.acps-slider.is-dragging .acps-track {
	transition: none;
}

.acps-slide {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(36px, 6vw, 120px);
	flex: 0 0 100%;
	min-width: 0;
	min-height: var(--acps-height);
}

.acps-image-frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 360px;
	max-height: 420px;
	padding: clamp(14px, 1.6vw, 22px);
	background: var(--acps-frame);
	border: 1px solid rgba(0, 0, 0, .28);
	box-shadow: 18px 18px 0 rgba(0, 0, 0, .10);
	text-decoration: none;
}

.acps-image-frame::before,
.acps-image-frame::after {
	content: "";
	position: absolute;
	z-index: -1;
	background: rgba(0, 0, 0, .12);
}

.acps-image-frame::before {
	inset: -10px 8% auto;
	height: 7px;
}

.acps-image-frame::after {
	inset: 8% auto 8% -10px;
	width: 7px;
}

.acps-image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 330px;
	object-fit: contain;
	background: transparent;
	margin: 0 auto;
}

.acps-image-placeholder {
	width: 100%;
	min-height: 220px;
	background: #c7c7c7;
}

.acps-content {
	max-width: 860px;
}

.acps-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large, clamp(30px, 3vw, 54px));
	line-height: 1.05;
	font-weight: 750;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.acps-title a {
	position: relative;
	z-index: 2;
	display: inline;
	color: inherit;
	pointer-events: auto;
	text-decoration: none;
}

.acps-title a:hover,
.acps-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 7px;
}

.acps-read-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
	padding: 14px 28px;
	border: 2px solid var(--acps-line);
	border-radius: 999px;
	background: var(--acps-line);
	color: #ffffff !important;
	font-size: clamp(16px, 1.05vw, 18px);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.acps-read-more:visited {
	color: #ffffff !important;
}

.acps-read-more:hover,
.acps-read-more:focus-visible {
	background: transparent;
	color: var(--acps-text) !important;
	border-color: var(--acps-line);
	transform: translateY(-2px);
}

.acps-footer-controls {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.acps-controls {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.acps-arrow {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .55);
	color: var(--acps-text);
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease;
}

.acps-arrow:hover,
.acps-arrow:focus-visible {
	background: #fff;
	transform: translateY(-2px);
}

.acps-pagination {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.acps-dot {
	appearance: none;
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, .25);
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease;
}

.acps-dot.is-active {
	width: 28px;
	background: var(--acps-line);
}

.acps-dot:hover,
.acps-dot:focus-visible {
	background: var(--acps-line);
	transform: scale(1.05);
}

.acps-arrow:focus-visible,
.acps-slider:focus-visible,
.acps-read-more:focus-visible,
.acps-dot:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.acps-slider.has-one-slide .acps-footer-controls {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.acps-track,
	.acps-read-more,
	.acps-arrow,
	.acps-dot {
		transition: none;
	}
}

@media (max-width: 900px) {
	.acps-slider {
		padding: 28px 20px 34px;
	}

	.acps-slide {
		grid-template-columns: 1fr;
		gap: 32px;
		min-height: auto;
	}

	.acps-image-frame {
		min-height: 0;
		max-height: none;
	}

	.acps-image {
		max-height: none;
	}

	.acps-title {
		font-size: var(--wp--preset--font-size--large, clamp(30px, 7vw, 42px));
	}

	.acps-footer-controls {
		justify-content: flex-start;
		margin-top: 22px;
	}

	.acps-controls {
		gap: 14px;
	}
}
