/* --- 全局样式重置 --- */
body {
    margin: 0; padding: 0;
    /*background: radial-gradient( 41% 41% at 79% 70%, #A0C3E5 0%, #E8F4FF 100%);*/
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    box-sizing: border-box;
    min-width: 1400px;
}
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; padding: 0; margin: 0; }
img { display: block; width: 100%; height: 100%; object-fit: fill; }

:root { --primary-blue: #004ea2; }

/* === 滚动条美化 === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #dcdfe6;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #c0c4cc;
}
.datagrid-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.container { width: 1200px; margin: 0 auto; }
.article {
    width: 84%;
    margin: 0 auto;
}
.article-title {
    text-align: center;
    font-size: .5rem;
    line-height: 140%;
    padding-bottom: .5rem;
}
.article-meta .meta-date{
    font-size: 14px;
    color: #999999;
    display: inline-block;
    padding: 0 .15rem;
    line-height: 200%;
    z-index: 2;
    position: relative;
    background: #fff;
}

.article .zoom {
    margin-top: .5rem;
}

/* PDF 内容展示区 */
.pdf-wrapper {
    width: 100%; min-height: 400px; position: relative;
}
/* PDF 页面样式 */
.pdf-page-canvas {
    display: block; margin: 0 auto 20px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
}

/* 加载与错误提示 */
.loading-box {
    text-align: center; padding: 50px; color: #666;
    background: #f9f9f9; border-radius: 4px; display: none;
}
.error-box {
    background-color: #fef0f0; color: #f56c6c;
    padding: 8px 16px; border-radius: 4px; margin-bottom: 20px;
    display: none; font-size: 14px; line-height: 1.5;
    align-items: center;
}
.error-box i { margin-right: 8px; font-size: 16px; }