.hw-tafelformen-page .hw-article-header {
  padding-bottom: clamp(2rem, 3vw, 2.75rem);
}

.hw-tafelformen-page .hw-article-header h1 {
  max-width: 930px;
  font-size: var(--hw-font-size-h1-article, 3rem);
  line-height: 1.04;
}

.hw-tafelformen-hero img {
  aspect-ratio: 16 / 7;
  object-position: center 52%;
}

.hw-tafelformen-deck {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: var(--hw-article-muted);
  font-family: var(--hw-article-serif);
  font-size: var(--hw-font-size-lead, 1.125rem);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hw-tafelformen-hero img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }
}

.hw-tafelformen-page .hw-article-lead {
  margin-top: 0;
}

.hw-tafelformen-page .hw-article-quote p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.hw-tafelformen-praxisregel {
  margin-top: 1.7rem;
}

.hw-tafelformen-page .hw-article-keypoints h3 {
  font-size: var(--hw-font-size-h4, 1.3125rem);
}

.hw-tafelformen-page .hw-article-keypoints article p {
  font-size: .8rem;
  line-height: 1.6;
}

.hw-tafelformen-next-topic {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.3rem, 3vw, 2.4rem);
  margin-top: 2rem;
  padding: clamp(.8rem, 2vw, 1.2rem);
  background: var(--hw-article-cream);
  border: 1px solid var(--hw-article-line);
  border-radius: 7px;
}

.hw-tafelformen-next-topic figure {
  margin: 0;
}

.hw-tafelformen-next-topic img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

.hw-tafelformen-next-topic h3,
.hw-tafelformen-preparation h3 {
  margin: 0 0 .55rem;
  font-family: var(--hw-article-serif);
  font-size: var(--hw-font-size-h3, 1.625rem);
  font-weight: 500;
  line-height: 1.15;
}

.hw-tafelformen-next-topic p:not(.hw-article-kicker) {
  margin-bottom: 1rem;
  font-size: .88rem;
}

.hw-tafelformen-next-topic span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .6rem .85rem;
  border: 1px solid var(--hw-article-gold-light);
  border-radius: 5px;
  color: var(--hw-article-plum);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hw-tafelformen-overview {
  padding-bottom: 0;
}

.hw-tafelformen-entry {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--hw-article-line);
  scroll-margin-top: 105px;
}

.hw-tafelformen-entry:first-of-type {
  margin-top: 1.6rem;
}

.hw-tafelformen-entry > h3 {
  margin-top: 0;
  font-size: var(--hw-font-size-h3, 1.625rem);
}

.hw-tafelformen-entry > h4 {
  margin: 1.5rem 0 .35rem;
  font-family: var(--hw-article-serif);
  font-size: var(--hw-font-size-h4, 1.3125rem);
  font-weight: 500;
  line-height: 1.2;
}

.hw-tafelformen-figure {
  max-width: 780px;
  margin: 1.7rem auto 2rem;
  background: #fffdf9;
}

.hw-tafelformen-figure img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
}

.hw-tafelformen-no-visual,
.hw-tafelformen-orientation {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--hw-article-cream);
  border-left: 3px solid var(--hw-article-gold);
  border-radius: 0 5px 5px 0;
  font-size: .88rem;
}

.hw-tafelformen-page .hw-article-table th[scope="row"] {
  background: transparent;
  color: var(--hw-article-ink);
  font-weight: 700;
}

.hw-tafelformen-decision-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: decision;
}

.hw-tafelformen-decision-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--hw-article-line);
  counter-increment: decision;
}

.hw-tafelformen-decision-list li::before {
  content: counter(decision, decimal-leading-zero);
  color: var(--hw-article-gold);
  font-size: .78rem;
  font-weight: 700;
}

.hw-tafelformen-decision-list h3 {
  margin: 0 0 .35rem;
  font-size: var(--hw-font-size-h4, 1.3125rem);
}

.hw-tafelformen-decision-list p {
  margin-bottom: 0;
}

.hw-tafelformen-preparation {
  margin-top: 1.7rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--hw-article-card);
  border: 1px solid var(--hw-article-line);
  border-radius: 7px;
}

.hw-tafelformen-preparation p:last-child {
  margin-bottom: 0;
}

.hw-tafelformen-errors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.hw-tafelformen-errors article {
  padding: 1.2rem;
  border: 1px solid var(--hw-article-line);
  border-radius: 7px;
}

.hw-tafelformen-errors article:last-child {
  grid-column: 1 / -1;
}

.hw-tafelformen-errors h3 {
  margin: 0 0 .45rem;
  font-size: var(--hw-font-size-h4, 1.3125rem);
}

.hw-tafelformen-errors p {
  margin-bottom: 0;
  font-size: .9rem;
}

.hw-tafelformen-case blockquote {
  margin: 1.8rem 0 0;
  padding: 1.35rem 0 0 1.35rem;
  border-top: 1px solid var(--hw-article-gold-light);
  border-left: 3px solid var(--hw-article-gold);
  color: var(--hw-article-plum);
  font-family: var(--hw-article-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.hw-tafelformen-page .hw-article-sources h4 {
  font-size: var(--hw-font-size-h4, 1.3125rem);
}

@media (max-width: 760px) {
  .hw-tafelformen-page .hw-article-header h1 {
    font-size: var(--hw-font-size-h1-article, 2.5rem);
    overflow-wrap: anywhere;
  }

  .hw-tafelformen-next-topic,
  .hw-tafelformen-errors {
    grid-template-columns: 1fr;
  }

  .hw-tafelformen-errors article:last-child {
    grid-column: auto;
  }

  .hw-tafelformen-figure {
    margin-inline: 0;
    padding: .25rem;
  }

  .hw-tafelformen-figure figcaption {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hw-tafelformen-page .hw-article-header h1 {
    font-size: 2.5rem;
  }

  .hw-tafelformen-decision-list li {
    grid-template-columns: 2.3rem minmax(0, 1fr);
    gap: .6rem;
  }

  .hw-tafelformen-next-topic,
  .hw-tafelformen-errors article,
  .hw-tafelformen-preparation {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-tafelformen-page *,
  .hw-tafelformen-page *::before,
  .hw-tafelformen-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
