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

.section-alt-a {
  background: #ffffff;
}

.section-alt-b {
  background: #f2f3f5;
}

#BibTeX pre {
  background: #f2f3f5;
  border: 1px solid #dcdde1;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}


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

/* Hero backdrop: soft tinted gradient */
.pub-hero {
    background:
        radial-gradient(1200px 400px at 50% -120px, rgba(75, 110, 245, 0.10), transparent 70%),
        linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

/* Venue pill */
.pub-venue-eyebrow {
    margin: 0.25rem 0 1.6rem;
}
.pub-venue-eyebrow span {
    display: inline-block;
    font-family: 'Google Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3457d5;
    padding: 0.32rem 0.95rem;
    border: 1.5px solid rgba(52, 87, 213, 0.3);
    border-radius: 999px;
    background: rgba(75, 110, 245, 0.06);
}

.publication-brand {
    font-family: 'Google Sans', sans-serif;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.015em;
    background: linear-gradient(95deg, #2846c0, #4b6ef5 55%, #6d54e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.publication-subtitle {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #363a45;
    max-width: 880px;
    margin: 0 auto 1.9rem;
}

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

/* ── Author / affiliation / venue block ── */

.pub-author-row {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.75;
  max-width: 940px;
  margin: 0 auto 1rem;
}

.pub-author-row .author-block {
  margin: 0 0.12rem;
}

.pub-author-row a {
  color: #2846c0 !important;
  transition: color 0.15s;
}

.pub-author-row a:hover {
  color: #4b6ef5 !important;
  text-decoration: underline;
}

.pub-author-row sup {
  color: #3457d5;
  font-weight: 700;
  font-size: 0.62em;
}

.pub-affil-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.4rem;
  max-width: 1000px;
  margin: 0 auto 1rem;
  color: #5a5f6b;
  font-size: 0.95rem;
}

.pub-affil-row .affil-item {
  white-space: nowrap;
}

.pub-affil-row sup {
  color: #3457d5;
  font-weight: 700;
  margin-right: 0.15rem;
  font-size: 0.68em;
}

.pub-note-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  color: #99a;
  font-size: 0.84rem;
  margin-bottom: 1.75rem;
}

.pub-note-mark {
  color: #3457d5;
  font-weight: 700;
}

.pub-note-sep {
  color: #c8ccd6;
  font-size: 0.7rem;
}

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

/* ── Teaser video placeholder ── */

.teaser-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.teaser-video-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

.teaser-video-inner .fas {
  font-size: 4rem;
  margin-bottom: 0.75rem;
  display: block;
}

.teaser-video-inner p {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}


/* ── Method tab switcher ── */

.method-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 2rem 0 0;
  border-bottom: 1.5px solid #e0e0e0;
}

.method-tab {
  padding: 0.5rem 1.4rem;
  border: none;
  background: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #aaa;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.method-tab:hover { color: #555; }

.method-tab.active {
  color: #3457d5;
  border-bottom-color: #3457d5;
  font-weight: 700;
}

.method-panel { display: none; }

.method-panel.active {
  display: block;
  animation: method-fade 0.25s ease both;
}

@keyframes method-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Method figures: full-width inside panels, 75% standalone ── */

.method-figure {
  margin: 1.5rem auto 0;
  width: 75%;
}

.method-figure img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.method-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: #555;
  text-align: left;
  line-height: 1.6;
}


/* ── Group carousel ── */

.group-carousel-wrapper {
  margin-top: 0.5rem;
}

/* Tab-style dots — above the slides */
.group-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* Stage: positioning context for arrow buttons */
.group-carousel-stage {
  position: relative;
  padding: 0 2.2rem;
}

/* Viewport clips the off-screen slides; height transitions smoothly */
.group-slide-viewport {
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Track lays all slides in a horizontal row and slides between them */
.group-slide-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each slide occupies exactly one viewport-width slot */
.group-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* Arrow buttons — vertically centred on the stage */
.group-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s;
}
.group-carousel-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
.group-carousel-prev { left: -0.2rem; }
.group-carousel-next { right: -0.2rem; }

.group-carousel-dot {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid #ccc;
  background: #fff;
  color: #666;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Google Sans', sans-serif;
}

.group-carousel-dot.active {
  background: #3457d5;
  border-color: #3457d5;
  color: #fff;
}


/* ── Demo gallery (original stack / row layout) ── */

.demo-section-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.demo-section-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #3457d5;
  margin-bottom: 0.75rem;
}

.demo-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 1rem;
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.demo-row .demo-card {
  flex: 1 1 380px;
  max-width: 480px;
}

.demo-card {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.demo-card-body {
  padding: 1rem 1.2rem 1.4rem;
}

.demo-card-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.demo-card-desc {
  color: #444;
  font-size: 0.95rem;
}

.demo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef1fb;
  color: #3457d5;
  margin-bottom: 0.5rem;
  width: fit-content;
}


/* ── Video grid & 16:9 placeholder ── */

.demo-video-grid {
  display: grid;
  gap: 3px;
  background: #e8e8e8;
}

.demo-video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.demo-video-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.demo-video-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.demo-video-cell {
  position: relative;
  background: #fff;
  line-height: 0;
}

/* Video placeholder — white background, 4:3 by default */
.video-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

.video-ph video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.demo-video-label {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.3;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.demo-video-single .video-ph {
  border-radius: 0;
}
