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

.padded-img {
  padding-bottom: 2rem;
  padding-top: 2rem;
}

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

.audio-player audio {
  width: 480px;
  max-width: 90%;
  outline: none;
}

.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 {
  padding-bottom: 0;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors .author-block {
  margin-right: 0.65rem;
  margin-left: 0.15rem;
  display: inline-block;
}

.publication-authors .joint-authors-block {
  display: inline-block;
  white-space: nowrap;
}

.publication-authors sup {
  font-size: 0.65em;
  top: -0.45em;
  font-weight: 500;
  vertical-align: baseline;
  position: relative;
}

.author-dagger {
  font-family: 'Times New Roman', Cambria, 'Georgia', 'DejaVu Serif', serif;
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  margin-left: 1px;
  vertical-align: -0.05em;
  color: #363636;
}

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

.results-carousel img {
  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;
}

#uv-vs-pcl {
  width: 95%;
  align-content: center;
}

.kernel-mod-img {
  width: 38%;
  height: auto;
}

/* Clean, flat design without block drop shadows */
.box {
  box-shadow: none !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
}

/* Ensure table cells use left alignment and natural word spacing, not justified */
.table td,
.table th,
.content table td,
.content table th {
  text-align: left !important;
  vertical-align: middle;
}

.table.has-text-centered td,
.table.has-text-centered th {
  text-align: center !important;
}

.hktex-box {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  box-shadow: none !important;
}

/* Results Interactive Comparison Viewer */
.results-controls-card {
  position: sticky;
  top: 15px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: none !important;
  padding: 1.25rem 0 0.5rem 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.results-controls-inner {
  padding: 0 1.5rem;
}

.results-method-headers {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 0 0.25rem 0;
  border-top: 1px solid #e8f2f7;
  text-align: center;
}

.method-header-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.2rem 2px;
  line-height: 1.15;
}

.method-header-cell .method-title {
  font-weight: 700;
  font-size: clamp(8.5px, 1.05vw, 12px);
  color: #2c3e50;
}

.method-header-cell .method-subtitle {
  font-size: clamp(7.5px, 0.85vw, 10.5px);
  color: #7f8c8d;
}

.method-header-cell.is-ours {
  background: rgba(50, 115, 220, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(50, 115, 220, 0.25);
  margin: 0 2px;
}

.method-header-cell.is-ours .method-title {
  color: #19529b;
  font-weight: 800;
}

.method-header-cell.is-ours .method-badge {
  font-size: clamp(7.5px, 0.8vw, 9.5px);
  background: #3273dc;
  color: #ffffff;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.material-buttons .button {
  transition: all 0.2s ease;
  font-weight: 500;
}

.rotation-slider-wrapper {
  width: 100%;
}

.rotation-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.rotation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3273dc;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(50, 115, 220, 0.4);
  transition: transform 0.15s ease;
}

.rotation-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.rotation-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3273dc;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(50, 115, 220, 0.4);
}

.results-image-cropper {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.results-image-cropper img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -2.6%;
  /* Clips the baked-in titles from the UV image */
}

/* Multi-View 8-column layout */
.results-method-headers-mv {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 0 0.25rem 0;
  border-top: 1px solid #e8f2f7;
  text-align: center;
}

.results-method-headers-mv .method-header-cell:nth-child(4) {
  border-right: 2px dashed #d1d5db;
}

.results-image-cropper-mv {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.results-image-cropper-mv img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -3.6%;
  /* Clips the baked-in titles from the MV image */
}

.saul-logo-inline {
  display: inline;
  white-space: nowrap;
  vertical-align: baseline;
  margin-right: 0.1em;
}

.saul-logo-inline .left-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 0.95em;
  font-weight: 700;
  color: #363636;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  transform: skewX(-7deg);
  margin-right: 0.1em;
}

.saul-logo-inline .right-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4em;
  font-weight: 700;
  color: #363636;
  font-style: italic;
  display: inline-block;
  transform: skewX(-6deg) rotate(-8deg);
  margin-right: 0.05em;
}