/* ==========================================================================
   涂料资讯页
   ========================================================================== */

body.news-page{
    background:
        radial-gradient(760px 400px at 90% -6%,rgba(247,148,29,.09),transparent 62%),
        var(--cream);
}

.news-page-title{
    font-size:26px;
    font-weight:700;
    color:var(--ink);
    margin-bottom:8px;
    padding-left:14px;
    border-left:5px solid var(--brand);
    line-height:1.4;
}
.news-page-sub{
    font-size:13.5px;
    color:var(--ink-2);
    margin-bottom:26px;
    padding-left:15px;
}

.news-list{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.news-card{
    display:flex;
    gap:20px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--r-lg);
    padding:16px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    box-shadow:var(--shadow-sm);
    transition:transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.news-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
    border-color:#E2D2BE;
}

.news-thumb{
    flex:0 0 240px;
    overflow:hidden;
    border-radius:var(--r-md);
}
.news-thumb img{
    width:240px;
    height:158px;
    object-fit:cover;
    display:block;
    transition:transform .6s var(--ease);
}
.news-card:hover .news-thumb img{ transform:scale(1.05); }

.news-card-body{
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:4px 4px 4px 0;
}
.news-card-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:8px;
}
.news-card-title{
    font-size:17.5px;
    font-weight:700;
    color:var(--ink);
    line-height:1.5;
    transition:color .2s var(--ease);
}
.news-card:hover .news-card-title{ color:var(--brand-dark); }
.news-card-date{
    color:var(--ink-3);
    font-size:12px;
    white-space:nowrap;
    background:var(--cream);
    border:1px solid var(--line);
    padding:3px 11px;
    border-radius:var(--r-pill);
    flex-shrink:0;
}
.news-card-desc{
    color:var(--ink-2);
    font-size:13.5px;
    line-height:1.9;
    margin-bottom:14px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.news-card-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:auto;
}
.news-tag{
    background:var(--brand-soft);
    color:var(--brand-dark);
    font-size:12px;
    padding:3px 11px;
    border-radius:var(--r-pill);
}

/* 侧栏标签 */
.side-tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.side-tag-item{
    background:#fff;
    border:1px solid var(--line);
    padding:6px 12px;
    font-size:13px;
    color:var(--ink-2);
    border-radius:var(--r-pill);
    cursor:pointer;
    transition:.2s var(--ease);
}
.side-tag-item:hover{
    background:var(--brand);
    color:#fff;
    border-color:var(--brand);
}

/* ==========================================================================
   手机端
   ========================================================================== */
@media (max-width:900px){
    .news-page-title{ font-size:21px; padding-left:11px; border-left-width:4px; }
    .news-page-sub{ font-size:12.5px; margin-bottom:18px; padding-left:12px; }

    .news-list{ gap:12px; }

    .news-card{
        flex-direction:column;
        gap:12px;
        padding:12px;
        border-radius:var(--r-md);
    }
    .news-card:hover{ transform:none; }
    .news-thumb{
        flex:none;
        width:100%;
        border-radius:var(--r-sm);
    }
    .news-thumb img{
        width:100%;
        height:auto;
        aspect-ratio:16/9;
    }
    .news-card-body{ padding:0 2px 4px; }
    .news-card-header{ flex-direction:column; gap:6px; margin-bottom:6px; }
    .news-card-title{ font-size:15.5px; line-height:1.55; }
    .news-card-date{ font-size:11px; padding:2px 9px; }
    .news-card-desc{ font-size:12.5px; line-height:1.8; margin-bottom:10px; }
    .news-tag{ font-size:11px; padding:3px 9px; }
}
