/* research-insights-detail.css — ADDITIONS for the database-driven sub-pages
   (case study / blog / event detail, blog listing). Loaded after research-insights.css
   (designer's file, untouched). Only covers what the design never had to handle:
   rich HTML stored in the database (old site content) and link-style buttons. */

.back-btn { text-decoration: none; }
.back-btn:hover { color: var(--ink); }

/* Article/event HTML from the database (old Bootstrap markup: .text-center, .mt-5, inline img sizes) */
.detail-body img { max-width: 100%; height: auto; margin: 0 auto 24px; border-radius: 12px; }
.detail-body .text-center { text-align: center; }
.detail-body h3, .detail-body h4 { font-family: var(--font-display); color: var(--ink); margin: 32px 0 12px; line-height: 1.4; }
.detail-body h3 { font-size: 20px; }
.detail-body h4 { font-size: 17px; }
.detail-body ul, .detail-body ol { padding-left: 22px; margin: 0 0 24px; color: var(--ink-soft); font-size: 15px; line-height: 1.625; }
.detail-body li { margin-bottom: 8px; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.detail-body td, .detail-body th { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

/* Event action buttons */
.ri-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.ri-actions .back-btn { margin-bottom: 0; }
.ri-actions .btn { text-decoration: none; }

/* Blog listing */
.detail .grid { margin-top: 8px; }
