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: 1.5rem;
}

.teaser .hero-body .subtitle {
  font-size: 1rem;
}

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


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

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

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

.interpolation-video-column {
}

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

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

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

#cases-wrapper {
  position: relative;
  overflow: hidden;
}

#cases-wrapper .case {
  display: none;
  animation-duration: 0.4s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

#cases-wrapper .case.is-active {
  display: block;
}

#cases-wrapper .case.slide-in-right {
  display: block;
  position: relative;
  animation-name: slideInRight;
}

#cases-wrapper .case.slide-in-left {
  display: block;
  position: relative;
  animation-name: slideInLeft;
}

#cases-wrapper .case.slide-out-right {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  animation-name: slideOutRight;
}

#cases-wrapper .case.slide-out-left {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  animation-name: slideOutLeft;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Question box styling */
.question-box {
  margin-top: 0.75rem;
}

.question-box-header {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  background-color: #edf2f7;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.question-box-content {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 0.75rem 1rem;
  font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #2d3748;
  text-align: justify;
}

.question-box-content p {
  margin-bottom: 0.5rem;
}

.question-box-content p:last-child {
  margin-bottom: 0;
}

.question-box-content .options-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}

.question-box-content .options-list.single-col {
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.question-box-content .options-list li {
  padding: 0.35rem 0.6rem;
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  transition: background-color 0.15s;
}

.question-box-content .options-list li:hover {
  background-color: #edf2f7;
}

.question-box-content .options-list li.correct {
  background-color: #f0fff4;
  border-color: #48bb78;
  color: #276749;
}

.question-box-content p.correct {
  background-color: #f0fff4;
  border: 1px solid #48bb78;
  border-radius: 5px;
  padding: 0.35rem 0.6rem;
  color: #276749;
}

/* Model output styling */
.model-output-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-output-header {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  background-color: #edf2f7;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.model-output-content {
  overflow-y: auto;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 0.75rem 1rem;
  font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #2d3748;
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: justify;
  flex: 1;
}

.model-output-content::-webkit-scrollbar {
  width: 8px;
}

.model-output-content::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 4px;
}

.model-output-content::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 4px;
}

.model-output-content::-webkit-scrollbar-thumb:hover {
  background: #868e96;
}

/* Match height with left column */
.match-height-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.match-height-wrapper .content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.match-height-wrapper .model-output-box {
  flex: 1;
  min-height: 0;
}

/* Increase container width for cases section */
.container.is-widescreen {
  max-width: 1344px;
}

/* Top-align columns in case articles */
.case .columns {
  align-items: flex-start;
}

/* Video label */
.video-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  background-color: #edf2f7;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Compact spacing for Data Construction & Experiments sections */
.section .hero-body {
  padding: 0.75rem 0;
}

.section .hero-body .subtitle {
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.section .hero-body .columns {
  margin-bottom: 0;
}

/* Reduce top/bottom padding for consecutive content sections */
.section + .section {
  padding-top: 1rem;
}

.section .columns.is-centered + .hero-body {
  padding-top: 0.25rem;
}

/* Tighten the subtitle that serves as a note (not inside hero-body) */
.section > .container > .subtitle {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

@media screen and (min-width: 1408px) {
  .container.is-widescreen {
    max-width: 1440px;
  }
}

/* Case dot indicators */
.cases-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
}

.case-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.25s ease;
}

.case-dot:hover {
  background-color: #9ca3af;
  transform: scale(1.25);
}

.case-dot.is-active {
  background-color: #667eea;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}