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

.top-cover-wrap {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.top-cover-image {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .top-cover-wrap {
    margin-bottom: 1rem;
  }
}


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

.visualization-section {
  background: #f8fafc;
}

.viz-subsection {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.viz-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

/* ── carousel outer ── */
.viz-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── scrollable track ── */
.viz-carousel-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding: 0 2px 4px;
}
.viz-carousel-track::-webkit-scrollbar { display: none; }

/* ── per-view widths ── */
.viz-carousel-track[data-per-view="2"] .viz-slide {
  flex: 0 0 calc(50% - 2px);
}
.viz-carousel-track[data-per-view="3"] .viz-slide {
  flex: 0 0 calc(33.333% - 3px);
}

/* ── individual slide ── */
.viz-slide {
  scroll-snap-align: start;
  overflow: hidden;
}
.viz-slide img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: #ebf0f496;
}

.viz-slide .viz-slide-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  text-align: center;
  padding: 6px 4px 2px;
}

/* ── arrow buttons ── */
.viz-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
  font-size: 1.4rem;
  line-height: 1;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s, opacity 0.15s;
  z-index: 2;
  padding: 0;
}
.viz-arrow:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}
.viz-prev { margin-right: 8px; }
.viz-next { margin-left: 8px; }

@media screen and (max-width: 640px) {
  .viz-carousel-track[data-per-view="2"] .viz-slide,
  .viz-carousel-track[data-per-view="3"] .viz-slide {
    flex: 0 0 calc(80% - 5px);
  }
  .viz-slide img { height: 340px; }
  .viz-arrow { width: 28px; height: 28px; font-size: 1.1rem; }
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}

/* ── Method diagram ── */
.method-section {
  background: #ffffff;
}

.diagram-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
}

.diagram-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.diagram-caption {
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.55;
  border-top: 1px solid #e5e7eb;
  background: #fafafa;
}

/* ── Failure cases ── */
.failure-note {
  margin-top: 1.2rem;
  padding: 14px 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.55;
}
