body {
  font-family: 'Source Sans 3', 'Noto Sans', sans-serif;
  color: #1f2937;
}


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

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

/* No side padding, so the caption lines up with the abstract column and the
   figure spans the container. Below the desktop breakpoint the container is
   fluid, so the same 1.5rem a .section carries is needed to keep the columns'
   negative margin inside the viewport. */
.teaser .hero-body {
  padding: 0;
}

@media screen and (max-width: 1023px) {
  .teaser .hero-body {
    padding: 0 1.5rem;
  }
}

.section.abstract {
  padding-bottom: 0;
}


.quick-preview-video {
  display: block;
  width: 100%;
  height: auto;
}


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

.publication-authors a:hover {
    color: #f97316;
}

.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 {
    visibility: hidden;
    overflow: hidden;
    width: 100%;
    max-height: 0;
}

.results-carousel .oneitem {
    background-color: #bbb;
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
    margin-top: 0;
    margin-bottom: 56px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 13px;
    padding: 0;
    font-size: 0;
    max-height: 560px;
    overflow-y: auto;
}

.results-carousel .twoitem {
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 56px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 0;
    font-size: 0;
}

/* Bottom strip that holds the pagination dots (see .slider-pagination below). */
#results-carousel-square .twoitem,
#comparison-carousel-square .twoitem {
    margin-bottom: 56px;
}

.comparison-panel {
    position: relative;
    width: 100%;
}

/* Segmented control: the five methods read as one bar rather than five loose
   chips, which is the only shape that fits on a single row at every slide width. */
.comparison-method-selector {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: inline-flex;
    align-items: stretch;
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(15, 17, 20, 0.62);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    font-size: 11.5px;
    font-weight: 600;
}

.comparison-method-label {
    display: none;
}

.comparison-method-pill {
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.comparison-method-pill:first-of-type {
    border-left: 0;
}

.comparison-method-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.comparison-method-pill:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: -2px;
}

.comparison-method-pill.is-active {
    color: #111;
    background: rgba(255, 255, 255, 0.94);
}

/* Slide width depends on the column count as well as the window, so the bar sizes
   itself against the panel it sits on rather than against the viewport. */
.comparison-panel {
    container-type: inline-size;
}

@container (max-width: 345px) {
    .comparison-method-selector {
        font-size: 10.5px;
    }

    .comparison-method-pill {
        padding: 5px 7px;
    }
}

@container (max-width: 300px) {
    .comparison-method-selector {
        font-size: 10px;
    }

    .comparison-method-pill {
        padding: 4px 6px;
    }
}

.comparison-panel .twentytwenty-wrapper {
    width: 100%;
}

/* Keep every comparison panel rounded while clipping the image contents. */
.results-carousel .twentytwenty-wrapper,
.results-carousel .twentytwenty-container {
    border-radius: 10px;
    overflow: hidden;
}

.comparison-results {
    margin-top: 0;
}

.other-dense-regression-results {
    margin-top: 0;
}

#other-dense-regression-carousel .oneitem {
    background-color: transparent;
    height: auto;
    max-height: none;
    overflow: hidden;
    margin-bottom: 56px;
}

#other-dense-regression-carousel .twentytwenty-wrapper {
    width: 100%;
}

#other-dense-regression-carousel .twentytwenty-container {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.normals-prediction-results {
    margin-top: 0;
}

.albedo-prediction-results {
    margin-top: 0;
}

#normals-prediction-carousel .oneitem {
    background-color: transparent;
    height: auto;
    max-height: none;
    overflow: hidden;
}

#normals-prediction-carousel .twentytwenty-wrapper {
    width: 100%;
}

#normals-prediction-carousel .twentytwenty-container {
    aspect-ratio: 1 / 1;
    width: 100%;
}

#albedo-prediction-carousel .oneitem {
    background-color: transparent;
    height: auto;
    max-height: none;
    overflow: hidden;
}

#albedo-prediction-carousel .twentytwenty-wrapper {
    width: 100%;
}

#albedo-prediction-carousel .twentytwenty-container {
    aspect-ratio: 1 / 1;
    width: 100%;
}

/* Show carousel examples without the surrounding gray/black cards. */
.results-carousel .oneitem,
.results-carousel .twoitem {
    background-color: transparent;
    border: none;
    border-radius: 0;
}

/* A table that closes a section must not add to the section's own padding. */
.results-table-wrapper:last-child {
    margin-bottom: 0;
}

.results-table-wrapper {
    margin: 1.25rem 0 2rem;
    overflow-x: auto;
    text-align: center;
}

