/* Страница публичных статей */

body.page-public-articles {
  background-color: #f3f4f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.articles-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.articles-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

.articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.articles-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}

.articles-item h2 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.articles-item .meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.articles-item .excerpt {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.articles-item .btn-link {
  font-size: 0.85rem;
  color: #0b6efd;
  text-decoration: none;
}

.articles-item .btn-link:hover {
  text-decoration: underline;
}

/* Страница одной статьи */

.article-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}

.article-doctor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.article-doctor img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.article-doctor a {
  color: #0b6efd;
  text-decoration: none;
  font-weight: 500;
}

.article-doctor a:hover {
  text-decoration: underline;
}

.article-card h1 {
  font-size: 1.4rem;
  margin: 6px 0 4px;
}

.article-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.article-body {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.article-disclaimer {
  font-size: 0.8rem;
  color: #4b5563;
  border-left: 3px solid #f59e0b;
  padding-left: 10px;
  margin-top: 8px;
}

.article-disclaimer strong {
  font-weight: 600;
}

.articles-back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #0b6efd;
  text-decoration: none;
}

@media (max-width: 640px) {
  .articles-container {
    padding: 12px 12px 24px;
  }
  .article-card {
    padding: 14px 14px 16px;
  }
}
