.publication-header .hero-body {
  padding: 4.75rem 1.5rem 3.25rem;
}

:root {
  --isr-content-width: 980px;
  --isr-main-figure-width: 820px;
  --isr-eval-width: 900px;
  --isr-body-font-size: 1rem;
}

.isr-title {
  font-size: 35px !important;
  line-height: 1.16 !important;
  margin-bottom: 1.35rem !important;
}

.isr-title span {
  display: block;
}

.publication-authors.isr-authors {
  margin-top: 8px;
  margin-bottom: 1rem;
}

.publication-authors.isr-authors a {
  font-weight: 500 !important;
}

.publication-authors.isr-affiliations {
  margin-top: 6px;
  margin-bottom: 4px;
}

.publication-authors.isr-affiliations .author-block {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
}

.isr-notes {
  color: var(--text-primary);
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.isr-video-frame {
  width: 100%;
  max-width: var(--isr-content-width);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  background: #000;
}

.isr-video-after-abstract {
  margin-top: 2.25rem;
}

.isr-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.isr-video-frame video[data-seek-fallback="loading"] {
  opacity: 0.72;
  cursor: wait;
}

.isr-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.isr-section .title {
  color: var(--text-primary);
  margin-bottom: 1.65rem;
}

.custom-width-95 > .content.has-text-justified,
.isr-copy {
  max-width: var(--isr-content-width);
  margin: 0 auto;
  font-size: var(--isr-body-font-size);
  line-height: 1.76;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}

.custom-width-95 > .content.has-text-justified p,
.isr-copy p {
  color: var(--text-secondary);
  font-size: var(--isr-body-font-size);
  line-height: 1.76;
}

.isr-copy p + p {
  margin-top: 1rem;
}

.isr-figure {
  width: 100%;
  max-width: var(--isr-content-width);
  margin: 0 auto 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.isr-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.isr-pipeline-figure {
  max-width: var(--isr-main-figure-width);
  margin-top: 1.9rem;
  margin-bottom: 0;
}

.isr-effect-figure {
  max-width: var(--isr-main-figure-width);
  margin-top: 2rem;
  margin-bottom: 0;
}

.isr-table-scroll {
  max-width: var(--isr-eval-width);
  margin: 1.8rem auto 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.isr-panel-title {
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.32;
  overflow-wrap: normal;
  text-align: left;
  white-space: nowrap;
}

.isr-table-scroll > .isr-panel-title {
  padding: 0.75rem 0.95rem 0.7rem;
  border-bottom: 1px solid var(--border-color);
}

.isr-table-overflow {
  overflow-x: auto;
}

.isr-result-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.isr-result-table th,
.isr-result-table td {
  padding: 0.82rem 0.95rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.isr-table-scroll .isr-result-table th,
.isr-table-scroll .isr-result-table td {
  text-align: center;
}

.isr-result-table th:first-child,
.isr-result-table td:first-child {
  text-align: center;
  font-weight: 650;
}

.isr-result-table th {
  background: var(--background-accent);
  font-weight: 750;
}

.isr-result-table tbody tr:last-child td {
  border-bottom: 0;
}

.isr-result-table span {
  color: var(--text-secondary);
  font-size: 0.82em;
}

.isr-highlight-row {
  background: #eaf2ff;
}

.isr-highlight-row td:last-child {
  font-weight: 800;
}

.isr-table-note {
  max-width: var(--isr-eval-width);
  margin: 0.55rem auto 1.8rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.isr-bibtex-block {
  max-width: var(--isr-content-width);
  margin: 0 auto;
}

.isr-bibtex-block pre {
  max-width: 100%;
  overflow-x: auto;
}

.isr-footer {
  border-top: 1px solid var(--border-color);
  background: var(--background-primary);
  color: var(--text-secondary);
  padding: 2.25rem 1.5rem;
}

.isr-footer p {
  font-size: 0.9rem;
  margin: 0;
}

.isr-eval-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.488fr) minmax(0, 0.512fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: var(--isr-eval-width);
  margin: 0 auto;
}

.isr-eval-figure {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0;
  padding: 0.85rem;
}

.isr-eval-figure .isr-panel-title {
  align-self: start;
  padding: 0 0 0.05rem;
  width: 100%;
}

.isr-eval-figure img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  object-fit: contain;
}

.isr-eval-summary {
  margin-top: 1.8rem;
}

@media screen and (min-width: 1024px) {
  .publication-header .container.is-max-desktop,
  .section > .container.is-max-desktop,
  .isr-section > .container.is-max-desktop {
    max-width: 1120px !important;
  }

  .section .column.custom-width-95 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .custom-width-95 > .content.has-text-justified,
  .isr-video-frame,
  .isr-section .isr-copy {
    width: var(--isr-content-width);
    max-width: 100%;
  }

  .isr-section .isr-table-scroll,
  .isr-section .isr-table-note,
  .isr-section .isr-eval-grid {
    width: var(--isr-eval-width);
    max-width: 100%;
  }

  .isr-section .isr-panel-title {
    font-size: 0.88rem;
  }

  .isr-section .isr-result-table {
    table-layout: fixed;
  }

  .isr-section .isr-result-table th,
  .isr-section .isr-result-table td {
    height: 2.45rem;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.18;
    vertical-align: middle;
  }

  .isr-section .isr-eval-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.488fr) minmax(0, 0.512fr);
    align-items: stretch;
  }

  .isr-section .isr-eval-figure {
    width: 100%;
    max-width: none;
    height: 100%;
    justify-content: flex-start;
  }

  .isr-section .isr-eval-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .isr-section .isr-pipeline-figure,
  .isr-section .isr-effect-figure {
    width: var(--isr-main-figure-width);
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .columns,
  .column,
  .custom-width-95 {
    max-width: 100% !important;
    width: 100% !important;
  }

  .columns {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .isr-title {
    font-size: 1.95rem !important;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .isr-title span {
    display: block;
  }

  .isr-title span + span::before {
    content: "";
  }

  .publication-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }

  .link-block a {
    margin: 4px;
  }

  .publication-header .hero-body {
    padding: 3.25rem 1.25rem 2.25rem;
  }

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

  .isr-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .isr-eval-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .isr-figure {
    max-width: 100%;
  }

  .isr-eval-figure {
    padding: 0.55rem;
  }

  .isr-table-scroll {
    margin-top: 1.4rem;
    max-width: 100%;
  }

  .isr-result-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.74rem;
  }

  .isr-result-table th,
  .isr-result-table td {
    padding: 0.55rem 0.24rem;
    line-height: 1.28;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .isr-result-table th:first-child,
  .isr-result-table td:first-child {
    width: 26%;
  }

  .isr-result-table span {
    display: block;
    font-size: 0.76em;
    margin-top: 0.08rem;
  }

  .isr-table-note {
    font-size: 0.84rem;
  }
}
