/* Research articles migrated from the woven-torah export — supplements main.css */
.research-article-page { max-width: 1000px; margin: 0 auto; }
.research-article-page .nav-breadcrumb { margin-bottom: 20px; }
.torah-research-article .article-title, .research-article-page h1 { font-size: 32px; margin-bottom: 10px; }
.torah-research-article .article-meta { font-size: 16px; color: #666; margin-bottom: 20px; }
.torah-research-article .article-abstract { background-color: #f9f9f9; padding: 25px; border-left: 4px solid #7ab0f7; margin-bottom: 30px; }
[dir="rtl"] .torah-research-article .article-abstract { border-left: none; border-right: 4px solid #7ab0f7; }
.toc-container { background-color: #f9f9f9; padding: 20px; border-radius: 4px; margin: 25px 0; }
.toc-container h3 { margin-top: 0; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
.toc-container ul { list-style-type: none; padding-left: 0; margin-bottom: 0; }
.toc-container li { margin-bottom: 8px; }
.toc-container a { text-decoration: none; color: #0066cc; }
.toc-container a:hover { text-decoration: underline; }
.torah-research-article .related-articles { background-color: #f9f9f9; padding: 20px; border-radius: 4px; }
.torah-research-article .related-articles-list { list-style-type: none; padding: 0; margin: 0; }
.table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.research-article-page .torah-table td, .research-article-page .torah-table th { border: 1px solid #ddd; padding: 10px 14px; vertical-align: top; line-height: 1.6; }
[dir="rtl"] .research-article-page .torah-table td, [dir="rtl"] .research-article-page .torah-table th { text-align: right; }
.research-article-page img { max-width: 100%; height: auto; }
.research-article-page figure { margin: 20px auto; text-align: center; }
.research-article-page figcaption { font-size: 0.9em; color: #666; }
.research-article-page .button { background-color: #7ab0f7; color: #fff; padding: 8px 16px; border-radius: 4px; text-decoration: none; font-weight: bold; display: inline-block; }
.articles-index .article-entry { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid #e5e0d8; }
.articles-index .article-entry h2 { font-size: 1.35em; margin-bottom: 4px; }
.articles-index .article-entry .article-date { color: #666; font-size: 0.9em; margin-bottom: 8px; }
@media (max-width: 768px) {
  .torah-research-article .article-title, .research-article-page h1 { font-size: 24px; }
  .research-article-page .torah-table td, .research-article-page .torah-table th { padding: 8px; }
}
