/* Custom agenda grid styling */

.agenda-grid {
  margin: 1.25rem 0 2rem;
}

.agenda-table {
  table-layout: fixed;
  width: 100%;
  border-color: color-mix(in srgb, var(--bs-border-color) 70%, transparent);
}

.agenda-table thead th {
  vertical-align: middle;
  text-align: center;
}

.agenda-time-col {
  width: 92px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--bs-body-bg);
}

.agenda-table thead .agenda-time-col {
  z-index: 4;
  background: #212529; /* matches .bg-dark */
}

.agenda-table td {
  vertical-align: top;
}

.agenda-table .session-cell {
  padding: 10px 10px;
}

.agenda-table .break-cell {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: color-mix(in srgb, var(--bs-warning) 22%, var(--bs-body-bg));
}

@media (prefers-color-scheme: dark) {
  .agenda-table .break-cell {
    background: color-mix(in srgb, var(--bs-warning) 18%, var(--bs-body-bg));
  }
}

.agenda-session__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.agenda-session__title a {
  text-decoration: none;
}

.agenda-session__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.agenda-session__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.agenda-session__duration {
  font-weight: 700;
  color: var(--bs-secondary-color);
}

.agenda-session__speakers {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
  line-height: 1.25;
}

.agenda-session__speakers a {
  color: var(--bs-link-color);
  text-decoration: none;
}

.agenda-session__speakers a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.agenda-room-link {
  color: inherit;
  text-decoration: none;
}

.agenda-room-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.agenda-room-link:focus-visible,
.agenda-session__title a:focus-visible,
.agenda-session__speakers a:focus-visible {
  outline: 3px solid var(--bs-warning);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .agenda-table {
    font-size: 0.95rem;
  }
  .agenda-time-col {
    width: 80px;
  }
  .agenda-table .session-cell {
    padding: 8px;
  }
}

