.static-gallery {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.static-gallery .sg-viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.static-gallery .sg-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #111;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.static-gallery .sg-slide.sg-active {
	opacity: 1;
	visibility: visible;
	position: relative;
}

.static-gallery .sg-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.static-gallery .sg-arrow:hover,
.static-gallery .sg-arrow:focus-visible {
	background: rgba(0, 0, 0, 0.6);
}

.static-gallery .sg-prev {
	left: 12px;
}

.static-gallery .sg-next {
	right: 12px;
}

.static-gallery .sg-dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.static-gallery .sg-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
	cursor: pointer;
}

.static-gallery .sg-dot.sg-active {
	background: #2f6fed;
}

.static-gallery .sg-thumbs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	background: #1a1a1a;
	padding: 8px;
}

.static-gallery .sg-thumb {
	flex: 0 0 auto;
	width: 90px;
	height: 60px;
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	overflow: hidden;
}

.static-gallery .sg-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.static-gallery .sg-thumb.sg-active {
	border-color: #2f6fed;
}
