/* ========================================
   NEWS PAGE STYLES
   ======================================== */

/* CSS Variables */
:root {
    --nw-primary: #0066CC;
    --nw-primary-light: #3399FF;
    --nw-accent: #00D4FF;
    --nw-dark: #1a2744;
    --nw-gradient: linear-gradient(135deg, #0066CC 0%, #00D4FF 100%);
}

/* ========================================
   NEWS DETAIL PAGE - HEADER OVERRIDE
   ======================================== */
.nw-detail-page .zs-header {
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
}

.nw-detail-page .zs-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.nw-detail-page .zs-header .zs-logo img {
    filter: brightness(0) invert(1);
}

.nw-detail-page .zs-header.scrolled .zs-logo img {
    filter: none;
}

.nw-detail-page .zs-header .zs-nav-link {
    color: #fff;
}

.nw-detail-page .zs-header.scrolled .zs-nav-link {
    color: #1a1a2e;
}

.nw-detail-page .zs-header .zs-nav-link:hover {
    color: var(--nw-accent);
}

.nw-detail-page .zs-header.scrolled .zs-nav-link:hover {
    color: var(--nw-primary);
}

.nw-detail-page .zs-header .zs-nav-link svg {
    stroke: #fff;
}

.nw-detail-page .zs-header.scrolled .zs-nav-link svg {
    stroke: #1a1a2e;
}

/* ========================================
   NEWS DETAIL PAGE - HERO BANNER
   ======================================== */
.nw-detail-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #1a2744 0%, #243352 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.nw-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/1 排屑机.png') center/cover no-repeat;
    opacity: 0.3;
}

.nw-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.85) 0%, rgba(36, 51, 82, 0.75) 100%);
    z-index: 1;
}

.nw-detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.nw-detail-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 15px;
    line-height: 1.3;
}

.nw-detail-hero h1 strong {
    color: var(--nw-accent);
}

.nw-detail-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Breadcrumb - 在hero底部 */
.nw-detail-hero .nw-breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.nw-detail-hero .nw-breadcrumb .zs-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.nw-detail-hero .nw-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nw-detail-hero .nw-breadcrumb a:hover {
    color: #fff;
}

.nw-detail-hero .nw-breadcrumb svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
}

.nw-detail-hero .nw-breadcrumb span {
    color: var(--nw-accent);
    font-weight: 500;
}

/* ========================================
   PAGE BANNER
   ======================================== */
.nw-banner {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1a2744 0%, #243352 100%);
    overflow: hidden;
}

.nw-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.nw-banner-content {
    position: relative;
    text-align: center;
    z-index: 5;
}

.nw-banner-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.nw-text-gradient {
    background: var(--nw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nw-banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.nw-section {
    padding: 80px 0 100px;
    background: #f8fafc;
}

/* Category Filter */
.nw-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nw-filter-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.nw-filter-btn:hover {
    color: var(--nw-primary);
    border-color: var(--nw-primary);
}

.nw-filter-btn.active {
    color: #fff;
    background: var(--nw-gradient);
    border-color: transparent;
}

/* ========================================
   FEATURED NEWS
   ======================================== */
.nw-featured {
    margin-bottom: 50px;
}

.nw-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
    text-decoration: none;
}

.nw-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.12);
}

.nw-featured-img {
    position: relative;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.nw-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.nw-featured-card:hover .nw-featured-img img {
    transform: scale(1.05);
}

.nw-featured-content {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nw-featured-content h2 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.4;
    transition: color 0.3s;
}

.nw-featured-card:hover .nw-featured-content h2 {
    color: var(--nw-primary);
}

.nw-featured-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Tags */
.nw-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
}

.nw-tag-company {
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
}

.nw-tag-industry {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.nw-tag-product {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
}

/* Meta Info */
.nw-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.nw-date,
.nw-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #999;
}

.nw-date svg,
.nw-views svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Read More */
.nw-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nw-primary);
    margin-top: auto;
}

.nw-read-more svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s;
}

.nw-featured-card:hover .nw-read-more svg {
    transform: translateX(5px);
}

