/* 复用首页全局基础样式，本文件仅新增新闻页面独有样式 */
/* ---------------------- 1. 顶部新闻Banner ---------------------- */
.news-banner {
    background-color: #1c4d2d;
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}
.news-banner-inner .banner-small-title {
    font-size: 13px;
    color: #74d091;
    display: block;
    margin-bottom: 8px;
}
.news-banner-inner .banner-main-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}
.news-banner-inner .banner-desc {
    font-size: 14px;
    opacity: 0.85;
}

/* ---------------------- 2. 面包屑导航 ---------------------- */
.bread-wrap {
    padding: 20px 15px;
    border-bottom: 1px solid #eeeeee;
}
.bread {
    font-size: 14px;
    color: #666666;
}
.bread a {
    color: #288f47;
}
.bread span {
    margin: 0 8px;
    color: #999;
}
.bread-current {
    color: #333333;
}

/* ---------------------- 3. 新闻分类标签栏 ---------------------- */
.news-tab-wrap {
    padding: 24px 15px;
    border-bottom: 1px solid #eeeeee;
}
.news-tab {
    display: flex;
    gap: 40px;
}
.tab-item {
    font-size: 15px;
    color: #666;
    position: relative;
    padding-bottom: 8px;
}
.tab-item.active {
    color: #1c4d2d;
    font-weight: 500;
}
.tab-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #1c4d2d;
}

/* ---------------------- 4. 新闻列表卡片容器 ---------------------- */
.news-list-wrap {
    padding: 40px 15px 60px;
    background-color: #f9f9f9;
    min-height: 400px;
}
.news-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    background: #ffffff;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    align-items: flex-start;
}

/* 卡片左侧图片 */
.card-img-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
}
.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card-img-box img:hover {
    transform: scale(1.05);
}

/* 卡片右侧文字区域 */
.card-tag-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.tag-top {
    background-color: #1c4d2d;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}
.tag-company {
    background-color: #ffe9b8;
    color: #946100;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}
.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.4;
}
.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}
.card-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #888;
}
.card-read-btn {
    margin-left: auto;
    padding: 8px 20px;
    font-size: 13px;
}

/* ---------------------- 5. 顶部新增【获取报价】按钮样式（补充到原有头部） ---------------------- */
.quote-btn {
    background-color: #1c4d2d;
    color: #fff;
    padding: 8px 22px;
    border-radius: 3px;
    font-size: 14px;
    transition: background 0.2s;
}
.quote-btn:hover {
    background-color: #153b22;
}
.mobile-quote {
    display: none;
    margin-top: 10px;
    text-align: center;
}

/* ---------------------- 6. 移动端自适应媒体查询 ---------------------- */
@media screen and (max-width: 992px) {
    /* 头部报价按钮切换 */
    .pc-quote {
        display: none;
    }
    .mobile-quote {
        display: block;
    }
    /* 新闻banner字号缩小 */
    .news-banner-inner .banner-main-title {
        font-size: 28px;
    }
    /* 新闻卡片改为单列 */
    .news-card {
        grid-template-columns: 1fr;
    }
    .card-img-box {
        height: 200px;
    }
    /* 标签栏横向滚动 */
    .news-tab {
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .news-tab::-webkit-scrollbar {
        height: 2px;
    }
}
@media screen and (max-width: 576px) {
    .news-banner {
        padding: 40px 0;
    }
    .news-banner-inner .banner-main-title {
        font-size: 22px;
    }
    .card-title {
        font-size: 16px;
    }
    .card-bottom {
        flex-wrap: wrap;
        gap: 10px;
    }
    .card-read-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .news-card {
        padding: 16px;
        gap: 20px;
    }
}