body {
  padding-top: 30px;
  padding-bottom: 20px;
  background-color: #fff;
  font-family: "Georgia", "Times New Roman", serif;
  color: #1a1a1a;
  font-size: 11pt;
  line-height: 1.8em;
  text-align: justify;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

a {
  text-decoration: none;
  color: #0b51c5;
}

a:hover {
  text-decoration: underline;
}

.award {
  color: #c28b00;   /* gold-ish */
  font-weight: bold;
}

p {
  line-height: 1.5;
  margin: 1.5em 0;
}

h1, h2, h3 {
  font-weight: normal;
  color: #111;
}

.section {
  max-width: 900px;
  margin: 0 auto 70px auto;   /* controls spacing between sections */
  margin-bottom: 20px;
}

.section > .title {
  font-size: 18pt;
  color: #414446;
  clear: both;
  margin-bottom: 16px;
}

.section > .title > span {
  border-bottom: 2px solid #999;
  padding-bottom: 0.1em;
  padding-right: 15px;
}

.section > .row {
  clear: both;
}

.section .content > *:first-child {
  margin-top: 0;
}

.section .content {
  margin-bottom: 1em;
}

.section .content.full p {
  margin-bottom: 0.5em;
}

.section .image {
  width: 25%;
  padding: 2.5%;
  margin-right: 2%;
}

.row_paper .image {
  width: 220px;
  height: 160px;
  padding: 0;
  margin-right: 28px;
  overflow: hidden;
  border-radius: 14px;
}

.row_paper .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.row_paper .content {
  width: calc(100% - 248px);
}

#profile-photo img {
  width: 100%;
  border-radius: 24px;
}

.row_paper {
  margin-bottom: 20px;
}

.paper-title {
  font-weight: bold;
  padding-top: 2.5%;
  font-size: 12pt;
  color: #818181;
}

.paper-title a {
  color: #000;
}

.paper-title a:hover {
  color: #f8b35e;
}

.paper .links {
  text-align: left;
  margin-top: 14px;
}

.paper .links a:first-child {
  margin-left: 0;
}

.paper .links a {
  display: inline-block;
  min-width: 78px;
  margin-right: 6px;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 2px 8px;
  background-color: #4779c4;
  color: white;
  font-weight: bold;
  text-align: center;
}

.paper .links a[data-type="Project page"] {
  background-color: #f0ad4e;
  min-width: 110px;
}

.paper .authors {
  color: #333;
}

.paper .conference {
  font-size: 11pt;
  padding-bottom: 10px;
  color: #444;
}

.news_item {
  padding-bottom: 5px;
  padding-left: 5px;
  text-align: left;
}

.news-date {
  font-weight: bold;
}

.news-text {
  color: #1a1a1a;
  padding-left: 5px;
}

.icon-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.icon-links a {
  font-size: 25px;
  margin-right: 18px;
  transition: 0.2s;
}

.icon-links a:hover {
  color: #6fa8ff;   /* light blue */
}

.full {
  width: 100%;
}

footer {
  margin-top: 50px;   /* space above footer */
  height: 40px;       /* optional */
}

@media (max-width: 600px) {
  .row > div {
    float: none;
  }

  .section .content {
    width: 92%;
    margin: 0 auto 2em auto;
  }

  .section .image,
  .row_paper .image,
  #profile-photo {
    width: 80%;
    height: auto;
    padding: 0;
    margin: 0 auto 1.5em auto;
  }

  .row_paper .image img,
  #profile-photo img {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 601px) {
  .row > div {
    float: left;
  }

  /* default image block for project rows */
  .section .image {
    width: 25%;
    padding: 0;
    margin-right: 3%;
  }

  .section .content {
    width: 72%;
  }

  .section .content.full {
    width: 100%;
  }

  /* special layout only for the top intro photo */
  #intro-row {
    display: flex;
    align-items: center;
  }

  #profile-photo {
    float: none;
    width: 30%;
    margin-right: 5%;
    padding: 0;
    flex-shrink: 0;
  }

  #profile-photo + .content {
    float: none;
    width: 65%;
  }
}
