/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*
 * Brightwell: serif highlight words inside headings and text.
 * Bricks only prints a global class's styles when it is applied to a whole
 * element, so this keeps the highlight working for words wrapped in
 * <span class="text-serif-italic">.
 */
.text-serif-italic {
	font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
}

/* Brightwell: sticky header. Bricks fixes the header in place (brx-sticky); this reserves its height so content is not hidden behind it. */
body{padding-top:var(--bw-header-h,7.6rem)}
.admin-bar #brx-header.brx-sticky{top:32px}
@media (max-width:782px){.admin-bar #brx-header.brx-sticky{top:46px}}
@media (max-width:600px){.admin-bar #brx-header.brx-sticky{top:0}}
html{scroll-padding-top:calc(var(--bw-header-h,7.6rem) + 1.6rem)}
