/* ExcelPro — дополнение к style.css: хлебные крошки, статья, таблицы, блок «Читайте также».
   Подключается ПОСЛЕ style.css: /assets/blog.css */

.crumbs {
  font-size: 14px;
  color: #6b7280;
  padding: 14px 0 0;
}
.crumbs a { color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: #9ca3af; padding: 0 6px; }
.crumbs .cur { color: #6b7280; }

.article { padding-bottom: 10px; }
.article .meta {
  font-size: 14px;
  color: #6b7280;
  margin: 10px 0 24px;
}
.article h1 { margin: 12px 0 8px; }
.article h2 {
  margin: 40px 0 14px;
  font-size: 26px;
  line-height: 1.25;
}
.article h3 { margin: 26px 0 10px; font-size: 19px; }
.article p { font-size: 17px; line-height: 1.65; }
.article ul, .article ol { font-size: 17px; line-height: 1.6; }
.article li { margin-bottom: 8px; }
.article code {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 15px;
  word-break: break-all;
}
.article .tablewrap {
  overflow-x: auto;
  margin: 20px 0 26px;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
.article table th, .article table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article table th { background: #f9fafb; font-weight: 600; }
.article table tr:nth-child(even) td { background: #fcfcfd; }
.article figure { margin: 24px 0; }
.article figure img {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.article figcaption { font-size: 14px; color: #6b7280; margin-top: 8px; }
.article .note {
  border-left: 3px solid #2563eb;
  background: #f8fafc;
  padding: 14px 18px;
  margin: 22px 0;
  border-radius: 0 8px 8px 0;
}
.article .note p { margin: 0; font-size: 16px; }
.article .callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 22px 0;
}
.article .callout p { margin: 0; font-size: 16px; }
.article .toc {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 26px 0;
}
.article .toc b { display: block; margin-bottom: 8px; }
.article .toc ol { margin: 0; padding-left: 20px; font-size: 16px; }
.article .toc li { margin-bottom: 4px; }

.related { margin-top: 34px; }
.related h2 { font-size: 22px; margin: 0 0 16px; }
.related .grid > div { height: 100%; }
.related a { text-decoration: none; }
.related .card h3 { margin: 0 0 8px; font-size: 17px; }
.related .card h3 a { color: inherit; }

.bloglist { display: grid; gap: 18px; }
.bloglist .card h3 { margin: 0 0 8px; font-size: 19px; }
.bloglist .card h3 a { color: inherit; text-decoration: none; }

.article-hero {
  padding: 26px 0 8px;
}
.article-hero .lead-article {
  font-size: 19px;
  line-height: 1.6;
  color: #374151;
  max-width: 780px;
}
.article .lead-article {
  font-size: 19px;
  line-height: 1.6;
  color: #374151;
  max-width: 780px;
}
.form-narrow { max-width: 780px; }

/* ── Список статей на /blog/ ── */
.postlist { display: grid; gap: 22px; margin: 26px 0 10px; }
.postcard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.postcard-img { display: block; }
.postcard-img img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}
.postcard-body { padding: 20px 22px 22px 0; }
.postcard-meta { font-size: 14px; color: #6b7280; }
.postcard-body h2 { margin: 6px 0 10px; font-size: 22px; line-height: 1.3; }
.postcard-body h2 a { color: inherit; text-decoration: none; }
.postcard-body h2 a:hover { color: #2563eb; }
.postcard-body p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.more { font-weight: 600; color: #2563eb; text-decoration: none; font-size: 15px; }
.more:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .postcard { grid-template-columns: 1fr; }
  .postcard-body { padding: 0 18px 20px; }
  .postcard-img img { min-height: 0; }
  .article h2 { font-size: 23px; }
}
