/* Light-version editorial layout для блог-статей /pages/blog/*.
   Премиум-типография, drop cap, pull quotes, decorative h2, callout/cta.
   Подключается рядом с colors_and_type.css. Класс-якорь: .be (blog-editorial). */

/* ==================== HERO (внутри статьи, светлый) ==================== */
.be-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: 56px;
}
.be-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 28px;
}
.be-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brand-red);
}
.be-hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--navy-900);
  margin: 0 0 24px;
}
.be-hero__lead {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--grey-700);
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 720px;
}
.be-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13px;
  color: var(--grey-500);
  letter-spacing: 0.02em;
}
.be-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.be-hero__meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-red);
}

/* ==================== ARTICLE BODY ==================== */
.be-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 64px;
  font-size: 19px;
  line-height: 1.72;
  color: var(--navy-900);
  font-weight: 400;
}
.be-article > p:first-of-type::first-letter,
.be-article > .be-first-p::first-letter {
  font-size: 64px;
  font-weight: 500;
  float: left;
  line-height: 0.9;
  margin: 6px 14px 0 0;
  color: var(--brand-red);
  letter-spacing: -0.04em;
  font-family: var(--font-sans);
}
.be-article p {
  margin: 0 0 22px;
}
.be-article h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--navy-900);
  margin: 64px 0 22px;
  position: relative;
  padding-top: 28px;
}
.be-article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand-red);
}
.be-article h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}
.be-article ul,
.be-article ol {
  margin: 0 0 26px;
  padding: 0 0 0 4px;
}
.be-article ul {
  list-style: none;
}
.be-article ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.be-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 1px;
  background: var(--navy-600);
}
.be-article ol {
  list-style: none;
  counter-reset: be-ol;
}
.be-article ol li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  counter-increment: be-ol;
}
.be-article ol li::before {
  content: counter(be-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.be-article strong {
  color: var(--navy-900);
  font-weight: 600;
}
.be-article a {
  color: var(--navy-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 64, 116, 0.32);
  padding-bottom: 1px;
  transition: border-color 200ms, color 200ms;
}
.be-article a:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
}

/* ==================== TABLES ==================== */
.be-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.be-article th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--grey-300);
  background: transparent;
}
.be-article td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--grey-200);
  color: var(--navy-900);
  vertical-align: top;
}
.be-article td:last-child,
.be-article th:last-child {
  text-align: right;
  padding-right: 0;
}
.be-article tbody tr:hover td {
  background: var(--grey-50);
}

/* ==================== PULL QUOTE ==================== */
.be-pullquote {
  margin: 56px -24px;
  padding: 36px 32px 36px 36px;
  border-left: 3px solid var(--brand-red);
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.04) 0%, transparent 60%);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--navy-900);
  font-style: italic;
}
.be-pullquote::before {
  content: "« ";
  color: var(--brand-red);
  font-style: normal;
  font-weight: 600;
}
.be-pullquote::after {
  content: " »";
  color: var(--brand-red);
  font-style: normal;
  font-weight: 600;
}
.be-pullquote-source {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ==================== CALLOUT (navy soft) ==================== */
.be-callout {
  margin: 36px 0;
  padding: 22px 26px;
  background: var(--navy-100);
  border-left: 3px solid var(--navy-600);
  border-radius: 0 6px 6px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-900);
}
.be-callout strong {
  color: var(--navy-700);
  letter-spacing: 0.02em;
}

/* ==================== CTA BLOCK ==================== */
.be-cta {
  margin: 64px -24px 24px;
  padding: 48px 40px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.be-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
.be-cta__eyebrow {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}
.be-cta__title {
  position: relative;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: #fff;
  margin: 0 0 12px;
}
.be-cta__body {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 540px;
}
.be-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-red);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  letter-spacing: -0.005em;
  border: 0;
  transition: transform 200ms, box-shadow 200ms;
}
.be-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(200, 16, 46, 0.5);
}
.be-cta__btn::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

/* ==================== ASIDE NOTE (marginalia inline) ==================== */
.be-note {
  margin: 32px 0;
  padding: 18px 22px;
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--grey-500);
  background: var(--grey-50);
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-700);
}
.be-note__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 6px;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .be-hero {
    padding: 56px 20px 36px;
    margin-bottom: 40px;
  }
  .be-hero__title { font-size: 32px; }
  .be-hero__lead { font-size: 17px; }
  .be-article {
    padding: 0 20px 48px;
    font-size: 17px;
    line-height: 1.7;
  }
  .be-article > p:first-of-type::first-letter,
  .be-article > .be-first-p::first-letter {
    font-size: 52px;
    margin: 4px 10px 0 0;
  }
  .be-article h2 { margin: 48px 0 18px; padding-top: 22px; }
  .be-article table { font-size: 14px; }
  .be-article td, .be-article th {
    padding: 12px 8px 12px 0;
  }
  .be-pullquote {
    margin: 36px -8px;
    padding: 24px 20px 24px 24px;
    font-size: 19px;
  }
  .be-cta {
    margin: 48px -16px 12px;
    padding: 36px 24px;
  }
  .be-cta__title { font-size: 22px; }
  .be-callout { padding: 18px 20px; font-size: 15px; }
}
@media (max-width: 480px) {
  .be-hero__title { font-size: 28px; }
  .be-article { font-size: 16.5px; }
  .be-article > p:first-of-type::first-letter,
  .be-article > .be-first-p::first-letter {
    font-size: 44px;
  }
}
