:root {
  color-scheme: light;
  --indigo: #3f51b5;
  --ink: #111111;
  --muted: #757575;
  --paper: #f1f1f1;
  --surface: #ffffff;
  --line: #d6d6d6;
  --link: #244dba;
  --blue: var(--link);
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Raleway, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 320px;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.08);
}

.page-shell {
  min-height: 100vh;
  margin-left: 320px;
  background: var(--paper);
}

.brand {
  display: block;
  padding: 24px 16px 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 60%;
  height: auto;
  border-radius: 4px;
}

.sidebar-summary {
  padding: 0 16px 20px;
  color: var(--muted);
  font-size: 15px;
}

.sidebar-summary strong {
  color: var(--ink);
  display: block;
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.sidebar-summary span {
  display: block;
}

.site-nav {
  display: block;
  color: var(--ink);
  font-size: 14px;
  text-transform: uppercase;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
}

.site-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.site-nav summary::-webkit-details-marker {
  display: none;
}

.site-nav summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 700;
}

.site-nav details[open] > summary::after {
  content: "-";
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav summary:hover,
.site-nav summary:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--indigo);
  color: white;
}

.site-nav a[aria-current="page"] {
  color: var(--indigo);
  background: transparent;
  font-weight: 700;
}

.site-nav a[aria-current="page"]:hover,
.site-nav a[aria-current="page"]:focus-visible {
  color: white;
  background: var(--indigo);
}

.nav-group {
  border: 0;
}

.nav-children a {
  padding: 7px 16px 7px 36px;
  color: #333333;
  font-size: 12px;
}

.mobile-header,
.mobile-close {
  display: none;
}

.home-header {
  padding: 20px 16px 0;
}

.home-header h1,
.home-header h2,
.home-header p {
  margin: 0 0 10px;
}

.home-header h1 {
  color: var(--indigo);
  font-size: 36px;
  line-height: 1.2;
}

.home-header h2 {
  font-size: 24px;
  line-height: 1.35;
}

.home-header p {
  color: var(--indigo);
  font-size: 24px;
  font-weight: 700;
}

.home-photo-section {
  padding: 22px 24px 0;
}

.photo-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section-divider {
  margin: 32px 0 0;
  border-bottom: 6px solid #cccccc;
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 0;
  align-items: stretch;
  padding-bottom: 32px;
  background: var(--paper);
}

.welcome-column,
.news-column {
  padding: 12px 24px 24px;
  background: var(--paper);
}

.welcome-column h3,
.news-column h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
}

.welcome-column p {
  margin: 0 0 16px;
  text-align: justify;
}

.news-panel {
  min-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

.news-list {
  margin: 0;
  padding: 0 16px;
  list-style: none;
}

.news-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
  color: #333333;
  font-size: 15px;
  line-height: 1.5;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-date {
  display: inline-block;
  margin: 0 10px 8px 0;
  padding: 5px 10px;
  background: #4778ff;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-list a {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

.sponsors-band {
  padding: 32px 24px;
  background: var(--paper);
  text-align: center;
}

.sponsors-band h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.sponsors-panel {
  min-height: 110px;
  margin: 24px auto 0;
  max-width: 900px;
}

.section {
  padding: 32px 24px;
}

.section {
  max-width: 1040px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-title {
  padding-top: 40px;
  padding-bottom: 12px;
}

.page-title h1 {
  margin: 0;
  color: var(--indigo);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
}

.page-title p {
  max-width: 780px;
  color: var(--muted);
}

.content-section {
  padding-top: 12px;
}

.content-section h2,
.content-section h3 {
  margin-top: 32px;
}

.content-section a,
.conference-list a {
  color: var(--link);
  font-weight: 700;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.content-section th,
.content-section td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.committee-section {
  padding-top: 12px;
}

.committee-table-wrap {
  overflow-x: auto;
}

.committee-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid #cccccc;
  font-size: 15px;
}

.committee-table th,
.committee-table td {
  padding: 10px 12px;
  border: 1px solid #dddddd;
  text-align: left;
  vertical-align: middle;
}

.committee-table th {
  background: var(--surface);
  font-weight: 700;
}

.committee-table tbody tr:nth-child(odd):not(.committee-role-row) {
  background: #f9f9f9;
}

.committee-role-row td {
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 6px solid var(--indigo);
  background: #f1f1f1;
}

.committee-name-col {
  width: 42%;
}

.committee-country-col {
  width: 18%;
}

.committee-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.committee-avatar {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--indigo);
  color: white;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.committee-photo {
  display: block;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.committee-avatar-pending {
  background: #d9d9d9;
  color: #555555;
  font-size: 16px;
}

.committee-name {
  color: var(--link);
  font-weight: 800;
}

.committee-pending-row .committee-name,
.committee-pending-row td {
  color: var(--muted);
}

.placeholder-section {
  padding-top: 0;
}

.placeholder-section p {
  margin: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
}

.conference-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
}

.conference-list li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.conference-list li:last-child {
  border-bottom: 0;
}

.conference-list a {
  color: var(--blue);
  font-weight: 800;
}

.conference-list span {
  color: var(--muted);
}

.site-footer {
  padding: 32px 24px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer p {
  max-width: 900px;
  margin: 8px auto;
}

@media (max-width: 980px) {
  .site-sidebar {
    display: none;
  }

  .site-sidebar:target {
    display: block;
  }

  .mobile-close {
    display: block;
    float: right;
    padding: 12px 18px;
    color: var(--ink);
    font-size: 56px;
    line-height: 1;
    text-decoration: none;
  }

  .page-shell {
    margin-left: 0;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 8px 16px;
  }

  .mobile-header img {
    display: block;
    width: 65px;
    height: auto;
  }

  .menu-button {
    color: var(--ink);
    font-size: 36px;
    line-height: 1;
    text-decoration: none;
  }

  .home-columns {
    grid-template-columns: 1fr;
  }

  .news-column {
    padding-top: 0;
  }

  .home-header h1 {
    font-size: 34px;
  }

  .conference-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-header h2,
  .home-header p {
    font-size: 20px;
  }

  .welcome-column p {
    text-align: left;
  }

  .home-photo-section,
  .welcome-column,
  .news-column,
  .sponsors-band,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
