/**
*
* // -- Theme Reset -- //
*
*/

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

div {
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: left;
  line-height: 1;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

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

  display: flex;
  flex-direction: column;
  height: 100vh;
}

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

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

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: break-word; /* Ensures words break properly */
  overflow-wrap: break-word; /* Alternative for older browsers */
  white-space: normal; /* Allows text to wrap naturally */
  hyphens: none; /* Disables hyphenation */
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
  margin-bottom: 1.5rem !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

ul:not(.nav-menu ul, .body ul, .accordion-body div ul) {
  list-style: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

a {
  text-decoration: none;
  color: inherit;
}

/**
*
* // -- Theme Reset END -- //
*
*/
