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

.publication-title,
.publication-authors,
.publication-venue,
.teaser {
  font-family: "Google Sans", sans-serif;
}

.publication-title {
  line-height: 1.15;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover,
.content a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-author-list {
  font-weight: 600;
  white-space: nowrap;
}

.publication-affiliations {
  margin-top: 0.8rem;
  line-height: 1.55;
  white-space: nowrap;
}

.publication-affiliations .author-block + .author-block {
  margin-left: 1.25rem;
}

.publication-notes {
  margin-top: 0.45rem;
  line-height: 1.45;
  white-space: nowrap;
}

.publication-venue {
  margin-top: 0.5rem;
  color: #555;
  font-weight: 600;
}

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

.link-block .icon {
  font-size: 1rem;
}

.link-block .brand-icon {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.project-video-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto !important;
}

.project-video-inner > .column {
  padding: 0.75rem;
}

.publication-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 0;
  margin: 0 auto;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.title-with-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.title-with-lines::before,
.title-with-lines::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #ccc;
}

.tl-dr {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.6;
}

.framework-figure {
  width: 100%;
  margin-bottom: 1.5rem;
}

.content {
  font-size: 17px;
}

.content h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.content p {
  margin-bottom: 1.1rem;
}

.replay-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.replay-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.replay-carousel {
  min-width: 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: #f5f5f5;
}

.replay-dataset-title {
  margin-top: 0 !important;
  margin-bottom: 0.8rem !important;
}

.replay-viewport {
  position: relative;
}

.replay-slide {
  display: none;
  margin: 0 !important;
}

.replay-slide.is-active {
  display: block;
}

.replay-slide video {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  border-radius: 8px;
  background: #000;
}

.replay-slide .replay-instruction {
  box-sizing: border-box;
  height: 9rem;
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
}

.replay-arrow {
  position: absolute;
  top: calc((100% - 9.65rem) / 2);
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
}

.replay-arrow:hover {
  background: rgba(0, 0, 0, 0.78);
}

.replay-prev {
  left: 0.65rem;
}

.replay-next {
  right: 0.65rem;
}

.replay-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.replay-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}

.replay-dot.is-active {
  background: #363636;
}

pre {
  overflow-x: auto;
  border-radius: 5px;
  background: #f5f5f5;
}

pre code {
  color: #333;
  font-size: 0.9rem;
}

.footer {
  margin-top: 3rem;
  padding: 3rem 1.5rem;
}

.footer p {
  margin-bottom: 0.4rem;
}

@media screen and (max-width: 768px) {
  .hero-body {
    padding: 3rem 1.5rem 2rem;
  }

  .publication-title {
    font-size: 2rem !important;
  }

  .content {
    font-size: 16px;
  }

  .title-with-lines {
    gap: 0.55rem;
  }

}
