/* Research keeps its article content and shares the My Kits theme. */
.research-page { display: flex; flex-direction: column; }
.research-page .home-nav { flex-shrink: 0; }
.research-page .nav-center { display: flex; align-items: center; }
.research-page .nav-link { text-decoration: none; }
.research-page .nav-link[aria-current] { color: var(--text); }
.research-page .home-nav .btn-sm { border: 2px solid var(--text); color: var(--text); }
.research-page:not(.theme-light) .home-nav .btn-sm { border-color: #fff; color: #fff; }

.research-main { flex: 1; width: min(1220px, calc(100% - 64px)); margin: 48px auto 64px; }
.research-header { max-width: 780px; margin-bottom: 32px; }
.research-header .eyebrow { position: relative; padding-left: 14px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.research-header .eyebrow::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--accent); }
.research-header h1 { max-width: 730px; margin: 14px 0 18px; color: var(--text); font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.research-header .intro { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--card-border); border-radius: 12px; background: var(--bg3); box-shadow: 0 1px 6px #00000008; text-decoration: none; overflow: hidden; transition: border-color .15s; }
.article:hover { border-color: var(--accent); }
.article:focus-visible { outline-offset: 4px; }
.visual { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-inset); border-bottom: 1px solid var(--card-border); }
.visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 24px; }
.article-label { margin-bottom: 12px; color: var(--accent-text); font-size: 11px; font-weight: 600; line-height: 1.5; }
.article h2 { margin-bottom: 12px; color: var(--text); font-size: 18px; font-weight: 700; line-height: 1.45; }
.article p { color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.read { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding-top: 24px; color: var(--accent-text); font-size: 13px; font-weight: 600; line-height: 1.5; }
.article:hover .read { text-decoration: underline; text-underline-offset: 4px; }
.article.method { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 32px; padding: 8px 0 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.article.method .article-copy { max-width: 850px; padding: 0; }
.article.method .article-label { margin-bottom: 6px; }
.article.method h2 { margin-bottom: 8px; }
.article.method .read { flex-shrink: 0; align-self: center; margin: 0 0 0 auto; padding: 10px 0; }

.research-footer { padding: 26px 34px; color: var(--text-muted); font-size: 11px; }
.research-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.research-footer .nav-logo { font-size: 17px; }
.research-footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.research-footer-links a { text-decoration: none; }
.research-footer-links a:hover { color: var(--text); }

@media (max-width: 960px) {
  .research-page .nav-center:not(.is-open) { display: none; }
  .research-page .menu-toggle { display: block; }
  .research-main { width: calc(100% - 40px); margin: 32px auto 48px; }
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .article.method { gap: 24px; }
}
@media (max-width: 620px) {
  .research-main { width: calc(100% - 28px); margin-top: 28px; }
  .research-header { margin-bottom: 28px; padding: 0 6px; }
  .research-header h1 { font-size: 27px; line-height: 1.3; }
  .articles { grid-template-columns: minmax(0, 1fr); }
  .article-copy { padding: 22px; }
  .article.method { flex-direction: column; align-items: stretch; gap: 18px; padding: 0 6px 12px; }
  .article.method .read { align-self: flex-start; margin: 0; padding: 0; }
  .research-footer { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .research-footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .research-footer-links { gap: 20px; }
}
