/* 代生画廊样式 */
.gallery-grid {
	margin-bottom: 20px;
}
.gallery-grid .grid figure {
	position: relative;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	background: #000;
}
.gallery-grid .grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}
.gallery-grid .grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	backface-visibility: hidden;
}
.gallery-grid .grid figure figcaption::before,
.gallery-grid .grid figure figcaption::after {
	pointer-events: none;
}
.gallery-grid .grid figure figcaption,
.gallery-grid .grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery-grid .grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.gallery-grid .grid figure figcaption {
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-grid .grid figure.effect-apollo {
	background: #000;
}
.gallery-grid .grid figure.effect-apollo img {
	opacity: 0.95;
	transition: opacity 0.35s, transform 0.35s;
	transform: scale3d(1.05, 1.05, 1);
}
.gallery-grid .grid figure.effect-apollo figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	content: '';
	transition: transform 0.6s;
	transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -100%, 0);
}
.gallery-grid .grid figure.effect-apollo:hover img {
	opacity: 0.6;
	transform: scale3d(1, 1, 1);
}
.gallery-grid .grid figure.effect-apollo:hover figcaption::before {
	transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 100%, 0);
}
.gallery-grid .grid figure.effect-apollo h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	margin: 0;
	font-size: 18px;
}
