.ngmus {
	--ngmus-ratio-width: 352;
	--ngmus-ratio-height: 472;
	--ngmus-card-height: 472px;
	--ngmus-overlay-top: rgba(0, 0, 0, 0);
	--ngmus-overlay-bottom: rgba(0, 0, 0, 0.84);
	--ngmus-overlay-start: 35%;
	--ngmus-dot-color: #c8c8c8;
	--ngmus-dot-active-color: #0e2d4c;
	--ngmus-dot-size: 8px;
	--ngmus-dot-gap: 8px;
	--ngmus-pagination-spacing: 22px;
	position: relative;
	width: 100%;
}

/*
 * The outer widget spans the viewport and clips only at the screen edges.
 * Swiper keeps the boxed Elementor width and its original alignment, so card
 * sizing does not change while slides remain visible on both sides.
 */
.ngmus--viewport-overflow {
	width: var(--ngmus-viewport-width, 100%);
	max-width: none;
	margin-left: calc(0px - var(--ngmus-content-offset, 0px));
	overflow: hidden;
}

.ngmus__swiper {
	width: 100%;
	overflow: hidden;
}

.ngmus--viewport-overflow .ngmus__swiper {
	width: var(--ngmus-content-width, 100%);
	max-width: none;
	margin-left: var(--ngmus-content-offset, 0px);
	overflow: visible;
}

.ngmus__wrapper {
	align-items: stretch;
}

.ngmus__slide {
	height: auto;
}

.ngmus__card {
	position: relative;
	isolation: isolate;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #1b1b1b;
	border-radius: 32px;
}

.ngmus--ratio .ngmus__card {
	height: auto;
	aspect-ratio: var(--ngmus-ratio-width) / var(--ngmus-ratio-height);
}

.ngmus--height .ngmus__card {
	height: var(--ngmus-card-height);
}

.ngmus__media,
.ngmus__overlay {
	position: absolute;
	inset: 0;
}

.ngmus__media {
	z-index: 0;
}

.ngmus__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

.ngmus__overlay {
	z-index: 1;
	background: linear-gradient(
		to bottom,
		var(--ngmus-overlay-top) 0%,
		var(--ngmus-overlay-top) var(--ngmus-overlay-start),
		var(--ngmus-overlay-bottom) 100%
	);
	pointer-events: none;
}

.ngmus__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	padding: 32px 28px 28px;
	text-align: center;
	pointer-events: none;
}

.ngmus--align-left .ngmus__content {
	align-items: flex-start;
}

.ngmus--align-center .ngmus__content {
	align-items: center;
}

.ngmus--align-right .ngmus__content {
	align-items: flex-end;
}

.ngmus__title {
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1.05;
}

.ngmus__description {
	width: 100%;
	color: #fff;
	font-size: 1rem;
	line-height: 1.45;
}

.ngmus__description > :first-child {
	margin-top: 0;
}

.ngmus__description > :last-child {
	margin-bottom: 0;
}

.ngmus__pagination.swiper-pagination {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ngmus-dot-gap);
	width: 100%;
	margin-top: var(--ngmus-pagination-spacing);
	transform: none;
}

.ngmus--viewport-overflow .ngmus__pagination.swiper-pagination {
	width: var(--ngmus-content-width, 100%);
	margin-left: var(--ngmus-content-offset, 0px);
}

.ngmus__pagination .swiper-pagination-bullet {
	flex: 0 0 var(--ngmus-dot-size);
	width: var(--ngmus-dot-size);
	height: var(--ngmus-dot-size);
	margin: 0 !important;
	background: var(--ngmus-dot-color);
	border-radius: 999px;
	opacity: 1;
	transition: background-color 180ms ease, transform 180ms ease;
}

.ngmus__pagination .swiper-pagination-bullet-active {
	background: var(--ngmus-dot-active-color);
	transform: scale(1.2);
}

.ngmus__pagination .swiper-pagination-bullet:focus-visible {
	outline: 2px solid var(--ngmus-dot-active-color);
	outline-offset: 3px;
}

.ngmus__pagination.swiper-pagination-lock {
	display: none;
}

.ngmus-editor-notice {
	padding: 16px;
	border: 1px dashed #9ca3af;
	background: #f8fafc;
	color: #334155;
	font-size: 14px;
	text-align: center;
}

@media (hover: hover) {
	.ngmus__image {
		transition: transform 450ms ease;
	}

	.ngmus__card:hover .ngmus__image {
		transform: scale(1.025);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ngmus__image,
	.ngmus__pagination .swiper-pagination-bullet {
		transition: none;
	}
}
