/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Адаптация к теме */
.bg-light {
  background-color: var(--dark-lighter, #f8f9fa) !important;
  color: var(--text-primary, #212529) !important;
}

/* Типографика для юридических документов */
.privacy-content {
  line-height: 1.8;
  color: var(--text-primary);
}

.privacy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.privacy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.privacy-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul, 
.privacy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.privacy-content li {
  margin-bottom: 0.75rem;
}

.privacy-content strong {
  color: var(--primary);
  font-weight: 600;
}

.last-updated {
  background: var(--dark-lighter, #f8f9fa);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.contact-info {
  background: var(--dark-card, #ffffff);
  border: 1px solid var(--border-color, rgba(0,0,0,0.1));
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .privacy-content h2 {
    font-size: 1.5rem;
  }
  
  .privacy-content ul, 
  .privacy-content ol {
    padding-left: 1.25rem;
  }
}