/* Main container to align the base and the script block */
.math-expression {
  display: inline-flex;      /* Use flexbox for easy vertical alignment */
  align-items: center;        /* Center the script block with the middle of the base text */
  vertical-align: middle;   /* Helps align the whole thing with surrounding text */
}

/* The container for our vertically stacked scripts */
.stacked-scripts {
  display: inline-flex;       /* We'll use flexbox here too */
  flex-direction: column;     /* This is the magic rule: it stacks children vertically! */
  text-align: left;           /* Ensure multi-character scripts align left */
  font-size: 0.75em;          /* Make scripts smaller, like in LaTeX */
  line-height: 1.2;           /* Adjust the space between the two scripts */
  margin-left: 0.1em;         /* Adds a tiny space after the closing brace '}' */
}

/* You don't need specific rules for these classes, but they are here for clarity */
.script-sup {
  /* The flex-direction handles the positioning */
}

.script-sub {
  /* The flex-direction handles the positioning */
}

/* --- Figure caption styling --- */
.caption-wrapper {
  max-width: 75ch;
  margin: 0.75rem auto 0;
  text-align: left !important;
  line-height: 1.5;
  font-size: 1.1rem;        /* 👈 smaller than body (≈ 14px if body is 16px) */
  color: #555;               /* softer gray for supporting tone */
}

.caption-wrapper p { margin: 0; }
.caption-wrapper em { font-style: italic; }
.caption-wrapper strong { font-weight: 600; }

.caption-wrapper strong {
  font-weight: 600;
}

.caption-wrapper em {
  font-style: italic;
}

.caption-wrapper sub {
  vertical-align: baseline;
  position: relative;
  font-style: italic;
  top: 0.3em;     /* raise subscripts a bit */
  font-size: 0.75em;  /* slightly larger than default (usually 0.6em) */
}

.caption-wrapper sup {
  vertical-align: baseline;
  position: relative;
  top: -0.3em;    /* lift superscripts upward */
  font-size: 0.75em;
}



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