/* Страницы-гайды: типографика длинного текста на токенах global.css */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8rem;
  color: var(--gray-500);
}
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--red); }

.page-hero h1 { max-width: 820px; font-size: clamp(1.5rem, 4vw, 2.4rem); letter-spacing: -0.03em; }
.article-meta { font-size: .85rem; color: var(--gray-500) !important; margin-top: 1.1rem !important; }

.article { font-size: 1.02rem; }
.article > * + * { margin-top: 1.1rem; }
.article p, .article li { color: var(--gray-700); }
.article li { margin-bottom: .55rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article ol li::marker { color: var(--red); font-weight: 700; }
.article ul li::marker { color: var(--red); }
.article strong { color: var(--dark); }

.article-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--dark) !important;
  padding-left: 1.25rem;
  border-left: 4px solid var(--red);
}

.article h2 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  scroll-margin-top: 80px;
}
.article h3 {
  margin-top: 2rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--gray-900);
}

.article-table {
  margin: 1.5rem 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.article-table table { font-size: .875rem; min-width: 560px; }
.article-table tbody tr:nth-child(1) td:first-child {
  font-family: inherit;
  font-weight: 600;
  color: var(--dark);
}
.article-table tbody td:first-child { font-weight: 600; color: var(--dark); }
.article-table td, .article-table th { line-height: 1.5; }

/* FAQ: тот же вид, что на главной */
.article details { border-bottom: 1px solid var(--gray-100); }
.article details:first-of-type { border-top: 1px solid var(--gray-100); }
.article summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.article summary::-webkit-details-marker { display: none; }
.article summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--red);
  transition: transform .2s;
}
.article details[open] summary { color: var(--red); }
.article details[open] summary::after { transform: rotate(45deg); }
.article summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.article .faq-answer { padding: 0 0 1.25rem; font-size: .95rem; max-width: 720px; }
.article .faq-answer > * + * { margin-top: .75rem; }

.related { background: var(--gray-50); }
.related__title { margin-bottom: .25rem; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.section.related { border-top: 1px solid var(--gray-100); }
