/* Label: Gallery */

/* core/group, style "gallery": navy section with an eyebrow + heading in the container, then a Gallery with the
   "Track" style running edge to edge (its prev/next buttons sit top right, in line with the heading: core-gallery.css).
   Figma: Event Structures Case Study › Gallery ("By the numbers") 7511:23191 */

.wp-block-group.alignfull.is-style-gallery {
	--wp--preset--gradient--navy: linear-gradient(114deg, var(--wp--preset--color--contrast) 0%, var(--wp--preset--color--ink) 100%);
	display: flex;
	flex-direction: column;
	gap: 1.875rem;
	padding: 3.125rem 0;
	color: var(--wp--preset--color--base);
}

.wp-block-group.is-style-gallery > :not(.fews-slider, .wp-block-gallery) {
	box-sizing: border-box;
	inline-size: 100%;
	max-inline-size: calc(80.9375rem + 2.5rem);
	margin: 0 auto;
	padding-inline: 1.25rem calc(1.25rem + 10.375rem); /* clear of the two 70px buttons */
}

.wp-block-group.is-style-gallery > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wp-block-group.is-style-gallery :is(.wp-block-heading, .wp-block-post-title) {
	margin: 0;
	font-weight: 600;
	line-height: 1.1;
}

@media (width < 782px) {
	.wp-block-group.alignfull.is-style-gallery {
		padding-block: 2.5rem;
	}

	.wp-block-group.is-style-gallery > :not(.fews-slider, .wp-block-gallery) {
		padding-inline-end: 1.25rem;
	}
}
