@charset "UTF-8";
@import url(./ds-variable.css);


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

a.contrast,
a.secondary {
  --ds-text-decoration: underline;
}

small {
  --ds-font-size: 0.875em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  --ds-font-weight: 700;
}

h1 {
  --ds-font-size: 2rem;
  --ds-line-height: 1.125;
  --ds-typography-spacing-top: 3rem;
}

h2 {
  --ds-font-size: 1.75rem;
  --ds-line-height: 1.15;
  --ds-typography-spacing-top: 2.625rem;
}

h3 {
  --ds-font-size: 1.5rem;
  --ds-line-height: 1.175;
  --ds-typography-spacing-top: 2.25rem;
}

h4 {
  --ds-font-size: 1.25rem;
  --ds-line-height: 1.2;
  --ds-typography-spacing-top: 1.874rem;
}

h5 {
  --ds-font-size: 1.125rem;
  --ds-line-height: 1.225;
  --ds-typography-spacing-top: 1.6875rem;
}

h6 {
  --ds-font-size: 1rem;
  --ds-line-height: 1.25;
  --ds-typography-spacing-top: 1.5rem;
}

tfoot td,
tfoot th,
thead td,
thead th {
  --ds-font-weight: 600;
  --ds-border-width: 0.1875rem;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: var(--ds-typography-spacing-vertical);
  color: var(--ds-color);
  font-weight: var(--ds-font-weight);
  font-size: var(--ds-font-size);
  line-height: var(--ds-line-height);
  font-family: var(--ds-font-family);
}

h1 {
  --ds-color: var(--ds-h1-color);
}

h2 {
  --ds-color: var(--ds-h2-color);
}

h3 {
  --ds-color: var(--ds-h3-color);
}

h4 {
  --ds-color: var(--ds-h4-color);
}

h5 {
  --ds-color: var(--ds-h5-color);
}

h6 {
  --ds-color: var(--ds-h6-color);
}

:where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul)
  ~ :is(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--ds-typography-spacing-top);
}

p {
  margin-bottom: var(--ds-typography-spacing-vertical);
}


h1,
h3,
h4,
h5,
h6 {
  width: 100%;
  color: var(--digi-typografi-rubrik);
  font-family: var(--digi-rubrik);
  font-weight: 800;
  hyphens: auto;
  hyphenate-character: "-";
  hyphenate-limit-chars: 12 4 2;
}
h1 b,
h2 b,
h3 b,
h4 b,
h5 b,
h6 b,
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  color: var(--digi-typografi-accent);
  line-height: inherit;
}
h1,
h1 span {
  font-size: clamp(30pt, 3vw, 36pt);
}
h2,
h2 span {
  font-family: var(--digi-brodtekst);
  font-weight: 300;
  font-size: clamp(14pt, 1vw, 16pt);
  color: var(--digi-farve-blaa-mork);
  line-height: 1.45;
}
h3,
h3 span{
  font-size: clamp(20pt, 2.25vw, 28pt);
  line-height: 1.5;
  max-width: var(--rubrik-vidde, 33ch);
  font-weight: 900;
  column-span: all;
}
h4,
h4 span {
  font-size: clamp(16pt, 2.20vw, 18pt);
  font-weight: 900;
  column-span: all;
}
h5,
h5 span,
h6,
h6 span {
  font-size: clamp(14pt, 1.5vw, 18pt);
  font-weight: 900;
  break-after: avoid;
  break-inside: avoid;
  margin-bottom: 5px;
}
a {
  color: var(--digi-typografi-accent);
  position: relative;
  text-decoration: none;
}
p,
li {
  color: var(--digi-typografi-krop);
}
p {
  margin-bottom: 20px;
}