body {
  font-family: 'Noto Sans', sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  line-height: 1.6;
}


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

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.link-block a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.external-link.button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.external-link.button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

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

#teaser {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}


.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;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
}

.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;
   transition: all 0.3s ease;
   text-decoration: none;
}

.publication-authors a:hover {
    color: hsl(204, 86%, 40%) !important;
    text-decoration: underline;
    transform: translateY(-1px);
}

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

/* Carousel styling removed - replaced with matrix layout */


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

.model-illustration-image {
  display: block;
  margin: 0 auto;
}

/* Professional section styling */
.section {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 2rem 0;
  padding: 3rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(10px);
  border-radius: 36px;
  margin: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero.is-light {
  background: rgba(248, 249, 250, 0.9);
}

/* Video Matrix Layout */
.video-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.video-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.video-caption {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-radius: 0 0 12px 12px;
}

/* Video subtitle styling */
.video-subtitle {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

/* Generation Videos Layout */
.generation-videos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.generation-video-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.generation-video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Special styling for GCo-DC (main contribution) */
.generation-video-item.dc-contribution {
  border: 3px solid #667eea;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  position: relative;
}

.generation-video-item.dc-contribution::before {
  content: "★ Main Contribution";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.generation-video-item.dc-contribution:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

/* Styling for CC variant (less stable) */
.generation-video-item.cc-variant {
  border: 2px solid #f39c12;
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
  position: relative;
}

.generation-video-item.cc-variant::before {
  content: "⚠ Less Stable";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.generation-video-item.cc-variant:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3);
}

/* Styling for CT variant (least stable) */
.generation-video-item.ct-variant {
  border: 2px solid #e74c3c;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.2);
  position: relative;
}

.generation-video-item.ct-variant::before {
  content: "⚠ Least Stable";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.generation-video-item.ct-variant:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(231, 76, 60, 0.3);
}

.generation-video-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.generation-video-caption {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0 0 12px 12px;
}

.generation-video-caption h4 {
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.generation-video-caption p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Generation footnote styling */
.generation-footnote {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.generation-footnote p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.generation-footnote ul {
  margin: 0;
  padding-left: 20px;
}

.generation-footnote li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.generation-footnote strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .generation-videos-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .video-matrix {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .generation-videos-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .generation-video-caption {
    padding: 12px 8px;
  }
  
  .generation-video-caption h4 {
    font-size: 0.9rem;
  }
  
  .generation-video-caption p {
    font-size: 12px;
  }
}
