
/**
 |
 | The container (i.e. <ul/>) of the testimonial blocks.
 |
 |
 */
.testimonials-section .wp-block-query .wp-block-post-template {
	position: relative;
	display: inline-flex;
	margin-top: calc( 6 * var( --spacing-unit ) );
	margin-bottom: calc( 6 * var( --spacing-unit ) );
	padding-left: 0;
}
.testimonials-section .wp-block-query .wp-block-post-template:after {
	content: "";
	position: relative;
	/* width: calc( 2 * var( --half-bleed-width--standard ) ); */
		/* ^ For some reason, setting the `width` property does nothing. */
	padding-right: calc( 2 * var( --half-bleed-width--standard ) );
}

@media ( min-width: 1280px ) {
	.testimonials-section .wp-block-query .wp-block-post-template {
		margin-top: calc( 8 * var( --spacing-unit ) );
	}
}
@media ( min-width: 1536px ) {
	.testimonials-section .wp-block-query .wp-block-post-template {
		margin-top: calc( 12 * var( --spacing-unit ) );
	}
}

@media not all and ( min-width: 738px ) {
	.testimonials-section .wp-block-query .wp-block-post-template > :not( [ hidden ] ) {
		margin-left: calc( 6 * var( --spacing-unit ) );
	}
	.testimonials-section .wp-block-query .wp-block-post-template > :first-child {
		/* margin-left: calc( 6 * var( --spacing-unit ) ); */
		margin-left: calc( 2 * var( --half-bleed-width--standard ) );
	}
	.testimonials-section .wp-block-query .wp-block-post-template > :not([hidden]) ~ :not([hidden]) {
		--tw-space-x-reverse: 0;
		_margin-right: calc( 1.5rem /* 24px */ * var( --tw-space-x-reverse ) );
		_margin-left: calc( 1.5rem /* 24px */ * calc( 1 - var( --tw-space-x-reverse ) ) );
	}
}
@media ( min-width: 738px ) {
	.testimonials-section .wp-block-query .wp-block-post-template > :not( [ hidden ] ) {
		margin-left: var( --gutter-width );
	}

	.testimonials-section .wp-block-query .wp-block-post-template > :not([hidden]) ~ :not([hidden]) {
		--tw-space-x-reverse: 0;
		_margin-right: calc( var( --gutter-width ) * var( --tw-space-x-reverse ) );
		_margin-left: calc( var( --gutter-width ) * calc( 1 - var( --tw-space-x-reverse ) ) );
	}
}


/**
 |
 | The testimonial blocks
 |
 |
 */
@media not all and ( min-width: 738px ) {
	.testimonials-section .wp-block-query .wp-block-post-template .wp-block-post {
		/* max-width: calc( 70 * var( --spacing-unit ) ); */
		min-width: calc( 70 * var( --spacing-unit ) );
	}
}
@media ( min-width: 738px ) {
	.testimonials-section .wp-block-query .wp-block-post-template .wp-block-post {
		width: calc( ( 5 * var( --column-width ) ) + ( 4 * var( --gutter-width ) ) );
	}
}
@media ( min-width: 1024px ) {
	.testimonials-section .wp-block-query .wp-block-post-template .wp-block-post {
		width: calc( ( 4 * var( --column-width ) ) + ( 3 * var( --gutter-width ) ) );
	}
}
.testimonials-section .wp-block-query .wp-block-post-template .wp-block-post figcaption * {
	display: none;
}

/* Remove the `Add "read more" link text` in the Gutenberg interface */
.testimonials-section .wp-block-query .wp-block-post-template .wp-block-post .wp-block-post-excerpt__more-text {
	display: none;
}
