/* Страница статьи блога HQBerry. Отдельный файл — не зависит от landing.css. */

.bl-wrap { padding: 96px 0 64px; }
.bl-container { max-width: 760px; }

.bl-crumbs {
    display: flex; gap: 8px; align-items: center;
    font-size: 14px; color: #6b7280; margin-bottom: 18px;
}
.bl-crumbs a { color: #2563EB; text-decoration: none; }
.bl-crumbs a:hover { text-decoration: underline; }

.bl-head { margin-bottom: 28px; }
.bl-title {
    font-size: clamp(28px, 4.4vw, 42px);
    line-height: 1.15; font-weight: 800; letter-spacing: -0.02em;
    color: #0f172a; margin: 0 0 12px;
}
.bl-meta { font-size: 14px; color: #6b7280; display: flex; gap: 6px; flex-wrap: wrap; }

/* Тело статьи */
.bl-body { font-size: 18px; line-height: 1.72; color: #1f2937; }
.bl-body h2 {
    font-size: clamp(22px, 3vw, 28px); font-weight: 750; letter-spacing: -0.01em;
    color: #0f172a; margin: 44px 0 14px; line-height: 1.25;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.bl-body h3 { font-size: 21px; font-weight: 700; color: #0f172a; margin: 32px 0 10px; }
.bl-body p { margin: 0 0 18px; }
.bl-body ul, .bl-body ol { margin: 0 0 18px; padding-left: 22px; }
.bl-body li { margin: 0 0 8px; }
.bl-body strong { color: #0f172a; font-weight: 650; }
.bl-body em { color: #6b7280; }
.bl-body a { color: #2563EB; }

.bl-body img {
    display: block; width: 100%; height: auto;
    border-radius: 14px; border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin: 26px 0 30px;
}

/* Бейдж УТП у заголовков (как Bootstrap label) */
.hb-utp {
    font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
    padding: 5px 11px; vertical-align: middle; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.hb-utp.text-bg-primary { background: #2563EB !important; }
.hb-utp.text-bg-success { background: #16a34a !important; }
.hb-utp.text-bg-dark    { background: #475569 !important; }

/* CTA в конце статьи */
.bl-cta {
    margin: 44px 0 8px; padding: 26px 28px;
    background: #f1f5ff; border: 1px solid #dbe4ff; border-radius: 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.bl-cta-text { display: flex; flex-direction: column; gap: 4px; }
.bl-cta-text strong { font-size: 19px; color: #0f172a; }
.bl-cta-text span { font-size: 15px; color: #475569; }

/* Похожие статьи */
.bl-related { margin-top: 56px; border-top: 1px solid #e5e7eb; padding-top: 32px; }
.bl-related-h { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; margin-bottom: 16px; }
.bl-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bl-related-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px; border: 1px solid #e5e7eb; border-radius: 14px;
    text-decoration: none; transition: border-color .15s, transform .15s;
}
.bl-related-card:hover { border-color: #2563EB; transform: translateY(-2px); }
.bl-related-cat { font-size: 12px; font-weight: 600; color: #2563EB; }
.bl-related-title { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.35; }

@media (max-width: 720px) {
    .bl-wrap { padding: 80px 0 48px; }
    .bl-body { font-size: 17px; }
    .bl-related-grid { grid-template-columns: 1fr; }
    .bl-cta { flex-direction: column; align-items: flex-start; }
}

/* Витрина /blog: реальная обложка-картинка вместо иконки-градиента */
.lp-post-cover.bl-cover-img { overflow: hidden; padding: 0; min-height: 180px; }
.lp-post-cover.bl-cover-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.lp-post-lead .lp-post-cover.bl-cover-img,
.lp-post-lead .lp-post-cover.bl-cover-img img { min-height: 260px; }

/* Таблицы в статье (сравнения — формат, который любят нейросети) */
.bl-body table { width: 100%; border-collapse: collapse; margin: 24px 0 30px; font-size: 16px; }
.bl-body th, .bl-body td { text-align: left; padding: 12px 16px; border: 1px solid #e5e7eb; vertical-align: top; }
.bl-body thead th { background: #f8f5f3; font-weight: 700; color: #0f172a; }
.bl-body tbody tr:nth-child(even) { background: #faf9f8; }
@media (max-width: 600px) { .bl-body table { font-size: 14px; } .bl-body th, .bl-body td { padding: 9px 11px; } }

/* Теги статьи (топик-кластеры, перелинковка) */
.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.bl-tag {
    font-size: 13px; font-weight: 600; color: #475569;
    background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px;
    padding: 6px 13px; text-decoration: none; transition: all .15s;
}
.bl-tag:hover { background: #e7eef6; border-color: #cbd5e1; color: #1e293b; }

/* Шапка страницы тега */
.bl-tagpage-h { font-size: 14px; font-weight: 600; color: #6b7280; }
.bl-tagpage-h b { color: #0f172a; }

/* Подзаголовок и тизеры «Скоро» */
.bl-soon-head { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; margin: 0 0 18px; }
.lp-post-soon { opacity: 0.62; cursor: default; pointer-events: none; }
.lp-post-soon:hover { transform: none; }
.bl-soon-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #64748b; background: #eef2f7; padding: 3px 9px; border-radius: 999px; }
