/* ── Artikel-Layout ───────────────────────────── */
.article-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.article-wrap--page {
  padding-top: 60px;
  padding-bottom: 80px;
}
.article-text {
  max-width: 760px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin: 40px 0 36px;
}
.article-back:hover { color: var(--seal); }
.article-back svg { transform: rotate(180deg); }

/* ── Artikel-Kopf ─────────────────────────────── */
.article-header { margin-bottom: 44px; }
.article-header .post-tag {
  position: static;
  display: inline-flex;
  margin-bottom: 22px;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--paper-edge);
}
.article-meta-row .avatar {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.article-meta-row .author-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.article-meta-row .article-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}
.article-meta-row .read-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ── Artikel-Bild ─────────────────────────────── */
.article-cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 44px;
  display: block;
}

/* ── Fließtext ────────────────────────────────── */
.article-body {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.6em; }
.article-body h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 2.2em 0 .8em;
  color: var(--ink);
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 1.8em 0 .6em;
}
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a { color: var(--seal); text-decoration: underline; text-underline-offset: 3px; }

/* Gutenberg-Block-Kompatibilität */
.article-body .wp-block-image { margin: 1.8em 0; }
.article-body .wp-block-image img { border-radius: var(--radius); max-width: 100%; height: auto; }
.article-body .wp-block-separator { border: none; border-top: 1px solid var(--paper-edge); margin: 2.4em 0; }

/* ── Zitat ────────────────────────────────────── */
.pull-quote,
.article-body .wp-block-quote.is-style-hanseat-pull-quote {
  border-left: 3px solid var(--seal);
  margin: 2.4em 0;
  padding: 16px 0 16px 28px;
}
.pull-quote p,
.article-body .wp-block-quote.is-style-hanseat-pull-quote p {
  font-size: 22px;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 10px;
}
.pull-quote cite,
.article-body .wp-block-quote.is-style-hanseat-pull-quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ── Trennlinie ───────────────────────────────── */
.article-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 3em 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
}
.article-divider::before,
.article-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--paper-edge);
}

/* ── Autor-Karte ──────────────────────────────── */
.article-author {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--paper-warm);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 56px 0 64px;
}
.article-author img {
  width: 72px; height: 72px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  flex-shrink: 0;
}
.article-author-text .name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.article-author-text .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-author-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Verwandte Einträge ───────────────────────── */
.related-section {
  border-top: 1px solid var(--paper-edge);
  padding-top: 48px;
  margin-bottom: 80px;
}
.related-section .eyebrow { margin-bottom: 28px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--paper-warm);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms ease;
}
.related-card:hover { box-shadow: 0 4px 18px rgba(26,22,18,.1); }
.related-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.related-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.related-card:hover .thumb img { transform: scale(1.03); }
.related-card .related-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.related-card .related-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--seal);
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.related-card .related-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .05em;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .article-wrap { padding: 0 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-author { flex-direction: column; }
  .article-meta-row .read-time { margin-left: 0; }
}

/* ── Mobile-Feinschliff ─────────────────────────────── */
@media (max-width: 640px) {
  .article-wrap { padding: 0 18px; }
  .article-wrap--page { padding-top: 40px; padding-bottom: 56px; }
  .article-title { font-size: clamp(26px, 7vw, 34px); line-height: 1.18; }
  .article-meta-row { gap: 12px; padding-top: 14px; }
  .article-meta-row .avatar { width: 32px; height: 32px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 18px; }
}
@media (max-width: 380px) {
  .article-wrap { padding: 0 14px; }
  .article-title { font-size: 24px; }
}
