.inadaptado-video-slider {
	--ivs-aspect-ratio: 9 / 16;
	--ivs-primary: var(--color-primary, #ad0000);

	width: 100%;
	max-width: 1024px;
	margin-inline: auto;
	position: relative;
	overflow: hidden;
}

.inadaptado-video-slider .swiper {
	width: 100%;
	overflow: hidden;
	padding-bottom: 2.75rem;
}

.inadaptado-video-slider .swiper-wrapper {
	align-items: center;
}

.inadaptado-video-slider .swiper-slide {
	padding: 1rem 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.inadaptado-video-slider .swiper-slide-active {
	z-index: 2;
}

.inadaptado-video-slider .swiper-slide-active .video-card {
	border-color: var(--ivs-primary);
	transform: scale(1.03);
}

.inadaptado-video-slider .video-card {
	position: relative;
	width: 100%;
	aspect-ratio: var(--ivs-aspect-ratio);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--ivs-card-radius, 10px);
	overflow: hidden;
	border: var(--ivs-card-border, 3px solid transparent);
	transform: scale(1);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.inadaptado-video-slider .video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
	transition: background-color 0.3s ease;
}

.inadaptado-video-slider .swiper-slide-active .video-card::after {
	background-color: transparent;
}

.inadaptado-video-slider .video-card video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.inadaptado-video-slider .sound-toggle {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	border: 2px solid rgba(255, 255, 255, 0.8);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
}

.inadaptado-video-slider .swiper-slide-active .sound-toggle {
	opacity: 1;
	visibility: visible;
}

.inadaptado-video-slider .sound-toggle:hover {
	background: rgba(173, 0, 0, 0.9);
	border-color: var(--ivs-primary);
	transform: scale(1.1);
}

.inadaptado-video-slider .sound-toggle .icon-unmuted {
	display: none;
}

.inadaptado-video-slider .sound-toggle.unmuted .icon-muted {
	display: none;
}

.inadaptado-video-slider .sound-toggle.unmuted .icon-unmuted {
	display: block;
}

.inadaptado-video-slider .swiper-pagination {
	bottom: 0.25rem !important;
	left: 0;
	width: 100%;
}

.inadaptado-video-slider .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: rgba(173, 0, 0, 0.3);
	opacity: 1;
	transition: all 0.3s ease;
}

.inadaptado-video-slider .swiper-pagination-bullet-active {
	background: var(--ivs-primary);
	width: 24px;
}

.inadaptado-video-slider .autoplay-progress {
	position: absolute;
	right: 12px;
	bottom: 4.5rem;
	z-index: 10;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1;
	color: var(--ivs-primary);
	pointer-events: none;
}

/* En desktop/tablet, lo coloca visualmente en la card derecha visible */
@media (min-width: 640px) {
	.inadaptado-video-slider .autoplay-progress {
		right: 10px;
		bottom: 4.5rem;
	}
}

.inadaptado-video-slider .autoplay-progress svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.inadaptado-video-slider .autoplay-progress circle {
	--progress: 0;
	fill: none;
	stroke: var(--ivs-primary);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 125.6;
	stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
}

.inadaptado-video-slider .autoplay-progress span {
	position: relative;
	z-index: 1;
}
