/* ========== 全局基础样式 ========== */
body {
  background-color: #FFFAFA;
  color: #333333;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

header {
  text-align: left;
}

a {
  color: #00BFFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

b {
  color: #FDAD0D;
  text-decoration: none;
}

/* ========== Footer - 日间模式 ========== */
footer {
  background-color: #FFFFE0; 
  color: #333;
  padding: 20px;
  transition: background-color 0.3s, color 0.3s;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  display: inline;
  margin-right: 10px;
}

/* ========== 深色模式覆盖 ========== */
body.dark {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark footer {
  background-color: #282828;
  color: white;
}
/* ========== 首页最新通知区块 ========== */
.latest-notice {
  background-color: #f8f9ff;
  color: #333;
  padding: 16px;
  margin: 20px 0;
  border-left: 4px solid #6a5acd;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  max-width: 760px;
}

.latest-notice .notice-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.latest-notice .view-all-notices {
  color: #1e90ff;
  text-decoration: underline;
  font-size: 0.95em;
  display: inline-block;
  margin-top: 8px;
}

/* 深色模式覆盖 */
body.dark .latest-notice {
  background-color: #1f1f1f;
  color: #e0e0e0;
  border-left: 4px solid #6a5acd;
}

body.dark .latest-notice .view-all-notices {
  color: #4fc3f7; /* 浅蓝，更适配深色背景 */
}
