/* Адаптация к теме для темного сайта */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
}

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

.terms-section h2 {
  color: var(--accent-color);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.terms-section h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.terms-section h4 {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

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

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

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

.terms-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--accent-color);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.last-updated {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .terms-section h2 {
    font-size: 1.5rem;
  }
  
  .terms-section h3 {
    font-size: 1.25rem;
  }
}