:root {
  /* neutrals */
  --text: #111111;
  --muted: #6b6b6b;
  --border: #e6e6e6;
  --bg: #ffffff;

  --primary: #05339C;
  --heading-color: var(--primary);
  --link: var(--primary);

  --secondary: #5F9598;
  --venue: var(--primary);
  --pubfile: var(--secondary);

  --accent: #1055C9;
  --award: var(--accent);

  --body-size: 16px;
  --heading-font: 'Inter', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
}




* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.65;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 32px 18px 60px;
}

/* ===== 2 columns ===== */
.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

/* ===== Sidebar ===== */
.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.name {
  margin-top: 12px;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
}

.affil {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.sidebar-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
}

.sidebar-link:hover { text-decoration: underline; }

.sidebar-link i {
  width: 18px;
  text-align: center;
  color: #222;
}

.sidebar-link span {
  font-size: 14px;
  color: #222;
  overflow-wrap: anywhere;
}

/* ===== Main typography ===== */
.content { min-width: 0; }

.body { font-size: var(--body-size); }
.muted { color: var(--muted); }

.section + .section { margin-top: 26px; }

/* heading: unified font & rule */
h2, h3 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0;
}

.section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* Interests | Education split, no box */
.split {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== Education ===== */
.edu-item {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
}

.edu-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #333;
  font-size: 18px;
}

.edu-pursuing {
  color: #777;
}

.edu-degree {
  font-size: var(--body-size); /* unified */
  font-weight: 700;
}

.edu-year {
  font-weight: 400;
  color: var(--muted);
}

.edu-line {
  font-size: var(--body-size); /* unified */
}

.edu-line a {
  color: #000000; 
}


/* ===== Publications (simple, like reference) ===== */
.pub-list { margin-top: 6px; }

.pub {
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--border);
}

.pub-title {
  font-size: var(--body-size);
  font-weight: 800;
  margin-bottom: 2px;
}

.pub-authors {
  font-size: var(--body-size);
  color: var(--muted);
  margin-bottom: 2px;
}

.pub-authors .me {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pub-meta {
  font-size: var(--body-size);
}

.pub-venue {
  font-style: italic;
  color: var(--venue);
  margin:0;
  font-weight: 600;
}

.pub-year {
  font-style: italic;
}

.pub-links {
  margin-left: 8px;
}

.pub-links a {
  color: var(--pubfile);
  text-decoration: none;
}
.pub-links a:hover { text-decoration: underline; }

.pub-award {
  margin-top: 4px;
  font-size: var(--body-size);
  font-style: italic;
  color: var(--award);
}

/* ===== Footer ===== */
.footer {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 8px;
  }
  .split { grid-template-columns: 1fr; }
}
.interests {
  margin: 0;
  padding-left: 18px;   /* bullet 들여쓰기 */
  font-size: var(--body-size);
}

.interests li {
  margin: 2px 0;
}
