/* 企业资讯板块样式（新增文件，不影响任何现有样式） */

/*banner*/
.banner-news {
    width: 100%;
    height: 400px;
    background: url("../img/banner-news.jpg") no-repeat center;
    background-size: cover;
}

.banner-news .banner-news-mask {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17, 30, 57, 0.75), rgba(70, 110, 245, 0.45));
}

.banner-news .banner-news-title {
    margin: 0;
    color: #ffffff;
    font-size: 44px;
    font-weight: normal;
    letter-spacing: 6px;
    text-align: center;
}

.banner-news .banner-news-subtitle {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    letter-spacing: 2px;
}

/*面包屑*/
.news-breadcrumb {
    padding: 20px 0 0;
    color: #999999;
    font-size: 13px;
}

.news-breadcrumb a:hover {
    color: #466EF5;
}

.news-breadcrumb .news-breadcrumb-sep {
    margin: 0 8px;
}

/*分类标签页*/
.news-tabs {
    margin: 36px auto 0;
    text-align: center;
    font-size: 0;
}

.news-tabs .news-tab {
    position: relative;
    display: inline-block;
    padding: 0 42px;
    height: 40px;
    line-height: 40px;
    color: #333333;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.news-tabs .news-tab + .news-tab::before {
    position: absolute;
    content: ' ';
    top: 50%;
    left: 0;
    width: 1px;
    height: 16px;
    background-color: #DFDFDF;
    transform: translateY(-50%);
}

.news-tabs .news-tab:hover {
    color: #466EF5;
}

.news-tabs .news-tab.active {
    color: #466EF5;
    font-weight: bold;
}

.news-tabs .news-tab.active::after {
    position: absolute;
    content: ' ';
    left: 50%;
    bottom: -2px;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background-color: #466EF5;
    transform: translateX(-50%);
}

/*资讯列表*/
.news-list {
    min-height: 480px;
    padding: 44px 0 10px;
}

