/*
Theme Name: OnPoint Modern
Theme URI:
Author: Michał Kostrzyński
Author URI:
Description:
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onpoint-modern
Tags:
*/

:root {
  --onpoint-modern-breakpoint-wide: 1920px;
  --onpoint-modern-breakpoint-desktop: 1366px;
  --onpoint-modern-breakpoint-small-desktop: 1024px;
  --onpoint-modern-breakpoint-tablet: 768px;
  --onpoint-modern-breakpoint-mobile: 480px;
  --onpoint-modern-breakpoint-small-mobile: 320px;
}
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root {
  isolation: isolate;
}
/*
.onpoint-blog-pagination {
  a,
  span {
    margin-left: 1.5rem;
    text-decoration: none;

    &:first-child {
      margin-left: 0;
    }
  }

  span.current {
    text-decoration: underline;
  }
}

.onpoint-product-hero {
  .wp-block-cover__image-background {
    transform: rotate(180deg);
  }

  .onpoint-product-header-columns {
    @media screen and (max-width: 768px) {
      flex-direction: column;
    }
  }
} */
