/* =========================================================
   新闻列表页 newslist.css
   ========================================================= */
.nw-wrap {
    padding: 60px 0 80px;
    background: #fafbfc;
}
.nw-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 头条 Featured ========== */
.nw-featured {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform .4s ease, box-shadow .4s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 56px;
}
.nw-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.nw-featured-img {
    flex: 1.1;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}
.nw-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.nw-featured:hover .nw-featured-img img {
    transform: scale(1.05);
}
.nw-featured-body {
    flex: 1;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nw-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.nw-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #70b52c, #9ccc5e);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.nw-featured-date {
    color: #9aa3b2;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nw-featured-title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2a37;
    line-height: 1.4;
    margin: 0 0 16px;
    transition: color .3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nw-featured:hover .nw-featured-title { color: #70b52c; }
.nw-featured-desc {
    font-size: 15px;
    color: #5a6577;
    line-height: 1.8;
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nw-featured-more {
    color: #70b52c;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .3s ease;
}
.nw-featured:hover .nw-featured-more { gap: 10px; }

/* ========== Grid Title ========== */
.nw-grid-head {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nw-grid-title {
    margin: 0;
}
.nw-grid-title small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #70b52c;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.nw-grid-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2a37;
}

/* ========== News Grid ========== */
.nw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.nw-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .4s ease, box-shadow .4s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.nw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}
.nw-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f2f5;
}
.nw-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.nw-card:hover .nw-card-img img {
    transform: scale(1.08);
}
.nw-card-date {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 6px 12px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nw-card-date b {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #70b52c;
}
.nw-card-date small {
    display: block;
    font-size: 11px;
    color: #9aa3b2;
    margin-top: 2px;
}
.nw-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nw-card-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2a37;
    line-height: 1.5;
    transition: color .3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nw-card:hover .nw-card-title { color: #70b52c; }
.nw-card-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #7d8799;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nw-card-more {
    font-size: 13px;
    font-weight: 600;
    color: #70b52c;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .3s ease;
    align-self: flex-start;
}
.nw-card:hover .nw-card-more { gap: 8px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .nw-featured { flex-direction: column; gap: 0; }
    .nw-featured-img { flex: none; min-height: 300px; }
    .nw-featured-body { padding: 32px; }
    .nw-featured-title { font-size: 22px; }
    .nw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .nw-wrap { padding: 40px 0 60px; }
    .nw-featured { margin-bottom: 40px; border-radius: 12px; }
    .nw-featured-img { min-height: 220px; }
    .nw-featured-body { padding: 24px; }
    .nw-featured-title { font-size: 20px; }
    .nw-grid { grid-template-columns: 1fr; gap: 20px; }
    .nw-card:hover { transform: translateY(-4px); }
}
