.oi-native-gallery-slideshow .gallery,
.oi-native-gallery-slideshow .wp-block-gallery {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 !important;
}

.oi-native-gallery-slideshow .gallery-item,
.oi-native-gallery-slideshow .wp-block-gallery > figure,
.oi-native-gallery-slideshow .wp-block-gallery > li {
	float: none;
	width: 100% !important;
	max-width: none !important;
	margin: 0;
	box-sizing: border-box;
}

.oi-native-gallery-slideshow .wp-block-gallery > figure,
.oi-native-gallery-slideshow .wp-block-gallery > li {
	flex: none !important;
}

.oi-native-gallery-slideshow img {
	display: block;
	width: 100%;
	max-width: 100% !important;
	height: auto;
	margin: 0 auto;
}

.oi-native-gallery-slideshow [hidden] {
	display: none !important;
}

.oi-native-gallery-slideshow__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

.oi-native-gallery-slideshow__controls button {
	padding: 0.15rem 0.35rem;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	line-height: 1;
	opacity: 0.55;
	cursor: pointer;
}

.oi-native-gallery-slideshow__controls button:hover {
	opacity: 1;
}

.oi-native-gallery-slideshow__controls button:focus-visible {
	opacity: 1;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.oi-native-gallery-slideshow__controls span {
	font-size: 0.8rem;
	opacity: 0.65;
}
