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

html {
  scroll-behavior: smooth;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  background: #B1E3F7E1;
  color: #333;
  padding: 2rem 0;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.sidebar.collapsed {
  transform: translateX(-280px);
}

.sidebar-toggle {
  position: fixed;
  left: 240px;
  top: 20px;
  width: 40px;
  height: 40px;
  background: #B1E3F7E1;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease, background 0.3s ease;
  z-index: 1001;
}

.sidebar-toggle.collapsed {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.sidebar-toggle:hover {
  background: #9DD4EE;
}

.toggle-icon {
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
}

.sidebar-content {
  padding: 0 1.5rem;
}

.sidebar-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.sidebar-link:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
  transform: translateX(5px);
  font-weight: 700;
}

/* Sidebar subsection styles */
.sidebar-section {
  margin-bottom: 0.5rem;
}

.sidebar-link-with-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sidebar-link-with-toggle .sidebar-link {
  flex: 1;
  margin: 0;
}

.subsection-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 4px;
  min-width: 28px;
  height: 28px;
}

.subsection-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.toggle-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.subsection-toggle.collapsed .toggle-arrow {
  transform: rotate(-90deg);
}

.sidebar-subsection {
  margin-left: 1rem;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.sidebar-subsection.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.sidebar-sublink {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

/* Main Content Styles */
.main-content {
  margin-left: 280px;
  min-height: 100vh;
  width: calc(100% - 280px);
  transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-content.expanded {
  margin-left: 0;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sidebar-link {
    flex: 0 1 auto;
  }
}


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