
* { box-sizing: border-box; }
html { scroll-behavior: smooth; } 
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #000000;      
  line-height: 1.6;
}

.topbar {
  position: sticky;    
  top: 0;
  z-index: 1000;
  background: #000000;  
  border-bottom: 1px solid #000;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 24px;
  font-size: 20px;
}

.nav a {
  color: #ffffff;        
  text-decoration: none;
  font-weight: 600;
  padding: 6px 2px;
}
.nav a:hover {
  text-decoration: underline; 
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

.home {
  display: grid;
  grid-template-columns: 1fr 1.2fr;  /* left photo, right info */
  gap: 28px;
  align-items: start;
  padding: 24px 0 0;
}

.home__photo img {
  max-width: 345px; 
  max-height: 325px;     
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #f5f5f5;
  margin-top: 12px;
}

/* Right: info */
.home__name {
  margin: 0;
  font-size: 40px;      
  font-weight: 600;
  color: #000000;
}

.home__affil {
  margin: 0px 0 0 0;     
  font-size: 24px;
  color: #000000;     
  line-height: 1.4;
}

.home__subhead {
  margin: 36px 0 0 0px; 
  font-size: 18px;
  font-weight: 700;    
  color: #000000;
}

/* Links header spacing */
.home__subhead--links {
  margin: 19px 0 -4px 0;  
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

/* Email line */
.home__email {
  margin: 0 0 4px 0;
  color: #000000;
}

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #f3f4f6;
  padding: 2px 1px;
  border-radius: 6px;
  display: inline-block;
}

.home__links { 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
}

.home__links .home__link { 
    display: block; 
    line-height: 1.5; 
}


.section {
  padding: 16px 0;
}

.section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 650;     
  color: #000000;
}

.section__rule {
  width: 100%;
  height: 2px;
  background: #000000; 
  margin: 8px 0 16px;
}

@media (max-width: 800px) {
  .home {
    grid-template-columns: 1fr;      /* stack image and text */
  }
  .home__photo img {
    width: 220px;
    height: 220px;
  }
  .home__name { font-size: 30px; }
}
/* Paragraph only in the About section */
#about p {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: 0.05px;
  margin: 10px 0;
}

/* Paragraph only in the Research Interests section */
#research_interests p {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: 0.05px;
  margin: 10px 0;
}

#about .jobmarket strong {
  font-weight: 900;      
  font-size: 18px;
  color:blue
}

.papers {
  list-style:disc;
  padding: 0;
  margin: 0;
  margin-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;       
}

.paper {
  margin: 0;
}

.papername a {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: #0645ad;  
  text-decoration: none;
}

.authorname {
  display: block;
  margin-top: 0;
  color: #111;  
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.conf {
  display: block;
  margin-top: 1px;
  font-size: 18px;
  color: #444;
  line-height: 1.5;
  font-weight: 600;
}

.papers__subhead {
  margin: 5px 0 5px 0;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

/* Legend box above Preprints */
.papers__legend {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: #222;
  margin: 6px 0 16px;     
  padding: 8px 10px;
  background: #f7f7f7;    
  border-left: 4px solid #000; 
  border-radius: 4px;
}

.papers__legend sup {
  font-size: 0.8em;  
}





