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

body {
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.8;
  color: var(--text-secondary);
}

ul, ol {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

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

.last-updated {
  background: var(--card-bg);
  padding: 1rem;
  border-left: 3px solid var(--primary-color);
  margin-bottom: 2rem;
  border-radius: 4px;
}

.section-divider {
  border-top: 1px solid var(--border-color, rgba(255,255,255,0.1));
  margin: 2rem 0;
}

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