/* -------------------------------------------------------------------------------------------------------------------- */
/* GLOBALS */
/* -------------------------------------------------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

h1,
h2,
h3,
h4,
h5,
h5,
.font-titles {
  letter-spacing: normal;
  font-style: normal;
}

body:not(.wp-admin) .entry-content.wp-block-post-content {
  margin-block-start: 0;
}

/*
 * Ensure spacing and padding are correct theme-wide.
 */

* {
  box-sizing: border-box;
}

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background-color: var(--wp--preset--color--primary, #09090b);
  color: var(--wp--preset--color--contrast, #fafafa);
}

::selection {
  background: color-mix(in srgb, var(--wp--preset--color--accent, #FF5722) 45%, transparent);
  color: var(--wp--preset--color--contrast, #fafafa);
}

:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent, #FF5722);
  outline-offset: 2px;
}

a {
  color: var(--wp--preset--color--accent, #FF5722);
}

a:hover,
a:focus {
  color: var(--wp--preset--color--accent-hover, #E64A19);
}

@media (min-width: 783px) {
  .hide-on-desktop:not(.wp-block) {
    display: none !important;
  }
}

@media (max-width: 782px) {
  .hide-on-tablet:not(.wp-block) {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .hide-on-mobile:not(.wp-block) {
    display: none !important;
  }
}
