/* Local Inter font faces (self-hosted) */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter_18pt-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Reset WordPress default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

button{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: none;
  text-shadow: none;
  cursor: pointer;
  border: inherit;
}

a{
  text-decoration: none;
  color: inherit;
  background: transparent;
  &:hover,
  &:focus,
  &:active {
    color: inherit;
    text-decoration: none;
  }
}

/* Full width layout */
:root {
  --wp--style--global--content-size: 100%;
  --wp--style--global--wide-size: 100%;
}

/* Remove default block spacing */
:where(.is-layout-flow) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}


/* Убираем дефолтные margin'ы между блоками */
:root :where(.is-layout-flow) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Full width blocks */
.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-post-content {
  max-width: 100%;
}
