/* Bricks frontend CSS is wrapped in @layer bricks, so the unlayered site CSS
   already wins wherever both set a property. These rules undo the Bricks
   defaults the site CSS never had to set because browsers did not. */

/* Bricks sets html{font-size:62.5%}; every rem in tokens.css assumes 16px. */
html{font-size:100%}

/* Bricks sets textarea{line-height:inherit!important}. A layered !important
   only loses to an !important in a layer declared before it; nt-important is
   declared ahead of every stylesheet in wp_head (inc/bricks.php). */
@layer nt-important{.nt-page .form-field textarea{line-height:1.5!important}}

/* Bricks turns body into a flex column for its sticky-footer layout. */
:where(.brx-body){display:revert;flex-direction:revert;margin:revert;width:revert}

/* Bricks styles .skip-link for its own (disabled) skip links; site.css owns ours. */
:where(.skip-link){clip:revert;background:revert;border-bottom-right-radius:revert;color:revert;font-weight:revert;height:revert;left:revert;overflow:revert;padding:revert;position:revert;top:revert;transition:revert;white-space:revert;width:revert;z-index:revert}
:where(.skip-link:focus){clip:revert;height:revert;overflow:revert;width:revert}

/* generated: revert Bricks element defaults */
/* Bricks resets bare elements (figcaption centring, label colour, h1-h6
   sizes, p margins, form controls) and positions #brx-content. The site
   CSS was written against browser defaults, so every such Bricks rule is
   reverted here. Wrapped in :where() so any site rule still wins.
   Regenerate after a Bricks update:
   python3 scripts/bricks-migration/gen_compat.py \
     wp-content/themes/bricks/assets/css/frontend-layer.min.css \
     wp-content/themes/bricks-child/assets/bricks-compat.css */
:where(html){-webkit-text-size-adjust:revert;text-size-adjust:revert;line-height:revert}
:where(body){margin:revert}
:where(article,aside,figcaption,figure,footer,header,main,nav,section){display:revert}
:where(figure){margin:revert}
:where(hr){box-sizing:revert;height:revert;overflow:revert}
:where(abbr[title]){border-bottom:revert;text-decoration:revert}
:where(code,kbd,samp){font-family:revert;font-size:revert}
:where(dfn){font-style:revert}
:where(mark){background-color:revert;color:revert}
:where(small){font-size:revert}
:where(sub,sup){font-size:revert;line-height:revert;position:revert;vertical-align:revert}
:where(sub){bottom:revert}
:where(sup){top:revert}
:where(audio,video){display:revert}
:where(audio:not([controls])){display:revert;height:revert}
:where(img){border-style:revert}
:where(button,input,optgroup,select,textarea){font-family:revert;font-size:revert;line-height:revert;margin:revert}
:where(button,input){overflow:revert}
:where(button,select){text-transform:revert}
:where([type=reset],[type=submit],button,html [type=button]){-webkit-appearance:revert}
[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:revert;padding:revert}
:where([type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring){outline:revert}
:where(fieldset){padding:revert}
:where(legend){box-sizing:revert;color:revert;display:revert;max-width:revert;padding:revert;white-space:revert}
:where(progress){display:revert;vertical-align:revert}
:where(textarea){overflow:revert}
:where([type=checkbox],[type=radio]){box-sizing:revert;padding:revert}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:revert}
:where([type=search]){-webkit-appearance:revert;outline-offset:revert}
[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:revert}
::-webkit-file-upload-button{-webkit-appearance:revert;font:revert}
:where(details,menu){display:revert}
:where(summary){display:revert}
:where(canvas){display:revert}
:where([hidden],template){display:revert}
:where(svg:not([width])){min-width:revert}
:where(svg:not([height])){min-height:revert}
:where(*,:after,:before,html){box-sizing:revert}
:where(:after,:before){outline:revert}
:where(*){border-color:revert}
:where(body){-webkit-font-smoothing:revert;-moz-osx-font-smoothing:revert;background-color:revert;background-position:revert;color:revert;font-family:revert;font-size:revert;line-height:revert;transition:revert}
:where(:where(a)){border-color:revert;color:revert;cursor:revert;text-decoration:revert}
:where(h1,h2,h3,h4,h5,h6){margin:revert;text-rendering:revert}
:where(h1 a,h2 a,h3 a,h4 a,h5 a,h6 a){color:revert}
:where(h1){font-size:revert}
:where(h1,h2){line-height:revert}
:where(h2){font-size:revert}
:where(h3){font-size:revert}
:where(h3,h4){line-height:revert}
:where(h4){font-size:revert}
:where(h5){font-size:revert}
:where(h5,h6){line-height:revert}
:where(h6){font-size:revert}
:where(:where(p)){margin-block:revert}
:where(:where(p:last-of-type)){margin-block-end:revert}
:where(:where(p:last-of-type)+h1,:where(p:last-of-type)+h2,:where(p:last-of-type)+h3,:where(p:last-of-type)+h4,:where(p:last-of-type)+h5,:where(p:last-of-type)+h6){margin-block:revert}
:where(figcaption){color:revert;font-size:revert;margin:revert;text-align:revert}
:where(img){height:revert;max-width:revert;outline:revert;vertical-align:revert}
:where(audio,iframe){max-width:revert}
:where(button){border:revert;cursor:revert;outline:revert;padding:revert}
:where(blockquote){border-left-style:revert;border-left-width:revert;font-family:revert;font-size:revert;margin:revert;padding:revert;position:revert}
:where(blockquote cite){display:revert;font-size:revert;font-style:revert;margin-top:revert;opacity:revert;text-transform:revert}
:where(hr){border:revert;border-top:revert;margin:revert}
:where(pre){background-color:revert;color:revert;font-family:revert;font-size:revert;margin:revert;padding:revert;white-space:revert}
:where(table){width:revert}
:where(label){color:revert;display:revert;font-weight:revert;margin-bottom:revert}
:where(button,input,optgroup,select,textarea){font-family:revert;text-align:revert}
:where(input:not([type=submit]),select,textarea){border-style:revert;border-width:revert;box-shadow:revert;color:revert;font-size:revert;line-height:revert;outline:revert;padding:revert;transition:revert;width:revert}
:where(input[type=range]){border:revert;height:revert;line-height:revert;padding:revert}
:where(input[type=button],input[type=checkbox],input[type=radio]){width:revert}
:where(input[type=checkbox],input[type=radio],input[type=submit],select){cursor:revert}
:where(select){-webkit-appearance:revert;appearance:revert;background-color:revert;background-image:revert;background-position:revert;background-repeat:revert;background-size:revert;border-radius:revert}
:where(textarea){height:revert;line-height:revert;min-height:revert;padding:revert}
::placeholder{color:revert}
:where(#brx-content){flex:revert;position:revert;width:revert}
