.nchs-admin-wrap .nchs-slide-list {
	display: grid;
	gap: 14px;
	margin-top: 14px;
}

.nchs-slide-row {
	display: grid;
	grid-template-columns: 40px 1fr 100px;
	gap: 12px;
	padding: 12px;
	border: 1px solid #dcdcde;
	background: #fff;
	border-radius: 6px;
	align-items: start;
}

.nchs-slide-row.ui-sortable-helper {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nchs-slide-handle {
	cursor: move;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #646970;
}

.nchs-slide-fields {
	min-width: 0;
}

.nchs-image-preview-wrap {
	width: 100%;
	max-width: 320px;
	height: 120px;
	border: 1px dashed #c3c4c7;
	background: #f6f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 4px;
}

.nchs-image-preview {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.nchs-no-image {
	color: #646970;
	font-size: 12px;
}

.nchs-slide-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

.nchs-slider-settings {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-end;
	padding: 12px;
	margin: 12px 0;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.nchs-slider-settings p {
	margin: 0;
}

.nchs-slider-settings select,
.nchs-slider-settings input[type='number'] {
	min-width: 190px;
}

.nchs-hero-slider {
	width: 100%;
	background: #000;
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.nchs-hero-slider .swiper-wrapper,
.nchs-hero-slider .swiper-slide {
	width: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform-style: preserve-3d;
}

.nchs-hero-slider .swiper-wrapper {
	will-change: transform;
}

.nchs-slide-link {
	display: block;
	width: 100%;
	overflow: hidden;
	background: #000;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.nchs-slide-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(78vh, 680px);
	object-fit: contain;
	object-position: center;
	background: #000;
	margin: 0 auto;
	transition: filter 900ms ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	will-change: filter;
}

.nchs-effect-creative .swiper-slide-active .nchs-slide-image,
.nchs-effect-coverflow .swiper-slide-active .nchs-slide-image,
.nchs-effect-fade .nchs-slide-image {
	filter: saturate(1.04) contrast(1.02);
}

.nchs-overlay-enabled .nchs-slide-link {
	position: relative;
}

.nchs-overlay-enabled .nchs-slide-link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.nchs-hero-slider .swiper-pagination {
	position: static;
	margin-top: 8px;
	text-align: center;
}

.nchs-hero-slider .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	background: #8d8d8d;
	opacity: 1;
	margin: 0 3px !important;
}

.nchs-hero-slider .swiper-pagination-bullet-active {
	background: #ff2b3e;
}

@media (max-width: 767px) {
	.nchs-slide-row {
		grid-template-columns: 1fr;
	}

	.nchs-slide-actions {
		justify-content: flex-start;
	}

	.nchs-slide-image {
		max-height: min(62vh, 420px);
	}

	.nchs-hero-slider .swiper-pagination-bullet {
		width: 5px;
		height: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nchs-slide-image {
		transition: none;
	}
}

.nchs-hero-slider.nchs-fallback .swiper-wrapper {
	position: relative;
	width: 100%;
}

.nchs-hero-slider.nchs-fallback .swiper-slide {
	display: none;
	opacity: 0;
	transition: opacity 700ms ease;
}

.nchs-hero-slider.nchs-fallback .swiper-slide.nchs-fallback-active {
	display: block;
	opacity: 1;
}

.nchs-hero-slider.nchs-fallback .swiper-pagination-bullet {
	border: 0;
	padding: 0;
	cursor: pointer;
}
