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

img.invert {
   -webkit-filter: invert(1);
   filter: invert(1);
}

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

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

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

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

.zoom-container .column {
  padding: 0;
  font-size: 0;
  background: #000;
  background-color: #fff;
}

.zoom-container canvas {
  width: 100%;
  background-color: #fff;
}

.zoom-gt-container {
  padding: 0;
  border: 1px solid #000;
  background-color: #fff;
}

.zoom-gt-img {
  display: none;
}

.zoom-lens {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.zoom-lens:first-child {
  border-top: 1px solid #000;
}

.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;
    font-size: 3.0em;
}

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

.publication-venue {
    margin-top: 0.5em;
    font-family: 'Google Sans', sans-serif;
}

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

.video-comparison {
  font-size: 0;
}

.label-columns > .column {
  padding: 0.1em;
  padding-bottom: 0.5em;
  font-size: 1.3em;
}

.tabs-widget > .tabs-content > div {
  display: hidden;
}

.tabs-widget em {
    font-family: "Times New Roman", Times, serif;
    font-style: italic; /* ensures italics like LaTeX */
    font-weight: 1700;   /* keep normal weight */
}

/* Tabs layout: left column with 3 stacked labels, right column with content */

.tabs-layout {
  display: flex;
  gap: 1rem;
  align-items: stretch;   /* match heights between left and right */
}

/* Left column with 3 stacked sections */
.tabs-side-labels {
  flex: 0 0 2rem;        /* width of the label column; tweak as needed */
  display: flex;
  flex-direction: column;
}

.tabs-side-labels .label-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* font */
  font-family: "Times New Roman", Times, serif;
  font-weight: 530;
  font-size: 1.3rem;

  /* vertical text */
  writing-mode: vertical-lr;
  text-orientation: mixed;

  /* border-bottom: 1px solid #ddd; optional */
  transform: rotate(180deg);
}

/* remove bottom border on last row */
.tabs-side-labels .label-row:last-child {
  border-bottom: none;
}

/* Right column (videos) */
.tabs-layout .tabs-content {
  flex: 1 1 auto;
}

.content video {
  width: 100%;
  height: auto;
  display: block;
}

/* Site navigation */
html {
  scroll-behavior: smooth;
}

.site-nav {
  --site-nav-height: 64px;
  position: sticky;
  top: 0;
  z-index: 9999;
  height: var(--site-nav-height);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.95));
  backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

.site-nav .nav-inner {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0 0.75rem;
  height: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  color: #0b2546;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 12rem;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: background .15s, color .15s, transform .08s;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(24,98,214,0.12);
  color: #043a9b;
  transform: translateY(-1px);
}

.nav-link.active {
  background: #1862d6;
  color: #fff;
  box-shadow: 0 4px 10px rgba(24,98,214,0.25);
}

@media (max-width: 640px) {
  .nav-link { padding: 0.6rem 0.9rem; font-size: 1rem; }
}

/* focus state for accessibility */
.nav-link:focus {
  outline: 3px solid rgba(66,134,244,0.18);
  outline-offset: 2px;
}

/* Ensure headings aren't hidden behind the sticky nav when jumped-to */
h1, h2, h3, h4, .title, .publication-title {
  scroll-margin-top: calc(var(--site-nav-height) + 12px);
}

.method-figure {
  margin: 1rem 0 1.5rem;
}

.method-figure object {
  width: 100%;
  height: min(72vh, 980px);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
}

.inter-photon-figure-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
}

.inter-photon-figure-row img {
  flex: 1 1 0;
  width: 50%;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .inter-photon-figure-row {
    flex-direction: column;
  }

  .inter-photon-figure-row img {
    width: 100%;
    max-width: 100%;
  }
}