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;
  padding: 20px;
  font-size: 0;
}

/* Restore caption text (Bulma .subtitle uses rem; keep readable if nested rules change). */
.results-carousel .item .subtitle {
  font-size: 1rem;
}

.method-cheatsheet-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------- Publication buttons ---------- */
.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.publication-links .button {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.publication-links .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ---------- Sticky section nav ---------- */
.precise-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  font-family: 'Google Sans', sans-serif;
}
.precise-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  gap: 4px 18px;
}
.precise-nav li {
  margin: 0;
}
.precise-nav a {
  color: #363636;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 4px 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.precise-nav a:hover {
  color: hsl(204, 86%, 53%);
  border-bottom-color: hsl(204, 86%, 53%);
}

/* Smooth scrolling so anchor jumps clear the sticky nav. */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }

/* ---------- Overview teaser ---------- */
.teaser-overview {
  padding: 34px 1.5rem 18px;
}
.teaser-figure {
  margin: 0 auto;
}
.teaser-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dbe5ee;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 47, 77, 0.08);
}
@media (max-width: 720px) {
  .teaser-overview {
    padding: 22px 1rem 10px;
  }
}

/* ---------- TL;DR banner ---------- */
.tldr-section {
  padding: 18px 1.5rem 8px;
}
.tldr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tldr-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tldr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}
.tldr-figure {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.15;
  color: hsl(204, 70%, 38%);
  letter-spacing: -0.01em;
}
.tldr-label {
  margin-top: 6px;
  font-size: 0.92rem;
  color: #4a4a4a;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .tldr-grid { grid-template-columns: 1fr; }
}

/* ---------- Method section ---------- */
.method-section .method-subtitle {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  padding-left: 12px;
  border-left: 4px solid hsl(204, 86%, 53%);
  font-family: 'Google Sans', sans-serif;
}
.method-section .content p { line-height: 1.65; }
.method-section .katex-display {
  margin: 0.8em 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.method-precise-row { margin-top: 0.4rem; }
.method-side-figure {
  margin: 0 auto;
  max-width: 100%;
}
.method-side-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #ececec;
}
.method-side-figure figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  text-align: justify;
}

/* ---------- Callouts (Assumption / Theorem) ---------- */
.callout {
  border-left: 4px solid #bbb;
  background: #fbfbfb;
  padding: 12px 16px;
  margin: 14px 0;
  border-radius: 0 8px 8px 0;
  line-height: 1.55;
}
.callout .callout-label {
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  margin-right: 6px;
  color: #2c2c2c;
}
.callout-assumption {
  border-left-color: hsl(204, 86%, 53%);
  background: hsl(204, 86%, 97%);
}
.callout-assumption .callout-label { color: hsl(204, 70%, 38%); }
.callout-theorem {
  border-left-color: hsl(141, 53%, 45%);
  background: hsl(141, 53%, 97%);
}
.callout-theorem .callout-label { color: hsl(141, 60%, 30%); }

/* ---------- Algorithm pseudocode box ---------- */
.algo-box {
  border: 1px solid #d8dde2;
  border-radius: 10px;
  background: #fbfbfd;
  margin: 14px 0 4px;
  overflow: hidden;
  font-family: 'Source Code Pro', 'SFMono-Regular', Menlo, Consolas, monospace;
}
.algo-box .algo-title {
  background: #2c3e50;
  color: #fff;
  padding: 8px 14px;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}
.algo-box .algo-body {
  margin: 0;
  padding: 14px 18px;
  background: transparent;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #1f2937;
  overflow-x: auto;
}
.algo-box .algo-line {
  display: block;
  white-space: nowrap;
}
.algo-box .algo-num {
  display: inline-block;
  min-width: 1.6em;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.algo-box .algo-kw { color: hsl(204, 70%, 38%); font-weight: 600; }
.algo-box .algo-cmt { color: #6b7280; font-style: italic; margin-left: 6px; }

/* ---------- BibTeX copy button ---------- */
.bibtex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bibtex-copy-btn {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 1px solid #d8dde2;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bibtex-copy-btn:hover {
  background: hsl(204, 86%, 96%);
  border-color: hsl(204, 86%, 53%);
  color: hsl(204, 70%, 38%);
}
.bibtex-copy-btn.copied {
  background: hsl(141, 53%, 95%);
  border-color: hsl(141, 53%, 45%);
  color: hsl(141, 60%, 30%);
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb { 
  font-size: smaller;
}


