.pswp {
	z-index: 999999 !important;
}
.pswp--open {
	display: block !important;
}

[data-photoswipe] {
	display: flex;
	flex-wrap: wrap;
}
[data-photoswipe] figure {
	width: calc(25% - 6px);
	overflow: hidden;
	margin: 3px;
	height: 0;
	padding-top: 18.75%;
	position: relative;
}
[data-photoswipe] figure a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: transform .3s ease-in-out;
	background-position: center;
	background-size: cover;
}
[data-photoswipe] figure img {
	opacity: 0.001 !important;
}
[data-photoswipe] figure:hover a {
	transform: scale(1.1);
}

@media (max-width: 980px) {

	[data-photoswipe] figure {
		width: calc(50% - 6px);
		padding-top: 37.5%;
	}

}

@media (max-width: 767px) {

	[data-photoswipe] figure {
		width: 100%;
		padding-top: 75%;
		margin: 0 0 3px;
	}

}