/* colors */
:root {
  --color-link:       #224b8d;
  --color-link-hover: #f09228;
  --color-accent:     #2c3e50;
  --color-track:      #e9ecef;
  --color-line:       #aaa;
  --color-muted:      #999;
  --color-highlight:  red;
}


/* page */
body {
  max-width: 890px;
  margin: 0 auto;
  padding: 65px 24px 60px;
  font-family: Georgia, serif;
  font-size: 16.5px;
}


/* text */
h1 {
  margin: 0.5em 0 1.1em;
  font-size: 1.65em;
  line-height: 1;
}

h2 {
  margin: 1.65em 0 0.6em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--color-line);
  font-size: 1.25em;
  line-height: 1;
}

p {
  margin: 0 0 0.8em;
  line-height: 1.3;
  text-align: justify;
  hyphens: auto;
}

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

a:hover {
  color: var(--color-link-hover);
}

ul {
  margin: 0.2em 0 0.8em;
  list-style-type: square;
}

li {
  margin-top: 0.9em;
}

.oral {
  color: var(--color-highlight);
}


/* header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  flex: none;
  height: 240px;
  border-radius: 6px;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header img {
    height: 180px;
  }
}


/* news */
.news-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.27em;
  max-height: 125px;
  overflow-y: auto;
  margin: 0;
  padding: 0 10px;
  border-left: 4px solid var(--color-accent);
  list-style-type: none;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-track);
}

.news-list li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
  margin: 0 0 0.9em;
}


/* publications */
.pub-note {
  margin-bottom: 0.5em;
}

.pub {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
}

.pub img {
  flex: none;
  width: 205px;
  height: 130px;
  border-radius: 4px;
  object-fit: contain;
}

.pub-content {
  font-size: 0.93em;
  /*text-align: justify;*/
  /*text-justify: inter-word;*/
}

.papertitle,
.pub-authors,
.pub-venue {
  display: block;
  margin-bottom: 0.3em;
}

.papertitle {
  font-weight: bold;
}

@media (max-width: 600px) {
  .pub img {
    display: none;
  }
  /*.pub-content {*/
  /*  text-align: left;*/
  /*}*/
}


/* footer */
footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.93em;
  color: var(--color-muted);
}
