body {
  font-family: 'Noto Sans', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  line-height: 1.45;
}


.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-banner {
  max-height: parent;
}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.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 a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}



.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  /* reduce aspect ratio to make the placeholder smaller */
  padding-bottom: 40%;

  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 420px;
}

/* Figure styling for publication images (responsive) */
.publication-figure {
  margin: 0 auto 1rem auto;
  text-align: center;
}

.publication-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #e6e6ee;
}

.publication-figure figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}


.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-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}



.interaction-card {
background: var(--card-bg);
border-radius: 16px;
border: 1px solid var(--border);
padding: 18px;
margin-bottom: 24px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}


.interaction-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 8px;
margin-bottom: 12px;
}


.interaction-header h2 {
font-size: 1.1rem;
}


.interaction-id {
font-size: 0.75rem;
color: var(--text-muted);
}


.interaction-grid {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(260px, 1.1fr);
gap: 16px;
align-items: flex-start;
}


@media (max-width: 800px) {
.interaction-grid {
grid-template-columns: 1fr;
}
}


.interaction-panel {
border-radius: 12px;
border: 1px solid var(--border);
background: #fafafa;
overflow: hidden;
display: flex;
flex-direction: column;
max-height: 420px;
}

.interaction-panel iframe {
  width: 100%;
  height: 420px;
  border: 1px solid #e6e6ee;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(18,20,25,0.04);
}

.meta-panel {
border-radius: 12px;
border: 1px solid var(--border);
padding: 12px 14px;
background: #fff;
text-align: center;
}


.meta-section {
margin-bottom: 12px;
}


.meta-section:last-child {
margin-bottom: 0;
}


.meta-title {
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--text-muted);
margin-bottom: 4px;
}


.meta-body {
  font-size: 0.9rem;
  text-align: center;
}

/* Generic content section for consistent page structure */
.content-section {
  margin-bottom: 0.5rem;
}


.tag-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 4px;
}


.tag {
font-size: 0.78rem;
padding: 4px 8px;
border-radius: 999px;
background: var(--tag-bg);
border: 1px solid var(--tag-border);
color: #4b5563;
white-space: nowrap;
}
pre.json-block {
  background: #f7f8fb;
  color: #111827;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e6e6ee;
  font-size: 0.9rem;
  overflow-x: auto;
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 1.35;
}


pre.json-block code {
  font-family: SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  white-space: pre;
  display: block;
}

/* Ensure JSON example blocks are left-aligned even if a parent container centers text */
.interaction-card pre.json-block,
.meta-panel pre.json-block {
  text-align: left;
}


.json-note {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 4px;
}
