/* ==========================================
   完整复刻：Asia Pacific Science Press 样式
========================================== */

/* 1. 解决“上边还有内容”：全局浅灰底色，并给主体卡片增加顶部距离 */
body {
    background-color: #e9ecef !important;
}

.pkp_structure_page {
    max-width: 1200px !important;
    /* 上下留白 30px，左右居中，这就是产生顶部灰色缝隙和悬浮感的关键 */
    margin: 30px auto !important; 
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    min-height: 100vh;
}

/* 2. 解决“颜色不够深”及头部排版：调低明度，加深蓝色 */
.pkp_structure_head {
    background-color: #115c90 !important; /* 更深、更稳重的目标站标准蓝 */
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    border-bottom: none !important;
}

/* --- 头部第一层：深蓝背景区（包含 Logo 和 登录注册） --- */
.pkp_site_name_wrapper {
    display: flex !important;
    justify-content: space-between !important; /* Logo在左，登录在右 */
    align-items: center !important;
    padding: 20px 40px !important;
    width: 100% !important;
    box-sizing: border-box;
}
.pkp_site_name, .pkp_site_name a {
    color: #ffffff !important; 
    font-size: 24px !important;
    text-decoration: none !important;
}

/* 右上角登录/注册按钮 */
.pkp_navigation_user_wrapper {
    position: relative !important;
    margin: 0 !important;
}
.pkp_navigation_user a {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-left: 20px !important;
    font-size: 14px !important;
}

/* --- 头部第二层：纯白导航栏 --- */
.pkp_navigation_primary_wrapper {
    background-color: #ffffff !important;
    width: 100% !important;
    padding: 0 40px !important;
    box-sizing: border-box;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    justify-content: space-between !important; /* 导航在左，搜索在右 */
    align-items: center !important;
}
.pkp_navigation_primary a {
    color: #555555 !important;
    text-transform: uppercase !important; /* 强制英文大写，复刻目标站风格 */
    font-weight: 600 !important;
    padding: 15px 10px !important;
    font-size: 14px !important;
}
.pkp_navigation_primary a:hover {
    color: #115c90 !important; /* 鼠标悬浮时变成主题蓝 */
}

/* 3. 解决“中间内容的复刻”：强制 7:3 左右分栏布局 */
.pkp_structure_content {
    display: flex !important;
    flex-direction: row !important;
    padding: 40px !important;
    gap: 40px !important; /* 左侧文章与右侧边栏的间距 */
    box-sizing: border-box;
}

/* 左侧主内容区（文章列表等）占 70% */
.pkp_structure_main {
    flex: 1 1 70% !important;
    width: 70% !important;
}

/* 右侧边栏区（索引 Logo 等）占 30% */
.pkp_structure_sidebar {
    flex: 0 0 25% !important;
    width: 25% !important;
    /* 给侧边栏加一条极淡的左边框，分隔视线 */
    border-left: 1px solid #f0f0f0 !important; 
    padding-left: 30px !important;
}