/* =========================================================
   项目公示 / project_notice
   ========================================================= */

.notice-hero {
    position: relative;
    padding: 14rem 0 7rem;
    background-image: linear-gradient(rgba(20, 36, 60, .72), rgba(20, 36, 60, .72)),
        url('/assets/home/img/index_banner_1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.notice-hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: .4rem;
    line-height: 1.4;
}

.notice-hero-sub {
    margin-top: 1rem;
    font-size: 1.5rem;
    letter-spacing: .2rem;
    opacity: .85;
}

.notice-area {
    padding: 6rem 0 8rem;
    background: #f3f6fb;
}

.notice-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 6rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1.2rem 3rem rgba(30, 52, 86, .08);
    color: #333;
    font-size: 1.55rem;
    line-height: 2.1;
}

.notice-card p {
    margin-bottom: 1.6rem;
}

.notice-title {
    margin-bottom: 3.2rem;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    color: #1f2f46;
}

.notice-contact {
    margin: 2.4rem 0;
    padding: 2rem 2.4rem;
    background: #f7f9fd;
    border-left: 4px solid #5E94FA;
    border-radius: 4px;
}

.notice-contact li {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: .6rem;
    font-size: 1.5rem;
}

.notice-contact li:last-child {
    margin-bottom: 0;
}

.notice-contact li span {
    flex: 0 0 auto;
    min-width: 8rem;
    color: #6b7a90;
}

.notice-contact a {
    color: #2f6fd0;
    text-decoration: none;
}

.notice-contact a:hover {
    text-decoration: underline;
}

.notice-attachment {
    padding: 1.4rem 1.8rem;
    background: #fffaf0;
    border: 1px solid #f3e2bd;
    border-radius: 4px;
    font-size: 1.45rem;
    color: #7a5b16;
    word-break: break-all;
}

.notice-sign {
    margin-top: 3.2rem;
    text-align: right;
    font-size: 1.5rem;
    line-height: 2;
    color: #333;
}

.notice-divider {
    margin: 4rem 0;
    border: 0;
    border-top: 1px dashed #d7deea;
}

.notice-subtitle {
    position: relative;
    margin: 3.2rem 0 2rem;
    padding-left: 1.4rem;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.6;
    color: #1f2f46;
}

.notice-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 4px;
    height: 1.1em;
    background: #5E94FA;
    border-radius: 2px;
}

.notice-meta {
    margin: 0 0 2rem;
}

.notice-meta-row {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 1.5rem;
}

.notice-meta-row dt {
    color: #6b7a90;
}

.notice-meta-row dd {
    color: #333;
}

.notice-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.notice-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
}

.notice-table th,
.notice-table td {
    padding: 1.2rem 1rem;
    border: 1px solid #e3e8f0;
    vertical-align: top;
    text-align: left;
    word-break: break-word;
}

.notice-table thead th {
    background: #eef3fb;
    color: #1f2f46;
    font-weight: 700;
}

.notice-table tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.paper-title {
    margin-bottom: .4rem;
    font-weight: 600;
}

.paper-journal {
    margin-bottom: .3rem;
    color: #2f6fd0;
}

.paper-authors {
    color: #6b7a90;
}

/* 移动端：表格转为卡片，保证可读性 */
@media (max-width: 767px) {
    .notice-hero {
        padding: 11rem 0 5rem;
    }

    .notice-hero-title {
        font-size: 2.6rem;
        letter-spacing: .2rem;
    }

    .notice-area {
        padding: 3.6rem 0 5rem;
    }

    .notice-card {
        padding: 2.8rem 2rem;
        font-size: 1.5rem;
        line-height: 2;
    }

    .notice-title {
        margin-bottom: 2.4rem;
        font-size: 2rem;
    }

    .notice-meta-row {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .notice-table-wrap {
        overflow: visible;
    }

    .notice-table {
        display: block;
        min-width: 0;
    }

    .notice-table thead {
        display: none;
    }

    .notice-table tbody {
        display: block;
    }

    .notice-table tr {
        display: block;
        margin-bottom: 1.6rem;
        padding: 1.2rem 1.4rem;
        background: #fff;
        border: 1px solid #e3e8f0;
        border-radius: 6px;
    }

    .notice-table td {
        display: block;
        padding: .5rem 0;
        border: 0;
    }

    .notice-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .2rem;
        font-size: 1.2rem;
        font-weight: 600;
        color: #5E94FA;
    }
}

/* 打印 */
@media print {
    .notice-hero {
        display: none;
    }

    .notice-area {
        padding: 0;
        background: #fff;
    }

    .notice-card {
        max-width: none;
        padding: 0;
        box-shadow: none;
    }

    .notice-table {
        min-width: 0;
        font-size: 10px;
    }

    .notice-table th,
    .notice-table td {
        padding: 4px;
    }
}