.compiled-table-image {
    display: block;
    width: 760px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.results-table-slot {
    align-items: center;
    border: 2px dashed #b5b5b5;
    border-radius: 6px;
    color: #777;
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 2rem;
    min-height: 180px;
    padding: 1.5rem;
    text-align: center;
}

.results-table-slot p {
    margin: 0 !important;
}

#results-carousel-square .twentytwenty-container,
#results-carousel-square .twentytwenty-container,
#comparison-carousel-square .twentytwenty-container {
    aspect-ratio: 1 / 1;
}

/* Keep failed WebP requests from leaving broken-image icons inside sliders. */
.gallery-image-error {
    align-items: center;
    background: #f3f3f3;
    color: #777;
    display: flex !important;
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
}

.gallery-image-error::after {
    content: attr(data-gallery-error);
}

.gallery-image-error-image {
    display: none !important;
}

.slider-navigation-previous {
    top: calc(50% - 28px);
    left: calc(0% + 15px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

.slider-navigation-next {
    top: calc(50% - 28px);
    left: calc(100% - 15px - 42px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

.slider-pagination {
    top: calc(100% - 56px);
    display: inline-block;
}

.slider-pagination .slider-page {
    background-color: #FFF;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1);
    display: inline-block;
}

.selectable{
    -webkit-touch-callout: all; /* iOS Safari */
    -webkit-user-select: all; /* Safari */
    -khtml-user-select: all; /* Konqueror HTML */
    -moz-user-select: all; /* Firefox */
    -ms-user-select: all; /* Internet Explorer/Edge */
    user-select: all; /* Chrome and Opera */
}

/* Header in the style of the Marigold V2 demo: serif identity, spaced small caps, icon text links. */
.title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.mv2-hero .hero-body {
  padding-bottom: 1.5rem;
}

.mv2-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 68px;
  color: #1f2937;
}

.mv2-paper-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px;
  line-height: 36px;
  color: #1f2937;
  margin-top: 2px;
}

.mv2-venue {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 14px 0 20px;
}

.mv2-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

/* Badges are the committed SVGs in assets/shields, shared with the README and model card. */
.mv2-link {
  display: inline-flex;
  line-height: 0;
}

.mv2-link img {
  height: 30px;
  width: auto;
  transition: transform 0.15s ease;
}

.mv2-link:hover img {
  transform: translateY(-1px);
}

.mv2-rule {
  margin: 26px auto 0;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 529px) {
  .mv2-title {
    font-size: 44px;
    line-height: 48px;
  }

  .mv2-paper-title {
    font-size: 22px;
    line-height: 28px;
  }

  .mv2-venue {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .mv2-links {
    gap: 8px;
  }

  .mv2-link img {
    height: 26px;
  }
}

/* Page rhythm. Content blocks close with 1rem, headings open with 2rem, so every
   section break is the same ~3rem regardless of what sits above it. */
.section {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* Heading-only sections lead straight into their gallery. */
/* These headings are their own section, with the intro line and the carousel in
   the hero that follows; 1.5rem keeps the heading-to-prose gap the same as in
   the sections that hold both. */
.gallery-heading,
.comparison-heading,
.other-dense-regression-heading {
  padding-bottom: 1.5rem;
}

.hero.is-small .hero-body {
  padding-top: 0;
  padding-bottom: 0;
}

/* The BibTeX block shares the text column; the code itself stays left-aligned. */
#BibTeX pre {
  text-align: left;
}

/* Both tables are rendered from the paper's LaTeX at the same DPI, so equal
   on-screen scale means equal font size. The wide one breaks out of the text
   column up to the 960px container; the narrow one is sized to match. */
.compiled-table-image--wide {
  display: block;
  width: min(960px, calc(100vw - 4rem));
  max-width: none;
  margin-left: calc((100% - min(960px, 100vw - 4rem)) / 2);
}

/* The wrapper scrolls narrow tables; the breakout table must not be clipped by it. */
.results-table-wrapper:has(> .compiled-table-image--wide) {
  overflow: visible;
}

/* The breakout never produces a horizontal scrollbar. */
.section.quantitative {
  overflow-x: clip;
}

.compiled-table-image--narrow {
  display: block;
  width: min(100%, 516px);
  margin: 0 auto;
}

/* Task subheadings inside the "Beyond depth" slider sections. */
.beyond-depth-task {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* The intro line is the last child of its .content block, so Bulma gives it no
   bottom margin; the carousel that follows has none of its own either. */
.hero.is-small .hero-body > .container + .carousel {
  margin-top: 1.25rem;
}

/* A gallery already ends with the 56px pagination strip, so the section after it
   needs less of its own padding to land on the same rhythm. */
.hero.is-small + .section {
  padding-top: 1rem;
}
