/* Zusatzseiten (Psychrometer): Aufsatz auf legal.css */

figure {
  margin: 0 0 22px;
  padding: 0;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
figcaption {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 7px;
}
figure.graph img { background: #fff; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  line-height: 21px;
  text-align: center;
}

.example {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin: 0 0 20px;
}
.example p:last-child, .example ul:last-child { margin-bottom: 0; }
.example .calc {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--text);
}

.note {
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 22px;
}

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .cols { grid-template-columns: 1fr; } }

.why h3 { margin-top: 22px; }
.why h3:first-of-type { margin-top: 16px; }

@media print {
  figure img { border-color: #ccc; }
  .steps > li::before { border-color: #999; color: #084b8a; }
  .example { break-inside: avoid; }
}
