/* 全站基础配色和设置 */
:root {
    --primary-color: #1a56db; /* 学院蓝 */
    --bg-color: #f8fafc;      
    --text-color: #334155;    
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* 顶部导航栏 */
.navbar {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar a {
    color: #475569;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.navbar a:hover { color: var(--primary-color); background-color: #f1f5f9; }
.navbar a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 主体内容区 */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 白色卡片容器 */
.card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}
.card h1 { font-size: 2rem; margin-bottom: 10px; color: #1e293b; text-align: center; }
.card .subtitle { text-align: center; color: #64748b; margin-bottom: 30px; font-size: 1rem; }

/* 相册网格框架 */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.photo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.photo-info {
    padding: 15px;
    border-top: 1px solid #f1f5f9;
}
.photo-info h3 { font-size: 1.1rem; color: #1e293b; margin-bottom: 4px; }
.photo-info p { font-size: 0.85rem; color: #64748b; }

/* 通知列表框架 */
.notice-list { list-style: none; }
.notice-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.notice-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
}
.notice-content h3 { font-size: 1.1rem; color: #1e293b; margin-bottom: 5px; }
.notice-content p { font-size: 0.9rem; color: #64748b; }
.notice-date { color: #94a3b8; font-size: 0.9rem; white-space: nowrap; margin-left: 20px; }