/* ========================================
   NEWS GRID
   ======================================== */
.nw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.nw-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s;
    text-decoration: none;
}

.nw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
}

.nw-card-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.nw-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.nw-card:hover .nw-card-img img {
    transform: scale(1.08);
}

.nw-card-content {
    padding: 25px;
}

.nw-card-content .nw-meta {
    margin-bottom: 12px;
}

.nw-card-content .nw-date {
    font-size: 0.8rem;
}

.nw-card-content h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nw-card:hover h3 {
    color: var(--nw-primary);
}

.nw-card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ========================================
   PAGINATION
   ======================================== */
.nw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nw-page-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nw-page-btn:hover:not(:disabled) {
    background: var(--nw-primary);
    border-color: var(--nw-primary);
}

.nw-page-btn:hover:not(:disabled) svg {
    fill: #fff;
}

.nw-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nw-page-btn svg {
    width: 20px;
    height: 20px;
    fill: #666;
    transition: fill 0.3s;
}

.nw-page-numbers {
    display: flex;
    gap: 8px;
}

.nw-page-num {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.nw-page-num:hover,
.nw-page-num.active {
    background: var(--nw-gradient);
    border-color: transparent;
    color: #fff;
}

.nw-page-dots {
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: #999;
}


/* ========================================
   NEWS DETAIL PAGE
   ======================================== */

/* Breadcrumb - 独立使用时（非hero内） */
.nw-breadcrumb {
    padding: 20px 0;
    background: #f8fafc;
}

.nw-breadcrumb .zs-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.nw-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.nw-breadcrumb a:hover {
    color: var(--nw-primary);
}

.nw-breadcrumb svg {
    width: 16px;
    height: 16px;
    fill: #999;
}

.nw-breadcrumb span {
    color: var(--nw-primary);
    font-weight: 500;
}

/* Detail Section */
.nw-detail {
    padding: 40px 0 100px;
    background: #f8fafc;
}

.nw-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Article */
.nw-article {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nw-article-header {
    padding: 45px 45px 30px;
}

.nw-article-header .nw-tag {
    position: static;
    margin-bottom: 20px;
}

.nw-article-header h1 {
    font-size: 2rem;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 25px;
}

.nw-article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.nw-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.nw-meta-item svg {
    width: 18px;
    height: 18px;
    fill: var(--nw-primary);
}

/* Article Cover */
.nw-article-cover {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 45px;
    box-sizing: border-box;
}

.nw-article-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

/* Article Content */
.nw-article-content {
    padding: 40px 45px;
}

.nw-article-content p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 25px;
}

.nw-article-content .nw-lead {
    font-size: 1.15rem;
    color: #333;
    font-weight: 500;
    border-left: 4px solid var(--nw-primary);
    padding-left: 20px;
    margin-bottom: 35px;
}

.nw-article-content h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--nw-primary);
    position: relative;
}

.nw-article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--nw-gradient);
    border-radius: 2px;
}

.nw-article-content ul {
    margin: 0 0 25px 0;
    padding-left: 25px;
}

.nw-article-content li {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
}

.nw-article-content blockquote {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-left: 4px solid var(--nw-primary);
    padding: 30px 35px;
    margin: 35px 0;
    border-radius: 0 12px 12px 0;
}

.nw-article-content blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
}

.nw-article-content blockquote cite {
    font-size: 0.95rem;
    color: var(--nw-primary);
    font-style: normal;
    font-weight: 500;
}

.nw-article-img {
    margin: 35px 0;
    border-radius: 8px;
    overflow: hidden;
}

