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 .slider-container {
  padding-bottom: 2rem;
}

.results-carousel .slider-pagination {
  bottom: 0.3rem;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 1rem;
}

.results-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
}

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

.qual-card {
  border: 1px solid #c5d8f0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}

.qual-card-header {
  background-color: #2c5282;
  color: #fff;
  padding: 0.45rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.qual-card-header .reward-delta {
  font-weight: normal;
  font-size: 0.88rem;
  color: #cce5ff;
}

.qual-card-body {
  background-color: #f0f6ff;
  padding: 0.75rem 0.9rem;
  line-height: 1.7;
}

.qual-card-body code {
  background: transparent;
  font-size: 0.88rem;
  color: inherit;
  padding: 0;
}

.qual-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.qual-accepted { color: #276749; font-weight: bold; }
.qual-rejected { color: #c0392b; font-weight: bold; }

.qual-caption {
  font-size: 0.88rem;
  color: #555;
  margin-top: 0.5rem;
}

body.dark-mode .qual-card { border-color: #2a4a6e; }
body.dark-mode .qual-card-header { background-color: #1a3a5c; }
body.dark-mode .qual-card-body { background-color: #1a2a3a; color: #d0d0d0; }
body.dark-mode .qual-card-body code { color: #d0d0d0; }
body.dark-mode .qual-caption { color: #aaa; }
body.dark-mode .qual-accepted { color: #68d391; }
body.dark-mode .qual-rejected { color: #fc8181; }

.results-table-wrapper {
  margin-bottom: 2.5rem;
}

.results-table-title {
  font-size: 1.05rem;
  font-weight: bold;
  border-top: 2px solid #333;
  padding-top: 0.6rem;
  margin-bottom: 0;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.results-table thead th {
  font-weight: bold;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1.5px solid #333;
}

.results-table tbody td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid #ddd;
}

.results-table tbody tr:last-child td {
  border-bottom: 2px solid #333;
}

.results-table td.best {
  font-weight: bold;
  background-color: #dbeeff;
}

.sub-title {
  width: 700px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .sub-title {
    width: 100%;
    font-size: 1.2em;
  }
}

.publication-unis {
  font-family: 'Google Sans', sans-serif;
  color: #555;
}

/* ── Dark mode toggle button ─────────────────────────────────────────────── */
#dark-mode-toggle {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 9999;
  background: rgba(180, 180, 180, 0.2);
  border: 1px solid rgba(150, 150, 150, 0.3);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
#dark-mode-toggle:hover { background: rgba(150, 150, 150, 0.35); }

/* show moon in light mode, sun in dark mode */
#dark-mode-toggle .fa-moon,
#dark-mode-toggle svg.fa-moon { display: inline; color: #333; }
#dark-mode-toggle .fa-sun,
#dark-mode-toggle svg.fa-sun  { display: none; color: #f0f0f0; }
body.dark-mode #dark-mode-toggle .fa-moon,
body.dark-mode #dark-mode-toggle svg.fa-moon { display: none; }
body.dark-mode #dark-mode-toggle .fa-sun,
body.dark-mode #dark-mode-toggle svg.fa-sun  { display: inline; color: #f0f0f0; }

body.dark-mode #dark-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
body.dark-mode #dark-mode-toggle:hover { background: rgba(255, 255, 255, 0.15); }

/* ── Dark mode overrides ─────────────────────────────────────────────────── */
body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}
body.dark-mode .hero { background-color: #1a1a1a; }
body.dark-mode .section { background-color: #1a1a1a; }
body.dark-mode .hero.is-light { background-color: #242424; }
body.dark-mode .title { color: #f0f0f0; }
body.dark-mode p, body.dark-mode li { color: #d0d0d0; }
body.dark-mode strong { color: #f0f0f0; }
body.dark-mode em { color: #d0d0d0; }
body.dark-mode .publication-unis { color: #aaa; }
body.dark-mode .publication-authors a { color: #7ab4f5; }
body.dark-mode .publication-authors a:hover { color: #add0ff; }
body.dark-mode pre {
  background-color: #111;
  color: #d0d0d0;
}
body.dark-mode code { color: #d0d0d0; background-color: #2a2a2a; }

body.dark-mode .results-table-title {
  border-top-color: #888;
  color: #f0f0f0;
}
body.dark-mode .results-table thead th {
  border-bottom-color: #888;
  color: #f0f0f0;
}
body.dark-mode .results-table tbody td {
  border-bottom-color: #333;
  color: #d0d0d0;
}
body.dark-mode .results-table tbody tr:last-child td {
  border-bottom-color: #888;
}
body.dark-mode .results-table td.best {
  background-color: #0d3a47;
  color: #f0f0f0;
}
body.dark-mode .results-carousel .item {
  border-color: #444;
}
body.dark-mode footer.footer { background-color: #111; }
body.dark-mode footer.footer p { color: #aaa; }
body.dark-mode footer.footer a { color: #7ab4f5; }
