 body {
 background-color: #f8f9fa;
 font-family: Arial, sans-serif;
}

.main-content {
 min-height: calc(97vh - 120px); /* 確保內容區高度適配頁首頁腳 */
}

.sidebar {
 background-color: #e9ecef;
 padding-top: 20px;
 height: 100%;
}

.sidebar .nav-link {
 color: #333;
 padding: 10px 20px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
 background-color: #dee2e6;
}

.news-item {
 border-bottom: 1px solid #dee2e6;
 padding: 15px 0;
}

.news-item h5 {
 margin-bottom: 5px;
}

.news-item p {
 margin-bottom: 0;
 color: #666;
}

.student-content, .staff-content {
 padding: 20px;
}

.sidebar .bg-secondary {
    margin-top: 20px; /* 增加間隔 */
}

.btn-secondary:hover {
    background-color: #5a6268; /* 深灰色 */
    border-color: #545b62;
}