/* Single post – Beitragsinhalt + Author card (CD) */
.kv-beitragsinhalt {
  font-family: Barlow, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  box-sizing: border-box;
}
.kv-beitragsinhalt *,
.kv-beitragsinhalt *::before,
.kv-beitragsinhalt *::after {
  box-sizing: border-box;
}

.kv-article-content {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #1f2a3a;
}
.kv-article-content h2,
.kv-article-content h3,
.kv-article-content h4 {
  font-family: Bitter, Georgia, serif;
  color: #011E3F;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.kv-article-content p {
  margin-bottom: 1.15em;
}
.kv-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.4em 0;
  box-shadow: 0 6px 18px rgba(1, 30, 63, 0.08);
}

.kv-beitrag-error {
  padding: 30px 0;
  text-align: center;
  color: #666;
}

/* —— Author card —— */
.kv-author-box {
  margin: 42px 0 28px;
  padding: 0;
  background: linear-gradient(135deg, #011E3F 0%, #023056 55%, #0a4a7a 100%);
  border: none;
  border-radius: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(1, 30, 63, 0.18);
  position: relative;
}
.kv-author-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #00A3E0;
}
.kv-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin: 18px 0 18px 22px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kv-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kv-author-fallback {
  font-family: Bitter, Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.kv-author-info {
  flex: 1;
  min-width: 0;
  padding: 18px 20px 18px 0;
  color: #fff;
}
.kv-author-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9adfff;
  margin-bottom: 4px;
}
.kv-author-name {
  font-family: Bitter, Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  line-height: 1.25;
}
.kv-author-name a {
  color: #fff !important;
  text-decoration: none;
}
.kv-author-name a:hover {
  color: #9adfff !important;
  text-decoration: underline;
}
.kv-author-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 6px;
}
.kv-author-bio {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 10px;
}
.kv-author-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  background: rgba(0, 163, 224, 0.95);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.kv-author-more:hover {
  background: #00A3E0;
}

/* Share bar */
.kv-share-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(1, 30, 63, 0.1);
  border-bottom: 1px solid rgba(1, 30, 63, 0.1);
  margin: 20px 0 30px;
  font-size: 0.82rem;
  gap: 10px;
  flex-wrap: wrap;
}
.kv-share-bar .cats {
  color: #00A3E0;
  font-weight: 600;
}
.kv-share-buttons {
  display: flex;
  gap: 6px;
}
.kv-share-buttons a,
.kv-share-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 30, 63, 0.15);
  color: #011E3F;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.kv-share-buttons a:hover,
.kv-share-buttons button:hover {
  background: #011E3F;
  color: #fff;
  border-color: #011E3F;
}

/* Related */
.kv-weitere-beitraege {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(1, 30, 63, 0.1);
}
.kv-weitere-beitraege h3 {
  font-family: Bitter, Georgia, serif;
  font-size: 1.2rem;
  color: #011E3F;
  margin: 0;
  font-weight: 700;
}
.kv-weitere-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.kv-weitere-header a {
  font-size: 0.82rem;
  color: #00A3E0;
  text-decoration: none;
  font-weight: 600;
}
.kv-weitere-header a:hover {
  color: #011E3F;
}
.kv-weitere-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kv-weitere-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(1, 30, 63, 0.08);
  border-radius: 8px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.kv-weitere-item:hover {
  border-color: #00A3E0;
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.1);
}
.kv-weitere-item img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f8f5f0;
}
.kv-weitere-item .text {
  flex: 1;
  min-width: 0;
}
.kv-weitere-item .date {
  font-size: 0.68rem;
  color: #6b7280;
  margin-bottom: 1px;
}
.kv-weitere-item h4 {
  font-family: Bitter, Georgia, serif;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #011E3F;
  margin: 0;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .kv-beitragsinhalt {
    padding: 16px 14px 32px;
  }
  .kv-article-content {
    font-size: 0.98rem;
    line-height: 1.6;
  }
  .kv-author-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .kv-author-avatar {
    margin: 18px 18px 0;
    width: 72px;
    height: 72px;
  }
  .kv-author-info {
    padding: 12px 18px 18px;
  }
  .kv-share-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
