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

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

.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,
.gallery {
	@include vertical-gutter-flow(1, 1, 1, 0.5);
}
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;
}

.wp-block-gallery .blocks-gallery-item figcaption,
figcaption,
.wp-block-video figcaption{
	line-height: 1.4;
	font-size: 1.2rem;
	margin-top: 8px;
	pointer-events: none;
	opacity: .85;
}
.wp-block-video figcaption{
	text-align: center;
}

.gallery-caption{
    margin-top: 1px;
    bottom: 0;
}
.blocks-gallery-grid:not(.has-nested-images), .wp-block-gallery:not(.has-nested-images){
	margin: 0px;
}
:root{
    --gallery-block--gutter-size: 16px;
}
