:root {
  --navy: #1a3d6d;
  --navy-dark: #102a4c;
  --ink: #222;
  --muted: #666;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #e3e6ea;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

/* ---------- Hero / banner ---------- */
header.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
header.hero .hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
header.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.35) 0%, rgba(10, 20, 40, 0.55) 100%);
  z-index: 1;
}
header.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 900px;
}
header.hero .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
header.hero h1 {
  font-size: 1.75rem;
  margin: 0 auto 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
header.hero p.tagline {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
header.hero p.event-details {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffd76a;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
header.hero .back-link {
  display: inline-block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
header.hero .back-link:hover { opacity: 1; text-decoration: underline; }
header.hero .speaker-affil-tag {
  display: inline-block;
  margin-top: 2px;
  font-size: 1rem;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* Compact hero variant used on speaker bio pages */
header.hero.hero-compact { min-height: 240px; }
header.hero.hero-compact h1 { font-size: 1.6rem; margin-bottom: 6px; }

/* ---------- Nav ---------- */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}
nav a {
  display: block;
  padding: 14px 18px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
nav a:hover { background: #f2f5fa; }

/* ---------- Main content ---------- */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
section h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid #eef1f6;
  padding-bottom: 10px;
}
.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: -8px 0 16px;
}
.event-highlight {
  background: #fff6e0;
  border-left: 4px solid #e0a336;
  color: #6b4e05;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 0 0 18px;
  font-size: 0.98rem;
}
ul.people {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.people li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
}
ul.people li:last-child { border-bottom: none; }

ul.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
ul.people-grid li {
  padding: 0;
  border-bottom: none;
  text-align: center;
}
img.headshot {
  display: block;
  width: 110px;
  height: 110px;
  max-width: 110px;
  max-height: 110px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  background: #eee;
}
ul.people-grid .name {
  display: block;
  margin-top: 2px;
}
ul.people-grid .meta {
  display: block;
  margin: 4px 0 8px;
}
.name { font-weight: 700; color: var(--ink); }
.meta { color: var(--muted); font-size: 0.92rem; }
.talk-title { display: block; margin-top: 3px; font-size: 0.95rem; }
.badge {
  display: inline-block;
  background: #eef3fb;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
a.email { color: var(--navy); text-decoration: none; }
a.email:hover { text-decoration: underline; }
a.inline-link { color: var(--navy); font-weight: 600; text-decoration: underline; }
a.inline-link:hover { color: #0d2a52; }
a.speaker-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--navy);
}
a.speaker-link:hover { color: #0d2a52; border-bottom-style: solid; }

/* ---------- Schedule table ---------- */
table.sched-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 12px;
}
table.sched-table th, table.sched-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
table.sched-table th {
  background: #eef3fb;
  color: var(--navy);
}
table.sched-table tr.break-row td {
  background: #fafafa;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Speaker bio page ---------- */
.bio-card {
  border-left: 4px solid var(--navy);
  padding: 32px 36px;
}
.bio-card .talk-title-heading {
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--navy-dark);
  border: none;
  margin: 6px 0 22px;
  padding-bottom: 16px;
  padding-top: 4px;
  border-bottom: 1px solid #eef1f6;
  position: relative;
}
.bio-card .bio-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #333;
  text-align: justify;
}

footer {
  text-align: center;
  padding: 30px 24px 50px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- News page ---------- */
.post-card {
  border-left: 4px solid var(--navy);
}
.post-card + .post-card {
  margin-top: 24px;
}
.post-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -6px 0 4px;
}
.post-card h2 {
  margin-top: 0;
}
.post-card h3 {
  color: var(--navy-dark);
  font-size: 1.02rem;
  margin: 18px 0 8px;
}
ul.content-list {
  margin: 0 0 16px;
  padding-left: 22px;
}
ul.content-list li {
  margin-bottom: 6px;
}
.tbd {
  background: #fff3cd;
  color: #7a5b00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
