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

/* Адаптация к светлой теме */
.bg-light {
  background-color: var(--light) !important;
  color: var(--text-dark) !important;
}

.section-title {
  color: var(--primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.subsection-title {
  color: var(--dark);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.text-content {
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.list-content {
  margin-bottom: 1.5rem;
}

.list-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.highlight-box {
  background-color: rgba(var(--primary-rgb, 74, 108, 247), 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.table-responsive {
  margin: 2rem 0;
}

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

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

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

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

.update-date {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 2rem;
}