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


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

.link-block a,
.link-block .button {
    margin-top: 5px;
    margin-bottom: 5px;
    vertical-align: middle;
}

.link-block {
    display: inline-block;
    vertical-align: top;
}

.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: #666;
    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;
}


.has-bg-img { 
  background: url('/static/images/toss.jpeg')center center;
   background-size:cover; }



.overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.0); /* 0% opacity black */
z-index: 1; /* Make sure it's behind the text */
transition: opacity 1.0s;
}
  
.hero-body,
.hero-head,
.hero-foot {
  z-index: 2; /* Ensure text is above the overlay */
  transition: opacity 1.0s;
}

.section {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.section-title-accent {
  text-align: center;
  border-bottom: 5px solid #8a8a8a;
  display: inline-block;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 15px;
  margin-bottom: 40px;
  position: relative;
}

.section-title-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8a8a8a, transparent);
  opacity: 0.5;
}

/* Navbar hover effects */
.navbar a.navbar-item {
  background-color: rgba(112, 112, 112, 0.45);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar a.navbar-item:hover {
  background-color: rgba(112, 112, 112, 0.65) !important;
  transform: translateY(-2px);
}

.navbar-item[style*="cursor: not-allowed"] {
  pointer-events: none;
}

/* Style for non-link navbar items (Coming Soon) */
.navbar-end .navbar-item:not(a) {
  background-color: rgba(112, 112, 112, 0.45);
  border-radius: 8px;
}

.navbar-end .navbar-item .button.is-inverted {
  background-color: rgba(112, 112, 112, 0.45);
  border-radius: 8px;
}

.top-nav-container {
  width: 100%;
  max-width: none !important;
  padding-left: 2rem;
  padding-right: 2rem;
}

.top-nav-container .navbar-item {
  justify-content: center;
  min-width: 128px;
}

.external-link.button.is-dark {
  background-color: #8a8a8a;
  border-color: #8a8a8a;
  color: #fff;
}

.external-link.button.is-dark:hover {
  background-color: #767676;
  border-color: #767676;
  color: #fff;
}

.resource-icon {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
}

.github-icon {
  width: 1.18em;
  height: 1.18em;
  fill: currentColor;
}

.youtube-icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

/* Responsive line breaks for author list */
.desktop-br {
  display: inline;
}

@media screen and (max-width: 1024px) {
  .desktop-br {
    display: none;
  }
}

/* Subsection description styling */
.subsection-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 25px auto;
  padding: 15px 25px;
  font-size: 1.25rem;
  font-style: italic;
  color: #4f5b66;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #8a8a8a;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(138, 138, 138, 0.14);
  line-height: 1.6;
  font-weight: 500;
}

.video-showcase-grid {
  margin-top: 0.5rem;
  row-gap: 1.25rem;
}

.video-card {
  height: 100%;
}

.video-title {
  text-align: center;
  margin-bottom: 12px !important;
}

.showcase-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.ablation-note {
  margin-top: 12px;
  color: #4f5b66;
  text-align: left;
}

.ablation-note summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 12px 14px;
  border-left: 3px solid #8a8a8a;
  background: #f7f8fa;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

.ablation-note summary::-webkit-details-marker {
  display: none;
}

.ablation-note summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e4e7eb;
  color: #2e2e2e;
  font-size: 1rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.ablation-note[open] summary {
  border-radius: 6px 6px 0 0;
}

.ablation-note[open] summary::before {
  content: "-";
}

.ablation-note-label {
  display: inline-block;
  color: #2e2e2e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ablation-note p {
  margin: 0;
  padding: 10px 14px 12px 17px;
  border-left: 3px solid #8a8a8a;
  background: #f7f8fa;
  border-radius: 0 0 6px 6px;
  font-size: 0.98rem;
  line-height: 1.48;
}

@media screen and (max-width: 768px) {
  .subsection-description {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .video-title {
    font-size: 1.25rem !important;
  }

  .ablation-note {
    margin-top: 10px;
  }

  .ablation-note summary {
    padding: 10px 12px;
  }

  .ablation-note p {
    font-size: 0.94rem;
  }
}
