:root {
  color-scheme: light;
  --text: #1f2933;
  --muted: #59636e;
  --link: #3273dc;
  --line: #e5e7eb;
  --soft: #f6f7f8;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
}

.topbar a {
  color: #3d4852;
}

.hero {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.2rem 0 1.6rem;
  text-align: center;
}

.venue {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-bottom: 0.25rem;
  color: var(--link);
  font-size: 1.08rem;
}

.authors a {
  color: var(--link);
}

.affiliation {
  margin-bottom: 1.4rem;
  color: var(--muted);
}

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

.links a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: #363636;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.links a:hover {
  text-decoration: none;
}

.teaser,
.content-section {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
}

.teaser {
  padding: 1.2rem 0 2.6rem;
  text-align: center;
}

.teaser img {
  width: 100%;
  margin: 0 auto 0.85rem;
  border: 1px solid var(--line);
}

.teaser p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}

.content-section {
  padding: 2.25rem 0;
}

.content-section.wide {
  width: min(1040px, calc(100% - 2rem));
}

.content-section p {
  margin-bottom: 1rem;
  text-align: left;
}

.video-embed {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--soft);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.single-figure {
  margin-bottom: 1.3rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  margin-top: 1.1rem;
}

.logo-row a {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  text-align: center;
}

.logo-row img {
  max-height: 76px;
  width: auto;
  object-fit: contain;
}

.logo-row a:nth-child(2) img {
  max-height: 94px;
}

.logo-row a:nth-child(4) img {
  max-height: 54px;
}

.logo-row a:nth-child(5) img {
  max-height: 72px;
}

.tables {
  display: grid;
  gap: 1.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

caption {
  margin-bottom: 0.45rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: #3d4852;
  font-weight: 700;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 1rem;
  border-radius: 4px;
  background: #f5f5f5;
  color: #1f2933;
  font-size: 0.92rem;
  line-height: 1.45;
}

footer {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 720px) {
  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .links {
    align-items: stretch;
    flex-direction: column;
  }

  .links a {
    width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }
}
