body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1000px;
    width: 70%;
}

h1 {
    font-weight: 300;
    line-height: 1.2em;
    text-align: center;
    font-size: 38px;
    font-weight: 500;
}

h2 {
    font-size: 1.6em;
    font-weight: 550;
    margin: 24px 0px 8px 0px;
    text-align: left;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 24px 0px 8px 0px;
    text-align: left;
}

a:link, a:visited {
    color: #0070c0;
    text-decoration: none;
}
a:hover {
    color: #0070c0;
}

.paper-title {
    padding: 1px 0px 1px 0px;
}

section {
    margin: 40px 0px 40px 0px;
    text-align: justify;
    clear: both;
}

.author-row-new {
    text-align: center;
}

.author-row-new a {
    display: inline-block;
    font-size: 22px;
    padding: 5px;
}

.author-row-new sup {
    color: #313436;
    font-size: 12px;
}

.affiliations-new {
    font-size: 18px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 24px;
}

.affil-row {
    margin-top: 20px;
}

.venue {
    font-size: 22px;
}

.text-center {
    text-align: center;
}

hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #ddd;
    margin: 0;
}

p {
    line-height: 1.5em;
}

.caption {
    font-size: inherit;
    color: inherit;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.5em;
    text-align: left;
}

.figure {
    display: block;
    margin: 20px auto 10px auto;
}

.figure img {
    width: 100%;
}

#bibtex pre {
    font-size: 14px;
    background-color: #eee;
    padding: 24px;
}

pre {
    font-size: 0.9em;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 3px;
    background-color: rgb(235, 235, 235);
    overflow-x: auto;
}

.paper-btn-parent {
    display: flex;
    justify-content: center;
    margin: 28px 0px;
    gap: 40px;
    font-size: 22px;
}

.paper-btn, .github-btn {
    transition: all 0.2s;
}

.paper-btn:hover, .github-btn:hover {
    color: #0070c0;
    transform: translateY(-2px);
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}

/* Image grid layouts */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.image-grid img {
    width: 100%;
}

.image-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 90%;
    justify-items: center;
    margin: 0 auto;
}

.image-grid-three img {
    width: 100%;
}

.image-grid-tab {
    text-align: center;
    justify-content: center;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1.22fr;
    gap: 10px;
    width: 90%;
    justify-items: center;
    margin: 0 auto;
}

.image-grid-tab img {
    width: 100%;
}

.figure img.icon-img {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* News items */
.news-item {
    padding: 3px 0;
    font-size: 18px;
}

/* Highlight box */
.highlight-box {
    background-color: #f8f5ff;
    border-left: 4px solid #0070c0;
    padding: 24px 30px;
    border-radius: 0 6px 6px 0;
    margin: 24px 0;
    font-size: 17px;
    line-height: 1.6;
}

.highlight-box h4 {
    color: #5b21b6;
    margin-bottom: 8px;
    margin-top: 18px;
    font-size: 18px;
}

.highlight-box h4:first-child {
    margin-top: 0;
}

/* Key points grid */
.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.key-point {
    background-color: #f8f5ff;
    border-radius: 8px;
    padding: 16px 18px;
    border: 1px solid #e5e1f0;
}

.key-point .icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.key-point h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.key-point p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5em;
}

/* Results table */
.table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

table.results {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

table.results th,
table.results td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

table.results thead th {
    background: #f8f5ff;
    font-weight: 600;
    border-bottom: 2px solid #0070c0;
}

table.results .method-cell {
    text-align: left;
}

table.results .model-cell {
    font-weight: 600;
    text-align: left;
    vertical-align: middle;
}

table.results tr.ours {
    background: #f3eaff;
    font-weight: 600;
}

table.results .best {
    color: #0070c0;
    font-weight: 700;
}

blockquote {
    background-color: #f5faff;
    padding: 12px 20px;
    margin: 16px 0;
    border-radius: 6px;
    border-left: 4px solid #0070c0;
    font-size: 18px;
    line-height: 1.2em;
}

* {
    box-sizing: border-box;
}

/* pipeline list */
.sprout-steps {
    text-align: left;
}

.sprout-steps p {
    margin: 8px 0;
}

.sprout-steps ol {
    margin: 8px 0 8px 44px;  /* controls whole-list indentation */
    padding-left: 0;
    line-height: 1.4;
    list-style: none;
    counter-reset: step-counter;
}

.sprout-steps li {
    counter-increment: step-counter;
    position: relative;
    margin-bottom: 8px;
    padding-left: 1.35em;       /* space between marker and text */
}

.sprout-steps li::before {
    content: counter(step-counter, lower-roman) ".";
    position: absolute;
    left: 0;
    width: 28px;              /* fixed marker column */
    text-align: left;         /* makes i, ii, iii align left */
    font-weight: 700;
}

/* Overview (REPA-style scan-friendly block) */
#overview .overview-lead {
    margin: 0 0 12px 0;
    line-height: 1.55;
}

#overview blockquote {
    margin: 18px 0;
}

#overview blockquote.overview-thesis {
    font-size: 1.06em;
    line-height: 1.55;
}

#overview .overview-points {
    margin: 16px 0 8px 0;
    padding-left: 1.35em;
    line-height: 1.4;
    text-align: left;
}

#overview .overview-points li {
    margin: 8px 0;
}

#overview .overview-points li:first-child {
    margin-top: 4px;
}