.nw-article-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.nw-img-caption {
    display: block;
    padding: 12px 15px;
    background: #f8fafc;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

/* Article Footer */
.nw-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.nw-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nw-tags-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.nw-tags a {
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #666;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.nw-tags a:hover {
    background: var(--nw-primary);
    color: #fff;
}

.nw-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nw-share-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.nw-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nw-share-btn svg {
    width: 18px;
    height: 18px;
    fill: #666;
    transition: fill 0.3s;
}

.nw-share-btn:hover {
    background: var(--nw-primary);
}

.nw-share-btn:hover svg {
    fill: #fff;
}

/* ========================================
   SIDEBAR
   ======================================== */
.nw-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nw-sidebar-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.nw-sidebar-section h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

/* Related Articles */
.nw-related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nw-related-item {
    display: block;
    text-decoration: none;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s;
}

.nw-related-item:hover {
    background: var(--nw-primary);
}

.nw-related-item h4 {
    font-size: 0.9rem;
    color: #1a1a2e;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s;
}

.nw-related-item:hover h4 {
    color: #fff;
}

/* Categories */
.nw-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nw-cat-list li {
    border-bottom: 1px solid #f1f5f9;
}

.nw-cat-list li:last-child {
    border-bottom: none;
}

.nw-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 0.95rem;
    color: #444;
    text-decoration: none;
    transition: all 0.3s;
}

.nw-cat-list a:hover {
    color: var(--nw-primary);
    padding-left: 8px;
}

.nw-cat-list a svg {
    width: 18px;
    height: 18px;
    fill: #999;
    transition: all 0.3s;
}

.nw-cat-list a:hover svg {
    fill: var(--nw-primary);
    transform: translateX(3px);
}

/* Newsletter */
.nw-newsletter {
    background: linear-gradient(135deg, #1a2744 0%, #243352 100%);
}

.nw-newsletter h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nw-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.nw-newsletter-form {
    display: flex;
    gap: 10px;
}

.nw-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.nw-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nw-newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--nw-accent);
}

.nw-newsletter-form button {
    width: 48px;
    height: 48px;
    background: var(--nw-gradient);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.nw-newsletter-form button:hover {
    transform: scale(1.05);
}

.nw-newsletter-form button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Product Categories */
.nw-products h3 {
    margin-bottom: 20px;
}

.nw-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nw-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.nw-product-item:hover {
    background: var(--nw-primary);
    border-color: var(--nw-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.nw-product-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nw-product-item:hover .nw-product-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nw-product-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--nw-primary);
    transition: fill 0.3s;
}

.nw-product-item:hover .nw-product-icon svg {
    fill: #fff;
}

.nw-product-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a2e;
    text-align: center;
    transition: color 0.3s;
}

.nw-product-item:hover span {
    color: #fff;
}

/* ========================================
   POST NAVIGATION
   ======================================== */
.nw-nav-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.nw-nav-prev,
.nw-nav-next {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.nw-nav-prev:hover,
.nw-nav-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.nw-nav-next {
    text-align: right;
}

.nw-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--nw-primary);
    font-weight: 500;
}

.nw-nav-next .nw-nav-label {
    justify-content: flex-end;
}

.nw-nav-label svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nw-nav-title {
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .nw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nw-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nw-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nw-sidebar-section {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .nw-banner {
        padding: 140px 0 60px;
    }

    .nw-section {
        padding: 60px 0 80px;
    }

    .nw-featured-card {
        grid-template-columns: 1fr;
    }

    .nw-featured-img {
        min-height: 250px;
    }

    .nw-featured-content {
        padding: 30px;
    }

    .nw-featured-content h2 {
        font-size: 1.4rem;
    }

    .nw-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .nw-article-header,
    .nw-article-content,
    .nw-article-footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .nw-article-header h1 {
        font-size: 1.5rem;
    }

    .nw-article-cover {
        height: 250px;
    }

    .nw-nav-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nw-nav-next {
        text-align: left;
    }

    .nw-nav-next .nw-nav-label {
        justify-content: flex-start;
    }

    .nw-sidebar-section {
        min-width: 100%;
    }

    .nw-detail-hero {
        height: 320px;
    }

    .nw-detail-hero h1 {
        font-size: 1.75rem;
    }

    .nw-detail-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nw-banner-content h1 {
        font-size: 2rem;
    }

    .nw-filter {
        gap: 8px;
    }

    .nw-filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .nw-article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .nw-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .nw-detail-hero {
        height: 280px;
    }

    .nw-detail-hero h1 {
        font-size: 1.5rem;
    }
}
