.detail-wrapper {
  max-width: 800px;
}

.section {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gender-meta {
  color: #666;
  font-style: italic;
}

.gender-meta-trans {
  color: #bbb;
  font-style: italic;
}

/* Deutscher Bereich */
.section-de {
  background-color: #ffffff;
  color: #333333;
}

.section-de .section-header {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1rem;
}

/* Englischer Bereich */
.section-trans {
  background-color: #2c3e50;
  color: #ecf0f1;
  margin-top: 2rem;
}

/* Header */
.section-header,
.translation-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: inherit;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1rem;
}

.flag {
  width: 32px;
  height: auto;
}

.section-de .section-header h1,
.translation-header h2 {
  margin: 0;
  font-weight: 400;
}

.section-de .section-header h1 {
  font-size: 1.75rem;
}

.translation-header h2 {
  font-size: 1.5rem;
}

/* Beschreibung */
.description,
.trans-description {
  padding: 1rem 1.5rem;
  line-height: 1.6;
}

.description p {
  color: #333 !important;
}

.trans-description p {
  color: #ecf0f1;
}

/* Beispielliste (Deutsch) */
.examples-list-de {
  list-style: none;
  padding: 0 1.5rem 1rem;
  margin: 0;
}

.examples-list-de li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
}

.examples-list-de li:last-child {
  border-bottom: none;
}

/* Beispielliste (Englisch) */
.examples-list {
  list-style: none;
  padding: 0 1.5rem 1rem;
  margin: 0;
}

.examples-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(236, 240, 241, 0.2);
  font-size: 1rem;
}

.examples-list li:last-child {
  border-bottom: none;
}

/* Translation Block Abstand */
.translation-block {
  border-bottom: 1px solid rgba(236, 240, 241, 0.2);
}

.translation-block:last-child {
  border-bottom: none;
}

.contains-examples {
  padding-bottom: 1rem;
  margin-top: 2rem;
}

.no-examples {
  border-bottom: none;
  margin-top: none;
  margin-bottom: none;
  padding-bottom: none;
}

.no-examples:last-child {
  border-bottom: none;
  margin-top: none;
  padding-bottom: none;
}

/* Platzhalter-Meldung */
.empty-message {
  padding: 1rem 1.5rem;
  font-style: italic;
  color: rgba(0, 0, 0, 0.4);
}

.section-trans .empty-message {
  color: rgba(236, 240, 241, 0.6);
}

/* Hervorhebung übersetzter Wörter */
.highlight {
  color: #e74c3c;
  font-weight: 600;
}

/* Illustration (Bild + Caption) */
.illustration {
  margin: 1rem 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.illustration-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.02);
  object-fit: contain;
}

.section .illustration-img {
  max-height: 200px;
}

.illustration-cap {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #333;
  text-align: center;
}

.illustration-cap-trans {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: center;
  color: #ecf0f1;
}

.illustration-cap a,
.illustration-cap-trans a {
  color: inherit;
  text-decoration: underline;
}

.translation-block .illustration {
  margin: 0.5rem 0 1.25rem;
}

@media (min-width: 768px) {
  .illustration,
  .illustration-trans {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsiv */
@media (max-width: 576px) {
  .detail-wrapper {
    padding: 0 0.5rem;
  }

  .section-header,
  .translation-header {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .section-de .section-header h1 {
    font-size: 1.5rem;
  }

  .translation-header h2 {
    font-size: 1.25rem;
  }

  .examples-list li {
    font-size: 0.95rem;
  }
}