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

.publication-title {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

.author-block {
  display: inline-block;
  margin: 0 0.2rem;
}

.publication-links {
  margin-top: 1rem;
}

.link-block {
  margin: 0.3rem;
}

.teaser video {
  width: 100%;
  border-radius: 10px;
}

.dnerf {
  font-weight: bold;
  color: #5a67d8;
}

.hero .title {
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #555;
}

.content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.filters {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.filters label {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #333;
}

.filters .field {
  margin: 0.5rem;
}

.video-gallery {
  min-height: 400px;
}

.video-item {
  margin-bottom: 1.5rem;
  padding: 0.5rem;
}

.video-item video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.video-item video:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.video-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  text-align: center;
}

.video-metadata {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

.video-metadata .tag {
  margin: 0.1rem;
  font-size: 0.7rem;
}

.pagination-controls {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pagination-controls button {
  margin: 0.5rem;
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#page-info {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

#video-count {
  color: #5a67d8;
  font-size: 1.1rem;
}

.footer {
  margin-top: 3rem;
  background-color: #fafafa;
  padding: 3rem 1.5rem;
}

.is-max-desktop {
  max-width: 1200px;
}

pre {
  background-color: #f5f5f5;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

code {
  background-color: #f5f5f5;
  color: #333;
}

@media screen and (max-width: 768px) {
  .filters .field {
    width: 100%;
  }

  .filters .control {
    width: 100%;
  }

  .filters .select {
    width: 100%;
  }

  .filters select {
    width: 100%;
  }
}

/* Comparison Section Styles */
.video-comparison {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.input-image-container {
  position: sticky;
  top: 2rem;
}

.input-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.input-image-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  font-weight: 600;
}

.intention-text {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #5a67d8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.intention-text h3 {
  margin: 0 0 0.5rem 0;
  color: #5a67d8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intention-text p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.comparison-videos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.comparison-video-item {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.comparison-video-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.comparison-video-item video {
  width: 100%;
  border-radius: 6px;
  background: #000;
}

.comparison-video-label {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: #333;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}

.variation-number {
  display: inline-block;
  background: #5a67d8;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
}

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

  .input-image-container {
    position: relative;
    top: 0;
  }

  .comparison-videos-container {
    grid-template-columns: 1fr;
  }
}
