/* =========================
   Global
   ========================= */

body {
  font-size: 17px;
  line-height: 1.35;
  color: #333333;
  text-rendering: optimizeLegibility;
}

html, button, select, textarea {
  font-family: "Carlito", "Noto Sans Korean", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

ul {
  padding: 0;
  list-style-type: none;
  margin: 0;
}

h3 {
  border-bottom: 1px solid #333333;
  margin: 10px 0;
  font-size: 110%;
}

h4 { font-size: 106%; }
h5 { font-size: 105%; }
h6 { font-size: 97%; }

p.small { font-size: 90%; }
li { font-size: 90%; }

/* =========================
   Header
   ========================= */

#header-container {
  padding: 1em 1em 0 1em;
}

#header {
  max-width: 50em;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

#header a {
  text-decoration: none;
}

/* Left photo */
#header-img {
  width: 190px;
  flex-shrink: 0;
  margin-left: 12px;
}

#header-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* Right content */
#header-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Name */
#header h1 {
  font-size: 2.1em;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.4em 0;
  margin-top: 8px;
}

/* Email + links */
.header-link {
  font-size: 95%;
  margin-bottom: 0.4em;
}

.header-block {
  display: block;
  margin-bottom: 0.4em;
}

/* =========================
   Main content
   ========================= */

#content {
  padding: 1em;
  max-width: 50em;
  margin: 0 auto;
}

#content a {
  text-decoration: none;
}

#content-scroll {
  padding: 0;
  max-width: 50em;
  margin: 0 auto;
  overflow-y: scroll;
  max-height: 140px;
}

/* =========================
   Lists / Sections
   ========================= */

ul.interest-list {
  margin: 1em 0 1em 1em;
  list-style-type: square;
}

ul.interest-list li {
  font-size: 90%;
}

ul.member-list {
  columns: 2;
  column-rule: dotted 1px #333;
  margin: 0;
  padding: 0;
}

ul.member-list li {
  list-style: none;
}

ul.member-list span.member-meta {
  font-size: 80%;
  color: #858585;
}

/* =========================
   Publications
   ========================= */

ul.pub-list li {
  list-style: none;
  margin-bottom: 0.5em;
}

ul.pub-list span.pub-header {
  font-weight: 600; 
  text-decoration:underline;
}

.pub-title {
  font-size: 16px;
}

.pub-authors,
.paper-extra,
.paper-links {
  font-size: 14px;
}

ul.pub-list span.pub-authors:after { content:" "; }
a.ppl {color: black;}

ul.pub-links { 
    padding: 0; 
    margin: 0; 
    font-size: 14px; 
}

ul.pub-links li { 
    padding: 0; 
    margin: 0; 
    list-style: none; 
    display: inline; 
}

ul.pub-links li:after {
  content: ", ";
}

ul.pub-links li:last-child:after {
  content: "";
}

/* =========================
   Footer
   ========================= */

footer {
  width: 100%;
  height: 60px;
}

/* =========================
   Blog
   ========================= */

.article {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.date {
  width: 30%;
  color: #888;
}

.title {
  width: 70%;
}

.title a {
  color: #007BFF;
}

.title a:hover {
  text-decoration: underline;
}