.news-card {
    float: left;
    margin: 0 0 36px;
    width: 376px;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:nth-child(3n+2) {
    margin-left: 36px;
    margin-right: 36px;
}

.news-card:hover {
    box-shadow: 0 10px 28px rgba(17, 30, 57, 0.12);
    transform: translateY(-4px);
}

.news-card .news-card-cover {
    position: relative;
    width: 100%;
    height: 210px;
    background-color: #F5F7FF;
    overflow: hidden;
}

.news-card .news-card-cover .news-card-top {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    color: #ffffff;
    background-color: #F5222D;
}

.news-card .news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card-cover img {
    transform: scale(1.05);
}

.news-card .news-card-cover .news-card-cover-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #C7D2FE;
    font-size: 40px;
    background: linear-gradient(135deg, #F5F7FF 0%, #E6EBFE 100%);
}

.news-card .news-card-body {
    padding: 20px 22px 18px;
}

.news-card .news-card-title {
    height: 48px;
    color: #333333;
    font-size: 17px;
    font-weight: bold;
    line-height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card .news-card-summary {
    margin-top: 10px;
    height: 44px;
    color: #999999;
    font-size: 13px;
    line-height: 22px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card .news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #F5F5F5;
}

.news-card .news-card-date {
    color: #999999;
    font-size: 12px;
}

.news-card .news-card-more {
    color: #466EF5;
    font-size: 12px;
}

.news-card .news-card-more .icon {
    margin-left: 2px;
    transform: rotate(270deg);
}

/*空态*/
.news-empty {
    padding: 110px 0 130px;
    color: #999999;
    font-size: 14px;
    text-align: center;
}

.news-empty .news-empty-icon {
    margin-bottom: 14px;
    color: #C7D2FE;
    font-size: 46px;
}

/*加载态*/
.news-loading {
    padding: 110px 0 130px;
    color: #999999;
    font-size: 14px;
    text-align: center;
}

/*分页*/
.news-pagination {
    padding: 6px 0 76px;
    text-align: center;
    font-size: 0;
}

.news-pagination .news-page-btn {
    display: inline-block;
    margin: 0 5px;
    padding: 0 14px;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    color: #666666;
    font-size: 14px;
    border: 1px solid #DFDFDF;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-pagination .news-page-btn:hover {
    color: #466EF5;
    border-color: #466EF5;
}

.news-pagination .news-page-btn.active {
    color: #ffffff;
    border-color: #466EF5;
    background-color: #466EF5;
}

.news-pagination .news-page-btn.disabled {
    color: #C0C0C0;
    border-color: #EDEDED;
    cursor: not-allowed;
    background-color: #FAFAFA;
}

/* ============ 资讯详情页 ============ */
.news-detail {
    padding: 40px 0 90px;
}

.news-detail-box {
    margin: auto;
    width: 860px;
}

.news-detail-title {
    color: #333333;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.news-detail-meta {
    margin-top: 22px;
    padding-bottom: 26px;
    color: #999999;
    font-size: 13px;
    text-align: center;
    border-bottom: 1px solid #EDEDED;
}

.news-detail-meta span {
    margin: 0 14px;
}

.news-detail-meta .news-detail-category {
    color: #466EF5;
}

/* 富文本正文排版 */
.news-article {
    padding: 34px 0 10px;
    color: #333333;
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}

.news-article p {
    margin: 0 0 1.2em;
}

.news-article h1,
.news-article h2,
.news-article h3,
.news-article h4 {
    margin: 1.6em 0 0.8em;
    color: #222222;
    line-height: 1.5;
    text-align: left;
}

.news-article h1 { font-size: 24px; }
.news-article h2 { font-size: 21px; }
.news-article h3 { font-size: 18px; }
.news-article h4 { font-size: 16px; }

.news-article img {
    display: block;
    margin: 18px auto;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.news-article ul,
.news-article ol {
    margin: 0 0 1.2em;
    padding-left: 1.6em;
}

.news-article ul { list-style: disc; }
.news-article ol { list-style: decimal; }

.news-article li {
    margin-bottom: 0.4em;
    line-height: 1.9;
}

.news-article blockquote {
    margin: 1.2em 0;
    padding: 14px 20px;
    color: #666666;
    border-left: 4px solid #466EF5;
    background-color: #F9FAFF;
}

.news-article table {
    margin: 1.2em 0;
    width: 100%;
    border-collapse: collapse;
}

.news-article table th,
.news-article table td {
    padding: 10px 12px;
    border: 1px solid #E5E5E5;
    font-size: 14px;
}

.news-article table th {
    background-color: #F5F7FF;
}

.news-article a {
    color: #466EF5;
    text-decoration: underline;
}

.news-article strong { font-weight: bold; }

/*上一篇/下一篇*/
.news-neighbor {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid #EDEDED;
}

.news-neighbor .news-neighbor-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 14px;
    font-size: 14px;
}

.news-neighbor .news-neighbor-label {
    flex-shrink: 0;
    margin-right: 14px;
    color: #999999;
}

.news-neighbor .news-neighbor-link {
    color: #333333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-neighbor .news-neighbor-link:hover {
    color: #466EF5;
}

.news-neighbor .news-neighbor-none {
    color: #C0C0C0;
}

.news-detail-back {
    margin-top: 44px;
    text-align: center;
}

.news-detail-back .news-back-btn {
    display: inline-block;
    padding: 0 42px;
    height: 42px;
    line-height: 42px;
    color: #466EF5;
    font-size: 14px;
    border: 1px solid #466EF5;
    border-radius: 21px;
    transition: all 0.2s ease;
}

.news-detail-back .news-back-btn:hover {
    color: #ffffff;
    background-color: #466EF5;
}

/* ============ 响应式适配（仅作用于资讯板块新增页面） ============ */
@media (max-width: 1300px) {
    body {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .header .title {
        display: none;
    }

    .header .nav > ul > li {
        margin: 0 8px;
        font-size: 13px;
    }

    .container {
        width: 100%;
        padding: 0 16px;
    }

    .banner-news {
        height: 220px;
    }

    .banner-news .banner-news-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .banner-news .banner-news-subtitle {
        font-size: 13px;
    }

    .news-tabs .news-tab {
        padding: 0 18px;
        font-size: 15px;
    }

    .news-list {
        padding-top: 30px;
    }

    .news-card {
        float: none;
        margin: 0 0 22px !important;
        width: 100%;
    }

    .news-detail-box {
        width: 100%;
    }

    .news-detail-title {
        font-size: 22px;
    }

    .footer {
        height: auto;
        padding-bottom: 30px;
    }

    .footer .footer-left,
    .footer .footer-mid,
    .footer .footer-right {
        float: none;
        margin: 30px 0 0;
        width: 100%;
    }

    .footer .footer-left {
        text-align: left;
    }

    .footer .footer-left .footer-qrcode {
        width: 110px;
        height: 110px;
    }

    .footer .footer-map {
        width: 100%;
        height: auto;
    }

    .footer .footer-link {
        width: 100%;
    }

    .footer .footer-link:nth-child(even) {
        margin-left: 0;
    }

    .advisory {
        display: none;
    }
}
