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%;

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

.section-div {
  height: 3em;
}

.mobile-message {
  display: none;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .mobile-message {
    display: block;
  }

  .desktop-content {
    display: none;
  }

  .publication-title.title.is-1 {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }

  .publication-authors.is-size-5,
  .is-size-5 {
    font-size: 0.95rem !important;
  }

  .title.is-3,
  .section-heading {
    font-size: 1.4rem !important;
  }

  .subtitle {
    font-size: 1rem !important;
  }

  .content,
  .content p,
  .section-intro,
  .abstract-panel p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .abstract-panel {
    padding: 1.1rem 1.15rem;
  }

  .rollout-task-name {
    font-size: 1rem;
  }

  .rollout-badge {
    font-size: 0.62rem;
    padding: 0.22rem 0.55rem;
  }

  .failure-selector-label,
  .failure-selector-control select {
    font-size: 0.85rem;
  }

  .failures-panel {
    padding: 1rem;
  }

  .rollout-card {
    padding: 0.85rem 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .publication-title.title.is-1 {
    font-size: 1.35rem !important;
  }

  .title.is-3,
  .section-heading {
    font-size: 1.2rem !important;
  }

  .content,
  .content p,
  .section-intro,
  .abstract-panel p {
    font-size: 0.88rem;
  }

  .rollout-task-name {
    font-size: 0.95rem;
  }
}

/* Modernized section design — shared across sections */
.section-heading {
  font-family: 'Google Sans', sans-serif;
  text-align: start;
  margin-bottom: 0.5rem !important;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

.section-heading.is-centered {
  display: block;
  text-align: center;
}

.section-intro {
  color: #475569;
  margin-bottom: 1.5rem;
}

/* Modernized figures (images inside body sections) */
.feature-figure {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: block;
  margin: 0.5rem 0 1rem;
}

/* Modernized carousel items */
.results-carousel .item {
  margin: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 0;
  font-size: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

/* Abstract panel */
.abstract-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* Failures — modernized selector + card layout */
.failures-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}

.failure-selector-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.failure-selector-label {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
}

.failure-selector-control {
  position: relative;
  display: inline-flex;
}

.failure-selector-control select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 0.55rem 2.4rem 0.55rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.failure-selector-control select:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
}

.failure-selector-control select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.failure-selector-control::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #475569;
  border-bottom: 2px solid #475569;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.failure-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.failure-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.failure-card-header .rollout-task-name {
  color: #0f172a;
}

.rollout-badge.failure {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}

.failure-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.failure-videos.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 50%;
  margin: 0 auto;
}


@media (max-width: 640px) {
  .failure-videos {
    grid-template-columns: 1fr;
  }

  .failure-videos.single {
    max-width: 100%;
  }
}

.rollouts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.rollout-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.1rem 1.4rem 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rollout-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 16px 32px rgba(15, 23, 42, 0.09);
}

.rollout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.rollout-task-name {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.005em;
}

.rollout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.rollout-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rollout-badge.real {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.rollout-badge.sim {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.rollout-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rollout-videos .video-wrapper,
.failure-videos .video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.rollout-videos video,
.failure-videos video {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  cursor: pointer;
}

.rollout-videos video:focus,
.rollout-videos video:hover,
.failure-videos video:focus,
.failure-videos video:hover {
  outline: none;
}

.video-toggle {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
  padding: 0;
  opacity: 0.85;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-wrapper:hover .video-toggle,
.video-toggle:hover,
.video-toggle:focus {
  opacity: 1;
  background: rgba(15, 23, 42, 0.85);
}

.video-toggle:hover {
  transform: scale(1.05);
}

.video-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

@media (max-width: 640px) {
  .rollout-videos {
    grid-template-columns: 1fr;
  }

  .rollout-card-header {
    flex-wrap: wrap;
  }
}