:root {
  --paper-blue: hsl(204, 86%, 53%);
  --light-gray: #f5f5f5;
  --border-gray: #b8b8b8;
  --text-gray: #555;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #1f1f1f;
}

.publication-header .hero-body {
  padding-bottom: 2.1rem;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  line-height: 1.08;
  margin-bottom: 1.2rem !important;
}

.publication-subtitle {
  display: inline-block;
  margin-top: 0.22rem;
  font-size: 2.35rem;
  line-height: 1.12;
  font-weight: 600;
}

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

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

.author-name {
  color: var(--paper-blue);
}

.affiliation-block {
  margin-top: 0.45rem;
}

.publication-venue {
  width: fit-content;
  margin: 0.6rem auto 0.5rem;
  color: var(--text-gray);
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
}

.publication-links {
  margin-top: 0.4rem;
}

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

.teaser {
  padding: 40px 0 0;
  font-family: 'Google Sans', sans-serif;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser-video {
  background: var(--light-gray);
  padding-top: 40px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
  border-radius: 4px;
}

.video-shell video {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #000;
}

.paper-figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 1.05rem;
}

.figure-gap {
  margin-top: 1.65rem;
}

.compact-figure {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.teaser-summary {
  margin-top: 1.2rem;
  line-height: 1.5;
}

.rollout-strip .hero-body {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 0;
  background: #fff;
}

.video-card {
  position: relative;
  min-height: 260px;
  background: #111;
}

.results-carousel video {
  display: block;
  width: 100%;
  height: 260px;
  margin: 0;
  object-fit: cover;
  background: #111;
}

.video-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.55rem 0.65rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: center;
}

.rollout-caption {
  font-size: 0.98rem;
}

.spacer-section {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.content p {
  line-height: 1.58;
}

.content.has-text-centered p {
  text-align: justify;
}

.experiment-split {
  margin-top: 0.6rem;
}

.interpolation-panel {
  background: var(--light-gray);
  border-radius: 10px;
}

.rollout-panel {
  padding: 0.65rem 0.4rem;
  margin-bottom: 1.6rem !important;
}

.rollout-panel h5 {
  min-height: 3.4em;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.detail-video {
  width: 92%;
  min-height: 280px;
  max-height: 420px;
  object-fit: contain;
  background: #111;
  border-radius: 5px;
}

.execution-image-block {
  margin: 1.5rem 0 2rem;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: 260px;
  padding: 1.2rem;
  color: #5f5f5f;
  background: #ededed;
  border: 1px dashed #a9a9a9;
  border-radius: 5px;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
}

.video-placeholder::before {
  content: '\f03d';
  margin-bottom: 0.55rem;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.6rem;
  color: #808080;
}

.results-carousel .video-placeholder {
  min-height: 260px;
  border: 0;
  border-radius: 0;
}

.teaser-player .video-placeholder {
  min-height: 430px;
}

.footer .icon-link {
  color: #000;
  font-size: 25px;
}

pre code {
  white-space: pre-wrap;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  .publication-subtitle {
    font-size: 1.75rem;
  }

  .publication-title.title.is-1 {
    font-size: 2.3rem;
  }

  .video-shell {
    width: 100%;
  }

  .video-card,
  .results-carousel video,
  .results-carousel .video-placeholder {
    min-height: 220px;
    height: 220px;
  }

  .detail-video {
    width: 100%;
    min-height: 220px;
  }

  .rollout-panel h5 {
    min-height: 0;
  }
}

.publication-title.title.is-1 {
font-family: 'Google Sans', 'Noto Sans', sans-serif;
font-size: 3.8rem !important;
font-weight: 800;
line-height: 1.08;
letter-spacing: -0.03em;
margin-bottom: 1rem !important;
}

.publication-subtitle {
display: block;
font-family: 'Google Sans', 'Noto Sans', sans-serif;
font-size: 2.0rem;
font-weight: 600;
line-height: 1.18;
margin-top: 0.4rem;
}

.publication-authors {
font-family: 'Google Sans', 'Noto Sans', sans-serif;
font-size: 1.15rem !important;
line-height: 1.5;
margin-top: 1.5rem;
}

.affiliation-block {
font-size: 0.95rem !important;
line-height: 1.5;
margin-top: 0.8rem;
}

.publication-venue {
font-size: 1rem;
margin-top: 0.8rem;
}

.publication-links .button {
font-size: 1rem;
padding: 0.65rem 1.4rem;
}

.paper-figure {
width: 90%;
max-width: 1100px;
}

.teaser-summary {
    max-width: 1200px;
    margin: 1.5rem auto 0.8rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.teaser-summary p {
    text-align: left !important;
}

.teaser .paper-figure {
width: 75%;
max-width: 1050px;
height: auto;
margin: 0 auto;
}

.publication-title.title.is-1 {
letter-spacing: -0.01em !important;
}

.publication-subtitle {
letter-spacing: 0 !important;
font-weight: 500 !important;
line-height: 1.25 !important;
}

.hero.teaser .paper-figure {
    width: 95% !important;
    max-width: 1200px !important;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}