/* ===== Author card ===== */
.wpbc-author-card {
  padding: 24px;
}

.wpbc-author-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.wpbc-author-avatar img {
    display: block;
    max-width: 240px;
    min-width: 240px;
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 10px;
}
.wpbc-author-info {
  flex: 1 1 auto;
  min-width: 0;
}

.wpbc-author-title {
  margin: 0 0 8px;
}

.wpbc-author-bio {
  margin: 10px 0 14px;
}

#wpbc_tg_limit_hint{
  margin-top:8px;
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  font-size:13px;
  line-height:1.35;
}
#wpbc_tg_limit_hint.wpbc-hint--warn{
  border-color:#f59e0b;
  background:#fffbeb;
}

/* ===== Responsive ===== */
/* <= 992px: уменьшаем аватар, сохраняем 2 колонки */
@media (max-width: 991.98px) {
  .wpbc-author-avatar img {
    max-width: 200px;
  }
}

/* <= 768px: складываем в колонку, центрируем аватар и кнопки */
@media (max-width: 767.98px) {
  .wpbc-author-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .wpbc-author-avatar img {
    max-width: 180px;
    border-radius: 12px;
  }
  .wpbc-author-info {
    width: 100%;
  }
  .wpbc-author-bio {
    text-align: left;
  }
  .wpbc-author-meta .ya-share2__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* <= 480px: еще компактнее */
@media (max-width: 479.98px) {
  .wpbc-author-card {
    padding: 16px;
  }
  .wpbc-author-meta .ya-share2__link {
    padding: 7px 10px;
    font-size: 14px;
  }
  .wpbc-author-avatar img {
    max-width: 150px;
  }
}