/* Minimal reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-neutral-800);
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Base typography */
h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: var(--leading-2xl);
  font-weight: 700;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  font-weight: 700;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-3);
}

.heading-plain {
  font-family: var(--font-sans);
}

/* Kirby richtext */
.kt {
  figure.floated img {
    float: right;
    width: 25%;
    min-width: 150px;
    margin-right: var(--space-4);
    margin-bottom: var(--space-4);
  }

  ul, ol {
    margin-left: var(--space-5);
  }

  ul li { list-style: disc outside; }
  ol li { list-style: decimal outside; }

  a {
    text-decoration: underline;

    &:hover { text-decoration: none; }
  }
}
