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

/* 面包屑导航 */
.breadcrumb-section {
    background: var(--light-color);
    padding: 20px 0;
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* 文章布局 */
.article-section {
    padding: 60px 0;
    background: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* 文章主体 */
.article-main {
    background: white;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-size: 32px;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #999;
    font-size: 14px;
}

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

.meta-icon {
    font-size: 16px;
}

/* 文章内容 */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.article-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    background: var(--light-color);
    padding: 20px 25px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.article-content h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.article-content h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin: 30px 0 15px;
}

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

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

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

.article-image {
    margin: 35px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 产品图片样式 */
.product-image {
    margin: 35px 0;
    text-align: center;
    /* background: var(--light-color); */
    /* padding: 20px; */
    border-radius: 10px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-style: italic;
}

.article-content blockquote p {
    margin-bottom: 10px;
    font-size: 17px;
    color: #555;
}

.article-content blockquote cite {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-style: normal;
}

/* 文章底部 */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-label {
    font-weight: 600;
    color: var(--dark-color);
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-color);
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

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

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-weight: 600;
    color: var(--dark-color);
}

.share-btn {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 文章导航 */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-prev:hover,
.nav-next:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.nav-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 16px;
    color: var(--dark-color);
    font-weight: 500;
}

.nav-next {
    text-align: right;
}

/* 禁用状态的导航 */
.nav-disabled {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    opacity: 0.6;
    cursor: not-allowed;
}

.nav-disabled .nav-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.nav-disabled .nav-title {
    font-size: 16px;
    color: #999;
    font-weight: 500;
}

/* 侧边栏 */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

.sidebar-contact .widget-title {
    color: white;
}

.sidebar-contact .contact-info-compact p {
    color: white;
    margin-bottom: 15px;
    line-height: 1.6;
}

.sidebar-contact .contact-info-compact a{
    color: #FFFFFF;
    text-decoration: none;
}

.sidebar-contact .btn-primary {
    background: white;
    color: var(--primary-color);
    margin-top: 10px;
}

.sidebar-contact .btn-primary:hover {
    background: var(--light-color);
}

.widget-title {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* 最新文章 */
.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    text-decoration: none;
    display: block;
}

.recent-posts h4 {
    font-size: 15px;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.5;
    transition: var(--transition);
}

.recent-posts a:hover h4 {
    color: var(--primary-color);
}

.post-date {
    font-size: 13px;
    color: #999;
}

/* 文章分类 */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.category-list span {
    font-size: 12px;
    color: #999;
}

.category-list a:hover span {
    color: white;
}

/* 侧边栏高亮样式 */
.category-list a.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.category-list a.active span {
    color: white;
}

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

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        margin-top: 70px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        gap: 15px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }

    .article-content h2 {
        font-size: 18px;
    }

    .sidebar-widget {
        padding: 20px;
    }
}
/* 产品展示页面专用样式 */

/* 产品分类区块 */
.product-category-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.product-category-section:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.12);
    border-color: var(--primary-color);
}

.category-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    font-size: 24px;
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.more-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.product-grid {
    padding: 30px;
}

/* 产品网格布局美化 */
.product-grid table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 25px;
}

.product-grid table td {
    vertical-align: top;
    text-align: center;
}

/* 产品卡片样式 */
.product-grid table table {
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    background: white;
    width: 100%;
}

.product-grid table table:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.product-grid table table td {
    padding: 0;
    background: #f8f9fa;
    position: relative;
}

.product-grid table table td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 168, 232, 0.05));
    opacity: 0;
    transition: all 0.3s ease;
}

.product-grid table table:hover td::before {
    opacity: 1;
}

.product-grid table table img {
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.product-grid table table:hover img {
    transform: scale(1.05);
}

/* 产品标题样式 */
.product-grid #TYlink_13 {
    padding: 15px 10px;
    background: white;
}

.product-grid #TYlink_13 a {
    font-size: 14px;
    font-weight: normal;
    color: var(--dark-color);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.product-grid #TYlink_13 a:hover {
    color: var(--primary-color);
}

/* 产品分类侧边栏美化 */
.product-categories {
    background: white;
}

.category-group {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.category-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.category-group h4 {
    margin: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
    border-bottom: 1px solid #f0f0f0;
}

.category-group h4 a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.category-group h4 a::before {
    content: '📁';
    margin-right: 10px;
    font-size: 14px;
}

.category-group h4 a:hover {
    color: var(--primary-color);
    background: white;
}

.sub-categories {
    padding: 15px 20px;
    background: white;
    list-style: none;
}

.sub-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-categories li {
    margin-bottom: 8px;
}

.sub-categories li:last-child {
    margin-bottom: 0;
}

.sub-categories a {
    display: block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    padding-left: 25px;
}

.sub-categories a::before {
    content: '▸';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 12px;
    transition: all 0.3s ease;
}

.sub-categories a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.sub-categories a:hover::before {
    transform: translateY(-50%) rotate(90deg);
}

/* 产品列表页面样式 */
.product-list-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 20px 0;
    padding: 40px 0px;
    border: 1px solid #f0f0f0;
}

/* 产品网格容器 */
.product-list-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 30px;
}

.product-list-content table td {
    vertical-align: top;
    text-align: center;
}

/* 单个产品项样式 */
.product-list-content table table {
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    background: white;
    width: 100%;
    position: relative;
}

.product-list-content table table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.product-list-content table table:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    border-color: transparent;
}

.product-list-content table table:hover::before {
    opacity: 0.05;
}

/* 产品图片容器 */
.product-list-content table table td {
    padding: 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.product-list-content table table td[bgcolor="#F8F8F8"] {
    background: #f8f9fa !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-list-content table table td[bgcolor="#F8F8F8"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-list-content table table:hover td[bgcolor="#F8F8F8"]::before {
    opacity: 1;
}

.product-list-content table table img {
    transition: all 0.4s ease;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    filter: brightness(1) contrast(1);
}

.product-list-content table table:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

/* 产品标题区域 */
.product-list-content #TYlink_13 {
    padding: 15px 10px;
    background: white;
}

.product-list-content #TYlink_13 a {
    font-size: 14px;
    font-weight: normal;
    color: var(--dark-color);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.product-list-content #TYlink_13 a:hover {
    color: var(--primary-color);
}

/* 产品悬浮效果已移除 */

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-grid table,
    .product-list-content table {
        border-spacing: 20px;
    }
    
    .category-header {
        padding: 20px 25px;
    }
    
    .product-grid,
    .product-list-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .category-title::before {
        display: none;
    }
    
    .product-grid table,
    .product-list-content table {
        border-spacing: 15px;
    }
    
    .product-grid,
    .product-list-content {
        padding: 20px;
    }
    
    .category-group h4 a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .sub-categories {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .product-category-section {
        margin-bottom: 25px;
    }
    
    .category-header {
        padding: 15px 20px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .product-grid table,
    .product-list-content table {
        border-spacing: 10px;
    }
    
    .product-grid,
    .product-list-content {
        padding: 15px;
    }
    
    .product-list-content #TYlink_13 {
        padding: 15px 10px;
    }
    
    .product-list-content #TYlink_13 a {
        font-size: 14px;
    }
    
    .category-group h4 a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .sub-categories {
        padding: 10px 12px;
    }
    
    .sub-categories a {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* 加载动画 */
@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category-section {
    animation: productFadeIn 0.6s ease-out;
}

.product-list-content table table {
    animation: productFadeIn 0.6s ease-out;
}

/* 产品图片加载效果 */
.product-list-content table table img {
    opacity: 0;
    animation: imageLoad 0.8s ease-out 0.2s forwards;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}