body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.1rem;
}

a:not(.button):not(.navbar-item) {
  color: rgb(20, 135, 200);
}

.title {
  color: rgb(0, 65, 145) !important;
  font-weight: 600;
}

.hero.is-light {
  background-color: #f5f9fc !important;
}

.publication-links .button.is-dark {
  /* background-color: rgb(0, 65, 145); */
  border-color: rgb(0, 65, 145);
  color: #fff;
}

.publication-links .button.is-dark:hover {
  background-color: rgb(0, 55, 120);
  border-color: rgb(0, 55, 120);
  color: #fff;
}

.publication-authors + .publication-authors {
  color: rgb(0, 65, 145);
}

.content strong,
.content b,
.method-card strong,
.method-card b,
.takeaway strong {
  font-weight: 600;
}


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

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

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

.dfp {
  font-variant: small-caps;
  font-weight: 700;
}

.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.has-tooltip {
  position: relative;
}

.has-tooltip:hover::after,
.has-tooltip:focus::after {
  background: #363636;
  border-radius: 4px;
  bottom: calc(100% + 8px);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.8rem;
  font-weight: 500;
  left: 50%;
  line-height: 1.2;
  padding: 0.4rem 0.55rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 20;
}

.has-tooltip:hover::before,
.has-tooltip:focus::before {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #363636;
  bottom: calc(100% + 2px);
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  z-index: 20;
}

.placeholder-media {
  align-items: center;
  background: #f5f5f5;
  border: 1px dashed #b5b5b5;
  border-radius: 10px;
  color: #4a4a4a;
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
  min-height: 220px;
  padding: 2rem;
  text-align: center;
}

.paper-artifact {
  align-items: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #4a4a4a;
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  min-height: 280px;
  overflow-x: auto;
  padding: 1.25rem;
  text-align: center;
}

.paper-artifact-small {
  min-height: 220px;
}

.equation-artifact {
  background: #fbfbfb;
  min-height: 180px;
  padding: 1.5rem;
}

.wide-section .container {
  max-width: 1280px;
}

.section-intro {
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
}

.media-grid {
  margin-top: 0.5rem;
}

.markdown-slot.is-loaded {
  align-items: stretch;
  display: block;
  min-height: 0;
  text-align: left;
}

.teaser .paper-artifact {
  margin: 0 auto 1.5rem;
  max-width: 720px;
}

.teaser .paper-artifact.is-loaded {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
}

.teaser .markdown-content img,
.teaser .markdown-content video {
  border-radius: 6px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.12));
  max-height: 560px;
  object-fit: contain;
  width: auto;
}

.markdown-content {
  color: #222;
  font-size: 1rem;
  width: 100%;
}

.markdown-content h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.markdown-content p {
  margin: 0.75rem 0;
}

