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

.container {
  max-width: 90% !important;
}

.container.is-max-desktop,
.container.is-four-fifths {
  max-width: 90% !important;
}

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

.frame-btn {
  padding: 6px 14px;
  border: 2px solid #1a3a5c;
  background: white;
  color: #1a3a5c;
  border-radius: 2px;
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
}
.frame-btn:hover,
.frame-btn.active {
  background: #1a3a5c;
  color: white;
  transform: translateY(-1px);
}


:root {
  --ink: #111111;
  --ink-light: #444;
  --paper: #ffffff;
  --accent: #c0392b;
  --accent-muted: #e8d5d3;
  --rule: #e0ddd6;
  --tag-bg: #f0ede8;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

/* ── Motivation boxes ── */
.motivation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .motivation-grid { grid-template-columns: 1fr; }
}
.motivation-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.5rem;
  position: relative;
}
.motivation-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
}
.motivation-card h4 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.motivation-card p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin: 0;
}
.motivation-card.solution { border-color: var(--accent-muted); background: #fffaf9; }
.motivation-card.solution::before { background: #2ecc71; }

/* ── Key insight callout ── */
.callout {
  background: #fffaf9;
  border: 1.5px solid var(--accent-muted);
  border-left: 6px solid var(--accent);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.75;
}
.callout strong { color: var(--accent); font-size: 1.35rem; }

/* ── Video carousel ── */
.video-carousel {
  position: relative;
}
.video-carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
}
.video-carousel-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}
.video-carousel-item {
  flex: 0 0 auto;
  box-sizing: border-box;
}
.video-carousel-item video {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.video-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.video-carousel-nav:hover {
  transform: translateY(-50%) scale(1.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.video-carousel-nav.prev {
  left: 12px;
}
.video-carousel-nav.next {
  right: 12px;
}
@media (max-width: 640px) {
  .video-carousel-nav { width: 34px; height: 34px; font-size: 0.85rem; }
}

.video-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.video-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--rule);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.video-carousel-dot:hover {
  background: var(--ink-light);
}
.video-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}