﻿body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    color: #333;
    background-color: #fff
}


/* 合作机制介绍 */

/* --- 核心卡片样式 --- */
.corp-card-v2 {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    /*box-shadow: 0 15px 45px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);*/
    border-radius: 0;
    padding-bottom: 28px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .corp-card-v2 {
        max-width: 100%; /* 在大屏幕上 */
    }
}

/* --- 内容区域 --- */
.card-content {
    /* 主要内容容器 */
}

.card-accent-line {
    width: 50px;
    height: 5px;
    background-color: #406cff;
    margin-bottom: 24px;
}

.card-title {
    margin: 0 0 16px 0;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.card-text {
    margin: 0;
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.7;
}

/* --- 分割线 --- */
.card-separator {
    height: 1px;
    background-color: #e2e8f0;
    margin: 32px 0;
}

.card-video-container {
    margin: 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-video-container video {
        width: 60%;
        height: auto;
        display: block;
        border-radius: 0;
    }

/* --- LOGO 展示区域 (底部) --- */
.card-logo-footer {
    /* 底部容器 */
}

.footer-title {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.logo-showcase {
    display: flex;
    justify-content: flex-start;
    align-items: normal;
    gap: 20px;
    flex-wrap: wrap;
}

    .logo-showcase img {
        max-height: 30px;
        width: auto;
        max-width: 20%;
    }

/* ================================================== */
/* ==========    机制成员    ========== */
/* ================================================== */

/* 整体容器，控制宽度和与上方内容的间距 */
.members-section {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding-bottom: 28px;
}

/* 桌面端宽度适配 */
@media (min-width: 768px) {
    .members-section {
        max-width: 1200px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* 装饰短线 (复用风格) */
.section-accent-line {
    width: 50px;
    height: 5px;
    background-color: #406cff;
    margin-bottom: 24px;
}

/* 每个成员分组 */
.members-group {
    margin-bottom: 50px; /* 分组之间的间距 */
}

/* 分组小标题 (主席单位、专家等) */
.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
}

/* 卡片网格布局容器 */
.card-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
/* 联系方式容器 */
.contract-grid {
    display: grid;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
    grid-row-gap: 12px;
}

    .contract-grid .row {
        display: flex;
        align-items: center;
        border-bottom: 1px dashed #eee;
        padding-bottom: 14px;
    }
        .contract-grid .row .contract-name {
            width: 100px;
            font-weight: bold;
            display: flex;
            align-items: center;
            color: #333;
        }

        .contract-grid .row .contract-detail {
            flex: 1;
            color: #666;
        }

    .contract-grid p {
        margin: 0;
    }

    .contract-grid .iconfont {
        margin-right: 5px;
    }

/* --- 单位卡片样式 (主席/副主席) --- */
.member-card {
    background-color: #ffffff;
    /*box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);*/
    padding: 24px;
    box-sizing: border-box;
    flex: 1 1 250px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.member-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.member-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #4B5563;
}

/* --- 专家卡片样式 --- */
.expert-card {
    background-color: #ffffff;
    /*box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);*/
    padding: 24px;
    box-sizing: border-box;
    flex: 1 1 250px;
    max-width: 480px;
    text-align: center;
}

@media (min-width: 1024px) {
    .expert-card {
        flex-basis: calc(25% - 18px);
        flex-grow: 0;
        flex-shrink: 0;
        max-width: none;
    }
}

.expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 16px;
    /*border: 3px solid #f0f2f5;*/
}

.expert-info {
    /* 信息容器 */
}

.expert-name {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.expert-company {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #4B5563;
}

.expert-content {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

.expert-title {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ================================================== */
/* ==========    研究成果    ========== */
/* ================================================== */
.file-list-section {
    width: 100%;
    max-width: 500px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 28px;
}

@media (min-width: 768px) {
    .file-list-section {
        max-width: 100%;
    }
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 单个文件卡片 */
.file-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 0;
    display: flex;
    gap: 24px;
    align-items: center;
}

/* 左侧图片容器 */
.file-card-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    aspect-ratio: 210 / 297;
}

/* 实际图片样式 */
.file-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* 当没有图片时的占位背景 */
.file-card-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
}


/* 右侧内容容器 */
.file-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 141.4px;
}

/* 文件标题 */
.file-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

/* 文件描述 */
.file-description {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 发布时间 */
.file-date {
    margin-top: auto;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* “暂无内容”的占位文本样式 */
.file-placeholder-text {
    margin: 0;
    font-size: 1rem;
    color: #9ca3af;
}

/* 移动端响应式调整 */
@media (max-width: 640px) {
    .file-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-card-image-wrapper {
        width: 100%;
    }

    .file-card-content {
        width: 100%;
        min-height: auto;
    }
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

    .data-table thead {
        background-color: #f5f7fa;
    }

    .data-table th {
        padding: 12px 15px;
        text-align: left;
        font-weight: normal;
        color: #666;
        position: relative;
        border-bottom: 1px solid #e8eaed;
    }

        .data-table th:nth-of-type(1) {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .data-table th::after {
            content: '';
            width: 1px;
            height: 100%;
            background: #D9E5F3;
            position: absolute;
            top: 0;
            right: 0;
        }

        .data-table th .sort-icon {
            width: 16px;
            height: 16px;
            background: url("../img/sort-icon.png") no-repeat;
            background-size: contain;
            display: inline-block;
        }

        .data-table th .filter-icon {
            width: 16px;
            height: 16px;
            background: url("../img/filter-icon.png") no-repeat;
            background-size: contain;
            display: inline-block;
        }

    .data-table td {
        padding: 15px;
        border-bottom: 1px solid #e8eaed;
        color: #333;
    }

    .data-table tr:hover {
        background-color: #f8f9fa;
    }

/* 进行中 - 蓝色 */
.status-text-running {
    color: #406cff;
    font-weight: bold;
}

/* 已完成 - 绿色 */
.status-text-done {
    color: #18a689;
    font-weight: bold;
}

/* 待启动 - 橙色 */
.status-text-pending {
    color: #ff9000;
    font-weight: bold;
}

    .status-text-running i,
    .status-text-done i,
    .status-text-pending i {
        margin-right: 4px;
    }

/* ================================================== */
/* ==========    机制动态    ========== */
/* ================================================== */

.news-feed-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 28px;
}

@media (min-width: 768px) {
    .news-feed-section {
        max-width: 100%;
    }
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 单个新闻卡片 */
.news-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.news-card-image-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.news-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.news-description {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-date {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: auto;
}


@media (max-width: 640px) {
    .news-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-card-image-wrapper {
        width: 100%;
        height: 180px;
    }

    .news-card-content {
        width: 100%;
    }
}


/* ----------------- */
/* 模态框 (Modal) 样式 */
/* ----------------- */

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

    .modal-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

/* 模态框主体 */
.modal-content {
    background-color: #ffffff;
    padding: 48px 64px;
    border-radius: 12px;
    width: min(100%, 960px);
    max-height: 85vh;
    overflow-y: auto;

    position: relative;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.95);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 4px;
    border: 2px solid #ffffff;
}

    .modal-content::-webkit-scrollbar-thumb:hover {
        background-color: #9ca3af;
    }

/* 关闭 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

    .modal-close:hover {
        background-color: #e5e7eb;
        color: #111827;
        transform: rotate(90deg);
    }

/* 标题 */
.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* 日期 */
.modal-date {
    display: block;
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
}

/* 正文区域 */
.modal-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

    .modal-body p {
        margin: 0 0 1.5em 0;
    }

    .modal-body img {
        display: block;
        margin: 24px auto;
        max-height: 400px;
        max-width: 400px;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

/* --- 响应式调整 (移动端) --- */
@media (max-width: 640px) {
    .modal-content {
        padding: 24px 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}


/* ================================================== */
/* ==========    先锋企业    ========== */
/* ================================================== */

.prize-container {
    max-width: 1200px;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.prize-card {
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    padding: 14px 20px 24px;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.prize-header {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.prize-laurel-img {
    position: absolute;
    width: 320px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.prize-title {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

.prize-desc {
    font-size: 12px;
    color: #666;
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.6;
    width: 100%;
    min-height: 40px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 2px;
}

.prize-list {
    width: 100%;
    list-style: none;
    border-top: 1px solid #eee;
}

.prize-cup-img {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 0;
    left: 10%;
    z-index: 0;
    pointer-events: none;
}

.prize-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

    .prize-item:last-child {
        border-bottom: none;
    }

.prize-rank {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #e0e0e0;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    border-radius: 0px;
    flex-shrink: 0;
}

.prize-item.prize-first .prize-rank {
    background-color: #406cff;
}

.prize-item.prize-second .prize-rank {
    background-color: #406cff;
}

.prize-item.prize-third .prize-rank {
    background-color: #406cff;
}

.prize-name {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .prize-container {
        grid-template-columns: 1fr;
    }
}