.article-social-heading {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  scroll-margin-top: 5rem;
}

.article-social-root {
  margin: 0 0 2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #111827;
}

.article-social-root[hidden] {
  display: none !important;
}

.article-social {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.15rem 1.2rem;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
}

.article-social__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.9rem;
  color: #4b5563;
}

.article-social__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-social__stat--link {
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: color 0.15s;
}

.article-social__stat--link:hover,
.article-social__stat--link:focus-visible {
  color: #0083b0;
  outline: none;
}

.article-social-inline {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.article-social-inline .article-social__stats {
  margin: 0;
  padding: 0;
  border: none;
  gap: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

.article-social-inline--card {
  margin-left: 0.15rem;
}

.article-social-inline--card .article-social__stats {
  font-size: 0.8rem;
}

.article-social-inline--card .article-social__like {
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
}

.article-social__like {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.article-social__like:hover {
  border-color: #c7d2fe;
  background: #f9fafb;
}

.article-social__like.is-liked {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.article-social__like:disabled {
  opacity: 0.6;
  cursor: wait;
}

.article-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-social__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0f2f5;
}

.article-social__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-social__qa {
  margin: 0 0 0.65rem;
}

.article-social__qa:last-child {
  margin-bottom: 0;
}

.article-social__date {
  display: block;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.article-social__qa--question .article-social__question {
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
  color: #111827;
}

.article-social__qa--answer {
  padding-left: 0.85rem;
  border-left: 2px solid #e5e7eb;
}

.article-social__author {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0083b0;
  margin-bottom: 0.2rem;
}

.article-social__answer {
  margin: 0;
  line-height: 1.55;
  color: #1f2937;
}

.article-social__empty {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.article-social__form {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f2f5;
}

.article-social__form-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.article-social__textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.article-social__textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.article-social__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.article-social__submit {
  border: none;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.article-social__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.article-social__hint,
.article-social__msg {
  font-size: 0.85rem;
  margin: 0;
}

.article-social__msg--ok {
  color: #047857;
}

.article-social__msg--err {
  color: #b91c1c;
}

.article-social__loading {
  font-size: 0.9rem;
  color: #6b7280;
}
