body {
  /* font-family: 'Noto Sans', sans-serif; */
  font-family: 'Computer Modern Bright', sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

.model {
  font-weight: bold !important;
  color: #8C1515;
  padding: 2px 4px;
  border-radius: 3px;
  background-color: rgba(140, 21, 21, 0.05);
  transition: all 0.2s ease;
}

.footer .icon-link {
  font-size: 1em;
  color: #ffffff;
}

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

.dnerf {
  font-variant: small-caps;
}

.dperact {
  font-variant: small-caps;
}

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

.teaser {
  font-family: 'Computer Modern Bright', sans-serif;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  transition: all 0.3s ease;
}

.teaser-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.teaser video {
  object-fit: fill;

}

#glass {
  margin-left: -10px;
}

.publication-title {
  font-family: 'Computer Modern Bright', sans-serif;
  color: #8C1515;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.publication-logo {
  max-height: 100px;
  max-width: 100px;
}

.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: 'Computer Modern Bright', sans-serif;
}

.publication-authors {
  font-family: 'Computer Modern Bright', 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: #d11d2e !important;
}

.conference-authors a {
  color: #000000 !important;
}

.publication-authors a:hover {
  text-decoration: underline;
  color: #414141 !important;
}

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

.publication-video {
  position: relative;
  height: 0;
  max-width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-video:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.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 #e0e0e0;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-carousel .item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.results-carousel video {
  margin: 0;
  display: block;
}

.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100vh;
  background-size: cover;
  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;
}

#method-image img {
  /* padding: 0; */
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 100%;
  max-width: 100%;
}

.method-image {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  height: auto;
}

.method-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.dropdown-item {
  white-space: pre-wrap;
}


.justify {
  text-align: justify;
}

.button-container {
  color: #53565A;
  justify-items: center;
  padding-top: 0.5em;
  justify-content: center;
  display: flex;
}

.button {
  color: #53565A;
  font-family: 'Computer Modern Bright', sans-serif;
  border-radius: 0.5em;
  width: 6em;
  height: 2.2em;
  margin-left: 0.4em;
  margin-right: 0.4em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  text-align: right;
  vertical-align: middle;
  border: solid 1px #e0e0e0;
  background-color: #f2f2f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover {
  background-color: #8C1515;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(140, 21, 21, 0.25);
  border-color: #8C1515;
}

/* https://html-online.com/articles/gradient-background-buttons-css-html/ */
.gradient-button {
  text-align: center;
  background-size: 200% auto;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  cursor: pointer;
  text-decoration: none;
}

.gradient-button:hover {
  background-position: right center;
}

.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: #fff;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0
}

.affiliation {
  display: inline-block;
  color: #2c2c2c;
  font-family: 'Computer Modern Bright', sans-serif;
  padding-top: 0.8em;
  /* padding-bottom: 0.5em; */
  text-align: center;
}

.affiliation-note {
  display: inline-block;
  color: #828282;
  font-family: 'Computer Modern Bright', sans-serif;
  font-size: 1.2em;
  /* padding-top: 0.5em; */
  padding-bottom: 0.8em;
  text-align: center;
}

hr.rounded {
  background: linear-gradient(to right, transparent, #cbcbcb 20%, #cbcbcb 80%, transparent);
  border-radius: 15px;
  height: 2px;
  max-width: 100%;
  margin: 3rem auto;
  mix-blend-mode: normal;
  border: none;
  opacity: 0.6;
}

.bibtex {
  font-family: "Courier", monospace;
  font-size: 0.9em !important;
  color: #2f2f2f;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-top: 0.6em;
  margin-bottom: 3em;
  padding: 1.5rem;
  vertical-align: center;
  hyphens: none !important;
  line-height: 1.6 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.bibtex:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-weight: normal;
  line-height: 1.7;
  color: #333;
}

/* Enhanced section styling */
.hero {
  transition: all 0.3s ease;
}

.hero:first-of-type {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero.teaser {
  padding: 2rem 0;
}

.title.is-3 {
  color: #8C1515;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.title.is-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #8C1515, #d11d2e);
  border-radius: 2px;
}

.title.is-4 {
  color: #2c2c2c;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Content box styling */
.content.has-text-justified {
  line-height: 1.8;
  color: #2c2c2c;
}

/* Video grid improvements */
.columns {
  gap: 1.5rem;
}

.column video {
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column video:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Abstract section enhancement */
.has-text-centered .content {
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.has-text-centered .content:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rows {
  animation: fadeInUp 0.6s ease-out;
}

/* Author links enhancement */
.publication-authors a {
  transition: all 0.2s ease;
  padding: 2px 4px;
  border-radius: 3px;
}

.publication-authors a:hover {
  background-color: rgba(140, 21, 21, 0.1);
}

/* Footer styling */
.footer {
  background-color: #f8f9fa;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid #e0e0e0;
}

/* Section spacing */
section.hero {
  margin-bottom: 2rem;
}

/* Responsive improvements */
@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2rem !important;
  }

  .button {
    width: 5em;
    font-size: 0.9em;
  }

  .button-container {
    flex-wrap: wrap;
  }