:root {
  --dark-blue: #05367B;
  --mid-blue: #305CDE;
  --gray: #626365;
  --light-gray: #f4f4f7;
  --white: #ffffff;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--dark-blue);
  background: var(--white);
  line-height: 1.5;
}

.page-header {
  text-align: center;
  padding: 1.5rem 1rem;
  border-bottom: 3px solid var(--mid-blue);
}

.logo {
  max-width: 240px;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.8rem;
  margin: 0.2rem 0;
}

h2 {
  font-size: 1.3rem;
  background: var(--mid-blue);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-top: 2rem;
}

h3 {
  margin: 0.2rem 0;
  font-size: 1.05rem;
  color: var(--dark-blue);
}

p {
  margin: 0.2rem 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.agenda {
  max-width: 950px;
  margin: 0 auto;
  padding: 1rem;
}

.session {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #d1d1d8; /* slightly darker + thicker line */
  padding: 1rem 0.5rem;
  gap: 0.5rem;
}


.time {
  flex: 0 0 150px; /* was 140px */
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 1rem;
  padding-left: 0.25rem; /* NEW: subtle indent to align nicely with details */
}


.details {
  flex: 1;
  min-width: 200px;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  padding: 2rem 0;
  background: var(--light-gray);
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .time {
    flex: 100%;
    margin-bottom: 0.3rem;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
}
/* Panelist grid layout */
.panelists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem 0.8rem; /* slightly tighter */
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.panelists div {
  background: var(--light-gray);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e1e1e6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.25;
  gap: 0.05rem; /* ultra-tight, consistent spacing */
}

.panelists strong {
  color: var(--dark-blue);
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.1; /* tighter control for name line */
}

.panelists span {
  display: block;
  line-height: 1.1; /* ensure title/company sit close */
  margin: 0;
  padding: 0;
}
/* --- Mobile Responsive Header & Footer --- */
@media (max-width: 768px) {
  header.site-header, footer.site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 20px;
  }

  header.site-header img {
    height: 50px;
    margin-bottom: 10px;
  }

  header.site-header nav ul,
  footer.site-footer ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  header.site-header nav ul li a,
  footer.site-footer ul li a {
    display: block;
    padding: 6px 0;
    font-size: 1rem;
  }
}
