/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Palatino Linotype', Palatino, Georgia, serif; color: #333; background: #fff; font-size: 17px; line-height: 1.6; }
a { color: #18453b; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header { background: #18453b; padding: 0 2rem; }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; height: 56px; gap: 2rem; }
.site-title { color: #fff; font-size: 1.25rem; font-weight: bold; white-space: nowrap; }
.site-title:hover { text-decoration: none; opacity: 0.9; }
.site-nav { display: flex; gap: 1.5rem; flex: 1; }
.site-nav a { color: #fff; font-size: 0.95rem; }
.site-nav a:hover { text-decoration: none; opacity: 0.8; }
.search-btn { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; margin-left: auto; }

/* Home layout */
.home-container { max-width: 1100px; margin: 3rem auto; padding: 0 2rem; display: flex; gap: 4rem; align-items: flex-start; }

/* Sidebar */
.sidebar { width: 220px; flex-shrink: 0; text-align: center; }
.profile-photo { width: 200px; height: 200px; object-fit: cover; display: block; margin: 0 auto 1rem; }
.sidebar-name { font-size: 1.2rem; font-weight: bold; margin-bottom: 0.4rem; }
.sidebar-title { font-size: 0.85rem; color: #666; margin-bottom: 0.2rem; }
.sidebar-institution { font-size: 0.85rem; color: #666; margin-bottom: 1rem; }
.social-links { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.social-links a { color: #18453b; font-size: 1.3rem; }
.social-links a:hover { opacity: 0.7; }

/* Bio content */
.bio-content { flex: 1; }
.bio-content h1 { font-size: 2rem; font-weight: normal; margin-bottom: 1rem; }
.bio-content p { margin-bottom: 1rem; }
.bio-content ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.bio-content ul li { margin-bottom: 0.5rem; }

/* Page layout (papers, teaching, contact) */
.page-container { max-width: 900px; margin: 3rem auto; padding: 0 2rem; }
.page-title { font-size: 2rem; font-weight: normal; margin-bottom: 1.5rem; border-bottom: 1px solid #ddd; padding-bottom: 0.5rem; }
.page-content p { margin-bottom: 1rem; }
.page-content h2 { font-size: 1.2rem; margin: 1.5rem 0 0.3rem; }
.page-content ul { padding-left: 1.4rem; margin-bottom: 1rem; }

/* Paper list items */
.list-item { border-bottom: 1px solid #eee; padding: 1.2rem 0; }
.list-item h2 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.list-item h2 a { color: #18453b; }
.authors { font-size: 0.9rem; color: #555; margin-bottom: 0.2rem; }
.venue { font-size: 0.9rem; color: #555; margin-bottom: 0.4rem; }
.paper-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.2rem 0.7rem; border: 1px solid #18453b; border-radius: 3px; font-size: 0.82rem; color: #18453b; }
.btn:hover { background: #18453b; color: #fff; text-decoration: none; }

/* Footer */
.site-footer { text-align: center; padding: 2rem; font-size: 0.85rem; color: #999; border-top: 1px solid #eee; margin-top: 4rem; }
.site-footer a { color: #999; }

/* Responsive */
@media (max-width: 700px) {
  .home-container { flex-direction: column; gap: 2rem; }
  .sidebar { width: 100%; }
  .header-inner { gap: 1rem; }
}
