body {
  font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.title,
.subtitle,
.content,
.button {
  font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

strong {
  font-family: "Lato", Helvetica, sans-serif;
  font-weight: bold;
}

/* Keep section spacing at 60% of the default 3rem. */
.section {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

/* Figures and videos sit right against the paragraph that explains them otherwise. */
.section img,
.section video {
  display: block;
  margin: 0.75rem auto 1.75rem;
}


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

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

.dnerf {
  font-variant: small-caps;
}


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

.teaser {
  font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}


.publication-title {
    font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.publication-banner {
  max-height: parent;
}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-authors {
    font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

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

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

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

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel img,
.results-carousel video {
  margin: 0;
  width: 100%;
}

/* Quantitative results: readable numeric columns and paired, expandable plots. */
.results-table-wrap { overflow-x: auto; margin: 0 auto 0.8rem; }
.results-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; color: #666; font-size: 0.95rem; padding-bottom: 0.75rem; }
.results-table th, .results-table td { padding: 0.8rem 1rem; text-align: center; white-space: nowrap; border-bottom: 1px solid #e4e8ec; }
.results-table th:first-child { text-align: left; }
.results-table thead { background: #f5f7f9; border-top: 2px solid #667686; }
.results-table thead th { font-weight: 600; color: #394553; }
.results-table th span { font-weight: 400; }
.results-table .ours { background: #edf5fb; }
.results-table .ours th, .results-table .ours strong { color: #245d83; }
.metric-note { color: #687078; font-size: 0.88rem; line-height: 1.5; margin-bottom: 1.25rem; }
.results-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 1.75rem 0 1.25rem; }
.results-figures figure { margin: 0; min-width: 0; }
.results-figures img { width: 100%; height: auto; margin: 0 0 0.65rem; }
.results-figures figcaption { text-align: center; color: #66717b; font-size: 0.9rem; }
@media screen and (max-width: 768px) {
  .results-figures { grid-template-columns: 1fr; }
  .results-table th, .results-table td { padding: 0.65rem 0.6rem; font-size: 0.85rem; }
}

.publication-title .ditsg-accent {
  color: #2389ff;
  background: linear-gradient(90deg, #1680f5, #539fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
