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


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

.hf-icon {
    width: 1.35em;
    height: 1.35em;
    display: block;
}

.project-section .hero-body {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.project-copy {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: left;
}

.project-image {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.project-image-wide {
  max-width: 900px;
}

.figure-caption {
  max-width: 900px;
  margin: 0 auto;
  text-align: left !important;
}

.examples-section {
  background: #f7f8fb;
}

.examples-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.examples-viewport {
  overflow: hidden;
  border-radius: 6px;
}

.examples-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.example-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.example-card {
  padding: 1rem;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  background: #ffffff;
  text-align: left;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: #333333;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.carousel-nav:hover,
.carousel-nav:focus {
  background: #1f1f1f;
}

.carousel-nav:focus {
  outline: 2px solid #5aa6ff;
  outline-offset: 2px;
}

.carousel-prev {
  left: -1.2rem;
}

.carousel-next {
  right: -1.2rem;
}

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

.examples-dots button {
  width: 0.58rem;
  height: 0.58rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c3cad4;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.examples-dots button.is-active {
  background: #333333;
  transform: scale(1.18);
}

.examples-dots button:focus {
  outline: 2px solid #5aa6ff;
  outline-offset: 3px;
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.example-video video {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  border-radius: 6px;
  background: #000;
  object-fit: cover;
}

.example-images {
  display: grid;
  gap: 0.65rem;
}

.option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paired-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-image {
  grid-template-columns: 1fr;
}

.self-localization-images {
  position: relative;
  display: block;
}

.example-images figure {
  position: relative;
  margin: 0;
  min-height: 0;
}

.example-images img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  display: block;
  border: 1px solid #d8dde5;
  border-radius: 6px;
  object-fit: contain;
  background: #f2f4f7;
}

.single-image img {
  min-height: 230px;
}

.self-localization-images img {
  min-height: 0;
}

.self-localization-images .self-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #101010;
}

.self-localization-images .self-current-view {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 42%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: grab;
  touch-action: none;
  user-select: none;
  z-index: 2;
}

.self-localization-images .self-current-view.is-dragging {
  cursor: grabbing;
  z-index: 3;
}

.self-localization-images .self-current-view img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.example-images span {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  z-index: 1;
}

.example-question {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8ebef;
  color: #2f3640;
  line-height: 1.55;
}

.example-task-name {
  margin-bottom: 0.25rem;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f2933;
}

.example-question p {
  margin: 0;
}

.rank-mark {
  padding: 0 0.25em;
  border-radius: 2px;
}

.rank-red {
  background: #f6c5c5;
}

.rank-orange {
  background: #f5d8b8;
}

.rank-yellow {
  background: #fff0a8;
}

.insight-panel {
  max-width: 900px;
  margin: 1.75rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  background: #f3f5f8;
  text-align: left;
}

.insight-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.insight-list li {
  display: flex;
  gap: 0.45rem;
  margin: 0.35rem 0;
  line-height: 1.55;
}

.insight-icon {
  flex: 0 0 auto;
}

.disabled-link {
  cursor: default;
  pointer-events: none;
}

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

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

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

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

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

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

@media screen and (max-width: 768px) {
  .carousel-prev {
    left: 0.45rem;
  }

  .carousel-next {
    right: 0.45rem;
  }

  .carousel-nav {
    top: 40%;
    width: 2.15rem;
    height: 2.15rem;
    opacity: 0.9;
  }

  .example-layout {
    grid-template-columns: 1fr;
  }

  .example-video video {
    min-height: 190px;
  }

  .single-image img {
    min-height: 190px;
  }

  .paired-images {
    grid-template-columns: 1fr;
  }

  .self-localization-images .self-current-view {
    width: 44%;
  }
}
