/*
 * Block styles used by the theme's patterns. Loaded on the front end and in
 * the block editor, so pages look the same in both.
 */

/* Text on dark bands inherits the band's light text colour. */
.has-burgundy-background-color :is(h1, h2, h3, h4, h5, h6),
.has-burgundy-dark-background-color :is(h1, h2, h3, h4, h5, h6),
.has-burgundy-background-color a:where(:not(.wp-element-button)),
.has-burgundy-dark-background-color a:where(:not(.wp-element-button)) {
	color: inherit;
}

/* Small uppercase label above a heading. */
.is-kicker {
	color: var(--wp--preset--color--varnish);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: .14em;
	margin-bottom: .25rem;
	text-transform: uppercase;
}
.is-kicker + :is(h1, h2, h3) {
	margin-top: .25rem;
}

/* Card: a column with a light background and border. */
.wp-block-column.is-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: var(--wp--preset--spacing--40);
}
.is-card > :first-child {
	margin-top: 0;
}
.is-card > :last-child {
	margin-bottom: 0;
}

/* Icons above feature columns. */
.wp-block-image.is-icon {
	margin-bottom: .75rem;
}

/* Outline button variant. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--wp--preset--color--burgundy);
	padding: calc(.8em - 2px) calc(1.6em - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--burgundy);
	border-color: var(--wp--preset--color--burgundy);
	color: #fff;
}

.wp-block-media-text__media img {
	border-radius: 8px;
}
.wp-block-quote cite {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}
