.timetable-wrap {
  width: 90%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1rem;
  padding-bottom: 0;
}

.timetable-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timetable-main-title {
  font-size: 72px;
  margin-bottom: 0;
}

.timetable-content {
  margin-bottom: 2rem;
}

.timetable-no-events {
  text-align: center;
  color: var(--bs-main-blue);
  font-size: 24px;
  margin: 2rem 0;
}

.timetable-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.timetable-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background-color: #fff;
  margin: 0;
}

.timetable-table th,
.timetable-table td {
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  vertical-align: top;
  font-size: 14px;
}

.timetable-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: var(--bs-main-blue);
  text-align: left;
  white-space: nowrap;
}

.timetable-table th:last-child,
.timetable-table td:last-child {
  border-right: none;
  border-left: 1px solid #ddd;
}

.timetable-table a {
  color: var(--bs-main-blue) !important;
  text-decoration: underline;
}

.timetable-table a:hover {
  color: var(--bs-main-blue) !important;
  text-decoration: underline;
}

.timetable-table a[style*="color: blue"] {
  color: var(--bs-main-blue) !important;
}

.timetable-note {
  color: var(--bs-main-blue);
}

@media (max-width: 991.98px) {
  .timetable-main-title {
    font-size: 48px;
  }

  .timetable-table th,
  .timetable-table td {
    padding: 0.75rem 0.5rem;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .timetable-main-title {
    font-size: 36px;
  }

  .timetable-table {
    min-width: 600px;
  }

  .timetable-table th,
  .timetable-table td {
    padding: 0.5rem 0.4rem;
    font-size: 12px;
  }

  .timetable-wrap {
    width: 90%;
  }
}
