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

/* Адаптация к теме сайта */
.privacy-document {
  background-color: #f6f6f8;
  color: var(--text);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.privacy-document h1 {
  color: #fd8b0f;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.privacy-document h2 {
  color: #fd8b0f;
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.privacy-document h3 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.privacy-document p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.privacy-document ul,
.privacy-document ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.privacy-document li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.privacy-document strong {
  color: var(--text);
  font-weight: 600;
}

.last-updated {
  background: #ffffff;
  padding: 1rem;
  border-left: 4px solid #a867c3;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.last-updated p {
  margin: 0;
  font-size: 0.95rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .privacy-document {
    padding: 1.5rem;
  }
  
  .privacy-document h1 {
    font-size: 2rem;
  }
  
  .privacy-document h2 {
    font-size: 1.5rem;
  }
}