/* ============================================================
   ODonnell Lab — Shared Styles
   Import this in every page:
   <link rel="stylesheet" href="/shared.css">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #1c2230;
  --border: #30363d;
  --border2: #21262d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #6e7681;
  --accent: #58a6ff;
  --accent2: #3fb950;
  --accent3: #f78166;
  --accent4: #d2a8ff;
  --accent5: #ffa657;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
  --serif: 'IBM Plex Serif', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

/* ── SITE HEADER ─────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
}

.site-logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent2);
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  padding-right: 2rem;
  border-right: 1px solid var(--border2);
  margin-right: 0.5rem;
  height: 56px;
  display: flex;
  align-items: center;
}
.site-logo:hover { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  padding: 0 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-wiki-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent2) !important;
  border-bottom-color: transparent !important;
  letter-spacing: 0.03em;
  opacity: 0.8;
}
.nav-wiki-link:hover { opacity: 1; color: var(--accent2) !important; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1 { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; line-height: 1.3; }
h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; color: var(--text); margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border2); }
h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--accent4); margin: 1.5rem 0 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
p strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); }

/* ── CALLOUTS ────────────────────────────────────────────── */
.callout { border-left: 3px solid var(--accent); background: rgba(88,166,255,0.06); padding: 1rem 1.25rem; margin: 1.25rem 0; border-radius: 0 6px 6px 0; }
.callout.green  { border-left-color: var(--accent2); background: rgba(63,185,80,0.06); }
.callout.orange { border-left-color: var(--accent5); background: rgba(255,166,87,0.06); }
.callout.red    { border-left-color: var(--accent3); background: rgba(247,129,102,0.06); }
.callout-title  { font-size: 12px; font-family: var(--mono); font-weight: 600; margin-bottom: 0.4rem; opacity: 0.7; }
.callout p      { margin: 0; font-size: 13px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-block; background: var(--accent); color: #000; border: none; padding: 0.55rem 1.25rem; border-radius: 6px; font-family: var(--mono); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: opacity 0.15s; }
.btn:hover { opacity: 0.85; color: #000; }
.btn-green { background: var(--accent2); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); }

/* ── BADGE ───────────────────────────────────────────────── */
.badge { display: inline-block; padding: 0.15em 0.5em; border-radius: 3px; font-size: 11px; font-family: var(--mono); font-weight: 600; }
.badge-blue   { background: rgba(88,166,255,0.15);  color: var(--accent); }
.badge-green  { background: rgba(63,185,80,0.15);   color: var(--accent2); }
.badge-orange { background: rgba(255,166,87,0.15);  color: var(--accent5); }
.badge-purple { background: rgba(210,168,255,0.15); color: var(--accent4); }

/* ── TABLES ──────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 1rem 0; }
.data-table th { background: var(--surface2); color: var(--text-muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.6rem 0.75rem; border: 1px solid var(--border); text-align: left; font-weight: 600; }
.data-table td { padding: 0.5rem 0.75rem; border: 1px solid var(--border2); color: var(--text-muted); font-family: var(--mono); font-size: 12px; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.table-wrap .data-table { margin: 0; }

/* ── FORM INPUTS ─────────────────────────────────────────── */
.filter-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.filter-input:focus { border-color: var(--accent); }
.filter-input::placeholder { color: var(--text-dim); }

/* ── CARD ────────────────────────────────────────────────── */
.card { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; margin: 1rem 0; }
.card h3 { margin-top: 0; }

/* ── SCROLL ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }


/* ============================================================
   MAIN SITE EXTENSIONS
   Classes below are used by the lab website (not the wiki)
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────── */
.hero-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 56px);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  max-width: 600px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-full h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-tagline {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-image-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-image-panel img,
.hero-image-panel video {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 20%);
  pointer-events: none;
}

/* ── HOME TEASERS ────────────────────────────────────────── */
.home-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem;
}
.teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.teaser-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent));
}
.teaser-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.teaser-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border2);
}
.teaser-item:last-child { border-bottom: none; }
.teaser-item-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}
.teaser-item a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
  display: block;
}
.teaser-item a:hover { color: var(--text); }
.teaser-more {
  display: block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}
.teaser-more:hover { color: var(--text); }
.teaser-research-list { list-style: none; }
.teaser-research-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border2);
  font-size: 13px;
  color: var(--text-muted);
}
.teaser-research-list li:last-child { border-bottom: none; }
.teaser-research-list li::before { content: '→ '; color: var(--accent4); font-family: var(--mono); font-size: 11px; }

/* ── DEPT BAR ────────────────────────────────────────────── */
.dept-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.dept-bar a { color: var(--accent2); text-decoration: none; font-family: var(--mono); font-size: 12px; }
.dept-bar a:hover { color: var(--accent); }

/* ── RESEARCH PANELS ─────────────────────────────────────── */
.research-page { max-width: 1100px; margin: 0 auto; padding: 3rem; }
.research-intro { max-width: 680px; margin-bottom: 4rem; }
.research-intro h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.research-lab-subtitle { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; letter-spacing: 0.02em; }

.research-panel {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--surface);
}
.research-panel.reverse { flex-direction: row-reverse; }
.research-panel-image {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
}
.research-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 300px;
}
.research-panel-body {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.research-panel-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0.75rem 0 1rem;
  border: none;
  padding: 0;
}
.research-panel-body p { font-size: 14px; line-height: 1.8; }
.research-panel-body p:last-child { margin-bottom: 0; }

