/**
 * Base typography for non-Elementor content.
 *
 * Elementor sets font-size on the widget wrapper, not on inner p/h tags.
 * Without the override below, explicit p/h rules here would block inheritance.
 */
h1, h2, h3, h4 {
  font-weight: 300;
  font-family: 'DM Sans', sans-serif;
}

h1 {
  font-size: 55px;
}

h2 {
  font-size: 37px;
}

h3 {
  font-size: 27px;
}

h4 {
  font-size: 20px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }
}
