/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题区域样式 */
.header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 400;
    margin: 0;
}

/* 主要内容区域样式 */
.main-content {
    padding: 50px 0;
    min-height: calc(100vh - 300px);
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 公告列表区域样式已删除 */

/* 文章内容区域样式 */
.notice-content {
    background-color: white;
    border-radius: 0;
    padding: 60px 80px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #1e40af;
    position: relative;
}

.notice-article {
    display: block;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #1e40af;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
}

.article-meta {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.article-meta span {
    margin: 0 15px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 2;
    color: #334155;
    text-align: justify;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h3 {
    color: #1e40af;
    margin: 30px 0 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.article-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
}

/* 菜单图标样式 */
.menu-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e40af;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 页脚区域样式 */
.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-subtitle {
        font-size: 0.8rem;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .header {
        padding: 13px 0;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .notice-content {
        padding: 40px 50px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.7rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .notice-content {
        padding: 30px 20px;
    }
}

/* 右侧竖排信息样式 */
.right-vertical-info {
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    color: #64748b;
    letter-spacing: 3px;
    margin-right: 10px;
}

.right-vertical-info p {
    margin: 15px 0;
    font-weight: 500;
}

/* 内容元信息样式 */
.content-meta-info {
    position: relative;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #64748b;
}

.content-meta-info p {
    margin: 5px 0;
    text-align: right;
    font-weight: 500;
    padding-right: 150px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}