/* The @layer rule is used to have legacy styles less important than the components styles */
@layer links {
  a,
  a:active,
  a:focus,
  a:hover,
  a:link,
  a:visited {
    cursor: pointer;
    color: #1994d7;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }
}

p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #253b56;
  margin: 0 0 15px 0;
}

@media screen and (min-width: 1024px) {
  p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #253b56;
  }
}

h1 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 200;
  color: #0470ab;
  margin: 0 0 0.5em 0;
}

h2 {
  font-size: 20px;
  line-height: 25px;
  font-weight: 200;
  color: #253b56;
  margin: 0 0 15px 0;
}

h3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
  color: #253b56;
  margin: 0 0 15px 0;
}

h4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #253b56;
  margin-bottom: 10px;
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: 36px;
    line-height: 42px;
    font-weight: 200;
    color: #0470ab;
    margin: 0 0 0.5em 0;
  }

  h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 200;
    color: #253b56;
    margin: 0 0 15px 0;
  }

  h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #253b56;
    margin: 0 0 15px 0;
    line-height: 18px;
  }

  h4 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: #253b56;
    margin-bottom: 10px;
  }
}
