.hw-allergen-header { padding-bottom: clamp(2.8rem, 5vw, 4.8rem); }
.hw-allergen-header h1 { overflow-wrap: anywhere; }

.hw-allergen-article-page .hw-article-breadcrumb { scrollbar-width: none; }
.hw-allergen-article-page .hw-article-breadcrumb::-webkit-scrollbar { display: none; }

.hw-allergen-deck {
  max-width: 880px;
  margin: 1.2rem 0 0;
  color: var(--hw-article-muted);
  font-family: var(--hw-article-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hw-article-allergen-figure {
  box-sizing: border-box;
  clear: both;
  margin: clamp(1.8rem, 4vw, 3rem) auto;
}

.hw-article-allergen-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}

.hw-article-allergen-figure figcaption {
  margin-top: .7rem;
  color: var(--hw-article-muted);
  font-family: var(--hw-article-sans);
  font-size: .76rem;
  line-height: 1.55;
}

.hw-article-allergen-infographic {
  width: min(100%, 820px);
  padding: clamp(.35rem, 1vw, .65rem);
  border: 1px solid var(--hw-article-line);
  border-radius: 8px;
  background: var(--hw-article-paper);
  box-shadow: 0 12px 30px rgba(42, 22, 38, .08);
}

.hw-article-allergen-infographic a {
  display: block;
  border-radius: 6px;
}

.hw-article-allergen-infographic figcaption {
  padding: 0 .45rem .15rem;
  text-align: center;
}

.hw-article-allergen-photo:not(.hw-article-allergen-hero) {
  width: min(100%, 820px);
}

.hw-article-allergen-hero img {
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  object-position: center 40%;
}

.hw-article-allergen-process-photo {
  width: min(100%, 640px);
  margin: 1.5rem 0 .25rem;
}

.hw-article-allergen-buffet-photo {
  margin: 1rem 0 1.35rem;
}

.hw-allergen-article-page :is(h2, h3)[id],
.hw-allergen-article-page li[id],
.hw-allergen-article-page article[id] { scroll-margin-top: 108px; }

.hw-allergen-language-grid,
.hw-allergen-comparison,
.hw-allergen-special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}

.hw-allergen-message,
.hw-allergen-phrases {
  padding: clamp(1.2rem, 2.5vw, 1.65rem);
  border: 1px solid var(--hw-article-line);
  border-left: 4px solid var(--hw-article-gold);
  border-radius: 7px;
  background: var(--hw-article-paper);
}

.hw-allergen-message--warning,
.hw-allergen-phrases--warning { background: #f7efed; border-left-color: var(--hw-article-plum); }
.hw-allergen-message--positive,
.hw-allergen-phrases--positive { background: var(--hw-article-cream); }
.hw-allergen-message strong { display: block; margin-bottom: .4rem; color: var(--hw-article-plum); }
.hw-allergen-message p { margin: 0; font-family: var(--hw-article-serif); font-size: 1.08rem; }

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

.hw-allergen-grid article,
.hw-allergen-special-grid article,
.hw-allergen-error-list article {
  border: 1px solid var(--hw-article-line);
  border-radius: 7px;
  background: var(--hw-article-paper);
}

.hw-allergen-grid article { padding: 1.25rem; }
.hw-allergen-grid article > span { color: var(--hw-article-gold); font-size: .72rem; font-weight: 700; }
.hw-allergen-grid h3 { margin: .35rem 0 .55rem; font-size: 1.45rem; }
.hw-allergen-grid p { margin: 0 0 .65rem; font-size: .86rem; }
.hw-allergen-grid p:last-child { margin-bottom: 0; }

.hw-allergen-component-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hw-allergen-comparison article {
  padding: 1.35rem;
  border-top: 3px solid var(--hw-article-gold);
  background: var(--hw-article-cream);
}

.hw-allergen-comparison h3 { margin: .25rem 0 .55rem; font-size: 1.45rem; }
.hw-allergen-comparison p:last-child { margin-bottom: 0; }

.hw-allergen-process {
  display: grid;
  gap: .9rem;
  margin: 1.7rem 0 2rem;
  padding: 0;
  list-style: none;
}

.hw-allergen-process > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--hw-article-line);
  border-radius: 7px;
  background: var(--hw-article-paper);
}

.hw-allergen-process > li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hw-article-gold-light);
  border-radius: 50%;
  color: var(--hw-article-gold);
  font-weight: 700;
}

.hw-allergen-process h3 { margin: .15rem 0 .6rem; }
.hw-allergen-process p:last-child { margin-bottom: 0; }
.hw-allergen-process ul { margin: .7rem 0 1rem; padding-left: 1.2rem; }
.hw-allergen-process li li { margin-bottom: .35rem; }

.hw-allergen-phrases { margin: 1rem 0; }
.hw-allergen-phrases h3 { margin: 0 0 .85rem; }
.hw-allergen-phrases ul { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; }
.hw-allergen-phrases p { margin: 1rem 0 0; }

.hw-allergen-special-grid article { padding: 1.35rem; }
.hw-allergen-special-grid h3 { margin: .25rem 0 .7rem; font-size: 1.5rem; }
.hw-allergen-special-grid ul { margin: .75rem 0 1rem; padding-left: 1.15rem; }
.hw-allergen-special-grid li { margin-bottom: .35rem; }
.hw-allergen-special-grid p:last-child { margin-bottom: 0; }

.hw-allergen-error-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.hw-allergen-error-list article { padding: 1.1rem 1.2rem; border-left: 3px solid var(--hw-article-gold); }
.hw-allergen-error-list h3 { margin: 0 0 .45rem; font-size: 1.28rem; }
.hw-allergen-error-list p { margin: 0; font-size: .86rem; }

.hw-allergen-merksatz { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hw-allergen-sources h2 { margin: 0 0 .75rem; font-family: var(--hw-article-serif); font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 500; }

@media (max-width: 760px) {
  .hw-allergen-language-grid,
  .hw-allergen-comparison,
  .hw-allergen-special-grid,
  .hw-allergen-grid,
  .hw-allergen-error-list,
  .hw-allergen-component-list { grid-template-columns: 1fr; }

  .hw-allergen-process > li { grid-template-columns: 40px minmax(0, 1fr); gap: .75rem; padding: 1rem; }
  .hw-allergen-process > li > span { width: 38px; height: 38px; }
  .hw-article-allergen-figure { width: 100%; margin: 1.5rem 0 2rem; }
  .hw-article-allergen-infographic { padding: .3rem; }
  .hw-article-allergen-infographic figcaption { padding-inline: .35rem; text-align: left; }
  .hw-article-allergen-hero img { aspect-ratio: 16 / 9; object-position: center 42%; }
}

@media (max-width: 420px) {
  .hw-allergen-header h1 { font-size: clamp(2.35rem, 10.5vw, 2.8rem); }
  .hw-allergen-deck { font-size: 1.18rem; }
  .hw-allergen-grid article,
  .hw-allergen-special-grid article,
  .hw-allergen-message,
  .hw-allergen-phrases { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-allergen-article-page * { scroll-behavior: auto; }
}
