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,
.publication-video video {
    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;
}

/* Main results / data-efficiency table */
.results-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e8edf3;
}

.results-table {
  margin-bottom: 0 !important;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

.results-table thead th {
  background: #0f172a;
  color: #f8fafc;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border: none !important;
  padding: 0.85rem 1rem !important;
}

.results-table tbody td {
  border: none !important;
  border-bottom: 1px solid #eef2f7 !important;
  padding: 0.7rem 1rem !important;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.results-table .budget-cell {
  background: #f8fafc;
  border-right: 1px solid #eef2f7 !important;
  vertical-align: middle !important;
}

.results-table .budget-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.results-table .method-cell {
  font-family: 'Google Sans', sans-serif;
}

.results-table .method-fine {
  padding-left: 1.5rem !important;
  color: #334155;
}

.results-table .ours-row {
  background: linear-gradient(90deg, rgba(14, 116, 144, 0.10), rgba(14, 116, 144, 0.04));
}

.results-table .ours-row td {
  border-bottom-color: rgba(14, 116, 144, 0.18) !important;
  color: #0f172a;
}

.results-table .budget-sep .budget-cell,
.results-table .budget-sep td {
  border-top: 2px solid #e2e8f0 !important;
}

.results-table .todo-cell {
  color: #94a3b8;
}

/* Qualitative results */
.qual-block {
  margin-top: 1rem;
}

.qual-heading {
  text-align: center;
  margin-bottom: 0.5rem !important;
  font-family: 'Google Sans', sans-serif;
}

.qual-compare-block,
.qual-extra-block {
  margin-bottom: 2.25rem;
}

.qual-compare-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.qual-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: 'Google Sans', sans-serif;
}

.qual-chip.ours {
  background: linear-gradient(135deg, #0e7490, #155e75);
}

.qual-vs {
  color: #64748b;
  font-size: 0.9rem;
}

.qual-video-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.qual-video-card-ours {
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.10);
}

.qual-video-tag {
  display: inline-block;
  margin: 0.85rem 0.85rem 0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Google Sans', sans-serif;
}

.qual-video-tag.ours {
  background: rgba(14, 116, 144, 0.12);
  color: #0e7490;
}

.qual-video-frame {
  position: relative;
  margin: 0.75rem;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  border-radius: 10px;
  overflow: hidden;
}

.qual-video-frame.portrait {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.qual-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.qual-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  font-family: 'Google Sans', sans-serif;
  pointer-events: none;
  background: linear-gradient(160deg, #1e293b, #0f172a);
}

.qual-video-frame video[data-ready="true"] + .qual-placeholder {
  display: none;
}

.qual-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  padding: 0 0.75rem 1rem;
  margin: 0;
  font-family: 'Google Sans', sans-serif;
}

.real-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  height: 100%;
  padding-bottom: 0.5rem;
}

.real-instruction {
  margin: 1rem 1rem 0.25rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-left: 3px solid #0e7490;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.45;
  min-height: 7.25rem;
  box-sizing: border-box;
}

.real-instruction-label {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e7490;
  margin-bottom: 0.35rem;
  font-family: 'Google Sans', sans-serif;
}

.overview-figure,
.component-figure {
  margin: 2em auto 0;
  max-width: 100%;
}

.overview-image,
.component-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.overview-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(160deg, #f8fafc, #eef2f7);
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
  font-family: 'Google Sans', sans-serif;
  padding: 1.5rem;
  line-height: 1.5;
}

.overview-placeholder code {
  font-size: 0.8rem;
  color: #475569;
}

.qual-model-section {
  margin-bottom: 2.75rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  background: #fcfdff;
}

.cmp-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cmp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

@media screen and (max-width: 900px) {
  .cmp-row {
    grid-template-columns: 1fr;
  }
}

.cmp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
}

.cmp-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #0f172a;
}

.cmp-pane {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cmp-pane:last-child {
  border-right: none;
}

.cmp-pane video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0f172a;
}

.cmp-pane .qual-placeholder {
  font-size: 0.78rem;
}

.cmp-pane video[data-ready="true"] + .qual-placeholder {
  display: none;
}

.cmp-footer {
  display: none;
}

.cmp-badge {
  position: absolute;
  top: 0.55rem;
  z-index: 2;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Google Sans', sans-serif;
  color: #fff;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.cmp-badge.fail {
  left: 0.55rem;
  background: #dc2626;
}

.cmp-badge.success {
  left: 0.55rem;
  background: #059669;
}

.cmp-badge.model {
  right: 0.55rem;
  left: auto;
  background: rgba(15, 23, 42, 0.88);
}

.cmp-badge.model.ours {
  background: rgba(14, 116, 144, 0.95);
}


.cmp-instruction {
  margin: 0;
  flex: 1;
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #1e293b;
  font-family: 'Google Sans', sans-serif;
}

.cmp-meta {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: 'Google Sans', sans-serif;
}

.publication-affiliations .author-block {
  margin-right: 0.5em;
}
