/* ==========================================================================
   Research index (research.html)
   Sits inside the site template and builds on css/feature-20x.css: same
   .x20 scope, tokens, type and card treatment as fedramp.html. Only the
   pieces the research index adds are defined here.
   ========================================================================== */

.rs-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid var(--x-rule); font-size: 14px; color: var(--x-ink-soft); }
.rs-meta b { color: var(--x-ink); font-weight: 600; }

.rs-section { margin: 56px 0 0; }
.rs-section > h2 { font-size: 24px; margin: 0 0 8px; }
.rs-section > p { font-size: 15px; color: var(--x-ink-soft); margin: 0 0 20px; }

.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.rs-card { position: relative; display: flex; flex-direction: column; background: var(--x-surface); border: 1px solid var(--x-rule); border-radius: 10px; padding: 20px 22px 18px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.x20 a.rs-card { color: inherit; text-decoration: none; }
a.rs-card:hover { border-color: var(--x-referent); box-shadow: 0 4px 16px rgba(27, 40, 51, .08); }
a.rs-card:hover h3 { color: var(--x-referent); }
.rs-card.soon { background: var(--x-paper); border-style: dashed; }
.rs-card h3 { font-size: 17px; margin: 12px 0 8px; padding-right: 22px; }
.rs-card p { font-size: 15px; color: var(--x-ink-soft); margin: 0; }
.rs-arrow { position: absolute; top: 18px; right: 20px; font-size: 16px; color: var(--x-ink-soft); transition: transform .15s, color .15s; }
a.rs-card:hover .rs-arrow { transform: translate(2px, -2px); color: var(--x-referent); }

.rs-kind { align-self: flex-start; font-family: var(--x-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; border: 1px solid currentColor; }
.rs-k-interactive { color: var(--x-referent); background: var(--x-referent-fill); }
.rs-k-figure { color: var(--x-ink-soft); background: var(--x-paper); }
.rs-k-data { color: var(--x-accent); background: #F2EEF7; }
.rs-k-document { color: var(--x-gap); background: var(--x-gap-fill); }

.rs-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 14px; font-family: var(--x-mono); font-size: 12px; color: var(--x-ink-soft); }
.rs-foot span { white-space: nowrap; }

.rs-notes { margin: 56px 0 0; padding: 26px 28px; background: var(--x-referent-fill); border-radius: 12px; display: grid; gap: 14px; }
.rs-notes p { font-size: 15px; color: var(--x-ink-soft); margin: 0; max-width: 80ch; }
.rs-notes b { color: var(--x-ink); font-weight: 600; }

.rs-colophon { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 28px 0 0; padding: 16px 0 0; border-top: 1px solid var(--x-rule); font-size: 13px; color: var(--x-ink-soft); }

@media (prefers-reduced-motion: reduce) { .rs-card, .rs-arrow { transition: none; } }
