/*
 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
*/
/* ==========================================================================
   ASE demo (Aspen/Pitkin County Airport) base layer.
   Self-hosted fonts and page-level base styles ported from the Etch build.
   Component styles live in Bricks global classes (ase-*), not here.
   ========================================================================== */
@font-face { font-family: 'Figtree'; src: url('/wp-content/uploads/ase-assets/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Petrona'; src: url('/wp-content/uploads/ase-assets/petrona-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Low-priority reset (same rules the Etch build used); ACSS and the ase-* classes override it. */
@layer ase-reset {
	*, *::before, *::after { box-sizing: border-box; }
	* { margin: 0; }
	html { -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; }
	ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
	body { min-block-size: 100svh; display: flex; flex-direction: column; line-height: 1.5; -webkit-font-smoothing: antialiased; }
	body > main { flex-grow: 1; }
	img, picture, video, svg { max-inline-size: 100%; display: block; }
	img { block-size: auto; }
	input, button, textarea, select { font: inherit; font-size: inherit; }
	button { cursor: pointer; background-color: transparent; border: none; color: currentColor; }
	p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
}

html { scrollbar-gutter: auto; }
body { background: #F8F8F4 url('/wp-content/uploads/ase-assets/ase-bg-texture.jpg') repeat; color: var(--base, #737376); font-family: 'Figtree', system-ui, sans-serif; }

/* Bricks skip link, styled like the Etch one */
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -200px; z-index: 100; padding: .75em 1em; background: #fff; color: var(--primary, #002654); font-weight: 700; transition: none; }
.skip-link:focus { inset-block-start: 8px; clip: auto; clip-path: none; inline-size: auto; block-size: auto; outline: 2px solid var(--primary, #002654); outline-offset: 2px; }

/* Visually hidden text used inside text elements (screen-reader labels). Same rule as the ase-vh global class. */
.ase-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ACSS pads body > header / body > footer; the Bricks header/footer templates carry their own spacing (as the Etch build did). */
#brx-header, #brx-footer { padding: 0; }
