/* Soccer Engine Theme base. Compile assets/scss/base.scss locally; put site edits in custom.css. */
:where(.wp-site-blocks, .editor-styles-wrapper) *,
:where(.wp-site-blocks, .editor-styles-wrapper) *::before,
:where(.wp-site-blocks, .editor-styles-wrapper) *::after {
  box-sizing: border-box;
}

:where(.wp-site-blocks, .editor-styles-wrapper) {
  overflow-wrap: break-word;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(img, video) {
  max-width: 100%;
  height: auto;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(input, textarea, select, button) {
  font: inherit;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]), textarea, select) {
  max-width: 100%;
  padding: var(--wp--preset--spacing--xs);
  color: inherit;
  background: var(--wp--preset--color--background);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--border--radius);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--wp--custom--focus--width) solid var(--wp--preset--color--accent);
  outline-offset: var(--wp--custom--focus--offset);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(a) {
  text-underline-offset: 0.18em;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(pre) {
  overflow-x: auto;
}

.wp-site-blocks > :where(header, main, footer) {
  margin-block-start: 0;
}

