/* ASLab Research page — left research rail + detail panel.
   Taken unchanged from aslab-research-people-v3/aslab-v3/research.html. */

/* ---------- RESEARCH ---------- */
.rx-intro { padding: 22px 0 8px; }
.rx-intro p { margin: 0; max-width: 1100px; line-height: 1.75; color: var(--text-secondary, #596762); text-align: justify; }
.rx-shell { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px 0 48px; }
.rx-rail { position: sticky; top: 84px; max-height: calc(100vh - 110px); background: #edf4f0; border: 1px solid #d9e3de; border-radius: 22px; padding: 18px 12px; overflow: auto; }
.rx-rail-label { font-size: 10px; letter-spacing: .18em; color: #6a7771; padding: 5px 12px 12px; }
.rx-item { width: 100%; text-align: left; border: 0; background: transparent; border-radius: 16px; padding: 16px 12px; display: grid; grid-template-columns: 36px 1fr 18px; gap: 10px; align-items: start; cursor: pointer; transition: .22s ease; color: #1d2a26; font: inherit; }
.rx-item .rx-num { font-size: 11px; color: #718079; padding-top: 2px; }
.rx-item strong { font-size: 14px; line-height: 1.38; font-weight: 650; }
.rx-item i { font-style: normal; color: #7b8a84; font-size: 20px; line-height: 1; }
.rx-item:hover { background: #e0eee8; transform: translateX(3px); }
.rx-item.is-active { background: #477966; color: #fff; box-shadow: 0 10px 28px rgba(71,121,102,.22); }
.rx-item.is-active .rx-num, .rx-item.is-active i { color: #d8eee5; }
.rx-item:focus-visible { outline: 2px solid #477966; outline-offset: 2px; }
.rx-stage { background: #fff; border: 1px solid var(--border, #dfe7e2); border-radius: 8px; min-height: 520px; box-shadow: 0 14px 40px rgba(24,55,47,.07); }
.rx-panel { padding: 32px clamp(20px, 4.5vw, 56px) 44px; animation: rxIn .35s ease both; }
.rx-panel[hidden] { display: none; }
.rx-panel img { display: block; max-width: 100%; height: auto; margin: 0 auto 22px; }
.rx-panel h2 { font-size: 26px; line-height: 1.25; margin: 6px 0 18px; }
.rx-panel p, .rx-panel li { font-size: 15px; line-height: 1.75; color: #3d4a45; }
.rx-panel ul { margin: 0 0 16px; padding-left: 22px; }
.rx-panel a { color: var(--primary-green, #477866); text-decoration: underline; text-underline-offset: 2px; }
@keyframes rxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .rx-shell { grid-template-columns: 1fr; }
  .rx-rail { position: static; max-height: none; }
}

/* intro paragraph centred on the page */
.rx-intro p { margin: 0 auto; text-align: center; }
