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

/* Адаптация к светлой/темной теме */
.privacy-content {
  background-color: var(--light);
  color: var(--text);
  padding: 2rem 0;
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h2 {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.privacy-section h3 {
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-section h4 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.privacy-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text);
}

.privacy-section ul li::marker {
  color: var(--primary);
}

.privacy-section ol li::marker {
  color: var(--secondary);
  font-weight: 600;
}

.last-updated {
  background-color: var(--accent);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.table-responsive {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.table {
  color: var(--text);
  border-color: var(--border-color, rgba(0,0,0,0.1));
  margin-bottom: 0;
}

.table thead {
  background-color: var(--dark);
  color: var(--light);
  border-bottom: 2px solid var(--primary);
}

.table thead th {
  font-weight: 600;
  padding: 1rem;
  border-color: var(--border-color, rgba(255,255,255,0.1));
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.05));
}

.table tbody td {
  padding: 1rem;
  vertical-align: top;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

.contact-info {
  background-color: var(--dark);
  color: var(--light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.contact-info h3 {
  color: var(--light);
  margin-top: 0;
}

.contact-info p {
  color: var(--light);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.2rem;
  }
  
  .table {
    font-size: 0.9rem;
  }
}