/* tallene.html — page styles on top of style.css (long-read shell from teksten.html is reused as is). */
.part > .nums, .part > .quad, .part > .ways, .part > .sixth { max-width: 46rem; }
.part h2 + .nums, .part h2 + .quad, .part h2 + .ways { margin-top: 1.75rem; }
.part.chapter { padding-bottom: 1rem; }
.part.chapter h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: .98; max-width: 46rem; }
.toc a.sub span { padding-left: .9rem; }

/* one number per row: numeral, sentence, comparison, source */
.nums > li { padding: 1.6rem 0 1.75rem; border-top: 1px solid var(--rule); }
.nums > li:first-child { border-top: 3px solid var(--navy); }
.n { display: block; font-size: clamp(3.75rem, 17vw, 5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.n.w { font-size: clamp(2.5rem, 11vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.nums p { margin-top: .8rem; line-height: 1.55; }
.nums cite, .srcline { display: block; font-style: normal; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }
.nums cite { margin-top: .7rem; }
.nums cite a, .srcline a { text-decoration-thickness: 1px; }
.nums cite a:hover, .srcline a:hover { color: var(--navy); }
@media (min-width: 700px) {
  .nums > li { display: grid; grid-template-columns: 14rem minmax(0, 1fr); column-gap: 1.5rem; align-items: start; }
  .nums div > p:first-child { margin-top: .35rem; }
}

/* comparison: two bars on a 0–100 % track; the labels and values are real text */
.cmp { margin-top: 1.1rem; display: grid; gap: .55rem; }
.cmp li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: end; font-size: .8125rem; font-weight: 600; line-height: 1.3; border-bottom: 1px solid var(--rule); }
.cmp li b { font-weight: 800; }
.cmp li::after { content: ""; grid-column: 1 / -1; height: 14px; width: calc(var(--v) * 1%); min-width: 4px; background: var(--navy); }
.cmp li + li::after { background: none; border: 2px solid var(--navy); }

/* hexagon pictograms (same hexagon as the numerals and the timeline dots) */
.hexes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.1rem; }
.hexes i { width: 22px; aspect-ratio: .866; background: var(--rule); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexes i.on { background: var(--navy); }

/* Folkeskolen: four numbers side by side */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 3px solid var(--navy); }
.quad li { padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--rule); }
.quad .n { font-size: clamp(3rem, 13.5vw, 5rem); }
.quad p { margin-top: .6rem; font-size: 1rem; line-height: 1.45; }
.sixth { font-weight: 600; font-size: 1.15rem; line-height: 1.4; }
.sixth .hexes { margin: 0 0 .9rem; gap: 8px; }
.sixth .hexes i { width: 34px; }

.help { border-left: 6px solid var(--navy); padding: .35rem 0 .35rem 1rem; font-weight: 600; }
.help a { white-space: nowrap; }

/* the single red highlight on the page */
.verdict { margin-top: 3rem; }
.verdict .kicker { display: block; margin: 0 0 .5rem; }
.verdict strong { display: block; color: var(--red); font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.02; }
