/* OOSI Home Slider — matches the old vSlider look (920x375, top caption stripe, circle arrows). */
.oosi-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
	margin: 0 0 1em;
}

.oosi-slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0s linear 0.8s;
	text-decoration: none !important;
	border: 0 !important;
	outline: none !important;
}

.oosi-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease, visibility 0s;
	z-index: 1;
}

.oosi-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover; /* same crop as TimThumb zc=1 */
	border: 0 !important;
	margin: 0;
	max-width: none;
}

/* Caption stripe across the top, like vSlider's "stripe-top" layout */
.oosi-caption {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px;
	background: rgba(34, 34, 34, 0.7);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: normal;
	letter-spacing: normal;
}

.oosi-caption-title {
	display: block;
	font-size: 20px;
	margin: 0;
}

.oosi-caption-desc {
	display: block;
	margin-top: 4px;
}

/* Prev / next: grey circle with white arrow, 70% opacity, centred vertically */
.oosi-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #bbb no-repeat center / 16px 16px;
	opacity: 0.7;
	cursor: pointer;
	transition: opacity 0.2s;
}

.oosi-nav:hover,
.oosi-nav:focus-visible {
	opacity: 1;
}

.oosi-nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.oosi-prev {
	left: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10 2 4 8l6 6' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E");
}

.oosi-next {
	right: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m6 2 6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E");
}

@media (max-width: 600px) {
	.oosi-caption { font-size: 12px; padding: 6px 8px; }
	.oosi-caption-title { font-size: 15px; }
	.oosi-nav { width: 26px; height: 26px; margin-top: -13px; }
}

@media (prefers-reduced-motion: reduce) {
	.oosi-slide,
	.oosi-slide.is-active { transition: none; }
}
