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

body {
  font-family: 'Noto Sans TC', sans-serif;
  display: flex;
  min-height: 100vh;
  background-color: #fdf8f3;
  color: #331a00;
}

.wrapper {
  display: flex;
  width: 100%;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: #5a2a00;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 1rem 0;
  z-index: 1000;
}

.sidebar-header {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.sidebar ul.menu {
  list-style: none;
}

.sidebar ul.menu li {
  border-top: 1px solid #744422;
}

.sidebar ul.menu li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
}

.sidebar ul.menu li a:hover,
.sidebar ul.menu li a.active {
  background-color: #b2541a;
  color: #fff;
}

.sidebar ul.submenu {
  display: none;
  background-color: #723d1a;
}

.sidebar ul.menu li:hover > ul.submenu,
.sidebar ul.menu li.open > ul.submenu {
  display: block;
}

.sidebar ul.submenu li a {
  padding-left: 40px;
  font-size: 15px;
}

/* Main Content */
.content {
  margin-left: 260px;
  flex: 1;
  padding: 20px;
}

.banner {
  position: relative;
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.banner-caption {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #4e1e00;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
}

.banner-caption h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.banner-caption h2 {
  font-size: 18px;
  margin-bottom: 5px;
}

.banner-caption p {
  font-size: 16px;
}

.announcements {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.news,
.dates {
  background-color: #fff8f0;
  border: 1px solid #e4dcd3;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  min-width: 300px;
}

.news h3,
.dates h3,
.about h3 {
  font-size: 22px;
  color: #823e0f;
  margin-bottom: 1rem;
}

.news ul,
.dates ul {
  list-style: none;
}

.news li,
.dates li {
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.dates del {
  color: #999;
}

.about {
  background-color: #fff8f0;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e4dcd3;
  margin-top: 30px;
}

.about p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 16px;
}

.organizers {
  background-color: #fff8f0;
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid #e4dcd3;
  margin-top: 20px;
  font-size: 15px;
}

.organizers ul {
  list-style: none;
  padding-left: 0;
}

.organizers li {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  width: 100%;
  background-color: #5a2a00;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 40px;
  border-top: 2px solid #823e0f;
}

.footer p {
  margin-bottom: 5px;
}
