/* 新闻详情页面专用样式 */
.news-detail-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #e53e3e 0%, #f56565 100%);
    color: white;
}

.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.6;
}

.news-detail-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.meta-item a:hover {
    opacity: 0.8;
}

.news-detail-content {
    padding: 80px 0;
    background: #f7fafc;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.article-image i {
    font-size: 80px;
    color: white;
    opacity: 0.9;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid #e53e3e;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #718096;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlight-box {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.quote-box {
    background: #f7fafc;
    border-left: 4px solid #e53e3e;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    position: relative;
}

.quote-box::before {
    content: '"';
    font-size: 4rem;
    color: #e53e3e;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.tags-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e53e3e;
    color: white;
}

.share-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.hot-news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.hot-news-item:last-child {
    border-bottom: none;
}

.hot-news-item:hover {
    background: #f7fafc;
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
}

.news-rank {
    background: #e53e3e;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.hot-news-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    margin-bottom: 8px;
}

.hot-news-content h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.hot-news-content h4 a:hover {
    color: #e53e3e;
}

.hot-news-meta {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-card-sidebar {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card-sidebar:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-icon-sidebar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-icon-sidebar i {
    font-size: 24px;
    color: white;
}

.product-card-sidebar h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.product-price-sidebar {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 10px;
}

.product-desc-sidebar {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-specs-row {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.product-specs-row .product-desc-sidebar {
    flex: 1;
    margin-bottom: 0;
}

.product-buttons-sidebar {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-btn-sidebar {
    background: #e53e3e;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    flex: 1;
    text-align: center;
}

.product-btn-sidebar:hover {
    background: #c53030;
    transform: translateY(-1px);
}

.product-btn-sidebar.trial-btn {
    background: #3182ce;
}

.product-btn-sidebar.trial-btn:hover {
    background: #2c5aa0;
}

.related-news {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
}

.related-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 40px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-image {
    height: 150px;
    background: linear-gradient(135deg, #4a5568, #718096);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image i {
    font-size: 36px;
    color: white;
    opacity: 0.8;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-content h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #e53e3e;
}

.related-meta {
    font-size: 0.85rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
        order: -1;
    }

    .sidebar-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-detail-hero h1 {
        font-size: 2.2rem;
    }

    .news-detail-meta {
        gap: 20px;
    }

    .main-content {
        padding: 30px 25px;
    }

    .article-content {
        font-size: 1rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-detail-hero h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 25px 20px;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}