:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fafc;
  color: #1a202c;
}

header,
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  background: #1e3a8a;
  color: #fff;
  max-width: 100%;
}

header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

section {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.speaker-carousel-wrapper {
  position: relative;
  padding: 0 1.5rem;
}

.speaker-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.speaker-track::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  transition: background 0.15s, box-shadow 0.15s;
}

.scroll-btn:hover {
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.scroll-btn.left { left: -4px; }
.scroll-btn.right { right: -4px; }

.speaker-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  background: #f8fafc;
}

.speaker-card strong,
.speaker-card p {
  text-align: center;
}

.speaker-card strong {
  display: block;
}

.speaker-card strong a {
color: #163d8c;
text-decoration: none;
font-weight: 700;
border-bottom: 1px solid transparent;
background-image: linear-gradient(currentColor, currentColor);
background-size: 0% 1px;
background-position: 0 100%;
background-repeat: no-repeat;
transition: color 0.2s ease, background-size 0.2s ease;
}

.speaker-card strong a:visited {
color: #163d8c;
}

.speaker-card strong a:hover,
.speaker-card strong a:focus-visible {
color: #0f2d68;
background-size: 100% 1px;
outline: none;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  height: 240px;
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  color: #64748b;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.photo {
  display: grid;
  place-items: center;
  height: 240px;
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  /* color: #64748b; */
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  overflow: hidden;
  background: #e2e8f0;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.program-table {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: table;
}

th,
td {
  border: 1px solid #cbd5e1;
  padding: 0.45rem;
  text-align: center;
  min-width: 170px;
}

th:first-child,
td:first-child {
  min-width: 90px;
  background: #f1f5f9;
  font-weight: bold;
}

.program-table tbody td.program-na {
  background: #111827;
  color: #111827;
}

.program-table tbody td.program-meal {
  background: #fff7cc;
}

.program-table tbody td.program-peach {
  background: #ffe1cc;
}

.program-table tbody td.program-social {
  background: #d9f7d9;
}

.program-table tbody td.program-blue {
  background: #dbeafe;
}

.program-table tbody td.program-lecture {
  background: #ffd6de;
}

@media (max-width: 900px) {
  .program-table {
    width: 100%;
    display: block;
  }
}

iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 8px;
}

nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #162d6e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

nav.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1100px;
  display: flex;
  gap: 0.25rem;
}

nav.site-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav.site-nav a:hover,
nav.site-nav a:focus {
  color: #fff;
  border-bottom-color: #60a5fa;
  outline: none;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.travel-card {
  display: block;
  text-decoration: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.travel-card:hover,
.travel-card:focus {
  background: #dbeafe;
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(30,58,138,0.12);
  outline: none;
}

.travel-card .city {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e3a8a;
  margin-bottom: 0.2rem;
}

.travel-card .dist {
  font-size: 0.9rem;
  color: #475569;
}

.welcome {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.welcome .inner {
  max-width: 720px;
  margin: 0 auto;
}

.welcome h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.welcome p {
  margin: 0.5rem 0;
  color: #bfdbfe;
  font-size: 1rem;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.sponsor-logo {
  display: grid;
  place-items: center;
  width: 160px;
  height: 80px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  background: #f8fafc;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  background: #f8fafc;
}

.contact-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.contact-card .value {
  font-weight: 600;
  color: #1e3a8a;
}
