.oarsg-slider {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--oarsg-max, 1200px);
	margin: 1.5rem auto;
	color: #211b18;
	font-family: inherit;
}

.oarsg-slider *,
.oarsg-slider *::before,
.oarsg-slider *::after {
	box-sizing: border-box;
}

.oarsg-viewport {
	position: relative;
	overflow: hidden;
	background: var(--oarsg-bg, #f7f3f0);
	border-radius: 10px;
}

.oarsg-track {
	position: relative;
	width: 100%;
	aspect-ratio: var(--oarsg-ratio, 4 / 3);
}

.oarsg-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 280ms ease;
}

.oarsg-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.oarsg-media,
.oarsg-media > a {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.oarsg-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--oarsg-fit, contain);
	object-position: center;
}

.oarsg-caption {
	position: absolute;
	z-index: 2;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	color: #fff;
	background: rgba(25, 18, 15, .78);
	border-radius: 7px;
	backdrop-filter: blur(5px);
}

.oarsg-caption p {
	margin: 0;
	line-height: 1.4;
}

.oarsg-cta {
	flex: 0 0 auto;
	padding: 8px 14px;
	color: #211b18;
	background: #fff;
	border-radius: 999px;
	font-size: .9em;
	font-weight: 700;
	text-decoration: none;
}

.oarsg-cta:hover,
.oarsg-cta:focus-visible {
	color: #fff;
	background: #211b18;
}

.oarsg-arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #211b18;
	background: rgba(255, 255, 255, .9);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
	cursor: pointer;
	transform: translateY(-50%);
}

.oarsg-arrow:hover,
.oarsg-arrow:focus-visible {
	background: #fff;
	transform: translateY(-50%) scale(1.05);
}

.oarsg-arrow:disabled {
	opacity: .35;
	cursor: default;
}

.oarsg-prev {
	left: 14px;
}

.oarsg-next {
	right: 14px;
}

.oarsg-nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.oarsg-nav-item {
	flex: 0 0 auto;
	padding: 0;
	background: transparent;
	border: 2px solid transparent;
	cursor: pointer;
}

.oarsg-nav-thumbnails .oarsg-nav-item {
	width: 74px;
	height: 58px;
	overflow: hidden;
	border-radius: 5px;
	opacity: .68;
}

.oarsg-nav-thumbnails .oarsg-nav-item.is-active {
	border-color: currentColor;
	opacity: 1;
}

.oarsg-nav-thumbnails img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oarsg-nav-dots .oarsg-nav-item {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.oarsg-nav-dots .oarsg-nav-item span {
	width: 9px;
	height: 9px;
	background: currentColor;
	border-radius: 50%;
	opacity: .38;
}

.oarsg-nav-dots .oarsg-nav-item.is-active span {
	opacity: 1;
	transform: scale(1.25);
}

.oarsg-slider button:focus-visible,
.oarsg-slider a:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.oarsg-slider {
		margin-block: 1rem;
	}

	.oarsg-viewport {
		border-radius: 6px;
	}

	.oarsg-arrow {
		width: 38px;
		height: 38px;
	}

	.oarsg-prev {
		left: 8px;
	}

	.oarsg-next {
		right: 8px;
	}

	.oarsg-caption {
		right: 8px;
		bottom: 8px;
		left: 8px;
		padding: 9px 10px;
		font-size: .88em;
	}

	.oarsg-caption p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.oarsg-nav-thumbnails .oarsg-nav-item {
		width: 58px;
		height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oarsg-slide,
	.oarsg-arrow {
		transition: none;
	}
}
