/* elka-pihta.ru — единый стиль статей блога */

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2a2a2a;
}

.article-content p { margin: 16px 0; }

.article-content h1 { font-size: 32px; line-height: 1.25; margin: 32px 0 16px; font-weight: 700; }
.article-content h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 16px; font-weight: 600; border-bottom: 2px solid #e8f0e6; padding-bottom: 8px; }
.article-content h3 { font-size: 20px; margin: 28px 0 12px; font-weight: 600; }

/* Highlight box / callout */
.highlight-box,
.callout {
  background: #f4f9f0;
  border-left: 4px solid #2d7a4e;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

/* Таблицы */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.article-content th {
  background: #2d7a4e;
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}
.article-content td {
  padding: 12px 16px;
  border-top: 1px solid #eee;
}
.article-content tr:nth-child(even) td { background: #fafbfa; }

/* Таблица цен */
.price-table td:nth-child(2) {
  font-weight: 700;
  color: #2d7a4e;
  white-space: nowrap;
}

/* Фигуры и изображения */
.article-content figure {
  display: block;
  margin: 24px auto;
  max-width: 100%;
  text-align: center;
}
.article-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.article-content figcaption {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 8px;
  font-style: italic;
}

/* Списки */
.article-content ul,
.article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content li { margin: 8px 0; }

/* article-meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* Кнопки шеринга */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  flex-wrap: wrap;
}

/* Sidebar nav карточки */
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: #f9fbf9;
  border: 1px solid #e8f5e9;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.sidebar-nav a:hover {
  background: #f1f8f1;
  border-color: #a5d6a7;
}

/* Хлебные крошки */
.breadcrumbs {
  font-size: 13px;
  color: #888;
  margin: 0 0 16px;
  padding: 8px 0;
}
.breadcrumbs a { color: #2d7a4e; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Мобильная адаптация */
@media (max-width: 600px) {
  .article-content { font-size: 17px; padding: 16px 12px; }
  .article-content h1 { font-size: 26px; }
  .article-content h2 { font-size: 20px; }
  .article-content table { font-size: 14px; }
  .article-content th,
  .article-content td { padding: 8px 10px; }
  .article-meta { gap: 10px; }
}
