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

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

/* Small top spacing so the page content isn't not flush to the top.
   Use margin on the first hero instead of body to avoid being overridden
   by other layout styles. */
.hero:first-of-type {
  margin-top: 1.5rem !important;
}

/* Larger centered architecture figure */
.arch-figure {
  text-align: center;
  margin-top: 1rem;
}
/* Architecture figure: sensible responsive sizing */
.arch-figure img {
  display: block !important;
  margin: 0.75rem auto 0 auto !important; /* center block image */
  width: 95% !important;           /* scale with container - increased */
  max-width: 1200px !important;   /* increased cap */
  height: auto !important;
}

/* Slightly increase size on wide screens but keep sensible cap */
@media (min-width: 1200px) {
  .arch-figure img {
    width: 85% !important; /* slightly larger on wide screens */
    max-width: 1400px !important; /* allow bigger display on large monitors */
  }
}

/* CLEVR-Logic / UnCoCo figure: center and make slightly bigger */
.interpolation-image-wrapper-uncoco,
.interpolation-image-wrapper-uncoco img,
.clevr-figure {
  text-align: center;
}
.interpolation-image-wrapper-uncoco img,
.clevr-figure {
  display: block !important;
  margin: 2.5rem auto 0 auto !important;
  width: 100% !important;            /* fill most of the column */
  max-width: 1000px !important;      /* increased cap to show a larger figure */
  height: auto !important;
}
@media (min-width: 1000px) {
  .interpolation-image-wrapper-uncoco img,
  .clevr-figure {
    width: 100% !important;
    max-width: 1200px !important;    /* allow larger display on wide screens */
  }
}

/* Align CLEVR-Logic image vertically with the paragraph in the adjacent column.
   Use flexbox on the column content and on the image wrapper so both blocks
   center vertically within the row when `is-vcentered` is used. */
.columns.is-vcentered .column.is-half > .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.columns.is-vcentered .interpolation-image-wrapper-uncoco {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  margin-top: 3rem;
}
.interpolation-image-wrapper-uncoco img {
  margin-top: 0; /* remove extra top spacing that pushed the image down */
  display: block;
}

/* Fallback: ensure top spacing is present even if other styles override */
html, body {
  padding-top: 1.5rem !important;
}

/* CCG qualitative figure: keep inside container and scale responsively */
.ccg_figure {
  display: block !important;
  margin: 0.5rem auto 0 auto !important;
  width: 90% !important;
  max-width: 700px !important; /* further reduced to fit comfortably */
  height: auto !important;
}

@media (min-width: 1200px) {
  .ccg_figure {
    max-width: 900px !important; /* slightly larger on very wide screens */
  }
}
