/* ==========================================================================
   VIP 新闻列表样式（new.css）
   适用于：news.html
   结构：标题 → 新闻卡片列表（带图/无图）
   ========================================================================== */

/* ==================== 容器 ==================== */
.new_block {
    background-color: var(--vip-bg);
    width: 100%;
    height: auto;
    padding: 24px 0;
    min-height: 700px;
}

.new_block_main {
    margin: 0 auto;
    width: 100%;
    max-width: var(--vip-container);
    padding: 0 20px;
}

/* ---- 搜索表单（预留） ---- */
.form_block {
    height: 40px;
    text-align: right;
    margin-bottom: 10px;
}

.form_input {
    padding-bottom: 2px;
    border-radius: var(--vip-radius-sm) 0 0 var(--vip-radius-sm);
    border: 2px solid var(--vip-secondary);
}

input:focus {
    border: 2px solid var(--vip-secondary);
}

.form_submit {
    background-color: var(--vip-secondary);
    color: #fff;
    padding: 8px 20px;
    margin: 0;
    font-size: 12px;
    border-radius: 0 var(--vip-radius-sm) var(--vip-radius-sm) 0;
}

/* ==================== 主白底卡片容器 ==================== */
.main_block {
    width: 100%;
    height: auto;
    background-color: #fff;
    color: var(--vip-text);
    box-shadow: var(--vip-shadow-sm);
    overflow: hidden;
}

/* ---- 标题条 ---- */
.main_new_title {
    width: 100%;
    height: 60px;
    border-bottom: 1px solid var(--vip-border-light);
}

.new_title_name {
    padding: 18px 30px;
    font-weight: 600;
    font-size: 18px;
    color: var(--vip-text);
    position: relative;
    padding-left: 36px;
}

.new_title_name::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--vip-primary);
    border-radius: 2px;
}

/* ==================== 新闻列表项 ==================== */
.new_content {
    padding: 0 30px;
    border-bottom: 1px solid var(--vip-border-light);
    transition: var(--vip-transition);
}

.new_content:hover {
    background-color: var(--vip-bg-alt);
}

.new_content:last-child {
    border-bottom: none;
}

.new_content_block {
    margin: 24px 0;
}

/* ---- 新闻配图 ---- */
.content_block_img {
    width: 100%;
    height: 120px;
    float: left;
    overflow: hidden;
}

.content_block_img img {
    transition: transform 0.4s ease;
}

.new_content:hover .content_block_img img {
    transform: scale(1.05);
}

.content_info {
    float: left;
    margin: 0 20px;
    width: 100%;
}

/* ---- 标题、摘要 ---- */
.content_info_name {
    font-size: 18px;
    color: var(--vip-text);
    font-weight: 600;
    line-height: 1.4;
    transition: var(--vip-transition);
}

.new_content:hover .content_info_name {
    color: var(--vip-primary);
}

.content_info_text {
    margin: 10px 0;
    font-size: 14px;
    color: var(--vip-text-muted);
    overflow: hidden;
    line-height: 1.6;
}

/* ---- 时间 / 阅读量 ---- */
.info_time_block {
    font-size: 13px;
    margin-top: 8px;
}

.info_time {
    float: left;
    color: var(--vip-text-secondary);
}

.info_hif {
    float: right;
    color: var(--vip-text-secondary);
}

/* ---- 链接默认样式 ---- */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* ==================== 响应式（≤800px） ==================== */
@media (max-width: 800px) {
    .new_block_main {
        margin: 0 10px;
        width: auto;
    }

    .new_content {
        padding: 0 16px;
    }

    .content_block_img {
        height: 100px;
    }

    .time_dis {
        display: none;
    }

    .content_info_name {
        font-size: 16px;
    }
}
