body {
  font-family: 'Noto Sans', sans-serif;
}

/* remove table borders completely */
table.no-borders,
table.no-borders th,
table.no-borders td {
  border: none !important;
}

/* center text vertically and horizontally inside cells */
table.center-table-cells th,
table.center-table-cells td {
  vertical-align: middle !important;
  text-align: center !important;
}

.grey-box {
  background-color: #f6f6f6; /* mellow grey, you can tweak the shade */
  border-radius: 5px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
  color: #333; /* dark text for contrast */
}

#results table {
  table-layout: fixed;
}

#results table td,
#results table th {
  width: 14%; /* 100% / 7 columns ≈ 14% */
}

#results table img {
  width: 100%;
  height: auto;
}

.table-container {
  overflow-x: auto;
}

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



@media (max-width: 768px) {
  table th {
    font-size: 0.7rem;
    white-space: nowrap; /* stops wrapping */
  }
}

/* Keywords (“class”, “def”, etc.) */
.token.keyword {
  color: #C586C0 !important;
}
/* Class names and built-ins */
.token.class-name,
.token.function {
  color: #4EC9B0 !important;
}
/* Parameters / variables */
.token.parameter,
.token.variable {
  color: #9CDCFE !important;
}
/* Numbers */
.token.number {
  color: #B5CEA8 !important;
}
/* Punctuation */
.token.punctuation {
  color: #808080 !important;
}

/* Remove the pill background on numeric literals */
/* Make numbers sit on the baseline, no extra padding or background */
.token.number {
  display: inline !important;
  vertical-align: baseline !important;
  line-height: inherit !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}

/* Ensure numeric literals use the same font-size as the rest of the code */
.token.number {
  font-size: inherit !important;
}

.token.number::before,
.token.number::after {
  content: none !important;
}

/* Shrink all Prism code blocks */
pre[class*="language-"] {
  font-size: 0.8rem !important;           /* 90% of normal */
  background-color: rgb(40, 42, 53) !important;   /* your new bg color */
  color: #f8f8f2 !important;              /* make sure text is legible */
  padding: 1rem !important;               /* tweak padding if you like */
  border-radius: 4px;
}

/* If you have inline <code> tags you also want to resize: */
code[class*="language-"] {
  font-size: 0.8rem !important;
  background-color: rgb(40, 42, 53) !important;
  color: #f8f8f2 !important;
}


/* 1) Reset any extra spacing on *all* tokens */
pre[class*="language-"] .token {
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

/* 2) Make sure numbers & punctuation are inline and flush */
pre[class*="language-"] .token.number,
pre[class*="language-"] .token.punctuation {
  display: inline !important;
  vertical-align: baseline !important;
}

/* 3) Pull commas left just a hair if there’s still a gap */
pre[class*="language-"] .token.number + .token.punctuation {
  margin-left: -0.1em !important;
}

/* 4) (Optional) if you want an extra bit tighter letter-spacing overall */
pre[class*="language-"] code {
  letter-spacing: -0.02em !important;
}

/* in your stylesheet or a <style> block */
pre.code-border {
  border-left: 4px solid #0ea3ff;  /* pick a color that matches your theme */
  margin: 1.5rem 0;                /* vertical spacing */
  padding: 0.75rem 1rem;           /* top/bottom 0.75rem, left/right 1rem */
  background-color: #282c34;       /* optional: background to match your code blocks */
  border-radius: 4px;              /* soften the corners */
}

.pub-authors__names {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  color: #2c3e50;              /* dark slate for names */
}

.pub-authors__names .author-block {
  position: relative;
  padding-right: 1rem;
  line-height: 1.2;
}

.pub-authors__names .author-block img {
  width: 1.2rem;
  height: 1.2rem;
  position: absolute;
  top: 0;
  right: 0;
}

.pub-authors__inst {
  margin-top: 0.5rem;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: #7f8c8d;              /* softer grey for institutions */
  text-align: center;
}
