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


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

.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%;
    background-color: white !important;

    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;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb { 
  font-size: smaller;
}



.section-spacing {
  margin-top: 0px;
}
.eye-catcher {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 0;
  margin-bottom: 2rem;
}
.eye-catcher-image {
  max-height: 400px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.publication-video video {
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.content-box {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.pipeline-diagram {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.result-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
}
.placeholder-img {
  background: #e9ecef;
  border: 2px dashed #adb5bd;
  border-radius: 8px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-weight: 500;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
}

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

.motivation-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  border: 3px solid #2c5aa0;
  border-radius: 8px;
  padding: 30px;
}

.motivation-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.quote-section {
  background-color: #e8f2ff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #2c5aa0;
  font-weight: bold;
  text-align: center;
}

.approaches-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.approach-box {
  border: none; /* Remove any borders */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 12px; /* Optional: soften the corners */
  padding: 1rem;
  background-color: white; /* Ensure a white background */
  transition: box-shadow 0.3s ease;
}

.approach-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.existing-approaches {
  color: #333;
}

.engineering-needs {
  color: #333;
}

.csg-approach {
  color: #333;
}

.image-grid {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  justify-content: space-around;
  align-items: center;
}

.image-placeholder {
  width: 80px;
  height: 80px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  color: #666;
  text-align: center;
  position: relative;
}

.cross-mark {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.check-mark {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #44ff44;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.image-label {
  white-space: nowrap;
  text-align: center;
  margin-top: 8px;
  font-size: 0.9em;
  font-weight: bold;
}

.final-statement {
  background-color: #ffffff;
  color: black;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .approaches-grid {
      flex-direction: column;
  }
  
  .approach-box {
      min-width: auto;
  }
  
  .image-grid {
      flex-wrap: wrap;
      gap: 10px;
  }
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.approach-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cross-mark, .check-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 1.5rem;
  color: red; /* or green for check */
  background: rgba(255, 255, 255, 0);
  border-radius: 50%;
  padding: 0.2em;
  line-height: 1;
}

.check-mark {
  color: green;
}

code[class*="language-"], pre[class*="language-"] {
  font-family: 'Fira Code', 'JetBrains Mono', 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}
.token {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
}


code[class*="language-"], pre[class*="language-"] {
  font-family: 'Fira Code', 'JetBrains Mono', 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

.token {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
}

/* Enhanced Code Sample Styling */
.code-sample-box {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.3s ease;
}

.code-sample-box:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.code-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e9ecef;
}

.code-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-lang-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.code-block {
  margin: 0;
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 1.5rem;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-x: auto;
  border-radius: 0;
}

.code-block code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Python Syntax Highlighting */
.code-block .token.comment {
  color: #6a9955;
  font-style: italic;
}

.code-block .token.string {
  color: #ce9178;
}

.code-block .token.keyword {
  color: #569cd6;
  font-weight: bold;
}

.code-block .token.function {
  color: #dcdcaa;
}

.code-block .token.number {
  color: #b5cea8;
}

.code-block .token.operator {
  color: #d4d4d4;
}

.code-block .token.punctuation {
  color: #d4d4d4;
}

/* Description Box Styling */
.description-box {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.description-header {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  padding: 1rem 1.5rem;
}

.description-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.description-content {
  padding: 1.5rem;
  background: white;
}

.description-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin: 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .code-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .code-block {
    font-size: 0.8rem;
    padding: 1rem;
  }
  
  .code-title {
    font-size: 1rem;
  }
}

.columns.is-multiline {
  display: flex;
  flex-wrap: wrap;
}

.column.is-one-third {
  display: flex;
  flex-direction: column;
}

.approach-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}