/** === Gallery Block === */

.wp-block-gallery a{
	border-bottom: 0;
}
.wp-block-gallery figure{
	margin: 8px 0 0;
	font-size: 1.4rem;  
	padding: 0;
}

.entry-content li.blocks-gallery-item:before{
	display: none;
}
.entry-content .blocks-gallery-item a{
	border-bottom: none;
}

li.blocks-gallery-item figure{
	margin-bottom: 0;
}
.entry-content .wp-block-gallery .blocks-gallery-item{
	margin-left: 0;
    margin-bottom: 0;
}

.entry-content > .wp-block-gallery,
.gallery {
	@extend %vertical-margin-small;
}
ul.blocks-gallery-grid{
	margin-top: -14px;
}
ul.blocks-gallery-grid > li,
.blocks-gallery-grid .blocks-gallery-image, 
.blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
	padding: 0;
	margin-top: 16px;
	margin-bottom: 0;
}
ul.blocks-gallery-grid > li:last-child,
.wp-block-gallery .blocks-gallery-item:last-child{
	margin-bottom: 0;
}
.wp-block-gallery .blocks-gallery-item figcaption,
figcaption,
.wp-block-video figcaption{
	line-height: 1.4;
	font-size: 12px;
	margin-top: 8px;
	opacity: .85;
	a{
		text-decoration: underline;
	}
}
.wp-block-video figcaption{
	text-align: center;
}

.gallery-caption{
    margin-top: 1px;
    bottom: 0;
}

figure.wp-block-gallery.alignwide {
	padding: 0;
	ul {
		max-width: 100%;
	}
	ol {
		max-width: 100%;
	}
}
figure.wp-block-gallery.alignfull {
	padding: 0;
	max-width: 100%;
	ul {
		max-width: 100%;
	}
	ol {
		max-width: 100%;
	}
}
