/* 新闻详情页面专用样式 - 与主站风格一致 */
.news-detail-main {
    padding: 3rem 0;
    min-height: 80vh;
    position: relative;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: var(--border-glow);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
}

.breadcrumb .separator {
    color: var(--text-secondary);
    margin: 0 0.3rem;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

/* 新闻详情布局 */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* 主内容区域 */
.news-detail-content {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: var(--border-glow);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* 新闻头部 */
.news-header {
    padding: 3rem 2.5rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 240, 255, 0.05) 100%);
    overflow: hidden;
    display: block !important;
}

.title-row {
    display: block !important;
    margin-bottom: 2.5rem;
    width: 100%;
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.news-category {
    display: block !important;
    margin-bottom: 1.5rem !important;
    margin-right: 0 !important;
    width: 100%;
    clear: both;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.category-tag:hover::before {
    left: 100%;
}

.category-updates { 
    background: linear-gradient(45deg, #00d4aa, #00b894); 
    color: white;
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}
.category-tech { 
    background: linear-gradient(45deg, #6c5ce7, #a29bfe); 
    color: white;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}
.category-guides { 
    background: linear-gradient(45deg, #fd79a8, #e84393); 
    color: white;
    box-shadow: 0 6px 20px rgba(253, 121, 168, 0.4);
}
.category-promotions { 
    background: linear-gradient(45deg, #fdcb6e, #e17055); 
    color: white;
    box-shadow: 0 6px 20px rgba(253, 203, 110, 0.4);
}

.featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52, #ff6b6b);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    animation: featuredPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.featured-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) rotate(45deg);
    animation: shimmer 2s infinite;
}

@keyframes featuredPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

.news-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2rem !important;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    position: relative;
    animation: titleGlow 4s ease-in-out infinite;
    display: block !important;
    width: 100%;
    clear: both;
    margin-top: 0;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: underlineExpand 0.8s ease-out 0.5s both;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60px;
        opacity: 1;
    }
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 240, 255, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    font-size: 0.85rem;
    clear: both;
    width: 100%;
}

.news-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 240, 255, 0.03), transparent);
    pointer-events: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.meta-item:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1rem;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.4));
}

.article-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻内容区域 */
.article-content {
    padding: 2.5rem;
    line-height: 1.8;
}

/* 特色图片 */
.featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
}

.article-intro {
    background: rgba(0, 240, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.article-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* 新闻摘要 */
.news-summary {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.article-content h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.article-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
    padding-bottom: 0.5rem;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.article-content ul li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

.article-content blockquote {
    background: rgba(0, 240, 255, 0.05);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.article-content code {
    background: rgba(0, 240, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Fira Code', 'Courier New', monospace;
    color: var(--primary-color);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.article-content pre {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
    border: none;
}

/* 操作区域 */
.article-actions {
    padding: 2.5rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.4);
}

/* 分享按钮组 */
.share-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-btn.wechat {
    background: linear-gradient(45deg, #07c160, #00a854);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.share-btn.qq {
    background: linear-gradient(45deg, #12b7f5, #0099cc);
    color: white;
    box-shadow: 0 4px 15px rgba(18, 183, 245, 0.3);
}

.share-btn.weibo {
    background: linear-gradient(45deg, #e6162d, #cc1122);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 22, 45, 0.3);
}

.share-btn.copy {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.share-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: var(--border-glow);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.share-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s ease;
}

.share-dropdown a:hover {
    background: rgba(0, 240, 255, 0.1);
}

.article-related {
    margin-bottom: 3rem;
}

.article-related h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-glow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.4);
}

.related-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1rem;
    flex: 1;
}

.related-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.4;
}

.related-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.related-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nav-prev,
.nav-next {
    background: var(--card-bg);
    border: var(--border-glow);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 45%;
    flex: 1;
}

.nav-prev:hover,
.nav-next:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-prev {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* 新闻导航 */
.news-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: var(--border-glow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 0.5rem;
}

.nav-item:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
    border-color: var(--primary-color);
}

.nav-item a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.next-news .nav-direction {
    justify-content: flex-end;
}

.nav-title {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-item:hover .nav-title {
    color: var(--primary-color);
}

/* 空状态导航样式 */
.nav-empty {
    padding: 1.5rem;
    text-align: center;
    opacity: 0.6;
}

.nav-empty .nav-direction {
    color: var(--text-secondary);
    justify-content: center;
}

.nav-empty .nav-title {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

.nav-prev i,
.nav-next i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.nav-prev span,
.nav-next span {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-prev small,
.nav-next small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: var(--border-glow);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.sidebar-widget h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-widget h3::before {
    content: '▶';
    color: var(--primary-color);
    font-size: 1rem;
}

/* 搜索表单 */
.search-form {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.search-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 25px;
    background: var(--darker-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.search-form button {
    padding: 1rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

/* 列表样式 */
.category-list,
.article-list {
    list-style: none;
    padding: 0;
}

.category-list li,
.article-list li {
    margin-bottom: 1rem;
}

.category-list a,
.article-list a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-list a::before,
.article-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.5s;
}

.category-list a:hover::before,
.article-list a:hover::before {
    left: 100%;
}

.category-list a:hover,
.article-list a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.category-count {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
    background: rgba(0, 240, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

/* 新闻正文中的图片样式 */
.news-body img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px;
    margin: 1rem auto;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
    display: block;
}

/* 强制覆盖内联样式 */
.news-body img[style] {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

/* 图片容器样式 */
.news-body p img,
.news-body div img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.news-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

/* 图片放大弹窗 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.news-body h1, .news-body h2, .news-body h3, .news-body h4, .news-body h5, .news-body h6 {
    color: white;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.news-body h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.news-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.news-body p {
    margin-bottom: 1.5rem;
}

.news-body ul, .news-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

/* 移动端响应式设计 */
@media (max-width: 1024px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-detail-main {
        padding: 1.5rem 0;
    }

    .breadcrumb {
        margin-bottom: 2rem;
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
    }

    .news-header {
        padding: 2rem 1.5rem;
    }

    .title-row {
        display: block !important;
        margin-bottom: 2rem;
    }

    .news-category {
        margin-right: 0;
        margin-bottom: 1.5rem !important;
        display: block !important;
    }

    .news-title {
        font-size: 2rem;
        line-height: 1.3;
        width: 100%;
    }

    .news-meta {
        gap: 1rem;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-item {
        width: 100%;
        justify-content: flex-start;
    }

    .category-tag,
    .featured-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .featured-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content p {
        font-size: 1rem;
    }

    .article-actions {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
    }

    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .share-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .related-posts {
        grid-template-columns: 1fr;
    }

    .news-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-item {
        max-width: 100%;
    }

    .nav-direction {
        justify-content: center;
    }

    .next-news .nav-direction {
        justify-content: center;
    }

    .nav-title {
        text-align: center;
    }

    .sidebar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .sidebar-widget h3 {
        font-size: 1.2rem;
    }

    .search-form {
        flex-direction: column;
        gap: 1rem;
    }

    .search-form input {
        padding: 0.8rem 1rem;
    }

    .search-form button {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-detail-main {
        padding: 1rem 0;
    }

    .news-header {
        padding: 1.5rem 1rem;
    }

    .news-title {
        font-size: 1.6rem;
    }

    .article-content {
        padding: 1rem;
    }

    .featured-image {
        height: 200px;
        border-radius: 8px;
    }

    .article-actions {
        padding: 1rem;
    }

    .download-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .breadcrumb {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }
}