/* ---------- General Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: sans-serif;
}

/* ---------- Layout ---------- */
.content-wrapper {
  flex: 1;
  display: flex;
  width: 100%;
  padding: 1em;
  gap: 1em;
}

.sidebar {
  width: 300px;
  padding: 1em;
  background-color: #f0f0f0;
  min-height: 100%;
  overflow-y: auto;
}

.left-sidebar {
  border-right: 1px solid #ccc;
}

.right-sidebar {
  border-left: 1px solid #ccc;
}

.main-section {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  padding: 1em;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  padding: 1em;
}

.calendar-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Banner ---------- */
.banner {
  background: url('/images/pages/banner.jpg') center/cover no-repeat;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.banner-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1em 2em;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 5px;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: #333;
  position: relative;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0.5em 1em;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Sidebar toggle buttons */
.sidebar-toggle-icons {
  display: none;
  gap: 8px;
  justify-content: space-between;
  padding: 0 1em;
  margin-bottom: 0.5em;
}

.sidebar-toggle-icons button {
  background-color: #006699;
  color: white;
  border: none;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
}

.sidebar-toggle-icons button:hover {
  background-color: #004d73;
}

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  background-color: #222;
  color: white;
  padding: 2em 1em;
  display: flex;
  flex-direction: column;
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
    padding: 0.5em;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    display: none; /* hidden by default */
  }

  .sidebar.active {
    display: block; /* shown when toggled */
    position: relative;
    z-index: 10;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .left-sidebar {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .right-sidebar {
    border-left: none;
    border-top: 1px solid #ccc;
  }

  .main-section {
    padding: 1em 0.5em;
    align-items: center;
  }

  .main-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    padding: 0.5em;
  }

  .sidebar-toggle-icons {
    display: flex;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .banner {
    height: 100px;
  }

  .banner-text {
    font-size: 1.2rem;
    padding: 0.5em 1em;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    display: none;
    background-color: #333;
    width: 100%;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar li {
    margin: 0.3em 0;
  }

  .footer {
    padding: 1em;
  }
}

.meeting-announcement {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  line-height: 1.7;
  color: #222;
}

.meeting-announcement h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.2em;
  color: #003366;
  text-transform: uppercase;
}

.meeting-announcement h2 {
  font-size: 1.6rem;
  text-align: center;
  color: #800000;
  margin-bottom: 0.2em;
}

.meeting-announcement h3 {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1.5em;
}

.meeting-announcement h4 {
  margin-top: 1.8em;
  font-size: 1.3rem;
  color: #003366;
  border-bottom: 2px solid #ccc;
  padding-bottom: 4px;
}

.meeting-announcement h5 {
  font-size: 1.1rem;
  color: #444;
  margin-top: 1em;
  text-decoration: underline;
}

.meeting-announcement p {
  margin-bottom: 1em;
  text-indent: 1.5em;
}

.meeting-announcement a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.meeting-announcement a:hover {
  text-decoration: underline;
}
