/* header 复用 common.css 的 .header 基类，仅覆盖高度与背景图 */
.header-news {
    width: 10rem;
    height: 2.58233rem;
    min-width: 1349px;
    min-height: 345px;
    background: url('../image/new-bg.png') no-repeat center;
    background-size: cover;
}

.header-news .consult {
    display: none;
}

/* 新闻列表 */
.item-news {
    width: 10rem;
    min-width: 1349px;
    background: #f2f2fa;
    padding-top: 60px;
    padding-bottom: 80px;
}

.news {
    width: 6.252rem;
    min-width: 854px;
    margin: auto;
    position: relative;
}

.news-child {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-child:hover {
    box-shadow: 0 0 8px #d4d5d5;
    transform: translateY(-2px);
}

.news-index {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 50%, #00b96b 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* .news-index::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 18px 18px 0;
    border-color: transparent #fff transparent transparent;
} */

.news-box {
    flex: 1;
    min-width: 0;
}

.news-top {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(22, 119, 255, 0.08);
    color: #1677ff;
    margin-right: 12px;
}

.news-date {
    font-size: 13px;
    color: #9c9c9c;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #0e0e0e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title:hover {
    color: #008bf7;
}

.pay-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #e53e3e;
    background: #fff0f0;
    border: 1px solid #fecaca;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
}

.news-content {
    font-size: 14px;
    color: #6e6e6e;
    line-height: 22px;
}

/* 付费弹窗 */
.pay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.pay-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pay-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.pay-overlay.active .pay-content {
    transform: translateY(0);
}

.pay-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    line-height: 1;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
}

.pay-title {
    font-size: 20px;
    font-weight: 700;
    color: #0e0e0e;
    margin-bottom: 12px;
}

.pay-desc {
    font-size: 15px;
    color: #6e6e6e;
    margin-bottom: 8px;
}

.pay-money {
    color: #e53e3e;
    font-weight: 700;
}

.pay-article {
    font-size: 13px;
    color: #9c9c9c;
    margin-bottom: 20px;
}

.pay-qrcode-box {
    background: #f2f2fa;
    border-radius: 12px;
    padding: 16px;
    display: inline-block;
        height: 212px;
    margin-bottom: 12px;
}

.pay-qrcode-box img {
    width: 192px;
    height: 192px;
    object-fit: contain;
}

.pay-tip {
    font-size: 12px;
    color: #9c9c9c;
}
