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

/* ---- header / publication block ---- */

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

.publication-title .title-keep {
  white-space: nowrap;
}

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

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

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

.author-block {
  display: inline-block;
}

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

.publication-links .button:focus,
.publication-links .button:focus-visible,
.publication-links .button:active {
  outline: none !important;
  box-shadow: none !important;
}

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

/* ---- figures ---- */

.item img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-caption {
  font-size: 0.87rem;
  font-style: italic;
  line-height: 1.55;
  color: #6a6a6a;
  text-align: justify;
  margin: 1rem auto 2rem;
  max-width: 85%;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e2e2;
}

.subfigure-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: #4a4a4a;
  margin-top: 0.4rem;
}

/* ---- demo videos ---- */

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.demo-cell video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
}

.demo-cell-label {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1rem;
  text-align: center;
  margin-top: 0.6rem;
  color: #4a4a4a;
}

.demo-cell-label .verdict-bad {
  color: #c0392b;
  font-weight: 600;
}

.demo-cell-label .verdict-good {
  color: #1f8a4c;
  font-weight: 600;
}

/* ---- results tables (booktabs-like) ---- */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  white-space: nowrap;
  background: #fff;
  border-bottom: 2px solid #2f2f2f;
}

.results-table th,
.results-table td {
  padding: 0.4rem 0.55rem;
  text-align: center;
  vertical-align: middle;
  border: none;
}

.results-table thead th {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: #2f2f2f;
  border-bottom: 1px solid #d0d0d0;
}

.results-table thead tr:first-child th {
  border-top: 2px solid #2f2f2f;
}

.results-table thead tr:last-child th {
  border-bottom: 1.5px solid #2f2f2f;
}

.results-table .has-text-left {
  text-align: left;
}

.results-table tr.group-head td {
  text-align: left;
  font-style: italic;
  color: #6a6a6a;
  padding-top: 0.7rem;
}

.results-table tr.rule-above td {
  border-top: 1px solid #d0d0d0;
}

.results-table tbody tr.is-ours {
  background: #f0f0f0;
}

.results-table tbody tr.is-chance,
.results-table tbody tr.is-chance td {
  color: #909090;
}

@media screen and (max-width: 768px) {
  .results-table {
    font-size: 0.72rem;
  }

  .figure-caption {
    max-width: 100%;
  }
}
