/* ══════════════════════════════════════════════════════════════
   product-theme.css — блок «Что важно знать» (paywall-карточки)
   Подключается только на страницах продуктов через роут
══════════════════════════════════════════════════════════════ */

/* ── Сетка трёх карточек ── */
.pt-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* ── Базовая карточка ── */
.pt-insight-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

/* Фоны карточек */
.pt-insight-card--amber { background: #FFF7E6; }
.pt-insight-card--rose  { background: #FDECEF; }
.pt-insight-card--green {
  background: #EAF7F1;
  border-color: #B7E4C7;
}

/* ── Внутренний контейнер ── */
.pt-insight-inner {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Тег-категория (маленький, не капс) ── */
.pt-insight-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 14px;
}
.pt-insight-tag--amber { background: #FDE68A; color: #92400E; }
.pt-insight-tag--rose  { background: #FECDD3; color: #9F1239; }
.pt-insight-tag--green { background: #A7F3D0; color: #065F46; }

/* ── Тело — растягивается вниз ── */
.pt-insight-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Заголовок карточки ── */
.pt-insight-title {
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 12px;
}

/* ── Текстовый блок ── */
.pt-insight-content {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.72;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.pt-insight-content p { margin: 0; }

/* Акцентная строка перед списком */
.pt-insight-lead {
  font-weight: 600;
  color: var(--dark);
}

/* ── Список с тире ── */
.pt-insight-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-insight-list li {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.pt-insight-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.pt-insight-card--amber .pt-insight-list li::before { color: #B45309; }
.pt-insight-card--rose  .pt-insight-list li::before { color: var(--rose); }
.pt-insight-card--green .pt-insight-list li::before { color: #059669; }

/* ── Callout — ключевой инсайт ── */
.pt-insight-callout {
  margin-top: 14px;
  padding: 10px 14px 10px 14px;
  border-radius: 10px;
  border-left: 3px solid;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.pt-insight-card--amber .pt-insight-callout {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #78350F;
}
.pt-insight-card--rose .pt-insight-callout {
  background: #FEE2E2;
  border-color: var(--rose-soft);
  color: var(--rose);
}
.pt-insight-card--green .pt-insight-callout {
  background: #D1FAE5;
  border-color: #6EE7B7;
  color: #065F46;
}
.pt-insight-card--green .pt-insight-lead { color: #065F46; }

/* ── Единственная кнопка под гридом ── */
.pt-insight-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.pt-insight-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #16A34A;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .18s;
  letter-spacing: .01em;
}
.pt-insight-btn:hover { opacity: .88; }

/* ── Адаптив ── */
@media (max-width: 900px) {
  .pt-insight-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .pt-insight-inner { padding: 18px 18px 20px; }
  .pt-insight-btn { width: 100%; justify-content: center; }
}
