/* ============================================
   白皮书列表页样式 - whitepaper.css
   作者: Qoder
   说明: 白皮书展示页面专用样式，包含白皮书卡片网格
   ============================================ */

/* ============================================
   一、白皮书卡片网格模块
   ============================================ */

/* 白皮书区域整体 */
.whitepaper-list-section {
    background-color: #FFFFFF;
}
.pc-gov-banner {
  height: 300px !important;
}
/* 白皮书卡片网格 - 3列布局 */
.whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 单个白皮书卡片 */
.whitepaper-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.whitepaper-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 白皮书封面图区域 */
.whitepaper-cover {
    width: 100%;
    height: 500px;
    background-color: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whitepaper-cover picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whitepaper-cover-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.5s ease;
}

/* 鼠标移入图片放大效果 */
.whitepaper-card:hover .whitepaper-cover-img {
    transform: scale(1.05);
}

/* 白皮书底部信息区域 */
.whitepaper-info {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    background-color: #FFFFFF;
}

/* 白皮书标题 */
.whitepaper-title {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 查看更多链接 */
.whitepaper-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0069EA;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.whitepaper-link:hover {
    color: #0052cc;
}

.whitepaper-link svg {
    width: 14px;
    height: 14px;
}


/* ============================================
   二、响应式适配 - 移动端
   ============================================ */

@media screen and (max-width: 768px) {
    /* 白皮书网格移动端适配 - 单列布局 */
    .whitepaper-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .whitepaper-cover {
        height: 220px;
    }

    .whitepaper-cover-img {
        padding: 16px;
    }

    .whitepaper-info {
        padding: 12px 16px;
    }

    .whitepaper-title {
        font-size: 13px;
    }

    .whitepaper-link {
        font-size: 13px;
        margin-left: 8px;
    }
}

/* 平板端适配 - 2列布局 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .whitepaper-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
