/* ===== Author byline ===== */
.author-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin: 0 0 24px;
  background: var(--bk-surface-secondary, #eeeefa);
  border: 1px solid var(--bk-border, #e0e0ee);
  border-radius: 10px;
  font-family: inherit;
  flex-wrap: wrap;
}
.author-byline__avatar {
  flex-shrink: 0;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.author-byline__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.author-byline__info { flex: 1; min-width: 200px; }
.author-byline__line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.author-byline__label{ color: var(--bk-text-muted, #7a8090); font-size: 13px; }
.author-byline__name {
  color: var(--bk-text-primary, #1a1a1a);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--bk-text-divider, #c4c8d2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.author-byline__name:hover { text-decoration-color: var(--bk-accent-blue, #1a4fb8); }
.author-byline__role { color: var(--bk-text-muted, #7a8090); font-size: 13px; }
.author-byline__dates {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--bk-text-tertiary, #5a6070);
  font-size: 13px;
}
.author-byline__date { display: inline-flex; align-items: center; gap: 5px; }
.author-byline__date svg { color: var(--bk-text-faint, #9aa0b0); }
.author-byline__divider  { color: var(--bk-text-divider, #c4c8d2); }
.author-byline__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--bk-accent-green-bg, #e8f5ee);
  color: var(--bk-accent-green, #1f7a45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 600px){
  /* Author byline на мобильном: убираем аватар, перестраиваем */
  .author-byline { padding: 12px 14px; flex-direction: column; align-items: stretch; gap: 0; }
  .author-byline__avatar { display: none; }
  .author-byline__info { min-width: 0; }
  .author-byline__line { margin-bottom: 4px; }
  .author-byline__name { font-size: 14px; }
  .author-byline__role { display: block; width: 100%; margin-top: 2px; font-size: 12px; }
  .author-byline__dates{ font-size: 12px; margin-bottom: 10px; }
  .author-byline__badge{ width: 100%; justify-content: center; padding: 6px 10px; box-sizing: border-box; }
}