.sswiper-container {
	position: relative;
	width: 100%;
	min-width: 100%;
	overflow: hidden;
	touch-action: none;
}

.insert-page .panel-layout {
	max-width: 1460px;
	background: rgba(255, 255, 255, 0.2);
	padding: 20px;
}

.sswiper {
	position: relative;
	width: 100%;
	cursor: grab;
	touch-action: none;
	transition: transform 0.3s ease-in-out;
}

.sswiper-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	user-select: none;
}

.sswiper-item.active {
	position: relative;
	opacity: 1;
}


.sswiper-controls {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	pointer-events: none; /* allows dragging/swiping through the container */
	z-index: 10;
}

.sswiper-controls button {
	display: block;
	position: absolute;
	pointer-events: auto;
	cursor: pointer;

}

.prev-btn {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
}

.next-btn,.second-last-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
}

.sswiper-controls button:hover {
	opacity: 0.8;
}

/* Gutenberg grid helper */

@media (max-width: 1024px) {
	.sswiper .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}