:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-fg: #ffffff;
  --tag-bg: #eff6ff;
  --tag-text: #1d4ed8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
  --max-w: 880px;
  --home-w: 1020px;
  --sb-w: 250px;
  --nav-h: 58px;
  --r: 6px;
  --tr: 0.15s ease;
}

[data-theme="dark"] {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-hover: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --accent-hover: #79b8ff;
  --accent-fg: #0d1117;
  --tag-bg: #1f2d4a;
  --tag-text: #79b8ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  transition: background var(--tr), color var(--tr);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
p { margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: 0.875em; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0.1em 0.4em; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
main { flex: 1; padding-top: var(--nav-h); padding-bottom: 5rem; }
.section { margin-bottom: 3.5rem; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}
.section-header h2 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-header .see-all { font-size: 0.8rem; color: var(--accent); margin-left: auto; font-weight: 500; }
.section-header .see-all:hover { text-decoration: underline; }

/* ── Nav ────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--tr), border-color var(--tr);
}
[data-theme="dark"] #site-header { background: rgba(13,17,23,0.92); }

.nav-inner {
  max-width: var(--home-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo { font-weight: 800; font-size: 1rem; color: var(--text); text-decoration: none; margin-right: auto; white-space: nowrap; letter-spacing: -0.01em; }
.nav-logo:hover { color: var(--accent); text-decoration: none; }

.nav-links { display: flex; align-items: center; list-style: none; gap: 0.1rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted); padding: 0.35rem 0.6rem; border-radius: var(--r); transition: color var(--tr), background var(--tr); white-space: nowrap; font-weight: 500; }
.nav-links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 0.4rem; margin-left: 0.5rem; }

.theme-btn {
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: var(--r);
  background: transparent; color: var(--muted); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 0.85rem; transition: all var(--tr); padding: 0; flex-shrink: 0;
}
.theme-btn:hover { background: var(--surface); color: var(--text); border-color: var(--accent); }

.nav-toggle { display: none; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: var(--r); background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem; flex-shrink: 0; }

.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.75rem 1.5rem; z-index: 99; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.nav-mobile a { display: block; padding: 0.5rem 0.75rem; border-radius: var(--r); font-size: 0.9rem; color: var(--muted); transition: all var(--tr); font-weight: 500; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); background: var(--surface); text-decoration: none; }

/* Announcement */
.announcement { background: var(--accent); color: var(--accent-fg); padding: 0.5rem 1rem; text-align: center; font-size: 0.8rem; position: fixed; top: 0; left: 0; right: 0; z-index: 101; line-height: 1.4; }
body.has-announcement #site-header { top: 42px; }
body.has-announcement main { padding-top: calc(var(--nav-h) + 42px); }
.announcement a { color: inherit; text-decoration: underline; }
.ann-close { background: none; border: none; color: inherit; cursor: pointer; float: right; opacity: 0.7; font-size: 1rem; line-height: 1; padding: 0; }

/* ── Home layout ────────────────────────────────────── */
.home-layout {
  display: grid;
  grid-template-columns: var(--sb-w) 1fr;
  gap: 5rem;
  max-width: var(--home-w);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  align-items: start;
}

/* ── Profile Sidebar ────────────────────────────────── */
.profile-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.profile-photo {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  margin-bottom: 1.25rem;
  display: block;
}
.profile-photo-ph {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.profile-title-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.profile-affil {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  flex-wrap: wrap;
}
.profile-affil a { color: var(--text); }
.profile-affil a:hover { color: var(--accent); text-decoration: none; }

.profile-dept {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
  line-height: 1.4;
}

.affil-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin-top: 0.25rem;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.3rem 0.2rem;
  text-decoration: none;
  transition: color var(--tr);
  border-radius: 4px;
  font-weight: 500;
}
.profile-link:hover { color: var(--accent); text-decoration: none; }
.profile-link svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ── Home main content ──────────────────────────────── */
.home-main { min-width: 0; }

.home-section { margin-bottom: 3rem; }
.home-section:last-child { margin-bottom: 0; }

.home-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.home-bio a { color: var(--accent); }
.home-bio strong { font-weight: 700; }
.home-bio em { font-style: italic; }

.interest-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Tags & Badges ──────────────────────────────────── */
.tag { display: inline-block; font-size: 0.8rem; padding: 0.2rem 0.6rem; border-radius: 20px; background: var(--tag-bg); color: var(--tag-text); font-weight: 500; white-space: nowrap; }
.badge { display: inline-block; font-size: 0.68rem; padding: 0.12rem 0.5rem; border-radius: 4px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.badge-journal { background: #f0fdf4; color: #15803d; }
.badge-conference { background: #eff6ff; color: #1d4ed8; }
.badge-preprint { background: #fefce8; color: #a16207; }
.badge-workshop { background: #fdf4ff; color: #7e22ce; }
.badge-award { background: #fffbeb; color: #b45309; }
[data-theme="dark"] .badge-journal { background: #0d2818; color: #3fb950; }
[data-theme="dark"] .badge-conference { background: #1f2d4a; color: #79b8ff; }
[data-theme="dark"] .badge-preprint { background: #2d2100; color: #e3b341; }
[data-theme="dark"] .badge-workshop { background: #2d1657; color: #d8b4fe; }
[data-theme="dark"] .badge-award { background: #2d1f00; color: #fbbf24; }

/* ── News ───────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 86px 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; align-items: start; }
.news-item:last-child { border-bottom: none; }
.news-date { color: var(--muted); font-size: 0.8rem; padding-top: 0.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-content { color: var(--text); line-height: 1.65; }
.news-content a { font-size: 0.85rem; margin-left: 0.25rem; }

/* ── Publications ───────────────────────────────────── */
.pub-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.75rem; align-items: center; }
.filter-btn { font-size: 0.8rem; padding: 0.28rem 0.75rem; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; transition: all var(--tr); font-family: var(--font); font-weight: 500; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.pub-search { margin-left: auto; }
.pub-search input { font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--r); padding: 0.28rem 0.75rem; background: var(--surface); color: var(--text); font-family: var(--font); outline: none; transition: border-color var(--tr); width: 180px; }
.pub-search input:focus { border-color: var(--accent); }
.pub-search input::placeholder { color: var(--muted); }

.pub-year-group { margin-bottom: 2rem; }
.pub-year-label { font-size: 0.75rem; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--border); }

.pub-card { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.pub-card:first-child { border-top: none; }
.pub-thumb img { width: 96px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.pub-thumb-ph { width: 96px; height: 64px; border-radius: 4px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--border); }
.pub-body { min-width: 0; }
.pub-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.3rem; }
.pub-venue-short { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.pub-title { font-size: 0.975rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 0.3rem; }
.pub-title a { color: inherit; }
.pub-title a:hover { color: var(--accent); text-decoration: none; }
.pub-authors { font-size: 0.845rem; color: var(--muted); margin-bottom: 0.45rem; line-height: 1.55; }
.pub-authors .me { color: var(--text); font-weight: 700; }
.pub-links { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.35rem; }
.pub-link { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600; color: var(--accent); border: 1px solid var(--border); border-radius: 4px; padding: 0.12rem 0.5rem; text-decoration: none; transition: all var(--tr); }
.pub-link:hover { background: var(--tag-bg); border-color: var(--accent); text-decoration: none; }
.pub-toggle-btn { font-size: 0.75rem; color: var(--accent); cursor: pointer; background: none; border: none; padding: 0; font-family: var(--font); font-weight: 500; }
.pub-toggle-btn:hover { text-decoration: underline; }
.pub-abstract { font-size: 0.855rem; color: var(--muted); line-height: 1.7; margin-top: 0.5rem; display: none; }
.pub-abstract.open { display: block; }
.pub-bibtex { margin-top: 0.5rem; display: none; }
.pub-bibtex.open { display: block; }
.pub-bibtex pre { font-size: 0.73rem; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 0.75rem; overflow-x: auto; white-space: pre-wrap; font-family: var(--mono); color: var(--muted); }

/* ── Projects ───────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.project-card { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: box-shadow var(--tr), border-color var(--tr); background: var(--surface); }
.project-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.project-thumb img { width: 100%; height: 160px; object-fit: cover; }
.project-body { padding: 1.1rem; }
.project-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.proj-status { display: inline-block; font-size: 0.68rem; padding: 0.1rem 0.45rem; border-radius: 4px; font-weight: 700; text-transform: uppercase; margin-bottom: 0.45rem; }
.st-ongoing { background: #f0fdf4; color: #15803d; }
.st-completed { background: var(--surface-hover); color: var(--muted); }
.st-paused { background: #fef3c7; color: #92400e; }
[data-theme="dark"] .st-ongoing { background: #0d2818; color: #3fb950; }
[data-theme="dark"] .st-paused { background: #2d1f00; color: #fbbf24; }
.project-desc { font-size: 0.855rem; color: var(--muted); margin-bottom: 0.7rem; line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.65rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.proj-pubs { margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.proj-pubs-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 0.3rem; }
.proj-pub-item { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin-bottom: 0.15rem; }
.proj-pub-item a { color: var(--text); font-weight: 500; }
.proj-pub-item a:hover { color: var(--accent); text-decoration: none; }
.proj-pub-venue { color: var(--muted); font-size: 0.72rem; }

/* ── Items (teaching, talks, awards, service) ───────── */
.item-list { display: flex; flex-direction: column; }
.item-entry { padding: 0.9rem 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: start; }
.item-entry:last-child { border-bottom: none; }
.item-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.1rem; }
.item-sub { font-size: 0.855rem; color: var(--muted); }
.item-year { font-size: 0.8rem; color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.item-desc { font-size: 0.845rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.65; grid-column: 1 / -1; }

/* ── Education / Experience with logos ──────────────── */
.edu-exp-list { display: flex; flex-direction: column; }
.edu-entry, .exp-entry { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.edu-entry:last-child, .exp-entry:last-child { border-bottom: none; }
.org-logo { width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--muted); flex-shrink: 0; overflow: hidden; }
.org-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.edu-degree, .exp-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.edu-inst, .exp-org { font-size: 0.875rem; color: var(--accent); font-weight: 600; margin-bottom: 0.1rem; }
.edu-meta, .exp-meta { font-size: 0.8rem; color: var(--muted); }

/* ── Gallery ────────────────────────────────────────── */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.gallery-item { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--surface); border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; font-size: 0.75rem; padding: 1.5rem 0.65rem 0.55rem; opacity: 0; transition: opacity var(--tr); }
.gallery-item:hover .gallery-caption { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #fff; font-size: 1.75rem; cursor: pointer; opacity: 0.8; padding: 0.25rem; line-height: 1; }
.lb-close:hover { opacity: 1; }

/* ── CV page ────────────────────────────────────────── */
.cv-download-bar { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 2.5rem; font-size: 0.9rem; }
.cv-download-bar .btn { margin-left: auto; }

/* ── Skills ─────────────────────────────────────────── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.skill-group { padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.skill-group-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem; }
.skill-list { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.9rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: all var(--tr); font-family: var(--font); line-height: 1.4; }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-fg); text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); background: var(--tag-bg); text-decoration: none; }
.btn-sm { font-size: 0.8rem; padding: 0.3rem 0.65rem; }

/* ── Footer ─────────────────────────────────────────── */
#site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; font-size: 0.82rem; color: var(--muted); }
.footer-inner { max-width: var(--home-w); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-text { flex: 1; }

/* ── Page header (inner pages) ──────────────────────── */
.page-header { margin-bottom: 2.5rem; padding-top: 3rem; }
.page-header h1 { font-size: 2rem; margin-bottom: 0.35rem; }
.page-header p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ── States ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); font-size: 0.9rem; }
.empty-state .ico { font-size: 2rem; margin-bottom: 0.5rem; opacity: 0.4; }
.loading { text-align: center; padding: 2.5rem; color: var(--muted); font-size: 0.9rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 800px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2.5rem;
  }
  .profile-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }
  .profile-photo, .profile-photo-ph { width: 130px; height: 130px; }
  .profile-links { align-items: center; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  :root { --sb-w: 220px; }
  h1 { font-size: 1.65rem; }
  .page-header h1 { font-size: 1.5rem; }
  .pub-card { grid-template-columns: 1fr; }
  .pub-card .pub-thumb { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 70px 1fr; }
  .item-entry { grid-template-columns: 1fr; }
  .item-year { text-align: left; }
  .pub-search input { width: 130px; }
  .edu-entry, .exp-entry { grid-template-columns: 38px 1fr; }
  .org-logo { width: 38px; height: 38px; }
}

@media print {
  #site-header, #site-footer, .pub-filters, .gallery-filters, .nav-toggle, .lightbox { display: none !important; }
  main { padding-top: 0 !important; }
  .container, .home-layout { max-width: 100%; }
  body { font-size: 11pt; line-height: 1.5; }
  a { color: inherit; }
  .pub-abstract { display: block !important; }
  .home-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
}
