body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}


.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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
    letter-spacing: -0.03em;
}

.publication-authors {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.8rem;
}

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

/* Additional styles to match reference site */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

h2.title {
  font-size: 2.8rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3.title {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4.title {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #444;
}

.content strong {
  font-weight: 600;
  color: #222;
}

.section {
  padding: 3rem 1.5rem;
}

.hero-body {
  padding: 4rem 1.5rem 4.5rem;
}

.hero .hero-body {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Improve button styling */
.button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.button.is-link {
  background-color: #3273dc;
}

.button.is-link:hover {
  background-color: #2366d1;
}

/* Table styling */
.table {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}

.table thead th {
  font-weight: 600;
  color: #222;
  border-bottom: 2px solid #dbdbdb;
}

.table td, .table th {
  padding: 0.75rem;
}

/* Figure captions */
figcaption {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-top: 0.8rem;
  padding: 0 1rem;
}

/* Improve abstract section */
.content.has-text-left {
  text-align: justify;
  text-justify: inter-word;
}

/* Link styling improvements */
a {
  transition: all 0.2s ease;
}

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

.link-block {
  display: inline-block;
  margin: 0.3rem 0.4rem;
}

/* Author block spacing */
.author-block {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Improve image styling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 2rem 0;
}

/* Container max-width adjustment for better readability */
.container.is-max-desktop {
  max-width: 1200px;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Adjust column width for better content display */
.column.is-four-fifths {
  width: 100%;
  max-width: 100%;
}

/* Improve footer styling */
.footer {
  background-color: #fafafa;
  padding: 3rem 1.5rem;
  font-size: 0.95rem;
}

/* Responsive font sizes */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .publication-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  h2.title {
    font-size: 2rem;
  }
  
  h3.title {
    font-size: 1.5rem;
  }
  
  h4.title {
    font-size: 1.2rem;
  }
  
  .publication-authors {
    font-size: 1rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .publication-title {
    font-size: 3rem;
  }
  
  h2.title {
    font-size: 2.4rem;
  }
}
