/*
	Editor canvas: base typography of the theme. (inc/block-editor.php, add_editor_style)
	Fonts and colors: theme.json styles + Design > Styles. Component fonts selected in the Customizer apply on the front end only.
*/

:root {
	--wpi-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--wpi-font-heading: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
	}

/* Colors and font families come from theme.json styles (Design > Styles), so Styles changes show here. :where() keeps these below them. */
:where(body) {
	font-size: 16px; line-height: 1.7;
	}
:where(a) {
	text-decoration: none;
	}
:where(h1, h2, h3, h4, h5, h6) {
	line-height: 1.3;
	}
blockquote {
	position: relative; margin: 2.4em auto; padding: .4em 0; font-family: var(--wpi-font-heading); font-size: 1.6em; font-weight: bold; line-height: 1.4;
	}
blockquote cite {
	display: block; margin-top: 1.2em; font-size: 11px; font-style: normal; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; opacity: .6;
	}
hr {
	border-width: 0 0 1px 0; border-style: solid; border-color: rgba(0, 0, 0, 0.07);
	}

/* Gallery block "Slider" style: one image per row in the editor, scroll sideways (the site shows the theme slider) */
.wp-block-gallery.is-style-wpi-slider.has-nested-images {
	flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
	}
.wp-block-gallery.is-style-wpi-slider.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex: 0 0 100% !important; width: 100% !important; scroll-snap-align: start; /* over core's per-column widths */
	}
