/* Stundenzettl - nur für /stundenzettel-vorlage/. Wird nach article-v1.css geladen. */

.vorlage-dl { margin-top: 28px; }
.vorlage-dl-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.vorlage-dl-lede { margin: 0 0 18px; color: var(--ink-2); font-size: 16px; }
.vorlage-dl .downloads { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vorlage-dl .download-card.is-landscape .download-thumb { object-fit: contain; }
.vorlage-dl-note { margin: 14px 0 0; color: var(--ink-2); font-size: 14.5px; }

.sheet-figure { margin: 28px 0; }
.sheet-figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 30px 60px -36px rgb(15 40 90 / 50%);
}
.sheet-figure figcaption {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--ink-2);
  font-size: 14.5px;
  text-align: center;
}

@media (max-width: 980px) {
  .vorlage-dl .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vorlage-dl .downloads { grid-template-columns: 1fr; }
  /* Badge über den Titel statt darüber gelegt */
  .vorlage-dl .badge-soft { position: static; grid-column: 2; justify-self: start; }
  .vorlage-dl .download-card.is-landscape .download-thumb { aspect-ratio: 210 / 297; object-fit: cover; object-position: left top; }
}

/* Vorschaubilder: das height-Attribut darf die aspect-ratio nicht aushebeln */
.vorlage-dl .download-thumb { height: auto; }

/* Abstand zwischen aufeinanderfolgenden Absätzen und Listen im Fließtext */
.article-body.prose > :is(p, ul, ol):not(:first-child) { margin-top: .9em; }
