/* EventLens adaptation of the classic Academic Project Page / Nerfies layout. */
:root { --ink: #30343b; --blue: #183f64; --muted: #737983; --line: #dfe4ea; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); font-size: 17px; line-height: 1.7; }
a { color: #147bb2; }
a:hover { color: var(--blue); text-decoration: underline; }
a:focus-visible, button:focus-visible, .table-container:focus-visible { outline: 3px solid #64b5e3; outline-offset: 4px; }
.hero-body { padding: 4rem 1.5rem 1.6rem; }
.publication-title { font-weight: 700; letter-spacing: -1.2px; line-height: 1.18; margin-bottom: 1.65rem !important; }
.project-name { color: var(--blue); font-size: 1.2em; }
.paper-subtitle { font-size: .75em; letter-spacing: -.7px; }
.publication-authors { color: #147bb2; line-height: 1.9; }
.author-block { display: inline-block; margin: 0 .18rem; }
sup { font-size: .66em; margin-left: 1px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.2rem; margin: .6rem 0 .2rem; font-size: 18px; }
.author-notes { font-size: 13px; color: var(--muted); }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.resource-button { font-size: 15px; gap: .5rem; padding: 0 1.1rem; border: 0; }
.resource-button[disabled] { opacity: 1; background: #363636; color: #fff; }
.soon { font-size: 10px; color: #dedede; border-left: 1px solid #777; padding-left: .5rem; }
.release-note { color: var(--muted); font-size: 13px; margin-top: .65rem; }
.section-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.3rem; margin-top: 1.65rem; font-size: 14px; }
.section { padding: 3rem 1.5rem; }
figure { margin: 1.75rem 0 0; }
.figure-link { display: block; }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: .8rem; color: #646b76; font-size: 14px; text-align: center; line-height: 1.55; }
.section-tinted { background: #f6f7f9; }
.title.is-3 { font-size: 29px; color: var(--ink); margin-bottom: 1.35rem; line-height: 1.25; }
.reading-width { max-width: 850px; margin: 0 auto; text-align: justify; }
.content p:not(:last-child) { margin-bottom: 1em; }
.section-intro { text-align: center; margin: 0 auto 1.5rem; max-width: 840px; color: #5b636d; }
.experiment-block { margin-top: 2.6rem; }
.experiment-block + .experiment-block { margin-top: 3.2rem; }
.experiment-block .title.is-4 { font-size: 22px; line-height: 1.35; margin-bottom: .7rem; }
.data-figures { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.8rem; align-items: center; margin-top: 1.75rem; }
.data-figures figure { margin: 0; }
.domain-figure { max-width: 540px; margin: 0 auto; }
.domain-figure figcaption { font-size: 12px; }
.data-release { color: var(--muted); font-size: 14px; margin-top: 1.2rem; }
.demo-figure { margin-top: 2.2rem; }
.demo-figure + .demo-figure { margin-top: 2.8rem; }
.demo-figure img { border: 1px solid #d8e0e8; }
.demo-figure figcaption { max-width: 850px; margin: .9rem auto 0; }
.footer { background: #f6f7f9; padding: 2rem 1.5rem; font-size: 14px; }
.template-credit { color: var(--muted); font-size: 12px; max-width: 700px; margin: .65rem auto; }
.website-source { font-size: 12px; }
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero-body { padding: 2.5rem 1.2rem 1.2rem; }
  .publication-title { font-size: 36px !important; letter-spacing: -.8px; }
  .paper-subtitle { font-size: .71em; letter-spacing: -.3px; }
  .desktop-break { display: none; }
  .publication-authors { font-size: 16px !important; }
  .affiliations { font-size: 14px; gap: .15rem; }
  .affiliations span { width: 100%; }
  .publication-links { gap: .45rem; }
  .resource-button { font-size: 13px; padding: 0 .85rem; }
  .section { padding: 2.3rem 1.2rem; }
  .section-nav { gap: 1rem; font-size: 13px; }
  .title.is-3 { font-size: 25px; }
  .experiment-block .title.is-4 { font-size: 20px; }
  .reading-width { text-align: left; }
  .domain-figure { max-width: 380px; }
  .data-figures { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.overview-figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin: 1.75rem 0 2rem; }
.overview-figures figure { margin: 0; }
.overview-figures figcaption { font-size: 13px; }
.contributions ul { margin-top: 1rem; }
.contributions li { margin-bottom: .8rem; }
.paper-table-figure { margin: 1.4rem 0 0; }
.paper-table-figure img { background: #fff; }
.paper-table-figure figcaption { font-size: 12px; margin-top: .6rem; }
.experiment-conclusion { font-size: 16px; line-height: 1.75; margin-top: 1.25rem; }
.efficiency-figure { margin-top: 1.4rem; }
@media (max-width: 768px) {
  .overview-figures { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .experiment-conclusion { font-size: 15px; }
}
