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

/* ---- added for Polarimetric Environment Map project page ---- */
.citation-box { position: relative; }
.citation-box pre { padding-top: 3.25rem; border-radius: 6px; }
.citation-copy {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 5px 12px;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  background: #fff;
  color: #363636;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.citation-copy:hover { background: #eee; }
.citation-copy:focus-visible { outline: 2px solid #3273dc; outline-offset: 2px; }

.publication-links .brand-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.publication-links .brand-icon-github { filter: invert(1); }

.dataset-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 auto 1.5rem;
  border-radius: 6px;
}

.comparison-caption {
  max-width: 768px;
  margin: 1.25rem auto 2.5rem;
}

.render-viewer {
  max-width: min(768px, calc(100svh - 230px));
  min-width: min(100%, 320px);
  margin: 0 auto;
}

.render-comparison {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: 6px;
  background: #f4f4f4;
}

.render-comparison > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.render-penvmap {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.render-label-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.render-label-layer-left {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.render-label-layer-right {
  clip-path: inset(0 0 0 var(--split));
}

.render-label {
  position: absolute;
  top: 16px;
  z-index: 1;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: -1px -1px 1px #222, 1px -1px 1px #222,
               -1px 1px 1px #222, 1px 1px 1px #222;
  pointer-events: none;
}

.render-label-left { left: 20px; }
.render-label-right { right: 20px; }

.render-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 2;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px #444;
  transform: translateX(-50%);
  pointer-events: none;
}

.render-handle {
  position: absolute;
  top: 50%;
  left: var(--split);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #666;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 24px;
  box-shadow: 0 1px 5px #0003;
  transform: translate(-50%, -50%);
}

.render-comparison { cursor: grab; touch-action: pan-y; user-select: none; }
.render-comparison.is-dragging { cursor: grabbing; }
.render-handle { cursor: ew-resize; touch-action: none; }
.render-handle:focus-visible { outline: 3px solid #3273dc; outline-offset: 3px; }

.render-comparison:focus-within {
  outline: 3px solid #3273dc;
  outline-offset: 3px;
}

.render-components {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.render-components button {
  min-width: 48px;
  padding: 7px 10px;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  background: #fff;
  color: #363636;
  font: inherit;
  cursor: pointer;
}

.render-instructions { margin: 12px 0; color: #666; font-size: 13px; }
.render-controls { display: flex; align-items: center; justify-content: center; gap: 8px; }
.render-controls button {
  min-height: 40px; padding: 7px 12px; border: 1px solid #dbdbdb;
  border-radius: 5px; background: #fff; color: #363636; font: inherit; cursor: pointer;
}
.render-controls button:hover { background: #f4f4f4; }
.render-controls button[aria-pressed="true"] { background: #363636; color: #fff; }
.render-controls button:focus-visible { outline: 3px solid #3273dc; outline-offset: 2px; }
.render-controls output { min-width: 65px; font-size: 13px; font-variant-numeric: tabular-nums; }

.render-components button:hover { border-color: #999; }
.render-components button[aria-pressed="true"] {
  border-color: #363636;
  background: #363636;
  color: #fff;
}
.render-components button:focus-visible {
  outline: 3px solid #3273dc;
  outline-offset: 2px;
}
.render-error { margin-top: 12px; color: #b42318; }

.comparison-slider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
  --divider-width: 2px;
  --divider-color: #ffffff;
  --default-handle-opacity: 0.9;
}
.comparison-slider img { display: block; width: 100%; }
.results-carousel .item img { width: 100%; border-radius: 5px; }

.render-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.render-canvas[hidden], .render-motion[hidden] { display: none; }
#render-play { min-width: 44px; }
