* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Bootstrap-like grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-lg-8 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.offset-lg-2 {
  margin-left: 16.666667%;
}

.text-center {
  text-align: center;
}

/* Main container */
.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero section */
.hero-section {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 50px;
}

.hero-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title .hero-brain-icon {
  margin-right: 0.4rem;
  color: #3273dc;
}

.hero-subtitle {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #555;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.authors {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.affiliation {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.coadvise {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.links-section {
  margin-top: 1.5rem;
}

.venue {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
}

.links a {
  color: #3273dc;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
  font-size: 1rem;
}

.links a:hover {
  text-decoration: underline;
}

/* Video containers */
.video-container {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container video,
.video-container iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Section styling */
.content-section {
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

.section-subtitle {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Paragraphs and lists */
.content-section p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* Strong text */
.content-section strong {
  color: #222;
  font-weight: 600;
}

/* Blockquote styling */
blockquote {
  border-left: 4px solid #3273dc;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  color: #555;
}

/* Image styling */
.image-container {
  margin: 2rem 0;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.figure-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}

/* Methods section */
.methods-steps {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

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

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

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

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

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

.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 .item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

.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-image-wrapper {
  width: 100%;
}

#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* Table of Contents Navigation */
nav#toc-nav,
.toc-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-navbar .toc-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

nav#toc-nav .toc-menu,
.toc-navbar .toc-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

nav#toc-nav .toc-menu li,
.toc-navbar .toc-menu li {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav#toc-nav .toc-menu li a,
.toc-navbar .toc-menu li a,
.toc-menu li a {
  display: inline-flex;
  align-items: center;
  color: #555;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav#toc-nav .toc-menu li a i,
.toc-navbar .toc-menu li a i,
.toc-menu li a i {
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

nav#toc-nav .toc-menu li a:hover,
.toc-navbar .toc-menu li a:hover,
.toc-menu li a:hover {
  color: #222;
  background-color: rgba(0, 0, 0, 0.03);
}

nav#toc-nav .toc-menu li a.active,
.toc-navbar .toc-menu li a.active,
.toc-menu li a.active {
  color: #3273dc;
  font-weight: 600;
  border-bottom: 2px solid #3273dc;
}

/* Add padding to body to account for fixed TOC */
body {
  padding-top: 60px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Adjust section padding for better scroll offset */
section[id], 
div[id] {
  scroll-margin-top: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .main-container {
    padding: 20px 15px;
  }
  
  nav#toc-nav .toc-menu li a,
  .toc-navbar .toc-menu li a {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}
