/* Стили для содержимого статьи */ .article-content { font-size: 1rem; line-height: 1.6; color: var(--text-primary); } .article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { margin-top: 1.5em; margin-bottom: 0.75em; font-weight: 600; } .article-content h1 { font-size: 2rem; } .article-content h2 { font-size: 1.75rem; } .article-content h3 { font-size: 1.5rem; } .article-content p { margin-bottom: 1rem; } .article-content ul, .article-content ol { margin-bottom: 1rem; padding-left: 2rem; } .article-content li { margin-bottom: 0.25rem; } .article-content blockquote { border-left: 4px solid var(--primary); padding: 0.5rem 1rem; background: var(--bg-secondary); margin: 1rem 0; font-style: italic; } .article-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; } .article-content th, .article-content td { border: 1px solid var(--border-light); padding: 0.5rem; } .article-content th { background: var(--bg-secondary); } .article-content img { max-width: 100%; height: auto; margin: 1rem 0; border-radius: 4px; } .article-content pre { background: #2d2d2d; color: #ccc; padding: 1rem; border-radius: 4px; overflow-x: auto; margin: 1rem 0; } .article-content code { font-family: 'Courier New', monospace; background: #2d2d2d; color: #ccc; padding: 0.2rem 0.4rem; border-radius: 3px; font-size: 0.9em; } .article-content pre code { padding: 0; background: none; color: inherit; }