.markdown-content img,
.markdown-content video {
  border-radius: 4px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.markdown-content video {
  width: 100%;
}

.markdown-content .figure-caption {
  color: #555;
  font-size: 0.95rem;
  margin: 0.75rem auto 0;
  max-width: 980px;
  text-align: center;
}

.math-block {
  font-size: 1.05rem;
  margin: 1rem auto;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0;
  text-align: center;
}

.markdown-table-scroll {
  overflow-x: auto;
  width: 100%;
}

.markdown-table-scroll table {
  background: #fff;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0 auto;
  min-width: 900px;
  white-space: nowrap;
}

.markdown-table-scroll th,
.markdown-table-scroll td {
  border: 1px solid #d6d6d6;
  padding: 0.45rem 0.6rem;
  text-align: center;
}

.markdown-table-scroll th {
  background: #f5f5f5;
  font-weight: 700;
}

.placeholder-media-large {
  min-height: 420px;
}

.placeholder-media-small {
  min-height: 220px;
}

.carousel-placeholder {
  margin: 0;
  min-height: 300px;
}

.placeholder-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.placeholder-subtitle {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.method-grid {
  margin-top: 1rem;
}

.method-grid .content {
  height: 100%;
}

.method-card,
.method-note {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 2rem 0;
  padding: 0;
}

.method-card .title,
.method-note .title {
  margin-bottom: 0.75rem;
}

.method-card .title.is-4,
.method-note .title.is-4,
.result-subsection .title.is-4 {
  font-size: 1.4rem;
}

.method-card p,
.method-note p {
  color: #333;
  line-height: 1.65;
  margin: 0.75rem 0 0;
}

.method-card ol,
.method-card ul,
.method-note ol,
.method-note ul {
  color: #333;
  margin: 0.75rem 0 0;
  padding-left: 1.5rem;
}

.method-card li,
.method-note li {
  line-height: 1.65;
  margin: 0.2rem 0;
}

.equation-box {
  background: transparent;
  border: none;
  color: #111;
  margin: 0.6rem 0;
  overflow-x: auto;
  padding: 0.4rem 0;
  text-align: center;
}

.method-note {
  border-top: 1px solid rgba(0, 65, 145, 0.15);
  padding-top: 1.25rem;
}

.hero.is-light .content a:not(.button):not(.dropdown-item):not(.tag) {
  color: rgb(20, 135, 200) !important;
}

.hero.is-light .content a:not(.button):not(.dropdown-item):not(.tag):hover {
  text-decoration: underline;
}

.problem-question {
  max-width: 760px;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: #1a1a1a;
}

.metric-grid {
  margin: 1rem auto 0.25rem;
  max-width: 900px;
}

.metric-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  height: 100%;
  padding: 0.8rem 0.7rem;
  text-align: center;
}

.metric-value {
  color: #111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.metric-label {
  color: #555;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.optional-rollouts .paper-artifact {
  min-height: 180px;
}

.result-subsection {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.result-caption {
  max-width: 980px;
  margin: 0 auto 1rem auto;
  color: #555;
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.55;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0 1rem 0;
}

.main-results-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  margin: 0 auto;
  background: #ffffff;
  font-size: 0.92rem;
  line-height: 1.25;
  border-top: 1px solid #e8e8e8;
}

.main-results-table th,
.main-results-table td {
  padding: 0.45rem 0.3rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e8e8e8;
  white-space: nowrap;
}

.main-results-table thead th {
  background: #ffffff;
  font-weight: 700;
  color: #222;
  border-bottom: 1.5px solid rgba(0, 65, 145, 0.2);
}

.main-results-table .group-header th {
  background: #ffffff;
  font-size: 0.95rem;
  /* color: rgb(0, 65, 145); */
}

.main-results-table th:first-child,
.main-results-table .method {
  text-align: left;
  font-weight: 600;
  color: #222;
  position: sticky;
  left: 0;
  background: inherit;
  z-index: 1;
}

.main-results-table thead th:first-child {
  background: #ffffff;
  z-index: 3;
}

.main-results-table tbody tr:nth-child(odd),
.main-results-table tbody tr:nth-child(even) {
  background: #ffffff;
}

.main-results-table tbody tr.separator td {
  border-top: 1.5px solid #d7d7d7;
}

.main-results-table .pm {
  display: none;
}

.main-results-table .best {
  font-weight: 800;
  color: #111;
}

.main-results-table .second-best,
.second-best {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.2px;
}

.main-results-table .ours-row {
  background: rgba(0, 65, 145, 0.10) !important;
}

.main-results-table .ours-row td {
  border-top: 1.5px solid rgba(0, 65, 145, 0.30);
  border-bottom: 1.5px solid rgba(0, 65, 145, 0.30);
}

.main-results-table .ours-method {
  color: rgb(0, 65, 145);
  /* font-weight: 800; */
}

.figure-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0 1rem 0;
}

.figure-scroll img {
  display: block;
  margin: 0 auto;
  height: auto;
}

.result-curve-svg {
  width: 100%;
  max-width: 1200px;
  min-width: 900px;
}

.qualitative-section {
  margin-top: 3rem;
}

.qualitative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 1.5rem auto 0 auto;
}

.rollout-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
}

.rollout-video-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
}

.rollout-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.rollout-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1rem 1rem;
}

.rollout-title {
  font-weight: 700;
  color: #222;
  font-size: 1rem;
}

.rollout-subtitle {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.35;
}

@media screen and (max-width: 768px) {
  .result-caption {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .table-scroll {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .main-results-table {
    min-width: 720px;
    font-size: 0.85rem;
  }

  .main-results-table th,
  .main-results-table td {
    padding: 0.4rem 0.28rem;
  }

  .result-curve-svg {
    min-width: 1000px;
  }

  .qualitative-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Source Sans Pro', 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: 'Source Sans Pro', sans-serif;
}

.publication-authors {
    font-family: 'Source Sans Pro', 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: rgb(20, 135, 200) !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: #f5f9fc;
  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;
}
