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

/* Publication */
.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 a {
  color: hsl(204, 86%, 53%) !important;
}

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

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

.publication-banner {
  max-height: 100%;
}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: contain; /* 合法值：contain/cover/fill/none/scale-down */
}

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

/* Carousel */
.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 */
.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}

#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* Hero background image (关键：相对路径 + 空格) */
.has-bg-img {
  background: url("static/images/toss.jpeg") center center;
  background-size: cover;
}

/* Overlay and z-index layers */
.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: opacity 1.0s;
}

.hero-body,
.hero-head,
.hero-foot {
  z-index: 2;
  transition: opacity 1.0s;
}

/* Top-right links */
.hero-top-right-links {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-top-right-links .top-right-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-top-right-links .top-right-icon:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.8);
}

.hero-top-right-links .top-right-icon img {
  max-width: 70%;
  max-height: 70%;
}

.hero-top-right-links .top-right-icon--crisp img {
  max-width: 80%;
  max-height: 80%;
}

/* Logo */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.method-figures {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-top: 1.5rem;
}

.method-figure {
  flex: 1 1 100%;
  margin: 0;
}

.method-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.method-caption {
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.75rem 0.5rem 0;
  text-align: center;
}


.hero-logo-icon {
  display: inline-flex;
  align-items: center;
  margin-left: -2rem;
}

.hero-logo-icon img {
  height: 1em;
  width: auto;
}

.hero-logo-text {
  line-height: 1;
}

/* Section titles */
#interactive-demo h2.title,
#interactive-comparison h2.title,
#policy-aware h2.title {
  color: #000;
}

/* Video hero tweak */
.hero.video .hero-video {
  transform: translateY(-2.7%);
}
