/* ============================================
   publication.css - Publication 页专属样式
   ============================================ */

/* 页面内容区域 */
.publication-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* --- 期刊封面展示模块 --- */
.journal-section {
    width: 100%;
}

/* 三列网格布局 */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 单个卡片样式 */
.journal-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* 轻微阴影 */
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 期刊封面图片 */
.journal-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   手机端响应式
   ============================================ */
@media screen and (max-width: 768px) {
    .publication-content {
        padding: 30px 20px;
    }

    .journal-grid {
        grid-template-columns: 1fr; /* 手机端单列 */
        gap: 25px;
    }
}

/* ============================================
   论文列表模块（年份分区）
   ============================================ */

.paper-section {
    width: 100%;
    margin-bottom: 60px;
}

/* 年份标题 */
.paper-year {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #AE7C0A;
    margin-bottom: 15px;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid #A96109;
}

/* 左右布局容器 */
.paper-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧：论文文字列表 */
.paper-list {
    flex: 1;
    min-width: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.8;
}

/* 每条论文段落：
   - 用 padding-left 预留编号位置
   - 用 text-indent 负缩进让编号回到左侧外面
   - 这样无论编号是 2 位数还是 3 位数，正文都统一对齐
*/
.paper-list p {
    margin: 0 0 18px 0;
    padding-left: 45px;      /* 为编号预留空间 */
    text-indent: -45px;      /* 让首行编号向左回退，超出 padding 区域 */
    text-align: justify;
}

/* 数字编号：把编号单独包一层 span，方便加颜色和加粗 */
.paper-list p .num {
    display: inline-block;
    width: 45px;              /* 固定编号宽度，保证正文对齐 */
    color: #AE7C0A;           /* 编号颜色 */
    font-weight: 700;         /* 编号加粗 */
    text-indent: 0;           /* 重置继承的负缩进 */
}

/* 加粗（作者名或期刊名） */
.paper-list strong,
.paper-list b {
    font-weight: 700;
    color: #000000;
}

/* 斜体（期刊名） */
.paper-list em,
.paper-list i {
    font-style: italic;
}

/* 上标（如 #、* 等符号） */
.paper-list sup {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

/* 链接 */
.paper-list a {
    color: #073763;
    text-decoration: none;
}

.paper-list a:hover {
    text-decoration: underline;
}

/* 右侧：配图 */
.paper-image {
    flex: 0 0 400px;
    max-width: 400px;
}

.paper-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   手机端响应式
   ============================================ */
@media screen and (max-width: 768px) {
    .publication-content {
        padding: 30px 20px;
    }

    /* 期刊封面 */
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .journal-section {
        margin-bottom: 50px;
    }

    /* 论文列表 */
    .paper-year {
        font-size: 1.8rem;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .paper-layout {
        flex-direction: column;
        gap: 25px;
    }

    .paper-list {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* 手机端：编号位置适当缩小 */
    .paper-list p {
        padding-left: 35px;
        text-indent: -35px;
        text-align: left;
    }

    .paper-list p .num {
        width: 35px;
    }

    .paper-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}
.paper-section h2.paper-year a {
    text-decoration: none !important;
    color: inherit !important;
    cursor: default;
    pointer-events: none;
}

.paper-image {
    flex: 0 0 400px !important;
    max-width: 400px !important;
}

.paper-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 20px !important;
}

.paper-layout {
    display: flex !important;
    
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.paper-list {
    flex: 1 !important;
    padding-right: 20px !important;
}

#wp_paging_w6 {
    display: none !important;
}