/* 新闻详情页样式 - 响应式设计 */
.news-detail-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

/* 子栏目导航 */
.sub-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.sub-categories a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.sub-categories a:hover {
    color: var(--secondary-color);
}

.sub-categories a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.news-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.news-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-meta {
    gap: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}
.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.news-content iframe {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .news-content iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .news-content iframe {
        height: 200px;
    }
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 4px;
    display: block;
}

.news-tags {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.tag-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag-item {
    background: #f5f5f5;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--secondary-color);
    color: white;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.news-navigation a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.news-navigation a:hover {
    color: var(--accent-color);
}

.related-products {
    margin: 3rem 0;
}

.products-grid a {
    text-decoration: none !important;
}

.products-grid a:hover {
    text-decoration: none !important;
}

.related-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-detail-container {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .news-detail-container {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}