body {
  font-family: 'Noto Sans', sans-serif;
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
}

.publication-subtitle {
  font-family: 'Google Sans', sans-serif;
  color: #4a4a4a;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

.figure-caption {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-top: 0.75rem;
}

.key-numbers {
  margin-top: 1.5rem;
}

.key-numbers .heading {
  letter-spacing: 0.05em;
}

.key-numbers .title {
  font-family: 'Google Sans', sans-serif;
  color: #1f4e89;
}

/* Result tables. */
.results-table {
  font-size: 0.9rem;
  margin: 0 auto;
}

.results-table th,
.results-table td {
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

.results-table th:first-child,
.results-table td:first-child {
  text-align: left !important;
}

.results-table td.group-row {
  font-style: italic;
  color: #7a7a7a;
  text-align: left !important;
  background: #fafafa;
}

.results-table tr.ours td {
  background: #eaf1fb;
}

.results-table .col-mean {
  border-left: 2px solid #dbdbdb;
}

.results-table .second {
  text-decoration: underline;
}

.table-note {
  font-size: 0.85rem;
  color: #7a7a7a;
  margin-top: 0.5rem;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.publication-title,
.publication-subtitle {
  text-wrap: balance;
}

.content pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.key-numbers {
  margin-bottom: 2.5rem !important;
}

.key-numbers .title {
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2.5rem !important;
  }

  .publication-subtitle {
    font-size: 1.3rem !important;
  }

  .publication-authors.is-size-5 {
    font-size: 1.05rem !important;
  }

  .has-text-justified {
    text-align: left !important;
  }

  .key-numbers .title {
    font-size: 1.6rem;
  }

  .results-table {
    font-size: 0.8rem;
  }

  .results-table th:first-child,
  .results-table td:first-child {
    white-space: normal;
    min-width: 8.5rem;
  }

  .results-table td.group-row {
    white-space: nowrap;
  }
}

.nw {
  white-space: nowrap;
}

/* Accent colors, taken from the blue of the result figure. */
:root {
  --accent: #1f4e89;
  --accent-soft: #eaf1fb;
  --accent-mid: #cfe0f5;
  --up: #1e7b3a;
  --up-bg: #e3f4e8;
  --down: #b3261e;
  --flat: #7a7a7a;
}

.publication-title {
  color: var(--accent);
}

.section .title.is-3,
#BibTeX .title {
  color: var(--accent);
  border-left: 5px solid #4a86c8;
  padding-left: 0.6rem;
}

.columns.has-text-centered .title.is-3 {
  border-left: none;
  padding-left: 0;
}

.figure-caption b {
  color: var(--accent);
}

.key-numbers .column {
  border-top: 3px solid var(--accent-mid);
}

.results-table thead th {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent) !important;
}

.results-table td.best {
  background: var(--up-bg);
}

.results-table tr.ours td {
  background: var(--accent-mid);
}

.results-table tr.ours td.best {
  background: #c4e6cf;
}

.results-table td.group-row {
  background: var(--accent-soft);
  color: var(--accent);
}

.results-table .dcol {
  background: #fbfcfe;
}

.results-table tr.ours .dcol {
  background: var(--accent-mid);
}

.delta {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.dcol .delta {
  font-size: 0.85rem;
}

.delta.up {
  color: var(--up);
}

.delta.down {
  color: var(--down);
}

.delta.flat {
  color: var(--flat);
}

.tie {
  font-size: 0.75rem;
  color: var(--flat);
}

.content pre {
  border-left: 4px solid #4a86c8;
  background: var(--accent-soft);
}

.footer {
  border-top: 3px solid var(--accent-mid);
}

/* Keep the wide tables inside the page column: they scroll on their own when they cannot fit. */
.columns > .column {
  min-width: 0;
}

.table.results-table.is-narrow td,
.table.results-table.is-narrow th {
  padding: 0.3em 0.4em;
}

.results-table {
  font-size: 0.82rem;
}

.results-table thead th {
  white-space: normal;
  line-height: 1.2;
  vertical-align: middle !important;
}

.results-table thead th {
  white-space: nowrap;
}

.results-table thead th.wrap {
  white-space: normal;
  min-width: 5.5rem;
}
