/*
 Theme Name:   Jonnywp
 Theme URI:    https://jonnywp.com/
 Description:  This theme is a customized website based on Wordpress bricks builder. Designed by Jonnywp.
 Author:       Jonny Chen
 Author URI:   https://jonnywp.com/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
	--heading-spacing: 1.2em;
	--paragraph-spacing: 1em;
}

:where(img, figure:not(figure:has(img))) {
	border-radius: var(--radius);
}

pre {
	border-radius: var(--radius);
	color: var(--primary, initial);
	font-size: inherit;
	font-family: inherit;
	padding: 1em;
}

blockquote {
	font-family: inherit;
	font-size: 1em;
}

.brxe-text > * + :where(h1, h2, h3, h4, h5, h6), .brxe-post-content:where(:not([data-source="bricks"])) > * + :where(h1, h2, h3, h4, h5, h6) {
	margin-block-start: var(--heading-spacing, var(--flow-spacing, initial));
}

.brxe-text > * + p, .brxe-post-content:where(:not([data-source="bricks"])) > * + p {
	margin-block-start: var(--paragraph-spacing, var(--flow-spacing, initial));
}

.is-layout-flex {
	display: flex;
	flex-wrap: wrap;
}

body.bricks-is-frontend :focus-visible {
	box-shadow: 0 0 0 1px green;
}
