/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

/* Layout wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header and footer */
.site-header,
.site-footer {
  background: #333;
  color: #fff;
  padding: 10px 15px;
}

/* Main 3-column layout */
.main-layout {
  display: flex;
  flex: 1;
  gap: 16px;
  align-items: flex-start;
}

/* Columns */
.col-left {
  flex: 0 0 250px;
  padding: 10px;
  background: #f5f5f5;
}

.col-center {
  flex: 1 1 auto;
  padding: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.col-right {
  flex: 0 0 250px;
  padding: 10px;
  background: #f0f0ff;
}

.content-section {
  width: 100%;
}

/* Mobile / small screens */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .col-left,
  .col-center,
  .col-right {
    flex: 1 0 auto;
    width: 100%;
  }
}

/* Accordion menu */
.accordion-menu {
  list-style: none;
}

.accordion-menu li {
  border-bottom: 1px solid #ddd;
}

/* Top-level links */
.accordion-menu > li > button,
.accordion-menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  background: #e3e3e3;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

.accordion-menu > li > button:hover,
.accordion-menu a:hover {
  background: #d2d2d2;
}

/* Submenus */
.accordion-sub {
  list-style: none;
  display: none;
  background: #fafafa;
}

.accordion-sub li button,
.accordion-sub li a {
  background: #fafafa;
  padding-left: 20px;
}

/* Show submenu when parent has .open */
.accordion-menu li.open > .accordion-sub {
  display: block;
}

/* Simple indicator */
.has-children > button::after {
  content: "▸";
  float: right;
}

.has-children.open > button::after {
  content: "▾";
}

.col-center .schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.col-center .schedule-table th,
.col-center .schedule-table td {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.col-center .schedule-table thead {
  background-color: #f3f3f3;
  font-weight: 600;
}
