:root {
  --page-width: 960px;
  --text: #222222;
  --muted: #555555;
  --link: #0645ad;
  --rule: #dddddd;
  --soft: #f5f5f5;
  --visited: #0b0080;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-size: 15px;
  line-height: 1.45;
}

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

a:visited {
  color: var(--visited);
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  max-width: var(--page-width);
  margin: 28px auto 36px;
  padding: 0 18px;
}

.profile-header {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.profile-photo img {
  width: 172px;
  height: 212px;
  object-fit: cover;
  border: 1px solid #cccccc;
  padding: 3px;
  background: #ffffff;
}

.profile-info h1 {
  margin: 4px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
}

.profile-info p {
  margin: 3px 0;
}

.profile-info .title {
  font-weight: 700;
}

.email {
  margin-top: 10px;
}

.profile-links {
  margin-top: 12px;
}

.profile-links span,
.paper-body span {
  color: #777777;
  margin: 0 5px;
}

.section {
  padding: 12px 0 2px;
}

h2 {
  margin: 12px 0 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  margin: 14px 0 7px;
  font-size: 16px;
  line-height: 1.25;
}

p {
  margin: 7px 0;
}

ul {
  margin: 6px 0 8px 22px;
  padding: 0;
}

li {
  margin: 4px 0;
}

.news-list {
  margin-left: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  margin: 5px 0;
}

.news-list time {
  color: var(--muted);
  white-space: nowrap;
}

.tutorial-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 8px;
}

.tutorial-item img {
  border: 1px solid #d6d6d6;
  background: #ffffff;
  object-fit: cover;
}

.tutorial-item p {
  margin: 0 0 4px;
}

.venue,
.note {
  color: var(--muted);
}

.paper-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
  list-style: none;
}

.paper-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0;
  background: #eef8fc;
}

.paper-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 4px 3px;
  background: #dfeef8;
  color: #30336f;
  text-align: center;
  text-decoration: none;
}

.paper-pdf img {
  width: 16px;
  height: 20px;
  object-fit: contain;
  margin-bottom: 1px;
}

.paper-pdf span {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 400;
}

.paper-title {
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.paper-body {
  min-width: 0;
  padding: 4px 7px 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.28;
}

.paper-body .paper-authors,
.paper-body .paper-venue {
  color: var(--text);
  margin: 0;
}

.footer {
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .page {
    margin-top: 18px;
    padding: 0 14px;
  }

  .profile-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-photo img {
    width: 150px;
    height: 185px;
  }

  .profile-info h1 {
    font-size: 26px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .tutorial-item {
    grid-template-columns: 92px 1fr;
  }

  .tutorial-item img {
    width: 92px;
    height: 64px;
  }

  .paper-item {
    grid-template-columns: 32px 1fr;
  }

  .paper-pdf {
    min-height: 40px;
    padding: 4px 3px;
  }

  .paper-pdf img {
    width: 15px;
    height: 19px;
  }

  .paper-pdf span {
    font-size: 10px;
  }

  .paper-body {
    padding: 4px 6px;
    font-size: 14px;
    line-height: 1.25;
  }

  .paper-title {
    font-size: 14px;
  }
}
