/* 权威文献页面样式 */

/* 主要内容区 */
.literature-main {
    width: 100%;
    min-height: 100vh;
    padding-top: 85px;
    background-color: #001A3D;
}

/* 第一部分：大图背景 */
.literature-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.literature-hero-image {
    width: 100%;
    display: block;
}

.literature-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* 左侧悬浮菜单 */
.lps-sidebar {
    position: fixed;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    width: 175px;
    min-width: 175px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.sidebar-header {
    background-color: #5b87c5;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-ite {
    border-bottom: 1px solid #eee;
}

.sidebar-ite:last-child {
    border-bottom: none;
}

.sidebar-ite a {
    display: block;
    padding: 10px 10px;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.sidebar-ite.active a {
    background-color: #fff;
    
    color: #333;
    font-weight: bold;
}

.sidebar-ite a:hover {
    background-color: #e5e5e5;
}


/* 第二部分：文献卡片网格 */
.literature-cards-section {
    width: 100%;
    padding: 80px 0;
}

.literature-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.literature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
}

.literature-card {
    transition: all 0.3s ease;
}

.literature-card:hover {
    transform: translateY(-5px);
}

.literature-card-image {
    width: 100%;
    overflow: hidden;
}

.literature-card-image img {
    width: 100%;
    height: auto;
    max-height: 142px;
    object-fit: cover;
    display: block;
}

.literature-card-content {
    padding: 25px;
    padding-left: 0;
}

.literature-card-tag {
    display: inline-block;
    background: linear-gradient(323deg, #FFCC5D 40%, #FFEEC8 100%);
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 4px 12px;
    margin-bottom: 15px;
}

.literature-card-title {
    font-size: 26px;
    font-weight: 600;
    color: #FFF;
    line-height: 40px;
    margin-bottom: 15px;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.literature-card-meta {
    color: #FFF;
    min-height: 60px;
    line-height: 30px;
}

.literature-card-purpose {
    font-size: 20px;
    font-weight: 300;
    color: #FFF;
    margin-bottom: 8px;
}

.literature-card-desc {
    font-size: 20px;
    color: #FFF;
    font-weight: 300;
    min-height: 60px;
    line-height: 30px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 第三部分：LPS相关出版书籍 */
.books-section {
    width: 100%;
    padding: 80px 0;
}

.books-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.books-title {
    font-size: 48px;
    font-weight: 600;
    color: #FFCC5D;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.2;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 40px;
    align-items: start;
}

.book-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.book-item:hover {
    transform: translateY(-5px);
}

.book-cover {
    flex-shrink: 0;
    width: 120px;
}

.book-cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.book-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: #fff;
}

.book-title {
    
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 23px;
    height: 69px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

.book-meta {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.book-year {
    margin: 0 0 5px 0;
}

.book-author {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* 第四部分：媒体 */
.media-section {
    width: 100%;
    padding: 80px 0;
}

.media-container {
    max-width: 1400px;
    background-color: #123577;
    margin: 0 auto;
    padding: 100px 180px;
}

.media-title {
    font-size: 45px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.2;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.media-item:last-child {
    border-bottom: none;
}

.media-item:hover {
    padding-left: 10px;
    padding-right: 10px;
}

.media-date {
    flex-shrink: 0;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    padding: 4px 12px;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.media-content {
    flex: 1;
    color: #fff;
}

.media-headline {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-source {
    font-size: 20px;
    color: #FFF;
    font-weight: 200;
    line-height: 1.5;
    margin: 0;
}

/* ========== 手机端专用样式 ========== */
@media (max-width: 576px) {
    .literature-main {
    padding-top: 70px;}
    .lps-sidebar {
        display: none;
    }
    .literature-hero-image img {
    width: auto;}
    .literature-cards-section {
        width: 100%;
        padding: 40px 10px;
    }
    .literature-cards-container {
         padding: 0; 
    }
    .literature-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .literature-card {
        background: #204387;
    }
    .literature-card-image img {
        max-height: unset;
    }
    .literature-card-content {
    padding: 10px;
        
    }
    .literature-card-tag {
        font-size: 14px;
            padding: 2px 10px;margin-bottom: 10px;
    }
    .literature-card-title {
    font-size: 16px;
    line-height: 24px;
    max-width: 95%;
    margin-bottom: 5px;
    overflow: hidden;
    min-height: 24px;}
    .literature-card-purpose {
        margin-bottom:0;
    font-size: 12px;}
    .literature-card-desc {
        min-height:unset;
        height: 40px;
        font-size: 12px;
            line-height: 20px;
            -webkit-line-clamp: 2;
    }
    .literature-arrow{
        position: absolute;
        right: 15px;
        margin-top: -2px;
    }
    .books-section {
        padding: 0px 10px;
    }
    .books-container {
        padding: 0;
        
    }
    .book-item {
        gap: 10px;
    }
    .books-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .books-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 20px;
    }
    .book-cover {
        width: 80px;
    }
    .book-info {
        gap:0;
    }
    .book-meta {
        font-size: 14px;
    }
    .book-title {
        font-size: 12px;
        line-height: 16px;
        height: 64px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
    }
    .media-section {
        width: 100%;
        padding: 40px 0;
    }
    .media-container {
        padding: 40px 20px;
    }
    .media-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .media-item {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
    .media-date {
    font-size: 14px;
    }
    .media-headline {
    font-size: 16px;
        
    }
    .media-source {
    font-size: 14px;
        
    }
}
