/* biteAI — статьи. Дополняет portal.css, ничего в нём не переопределяет. */

.blog-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

.blog-breadcrumb {
  font-size: 13px;
  color: var(--apple-text-muted, #6e6e73);
  margin: 0 0 18px;
}

.blog-breadcrumb a { color: inherit; text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }

.blog-h1 {
  margin: 0 0 12px;
  font-size: clamp(27px, 4.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--apple-text, #1d1d1f);
  text-wrap: balance;
}

.blog-meta {
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--apple-text-muted, #6e6e73);
}

.blog-lead {
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.6;
  color: #3a3a3c;
}

.blog-main h2 {
  margin: 46px 0 12px;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--apple-text, #1d1d1f);
}

.blog-main h3 {
  margin: 30px 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--apple-text, #1d1d1f);
}

.blog-main p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.68;
  color: #2c2c2e;
}

.blog-main ul, .blog-main ol {
  margin: 0 0 18px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.68;
  color: #2c2c2e;
}

.blog-main li { margin: 6px 0; }

.blog-main a { color: #2563eb; }

.blog-figure {
  margin: 30px 0;
}

.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f5f5f7;
}

.blog-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--apple-text-muted, #6e6e73);
}

.blog-formula {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #f5f5f7;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1.6;
  color: #1d1d1f;
  overflow-x: auto;
}

.blog-table-wrap { overflow-x: auto; margin: 0 0 22px; }

.blog-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.blog-main th, .blog-main td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5ea;
  vertical-align: top;
}

.blog-main th {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--apple-text-muted, #6e6e73);
}

.blog-main td.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.blog-callout {
  margin: 26px 0;
  padding: 18px 20px;
  background: #f0f6ff;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #2c2c2e;
}

.blog-callout p { font-size: 16px; margin: 0 0 10px; }
.blog-callout p:last-child { margin: 0; }

.blog-cta {
  margin: 40px 0 0;
  padding: 24px;
  background: #f5f5f7;
  border-radius: 14px;
  text-align: center;
}

.blog-cta p { margin: 0 0 14px; font-size: 16px; }

.blog-note {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5ea;
  font-size: 14px;
  line-height: 1.6;
  color: var(--apple-text-muted, #6e6e73);
}

/* список статей */
.blog-list { list-style: none; margin: 30px 0 0; padding: 0; }

.blog-list li {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5ea;
}

.blog-list a {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-text, #1d1d1f);
  text-decoration: none;
}

.blog-list a:hover { color: #2563eb; }

.blog-list p {
  margin: 7px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--apple-text-muted, #6e6e73);
}
