/*
 * insights-listing.css — листинг аналитики на /insights/
 *
 * ВАЖНО: переменные --max-w, --px, --stone, --fg, --muted, --accent, --rule,
 * шрифты Cormorant Garamond / Manrope — определены в main.css.
 *
 * Общесайтовые классы (.breadcrumbs, .page-hero, .page-hero h1, .page-hero__lede,
 * .sect-label, .btn, .lr-block) этим файлом НЕ ПЕРЕОПРЕДЕЛЯЮТСЯ — берутся из
 * main.css, чтобы /insights/ выглядела единообразно с остальными страницами сайта
 * (/matters/, /fees/, /about/ и т.д.).
 *
 * Здесь только собственные классы листинга .insights-*.
 */

/* ─── Вкладки-якоря на разделы (под лидом) ──────────────────────────────── */
.insights-tabs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.insights-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.insights-tab:hover {
  background: var(--accent);
  color: var(--stone);
  border-color: var(--accent);
}
.insights-tab__count {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.insights-tab:hover .insights-tab__count { color: var(--stone); }

/* ─── Секция типа ───────────────────────────────────────────────────────── */
.insights-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px);
  border-top: 1px solid var(--rule);
}
.insights-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.insights-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: 0;
}
.insights-section__count {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ─── Список статей (строки) ────────────────────────────────────────────── */
.insights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.insights-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.insights-row:last-child { border-bottom: none; }

.insights-row__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--fg);
  text-decoration: none;
  transition: color .15s;
}
.insights-row__title:hover { color: var(--accent); }

.insights-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.insights-row__practice {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insights-row__author { color: var(--fg); }
.insights-row__date   { font-variant-numeric: tabular-nums; }
.insights-row__read   { font-variant-numeric: tabular-nums; }
.insights-row__sep    { color: var(--rule); }

/* ─── Кнопка «Показать ещё» — в стилистике .btn-secondary сайта ─────────── */
.insights-more {
  text-align: center;
  margin-top: 40px;
}
.insights-more__btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--fg);
  padding: 14px 28px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.insights-more__btn:hover:not(:disabled) {
  background: var(--fg);
  color: var(--stone);
}
.insights-more__btn:disabled { opacity: .6; cursor: wait; }
.insights-more__rest { font-variant-numeric: tabular-nums; }

/* ─── Финальный CTA-блок ────────────────────────────────────────────────── */
.insights-cta {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.insights-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: 0 0 32px;
}
.insights-cta h2 em { font-style: italic; }
.insights-cta__lede {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: .03em;
}
.insights-cta__trust {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}

/* ─── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .insights-section { padding: 40px var(--px); }
  .insights-section h2 { font-size: 26px; }
  .insights-row__title { font-size: 19px; }
  .insights-cta { padding: 60px var(--px); }
}
@media (max-width: 640px) {
  .insights-tab { padding: 8px 14px; font-size: 11px; gap: 8px; }
  .insights-section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .insights-row__title { font-size: 18px; }
  .insights-row__meta { font-size: 12px; }
}
