/* Base typography */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #f7f7f7;
}

header {
  background: #003366;
  color: white;
  padding: 1rem;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

/* Day navigation */
#day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#day-nav button {
  background: #005a9c;
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

#day-nav button.active,
#day-nav button:hover {
  background: #007bcd;
}

/* Filters */
#filters {
  margin-bottom: 1rem;
  color: white;
}

#filters label {
  margin-right: 0.5rem;
}

#filters select {
  padding: 0.4rem;
  border-radius: 4px;
  border: none;
}

main {
  padding: 1rem;
}

.slot {
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.slot-header {
  background: #e0e7ef;
  padding: 0.5rem 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.events {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
  gap: 0.5rem;
}

.event-card {
  flex: 1 1 200px;
  background: #fafafa;
  border-left: 6px solid #888;
  padding: 0.5rem;
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.event-card h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.event-card p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}

.event-card a {
  margin-top: auto;
  color: #005a9c;
  text-decoration: none;
  font-size: 0.85rem;
}

.event-card a:hover {
  text-decoration: underline;
}

/* Talk list styling */
.talk-list {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  list-style-type: disc;
  font-size: 0.8rem;
  color: #333;
}

.talk-list li {
  margin-bottom: 0.3rem;
}

.talk-list .talk-time {
  font-weight: bold;
}

.talk-list .talk-title {
  font-weight: normal;
}

/* Highlight talk items when they match the author search query or title search */
.highlight-talk {
  background-color: #fff5c2; /* light yellow highlight */
  border-radius: 3px;
  padding: 0.1rem 0.2rem;
}

.loading {
  font-style: italic;
  color: #555;
}