/* 单篇文章页面专用样式 */

/* 文章头部横幅 */
.ly_poster_19[data-visual-id="single_header"] {
    background-image: url(http://bntjamming.com/wp-content/uploads/2025/12/banner2.png);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.ly_poster_19[data-visual-id="single_header"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
}

.article-header {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 面包屑导航 */
.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    padding: 4px 0;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-breadcrumb span {
    color: white;
    font-weight: 600;
    opacity: 0.9;
}

.article-breadcrumb .iconfont {
    font-size: 12px;
    margin: 0 8px;
    opacity: 0.7;
}

/* 文章标题 */
.article-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 文章元信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item .iconfont {
    font-size: 16px;
    opacity: 0.8;
}

/* 文章内容区域 */
.ly_special_15[data-visual-id="article_content"] {
    background: #f8f9fa;
    padding: 60px 0;
}

.special_wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧文章内容 */
.special_left {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* 特色图像 */
.article-featured-image {
    margin-bottom: 35px;
}

.compute_process_img {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.compute_process_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.compute_process_img:hover img {
    transform: scale(1.05);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    padding: 0 10px;
}

/* 文章内容样式 */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: #1a237e;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
}

.article-content h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: #283593;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #3949ab;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f5f7ff;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

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

.article-content a {
    color: #3949ab;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

.article-content a:hover {
    border-bottom: 1px solid #3949ab;
}

/* 标签和分类 */
.article-tags, .article-categories {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3949ab;
}

.article-tags h4, .article-categories h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.tags-list, .categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item, .category-item {
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.tag-item:hover, .category-item:hover {
    background: #3949ab;
    color: white;
    border-color: #3949ab;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(57, 73, 171, 0.2);
}

/* 作者信息 */
.article-author {
    display: flex;
    gap: 25px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8eaf6 100%);
    border-radius: 12px;
    align-items: center;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a237e;
}

.author-info p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    color: #3949ab;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.author-social a:hover {
    background: #3949ab;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(57, 73, 171, 0.2);
}

/* 分享按钮 */
.article-share {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.article-share h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

.share-btn i {
    font-size: 18px;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

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

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

.share-btn.email {
    background: #333;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* 文章导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-previous, .nav-next {
    flex: 0 0 48%;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.nav-previous a, .nav-next a {
    display: block;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-previous a:hover, .nav-next a:hover {
    background: white;
    border-color: #3949ab;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nav-previous h4, .nav-next h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.nav-date {
    font-size: 14px;
    color: #666;
}

/* 右侧侧边栏 */
.special_right {
    flex: 0 0 320px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.sidebar-widget h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #1a237e;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* 目录 */
.table-of-contents {
    max-height: 400px;
    overflow-y: auto;
}

.toc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-content li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.toc-content li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.toc-content a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    padding: 5px 0;
    transition: all 0.2s;
}

.toc-content a:hover {
    color: #3949ab;
    padding-left: 5px;
}

/* 相关文章和最新文章 */
.related-articles-list, .recent-articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article-item, .recent-article-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.related-img, .recent-img {
    flex: 0 0 80px;
}

.related-img img, .recent-img img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.related-info h5, .recent-info h5 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-info h5 a, .recent-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.related-info h5 a:hover, .recent-info h5 a:hover {
    color: #3949ab;
}

.related-date, .recent-date {
    font-size: 12px;
    color: #888;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f7ff;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e8eaf6;
}

.tags-cloud a:hover {
    background: #3949ab;
    color: white;
    border-color: #3949ab;
}

/* 询盘表单 */
.inquiry-form-widget {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    text-align: center;
}

.inquiry-form-widget h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.inquiry-form-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.themes_box_button {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #3949ab;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.themes_box_button:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* 相关产品区域 */
.ly_products_7[data-visual-id="related_products"] {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.ly_products_7 .txt_box {
    text-align: center;
    margin-bottom: 40px;
}

.ly_products_7 .txt_title {
    font-size: 2.2rem;
    color: #1a237e;
    margin-bottom: 15px;
}

.ly_products_7 .txt_box p {
    color: #666;
    font-size: 1.1rem;
}

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

.themes_prod {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.themes_prod:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pic_box {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.pic_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.themes_prod:hover .pic_box img {
    transform: scale(1.05);
}

.name {
    padding: 20px;
    text-align: center;
}

.themes_products_title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.themes_products_title:hover {
    color: #3949ab;
}

.themes_products_title h3 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .special_wrap {
        flex-direction: column;
    }
    
    .special_right {
        flex: 1;
        width: 100%;
        position: static;
    }
    
    .article-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .special_left {
        padding: 25px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        flex: 1;
        width: 100%;
    }
    
    .ly_products_7 .txt_title {
        font-size: 1.8rem;
    }
}