:root {
  /* Typography */
  --primary-font-family: "Plus Jakarta Sans", sans-serif;
  --secondary-font-family: "DM Sans", sans-serif;
  --tertiary-font-family: "DM Serif Display", serif;

  --fs-h1: 80px;
  --lh-h1: 88px;

  --fs-h2: 60px;
  --lh-h2: 68px;

  --fs-h3: 32px;
  --lh-h3: 40px;

  --fs-h4: 24px;
  --lh-h4: 32px;

  --fs-h5: 20px;
  --lh-h5: 30px;

  --fs-body: 18px;
  --lh-body: 28px;

  --fs-caption: 16px;
  --lh-caption: 24px;

  --fs-14: 14px;
  --lh-14: 16px;

  --fs-tag: 13px;
  --lh-tag: 16px;

  @media (max-width: 1300px) {
    --fs-h1: 60px;
    --lh-h1: 68px;
  }

  @media (max-width: 1024px) {
    --fs-h1: 56px;
    --lh-h1: 64px;

    --fs-h2: 48px;
    --lh-h2: 56px;

    --fs-h3: 24px;
    --lh-h3: 32px;

    --fs-h4: 20px;
    --lh-h4: 28px;
  }

  @media (max-width: 480px) {
    --fs-h1: 40px;
    --lh-h1: 48px;

    --fs-h2: 36px;
    --lh-h2: 44px;

    --fs-h3: 20px;
    --lh-h3: 28px;

    --fs-h4: 18px;
    --lh-h4: 24px;

    --fs-h5: 16px;
    --lh-h5: 24px;

    --fs-body: 16px;
    --lh-body: 24px;

    --fs-caption: 14px;
    --lh-caption: 20px;
  }
}

html {
  body {
    font-family: var(--primary-font-family);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-dark) !important;

    h1,
    h2,
    h3,
    h4,
    h5,
    p,
    li,
    span {
      color: inherit;
    }
  }
}

/* Typography Heading Classes */
.typography-heading-1 {
  font-family: var(--tertiary-font-family);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 400;
  margin-bottom: 12px;
}

.typography-heading-2 {
  font-family: var(--tertiary-font-family);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 600;
  margin-bottom: 16px;
}

.typography-heading-3 {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
  margin-bottom: 16px;
}

.typography-heading-4 {
  font-family: var(--primary-font-family);
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: 600;
  margin-bottom: 12px;
}

.typography-heading-5 {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: 12px;
}

/* Typography Text Element Classes */
.typography-body {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: 16px;
}

.typography-caption {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  margin-bottom: 16px;
}

.typography-14 {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: 400;
}

.typography-tag {
  font-family: var(--secondary-font-family);
  font-size: var(--fs-tag);
  line-height: var(--lh-tag);
  margin-bottom: 16px;
}

@media screen and (--min-md) {
  .typography-heading-1 {
    margin-bottom: 32px;
  }

  .typography-heading-2 {
    margin-bottom: 24px;
  }

  .typography-heading-3 {
    margin-bottom: 20px;
  }

  .typography-heading-4 {
    margin-bottom: 16px;
  }

  .typography-heading-5 {
    margin-bottom: 12px;
  }

  .typography-body {
    margin-bottom: 16px;
  }

  .typography-caption {
    margin-bottom: 16px;
  }
}

/* WYSIWYG */
/* - home-hero */
.wysiwyg {
  *:first-child {
    margin-top: 0;
  }

  *:last-child {
    margin-bottom: 0;
  }

  strong,
  b {
    font-style: normal;
    background: var(--color-dark);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600;
  }
  em,
  i {
    /* font-style: normal;
    background: var(--gradient-2);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; */
    font-weight: 300;
  }

  h1 {
    font-family: var(--tertiary-font-family);
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    font-weight: 400;
    margin-top: 6vw;
    margin-bottom: 12px;
    color: inherit;
  }

  h2 {
    font-family: var(--tertiary-font-family);
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    font-weight: 600;
    margin-top: 4vw;
    margin-bottom: 16px;
    color: inherit;
  }

  h3 {
    font-family: var(--tertiary-font-family);
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
    font-weight: 600;
    margin-top: 3vw;
    margin-bottom: 16px;
    color: inherit;
  }

  h4 {
    font-family: var(--secondary-font-family);
    font-size: var(--fs-h4);
    line-height: var(--lh-h4);
    font-weight: 400;
    margin-top: 2vw;
    margin-bottom: 12px;
    color: inherit;
  }

  h5 {
    font-family: var(--secondary-font-family);
    font-size: var(--fs-h5);
    line-height: var(--lh-h5);
    /* font-weight: 400; */
    font-weight: 300;
    margin-top: 2vw;
    margin-bottom: 12px;
    color: var(--color-text);
  }

  p {
    font-family: var(--secondary-font-family);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--color-text);

    &.nbsp-paragraph {
      line-height: 16px;
      margin-bottom: 0;
    }
  }

  ul,
  ol {
    margin-top: 0;
    margin-bottom: 16px;
    margin-left: 11px;
    padding-left: 0;
  }

  li {
    position: relative;
    list-style-type: none;
    font-family: var(--secondary-font-family);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 300;
    margin-bottom: 8px;
    margin-left: 10px;
    color: var(--color-text);

    &::before {
      content: var(--list-number) " ";
      font-size: inherit;
      left: 0;
      position: absolute;
      transform: translateX(-130%);
    }

    ul,
    ol {
      margin-left: 0;
      margin-bottom: 0;
      padding-left: 0;
    }

    &:not([style*="--list-number"]) {
      &::before {
        content: ".";
        left: -13px;
        top: -4px;
        font-size: 1.1em;
        position: absolute;
      }
    }
  }

  li:last-child {
    margin-bottom: 0;
  }

  a:not(.btn) {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
    transition: 0.3s ease;
    color: inherit;
    text-decoration-color: inherit;

    &:hover {
      color: var(--color-black);
      text-decoration-color: var(--color-black);
    }
  }

  .btn {
    margin-bottom: 16px;
    margin-right: 14px;
    width: fit-content !important;

    &.btn--brown {
      margin-top: 16px;
    }
  }

  blockquote{
    border-left: unset;
    *{
      font-family: var(--primary-font-family);
      font-size: var(--fs-h5);
      line-height: var(--lh-h5);
      font-weight: 300;
      margin-top: 16px;
      margin-bottom: 16px;
      color: var(--color-dim);
      padding-left: 16px;
    }
  }
}
