:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #0f766e;
  --border: #d1d5db;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

header,
footer {
  grid-column: 1 / -1;
}

.table-of-contents {
  grid-column: 1;
}

section {
  grid-column: 2;
}

header,
section,
.table-of-contents {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.title-row h1 {
  margin: 0;
}

.home-title {
  color: inherit;
  text-decoration: none;
}

.home-title:hover {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.home-title:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.title-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: bold;
}

.date {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: bold;
}

ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.3rem;
}

.organisers li {
  margin-top: 0.45rem;
}

a {
  color: var(--accent);
}

.support-note {
  font-style: italic;
}

.news-section {
  grid-column: 1 / -1;
  background: #fff3b0;
  border-color: #e2c45e;
}

.authors {
  font-style: italic;
}

.submission-link {
  text-align: center;
  background-color: yellow;
}

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

@media (min-width: 701px) {
  .table-of-contents {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 700px) {
  .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-of-contents,
  section {
    grid-column: 1;
  }
}