/* =============================================
   POLITICS.CSS — legal page стиль xselid.ru
   ============================================= */

.legal-page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 40px 120px;
  animation: fade-up 0.6s 0.1s ease both;
  text-align: left;
}

/* Сбрасываем центрирование из .main */
.main .legal-page,
.main--left .legal-page {
  text-align: left;
}

.legal-page__inner {
  position: relative;
}

/* =============================================
   HEADER
   ============================================= */

.legal-page__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.legal-page__header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.legal-page__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-page__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
}

.legal-page__date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #444;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =============================================
   LEAD
   ============================================= */

.legal-page__lead {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 56px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

/* =============================================
   SECTIONS
   ============================================= */

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.legal-section:hover::before {
  height: 100%;
}

.legal-section__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

.legal-section p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.95;
  color: #aaa;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section p strong {
  color: var(--text);
}

/* =============================================
   LIST
   ============================================= */

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.75;
  color: #999;
  padding-left: 24px;
  position: relative;
}

.legal-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}



/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .legal-page {
    padding: 48px 24px 80px;
  }

  .legal-section::before {
    display: none;
  }

  .legal-page__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 32px 18px 60px;
  }

  .legal-page__lead {
    font-size: 0.78rem;
  }

  .legal-section p {
    font-size: 0.75rem;
  }
}