.panel-media {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  overflow: visible;
}
.panel-media-wrap {
  flex-shrink: 0;
  height: 180px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  transition: z-index 0s 0.3s;
}
.panel-media-wrap:hover {
  z-index: 10;
  transition: z-index 0s;
}
.panel-media-item {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.panel-media-wrap:hover .panel-media-item {
  transform: scale(2);
}
.panel-media-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.35rem 0.6rem;
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,0.65);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  white-space: normal;
}
.panel-media-wrap:hover .panel-media-caption { opacity: 1; }

.panel-pubs {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
}
.panel-pubs-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-basis: 100%;
  margin-bottom: 0.1rem;
}
.panel-pubs a {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.panel-pubs a:hover { text-decoration: underline; }
.panel-pubs-nolink {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.research-key-papers { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border2); }
.research-key-papers p { font-size: 12px; font-family: var(--mono); color: var(--text-dim); margin: 0; }
.research-key-papers a { color: var(--accent); font-size: 12px; }

/* ── PI SPOTLIGHT ────────────────────────────────────────── */
.pi-spotlight {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 3rem;
  padding: 3.5rem 3rem;
  align-items: flex-start;
}
.pi-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border);
}
.pi-info { flex: 1; }
.pi-info h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.pi-role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pi-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.pi-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3em 0.75em;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.pi-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ── PEOPLE GRID ─────────────────────────────────────────── */
.people-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem;
}
.people-group-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border2);
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.people-grid-alumni {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.people-grid-alumni .person-photo { aspect-ratio: 4 / 3; }
.person-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.person-card:hover { border-color: var(--accent4); }
.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--surface2);
}
.person-info { padding: 1rem; }
.person-name { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 0.25rem; }
.person-role { font-size: 12px; color: var(--text-muted); margin-bottom: 0.25rem; }
.person-years { font-size: 11px; color: var(--text-muted); opacity: 0.7; margin-bottom: 0.25rem; }
.person-current-role { font-size: 11px; color: var(--accent); font-style: italic; margin-bottom: 0.5rem; }
.person-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.person-links a {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.15em 0.4em;
  border: 1px solid var(--border2);
  border-radius: 3px;
}
.person-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ── LAB LIFE GALLERY ────────────────────────────────────── */
.lab-life-section { max-width: 1100px; margin: 0 auto; padding: 3rem; border-top: 1px solid var(--border); }
.lab-life-header { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lab-life-tabs { display: flex; gap: 0.4rem; }
.lab-life-tab {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  color: var(--text-muted); font-size: 11px; font-family: inherit;
  padding: 0.25rem 0.75rem; cursor: pointer; transition: all 0.15s;
}
.lab-life-tab:hover { border-color: var(--accent); color: var(--accent); }
.lab-life-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.lab-life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.lab-life-photo { position: relative; border-radius: 8px; overflow: hidden; background: var(--surface); }
.lab-life-photo img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.lab-life-photo:hover img { transform: scale(1.03); }
.lab-life-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.75rem;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

/* ── PUBLICATIONS ────────────────────────────────────────── */
.pub-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 56px);
}
.pub-sidebar {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
}
.pub-sidebar-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 1.25rem 0 0.6rem;
}
.pub-sidebar-label:first-child { margin-top: 0; }
.pub-year-filter { display: flex; flex-direction: column; gap: 0.35rem; }
.pub-year-filter label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.pub-year-filter label:hover { color: var(--text); }
.pub-year-filter input[type=checkbox] { accent-color: var(--accent); }
.pub-highlight-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.25rem;
}
.pub-highlight-toggle input[type=checkbox] { accent-color: var(--accent5); }
.pub-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

.pub-main { padding: 2.5rem 3rem; }
.pub-year-group { margin-bottom: 2.5rem; }
.pub-year-heading {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border2);
}
.pub-entry {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border2);
  align-items: flex-start;
}
.pub-entry:last-child { border-bottom: none; }
.pub-meta { flex: 1; min-width: 0; }
.pub-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.pub-authors {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  line-height: 1.5;
}
.pub-journal {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}
.pub-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.pub-links-col a {
  text-decoration: none;
  white-space: nowrap;
}

/* ── NEWS ────────────────────────────────────────────────── */
.news-page { max-width: 800px; margin: 0 auto; padding: 3rem; }
.news-page h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.news-page > p { margin-bottom: 3rem; }
.news-list { margin-top: 1rem; }
.news-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border2);
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent4);
  width: 80px;
  flex-shrink: 0;
  padding-top: 0.25rem;
  line-height: 1.6;
}
.news-body { flex: 1; }
.news-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.news-body p { font-size: 14px; margin-bottom: 0.75rem; }
.news-body p:last-child { margin-bottom: 0; }
.news-body a { font-size: 13px; }

/* ── JOIN PAGE ───────────────────────────────────────────── */
.join-page { max-width: 800px; margin: 0 auto; padding: 3rem; }
.join-page h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }

/* ── PAGE UTILITIES ──────────────────────────────────────── */
.page-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.loading-placeholder {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  padding: 2rem 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-teasers { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
  .hero-full { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; max-width: 100%; }
  .hero-full h1 { font-size: 2.25rem; }
  .hero-image-panel { display: none; }

  .research-page { padding: 1.5rem; }
  .research-panel { flex-direction: column !important; }
  .research-panel-image { width: 100%; }
  .research-panel-image img { min-height: 220px; }
  .research-panel-body { padding: 1.75rem; }

  .pi-spotlight { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .pi-photo { width: 100px; height: 100px; }
  .people-section { padding: 1.5rem; }

  .pub-layout { grid-template-columns: 1fr; }
  .pub-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .pub-main { padding: 1.5rem; }

  .news-page { padding: 1.5rem; }
  .news-item { flex-direction: column; gap: 0.5rem; }
  .news-date { width: auto; }

  .join-page { padding: 1.5rem; }
  .dept-bar { padding: 1.25rem 1.5rem; }
}
