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


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.button.is-code-button {
  background-color: #7a7a7a;
  border-color: #7a7a7a;
  color: #fff;
}

.button.is-code-button:hover,
.button.is-code-button:focus {
  background-color: #6b6b6b;
  border-color: #6b6b6b;
  color: #fff;
}

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

.comparison-subtitle {
  margin-bottom: 1rem;
}

.method-comparison-grid {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.method-comparison-figure {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

.method-comparison-figure:first-child {
  flex: 5 1 0;
}

.method-comparison-figure:last-child {
  flex: 2 1 0;
}

.method-comparison-media {
  height: clamp(180px, 28vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-comparison-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.method-comparison-caption {
  margin: 0.9rem auto 0;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .method-comparison-grid {
    gap: 0.75rem;
  }

  .method-comparison-media {
    height: 180px;
  }
}

.representation-results-figure {
  margin: 0;
}

.representation-results-image {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.representation-results-caption {
  margin: 0.9rem auto 0;
  max-width: 960px;
  color: #555;
  line-height: 1.5;
}

.compression-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.compression-results-figure {
  margin: 0;
}

.compression-results-image {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.compression-results-caption {
  margin: 0.75rem auto 0;
  color: #555;
  line-height: 1.5;
}

.compression-scaling-intro {
  margin: 0 auto 1rem;
  max-width: 960px;
  color: #555;
  line-height: 1.6;
}

.editing-results-video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 1rem;
}

.editing-results-video {
  display: block;
  width: 50%;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 12px;
  background: #111;
}

.reference-entry {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #f5f5f5;
  overflow-x: auto;
  white-space: pre-wrap;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .compression-results-grid {
    grid-template-columns: 1fr;
  }
}


.dataset-toggle {
  margin-bottom: 0.9rem;
}

.dataset-toggle .button {
  margin: 0 0.25rem;
}

.dataset-toggle .button.is-selected {
  background-color: hsl(204, 86%, 53%);
  border-color: hsl(204, 86%, 53%);
  color: #fff;
}

.video-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 832 / 480;
  border-radius: 12px;
  overflow: hidden;
  cursor: ew-resize;
  background: #111;
  user-select: none;
  touch-action: none;
}

.compare-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.compare-overlay .compare-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-1px);
  pointer-events: none;
}

.divider-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
}

.selected-method {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.method-groups {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.method-group {
  margin-bottom: 1.25rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.method-card {
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  padding: 0.45rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.method-card:hover {
  border-color: hsl(204, 86%, 53%);
}

.method-card.is-selected {
  border-color: hsl(204, 86%, 53%);
  box-shadow: 0 0 0 2px hsla(204, 86%, 53%, 0.2);
}

.method-card.is-unsupported {
  border-style: dashed;
}

.method-card.is-unsupported .method-bitrate {
  color: #b86a00;
}

.method-card video {
  width: 100%;
  border-radius: 6px;
  background: #111;
}

.method-name {
  font-weight: 600;
  margin-top: 0.45rem;
}

.method-bitrate {
  color: #666;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .method-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
