/**
 * Block Gallery
 */
/* Gallery */
.gallery {
}
.wp-block-gallery {
	margin-top: 32px;
	margin-bottom: 32px;

	.wp-block-image {
		> a {
			border-bottom: 0;
		}
	}

	&.has-nested-images {
		figure.wp-block-image {
			figcaption {
				font-size: 0.85rem;
			}

			&.is-style-rounded figcaption {
				color: #95a4ad;
			}
		}
	}

}

.wp-block-gallery ul li:before {
	content: none !important;
}
.wp-block-gallery ul li:before {
	content: none !important;
}
.wp-block-gallery ul {
	margin: 0 !important;
}
.wp-block-gallery .blocks-gallery-item {
	padding-left: 0;
}
.wp-block-gallery .blocks-gallery-item:last-child {
	margin-bottom: 1em;
}
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
	height: 100%;
	flex: 1;
	object-fit: cover;
}
.wp-block-gallery .blocks-gallery-item img {
	transition: opacity 0.3s;
}
.wp-block-gallery .blocks-gallery-item a {
	border-bottom: 0;
}
.wp-block-gallery .blocks-gallery-item a:hover img {
	opacity: .8;
}
@media (min-width: 768px){
	.the-content .wp-block-gallery.alignfull {
		margin-left: calc( ( ( 100vw - ( var(--knd-content-width) + var(--scroll-bar-width) ) ) / 2 ) * -1 );
		margin-right: calc( ( ( 100vw - ( var(--knd-content-width) + var(--scroll-bar-width) ) ) / 2 ) * -1 );
	}
}
@media (min-width: 1200px){
	.the-content .wp-block-gallery.alignwide {
		margin-left: calc( ( ( var(--knd-medium-content-width) - var(--knd-content-width) ) / 2 ) * -1 );
		margin-right: calc( ( ( var(--knd-medium-content-width) - var(--knd-content-width) ) / 2 ) * -1 );
	}
}