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


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

.link-block a {
    margin: 5px 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;
}

/* ------- C2P2 additions ------- */

.figure-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

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

/* Let information-dense figures break out of the 960px text column */
.figure-wide {
  --figure-wide: 1216px;
  width: min(var(--figure-wide), calc(100vw - 2rem));
  margin-left: 50%;
  transform: translateX(-50%);
}

.figure-wide.teaser-figure {
  --figure-wide: 1040px;
}

/* equal-height panels: figure centred in its slot, captions share one baseline */
.teaser-panel {
  display: flex;
  flex-direction: column;
}

.teaser-panel-img {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* per-panel captions under the teaser figures */
.teaser-caption {
  text-align: center;
  margin-top: 0.75rem;
}

.teaser-tag {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
}

.teaser-tag.is-a {
  color: #34589f;
  background: #e6eefb;
}

.teaser-tag.is-b {
  color: #b95c15;
  background: #fcecdd;
}

.teaser-caption p {
  margin: 0.55rem auto 0;
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #555;
}

/* keep the surrounding column at text width: only the figure breaks out */
.column.has-wide-figure {
  min-width: 0;
}

/* the hero container is a flex item whose automatic minimum would otherwise
   be stretched by the breakout figure on screens narrower than the max-width */
.hero > .container {
  width: 100%;
  min-width: 0;
}

/* Framework figure placeholder (replaced once the real figure arrives). */
.placeholder-box {
  border: 2px dashed #c9dcf5;
  border-radius: 10px;
  background: #fafcff;
  padding: 4rem 1rem;
  text-align: center;
  color: #8a9bb5;
}

.placeholder-box .icon {
  display: block;
  width: auto;
  margin: 0 auto 0.6rem;
  font-size: 2.2rem;
}

.placeholder-box p {
  font-size: 0.95rem;
}

/* ---- Paper-style (booktabs) results tables: black rules, no shading ---- */

.results-table {
  font-family: 'Castoro', 'Times New Roman', serif;
  font-size: 0.88rem;
  line-height: 1.25;
  border-collapse: collapse;
  margin: 0 auto 1rem;
}

.results-table th,
.results-table td {
  border: none;
  padding: 0.26em 0.55em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #000;
}

.results-table td.method-cell,
.results-table th.method-cell {
  text-align: left;
  padding-left: 0.35em;
}

.results-table sup {
  font-size: 0.68em;
}

/* \toprule (row-level so that row-spanning header cells are covered too) */
.results-table thead tr:first-child {
  border-top: 2px solid #000;
}

/* \cmidrule(lr){...}: trimmed rule drawn only under the column-group label */
.results-table .group-cell {
  font-weight: 700;
  padding-bottom: 0.2em;
  background-image: linear-gradient(#000, #000);
  background-position: center bottom;
  background-size: calc(100% - 1.6em) 1px;
  background-repeat: no-repeat;
}

/* \midrule under the metric names */
.results-table tr.metrics {
  border-bottom: 1px solid #000;
}

.results-table tr.metrics th {
  padding-top: 0.34em;
}

/* \midrule between method blocks */
.results-table tr.group-start {
  border-top: 1px solid #000;
}

/* \bottomrule */
.results-table tbody tr:last-child {
  border-bottom: 2px solid #000;
}

.results-table .checkmark {
  font-weight: 700;
}

.results-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
}

.math-inline {
  font-family: 'Castoro', 'Times New Roman', serif;
  font-style: italic;
}

.video-card {
  display: block;
  width: 100%;
  border-radius: 10px;
  background: #0f0f12;
  border: 1px solid #e4e4e4;
}

.video-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.video-label .video-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #363636;
}

.video-label.ours .video-name {
  color: #3273dc;
}

.video-label .tag {
  font-size: 0.7rem;
  height: 1.7em;
  padding-left: 0.65em;
  padding-right: 0.65em;
}
