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

.rounded{
  border-radius: 15px; 
  overflow: hidden; 
}

.section-subtitle {
  margin-top: -0.3rem;
  margin-bottom: 1.25rem;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.14em;
  font-size: 1rem;
  font-family: 'Castoro', 'Google Sans', serif;
  font-weight: 600;
  font-style: italic;
  color: #2f6b8f;
}

.section-subtitle--note {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #2f6b8f;
  border-left: 3px solid #bcd8e5;
  padding-left: 0.65rem;
}


.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-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.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 a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

/* .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%;
}

.results-carousel-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.results-carousel {
  position: relative;
}

.results-carousel .glide__track {
  overflow: visible;
}

.results-carousel .glide__slides {
  align-items: center;
}

.results-carousel .glide__slide {
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0 12px;
}

.results-carousel .glide__slide--active {
  opacity: 1;
  transform: scale(1.02);
}

.results-slide {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  padding: 0;
  font-size: 0;
  box-shadow: none;
  border: none;
  height: 306px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-slide video {
  margin: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  background-color: #000;
}

.results-carousel__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.results-carousel__arrows .glide__arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}

.results-carousel__arrows img {
  width: 48px;
  height: 48px;
}

.results-carousel__bullets {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.results-carousel__bullets .glide__bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.results-carousel__bullets .glide__bullet--active,
.results-carousel__bullets .glide__bullet:focus,
.results-carousel__bullets .glide__bullet:hover {
  background: #79b4f2;
  border-color: #79b4f2;
  color: #0b1d33;
}


@media (max-width: 768px) {
  .results-carousel-wrapper {
    max-width: 100%;
  }

  .results-slide {
    height: 350px;
  }
}

.results-video {
  border-radius: 22px;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

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

.tldr-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.tldr-card {
  background: linear-gradient(135deg, #f4f9ff, #e8f7ff);
  border-radius: 14px;
  border: 1px solid #d2e9ff;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(16, 76, 120, 0.1);
}

.tldr-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.tldr-pill {
  background: #1e63c3;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tldr-subtitle {
  margin-bottom: 1rem;
  color: #123;
}

.tldr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.tldr-list li {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(30, 99, 195, 0.1);
  border-radius: 10px;
  padding: 0.75rem 0.9rem 0.75rem 2.5rem;
  position: relative;
  line-height: 1.4;
  color: #0d1b2a;
}

.tldr-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  background: #1e63c3;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(30, 99, 195, 0.15);
}

@media (max-width: 768px) {
  .tldr-card {
    padding: 1.25rem;
  }

  .tldr-list li {
    padding-left: 2rem;
  }
}

/* Interactive 3D gallery beneath the model viewer */
.thumbnail-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.thumbnail-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 14px;
  padding: 18px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  align-items: center;
  background: linear-gradient(135deg, #f7faff, #eef5ff);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(27, 44, 74, 0.08);
}

.thumbnail-container img,
.thumbnail-container video {
  transition: all 0.3s ease;
  border: 3px solid transparent;
  cursor: pointer;
  flex: 0 0 auto;
  height: auto;
  width: 200px;
  object-fit: cover;
  max-width: none;
  border-radius: 16px;
}

.thumbnail-selected {
  transform: scale(1.2);
  border: 6px solid #79b4f2 !important;
  box-shadow: 0 0 10px rgba(121, 180, 242, 0.5);
  z-index: 10;
  position: relative;
}

/* Page-specific styling migrated from inline HTML */
.publication-authors a {
  color: #555 !important;
  text-decoration: none !important;
}

.publication-authors a:hover {
  color: #333 !important;
  text-decoration: underline !important;
}

.publication-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem !important;
}

.publication-links .button {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.publication-links .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-body {
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
}

.publication-authors {
  margin-bottom: 0.3rem !important;
}

.publication-links {
  margin-top: 1.5rem !important;
}

.tldr-list {
  font-size: 0.95rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tldr-list li {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #e0e0e0, #f5f5f5) border-box;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  line-height: 1.6;
}

.tldr-list li::before {
  content: "\2022";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3273dc;
  font-size: 1em;
  line-height: 1;
}

.tldr-list li:hover {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #3273dc, #c9a227) border-box;
  box-shadow: 0 4px 15px rgba(50, 115, 220, 0.2);
  transform: translateX(4px);
}

.tldr-list li::after {
  content: "\2193 click to jump";
  position: absolute;
  right: 0.75rem;
  bottom: 0.4rem;
  font-size: 0.75rem;
  color: #999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tldr-list li:hover::after {
  opacity: 1;
  color: #3273dc;
}

.section .title {
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  text-align: center;
  color: #666 !important;
  font-style: normal;
  font-weight: 600 !important;
  font-family: inherit;
  font-size: 1.1rem !important;
  margin-top: -0.5rem !important;
  margin-bottom: 1.5rem !important;
}

.section-subtitle--note {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.collapsible-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  margin: 2rem auto 0 auto;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  color: #3273dc;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 400px;
}

.collapsible-toggle:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  border-color: #3273dc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 115, 220, 0.2);
}

.collapsible-toggle .arrow {
  transition: transform 0.3s ease;
}

.collapsible-toggle.active .arrow {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background-color: #f5f5f5;
  margin-top: 1rem;
  border-radius: 8px;
}

.collapsible-content.show {
  max-height: 2000px;
}

.collapsible-content-inner {
  padding: 2rem 1rem;
}

#results-carousel-collapsed {
  max-width: 900px;
  margin: 0 auto;
}

#results-carousel-collapsed .results-slide {
  background: transparent !important;
  height: auto !important;
}

#results-carousel-collapsed .results-slide video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: transparent !important;
}

.thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  z-index: 30;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.thumbnail-nav span {
  font-size: 1.4rem;
  line-height: 1;
}

.thumbnail-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.thumbnail-nav--prev {
  left: -0.75rem;
}

.thumbnail-nav--next {
  right: -0.75rem;
}

.thumbnail-nav.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.thumbnail-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.2s ease;
  opacity: 0;
}

.thumbnail-fade--left {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.thumbnail-fade--right {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
}

.thumbnail-container::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media (max-width: 768px) {
  .thumbnail-slider {
    padding: 0 2.5rem;
  }

  .thumbnail-container {
    padding: 14px 0;
  }

  .thumbnail-container img,
  .thumbnail-container video {
    height: 100px;
    width: 140px;
  }

  .thumbnail-nav {
    width: 40px;
    height: 40px;
  }

  .thumbnail-nav span {
    font-size: 1.2rem;
  }

  .thumbnail-nav--prev {
    left: -0.25rem;
  }

  .thumbnail-nav--next {
    right: -0.25rem;
  }
}
