body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.5rem; /* slightly larger base text */
}


/* Global expansion: increase the maximum width of all main containers */
.container.is-max-desktop {
    max-width: 1200px !important; /* Default was ~960px. 1200px is much wider. */
    width: 95%; /* Ensures it doesn't touch the very edge of the screen */
}

/* Adjust section padding if you want more vertical space between blocks */
.section {
    padding: 3rem 1.5rem; 
}

/* Ensure images and videos take advantage of the new width */
img, video {
    max-width: 100%;
    height: auto;
}


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

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

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


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

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


.publication-title {
}

/* adjust section heading sizes for evaluation structure */
.title.is-3 {
  font-size: 2.5rem; /* main sections like Abstract, Evaluation Highlights */
}
.title.is-4 {
  font-size: 2rem; /* Simulation Results, Video Generation Results */
}
.title.is-5 {
  font-size: 1.75rem; /* subsection titles like Quantitative/Qualitative */
}
.subtitle {
  font-size: 1.5rem; /* slightly larger subtitles and taglines */
}

/* Bulma uses 1rem for .content which binds it to the root html size, ignoring body size. 
   We must override it explicitly to scale all paragraph text. */
.content, .content p, .content ul, .content ol {
  font-size: 1.5rem !important;
}

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

.results-carousel video {
  margin: 0;
}


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

/* ImagiNav carousel: hide items outside the visible window */
#video-carousel {
  overflow: hidden;
}

#video-carousel .carousel-container {
  overflow: hidden;
}

#video-carousel .box {
  overflow: hidden;
}

/* make video elements transparent by default */
video {
  background: transparent;
}

#video-carousel .columns {
  margin-left: 0;
  margin-right: 0;
}

#video-carousel .columns.is-mobile > .column.is-narrow {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
}

/* ImagiNav video styling */
.imaginav-video {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
}

/* Both comparison videos rendered at the same height regardless of aspect ratio */
.imaginav-compare-video {
    width: 100%;
    aspect-ratio: 736 / 256;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    background: transparent;
}

.imaginav-video + .subtitle {
    max-width: 90%;
    margin: 0.5rem auto 0 auto;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

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