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


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

.link-block a {
    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', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

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

.publication-header .hero-body {
}

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

.publication-authors {
    font-family: 'Google 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 {
}

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

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

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

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.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%;
}

.publication-body img {
}

.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 video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* Project-page additions */
:root {
  --accent: #2a9d4b;          /* matches "Proposed" green in the paper figures */
  --accent-soft: #eaf6ee;
  --alt-bg: #f7f8fa;
  --muted: #6b7280;
}

/* Alternating section backgrounds */
.section-alt {
  background: var(--alt-bg);
}

/* Small label above claim-style headings */
.section-kicker {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem !important;
}

/* TL;DR and key-number banner */
.tldr {
  margin-top: 1rem;
  line-height: 1.5;
}

.stat-row {
  margin-top: 1.5rem;
}

.stat-card {
  height: 100%;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  text-align: center;
}

.stat-number {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
}

.stat-label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: #374151;
}

/* Figures and videos */
.media-figure {
  margin: 1.5rem 0;
}

.media-figure img,
.media-figure video {
  width: 100%;
  border-radius: 8px;
}

.media-figure figcaption,
figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* Result tables */
.table-container {
  margin: 1.25rem 0;
}

.results-table {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  background: transparent;
}

.results-table th,
.results-table td {
  vertical-align: middle;
}

.results-table .ours {
  background: var(--accent-soft);
}

.results-table thead .ours {
  color: var(--accent);
}

.good {
  color: var(--accent);
  font-weight: 700;
}

.bad {
  color: #c0392b;
  font-weight: 700;
}

/* Collapsible notes */
details {
  margin: 0.75rem 0 1rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin-top: 0.5rem;
}

/* Keep the three stat cards side by side on phones */
@media screen and (max-width: 768px) {
  .stat-card {
    padding: 0.75rem 0.4rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
  .results-table {
    font-size: 0.8rem;
  }
}

/* Let wide display equations scroll instead of widening the page on phones */
mjx-container[display="true"] {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Justified text leaves large gaps at phone width */
@media screen and (max-width: 768px) {
  .content.has-text-justified {
    text-align: left !important;
  }
}

/* Videos outside .media-figure (side-by-side columns) */
.lazy-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.media-figure video,
.lazy-video,
#teaser {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#teaser {
  width: 100%;
  border-radius: 8px;
}

.video-caption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

/* Small plots look oversized at full column width */
.media-figure.is-narrow-figure img {
  max-width: 560px;
}
