/* Simple image slider — OSlider skin (natural image dimensions) */

.ap-image-slider {
	--os-speed: 550ms;
}

.ap-image-slider[data-ap-img-slider].is-device-pending {
	visibility: hidden;
}

@media (max-width: 767px) {
	.ap-image-slider[data-ap-img-slider][data-ap-img-slider-device="desktop"] {
		visibility: hidden;
	}
}

.ap-image-slider .oslider__viewport {
	border-radius: initial;
	overflow: hidden;
}

.ap-image-slider__slide {
	display: block;
	text-decoration: none;
	color: inherit;
	line-height: 0;
}

.ap-image-slider__slide img,
.ap-image-slider__img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	vertical-align: middle;
}

.ap-image-slider .oslider__arrow {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid rgba(245, 166, 35, 0.5);
	background: rgba(10, 10, 10, 0.4);
	color: #fff;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ap-image-slider .oslider__arrow:hover:not(:disabled) {
	background: var(--red);
	border-color: var(--red);
	color: #1a1a1a;
}

.ap-image-slider .oslider__dots {
	gap: 10px;
}

.ap-image-slider .oslider__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
	box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.45);
	transition: width 0.2s, border-radius 0.2s, background 0.2s;
}

.ap-image-slider .oslider__dot.is-active {
	background: var(--red);
	width: 30px;
	border-radius: 6px;
}

/* Banner layout — dots on the right (Skin C) */
.ap-image-slider.oslider--dots-right .oslider__dot {
	width: 6px;
	height: 6px;
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 0 0 1px rgba(15, 17, 22, 0.25);
	transition: height 0.25s, border-radius 0.25s, background 0.2s;
}

.ap-image-slider.oslider--dots-right .oslider__dot.is-active {
	background: var(--red);
	width: 6px;
	height: 16px;
	border-radius: 3px;
}

/* Bottom bar layout (Skin B nav) */
.ap-image-slider .oslider__bar .oslider__arrow {
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
}

.ap-image-slider .oslider__bar .oslider__arrow:hover:not(:disabled) {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
	border-radius: 11px;
}

.ap-image-slider .oslider__bar .oslider__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(15, 17, 22, 0.2);
	box-shadow: none;
}

.ap-image-slider .oslider__bar .oslider__dot.is-active {
	width: 26px;
	border-radius: 5px;
	background: var(--red);
}

@media (max-width: 560px) {
	.ap-image-slider .oslider__dots { bottom: var(--os-dots-inset, 62px); }
}