.volcane-slider {
	--slider-aspect-ratio: 16 / 9;

	position: relative;
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
	aspect-ratio: var(--slider-aspect-ratio);
	background: var(--color-banner, #35312e);
	color: var(--color-background, #ffffff);
	overflow: hidden;
}

@media (min-width: 1025px) {
	.volcane-slider {
		max-height: calc(100vh - var(--admin-bar-height, 0px));
		max-height: calc(100dvh - var(--admin-bar-height, 0px));
	}
}

.volcane-slider__viewport {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.volcane-slider .swiper-wrapper {
	height: 100%;
}

.volcane-slider .swiper-slide {
	height: 100%;
}

.volcane-slider .volcane-slider__image,
.volcane-slider .volcane-slider__image picture,
.volcane-slider .volcane-slider__image img {
	display: block;
	width: 100%;
	height: 100%;
}

.volcane-slider .volcane-slider__image img {
	object-fit: cover;
	object-position: var(--slider-position, center);
}

.volcane-slider .volcane-slider__arrow,
.volcane-slider .volcane-slider__pause {
	position: absolute;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	border: 0;
	color: inherit;
	background: transparent;
}

.volcane-slider .volcane-slider__arrow {
	width: 50px;
	height: 50px;
	top: 50%;
	transform: translateY(-50%);
}

.volcane-slider .volcane-slider__arrow svg {
	width: 32px;
	height: 32px;
}

.volcane-slider .volcane-slider__arrow--prev {
	left: 20px;
}

.volcane-slider .volcane-slider__arrow--next {
	right: 20px;
}

@media (max-width: 767px) {
	.volcane-slider .volcane-slider__arrow {
		display: none;
	}
}

.volcane-slider .volcane-slider__pagination {
	position: absolute;
	z-index: 2;
	bottom: 22px;
	left: 50%;
	display: flex;
	width: max-content;
	gap: 0;
	transform: translateX(-50%);
}

.volcane-slider__bullet {
	width: 32px;
	height: 44px;
	position: relative;
	padding: 0;
	border: 0;
	background: transparent;
}

.volcane-slider__bullet::before {
	position: absolute;
	content: "";
	left: 50%;
	top: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background: var(--color-background, #ffffff);
	opacity: 0.65;
	transition:
		width 0.2s,
		height 0.2s,
		background-color 0.2s,
		opacity 0.2s;
}

.volcane-slider__bullet.is-active::before {
	width: 16px;
	height: 16px;
	background: var(--color-primary, #ffc123);
	opacity: 1;
}

@media (hover: hover) {
	.volcane-slider__bullet:hover::before {
		opacity: 1;
	}
}

.volcane-slider .volcane-slider__pause {
	width: 44px;
	height: 44px;
	right: 25px;
	bottom: 22px;
	border-radius: 50%;
	background: var(--color-overlay, rgb(17 17 17 / 35%));
}

.volcane-slider .volcane-slider__pause svg {
	width: 18px;
	height: 18px;
	display: block;
}

@media (max-width: 767px) {
	.volcane-slider .volcane-slider__pagination {
		bottom: 8px;
	}

	.volcane-slider .volcane-slider__pause {
		right: 14px;
		bottom: 8px;
	}
}

@media (max-width: 767px) {
	.volcane-slider {
		--slider-aspect-ratio: 4 / 3;
	}
}

@supports not (aspect-ratio: 1) {
	.volcane-slider::before {
		display: block;
		padding-top: calc(100% / (var(--slider-aspect-ratio)));
		content: "";
	}
}
