/* ═══════════════════════════════════════════════
   blog-article.css — Одиночная запись блога
   v1.0
   ═══════════════════════════════════════════════ */

/* ── Обёртка ── */
.blog-article-wrap {
  padding: 44px 0 70px;
  background: var(--gray-bg);
}

/* ── Обложка ── */
.blog-article-cover {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.blog-article-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Контент поста ── */
.blog-article-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.blog-article-content p:last-child { margin-bottom: 0; }

/* ── Блок файлов ── */
.blog-files-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-files-header {
  background: var(--green-dark);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-file-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid #f0f4f1;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: background var(--tr), color var(--tr), padding-left var(--tr);
}

.blog-file-link:last-child { border-bottom: none; }

.blog-file-link:hover {
  background: #f0f7f2;
  color: var(--green-dark);
  padding-left: 26px;
}

.blog-file-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.blog-file-icon.docx { background: #e8f2ec; color: var(--green-mid); }
.blog-file-icon.pdf  { background: #fdf5e0; color: #c0821a; }

.blog-file-name {
  flex: 1;
  min-width: 0;
}

.blog-file-ext {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
}
