body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #f5f5f5;
  height: 100%;
  width: 100%;
  padding: 15px;
}


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

.wrapper {
    box-shadow: 0 0 3px #696969;
    background-color: #ffffff;
    margin: auto;
    min-width:800px;
    overflow: hidden;
    width: 95%;
}

section:nth-of-type(even) {
  background-color:  #f9f9f9;
}

/* .title {
  border-bottom: 1px dashed rgba(0,0,0,0.25);
} */

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

/* ---- RDM additions ---- */

.figure-block {
  margin: 1.5rem 0;
}

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

.figure-caption {
  text-align: left;
  font-size: 0.92rem;
  color: #444;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
  margin: 1rem 0;
}

.results-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
  min-width: 760px;
}

.results-table th,
.results-table td {
  padding: 0.4em 0.7em;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  white-space: nowrap;
}

.results-table thead th {
  border-bottom: 2px solid #333;
  font-weight: 600;
}

.results-table tbody tr.section-row td {
  text-align: left;
  font-weight: 700;
  background-color: #f0f0f0;
  border-top: 2px solid #333;
}

.results-table tbody tr.ours td {
  font-weight: 700;
}

.results-table td.method-name,
.results-table th.method-name {
  text-align: left;
  white-space: normal;
}

.cell-best {
  background-color: #ffc7a2;
}

.cell-mid {
  background-color: #f2e8c3;
}

.cell-worst {
  background-color: #d0d0d0;
}

.legend-swatch {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  border-radius: 2px;
  margin-right: 0.35em;
  vertical-align: middle;
}

/* Qualitative video gallery */

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.video-gallery video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #111;
  display: block;
}

.video-caption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

.gallery-placeholder {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #888;
  background: #fafafa;
}

.gallery-placeholder .icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
  color: #aaa;
}
