/**
 * Aureline block styles.
 *
 * Loaded only when a block using one of these styles is on the page
 * (and in the editor), via the style handle registered in
 * aureline_block_styles(). Colours use the theme's dynamic CSS
 * variables with the default palette as fallback, so the styles
 * follow the Customizer on the front end and still render sensibly
 * in the editor.
 */

/* Quote — Accent: accent bar and tinted panel, echoing the
   Styled Quote pattern without needing the pattern. */
.wp-block-quote.is-style-aureline-accent {
	border-left: 4px solid var(--aur-accent-solid, #a74c00);
	background: var(--aur-light, #fafafa);
	padding: 20px 24px;
	border-radius: 0 12px 12px 0;
}

.wp-block-quote.is-style-aureline-accent p {
	font-size: 1.125em;
	line-height: 1.55;
}

.wp-block-quote.is-style-aureline-accent cite {
	color: var(--aur-grey, #5c5c5c);
	font-size: 0.875em;
}

/* Button — Gradient: the theme's button gradient as an optional
   block style alongside core's Fill and Outline. */
.wp-block-button.is-style-aureline-gradient .wp-block-button__link {
	background: linear-gradient(
		135deg,
		var(--aur-orange-dark, #c25700),
		var(--aur-accent-solid, #a74c00)
	);
	color: #fff;
	border: none;
}

.wp-block-button.is-style-aureline-gradient .wp-block-button__link:hover,
.wp-block-button.is-style-aureline-gradient .wp-block-button__link:focus {
	filter: brightness(1.08);
	color: #fff;
}
