/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/
/*内容页同标签小工具缩略图显示样式*/
.same-tags-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.same-tags-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.same-tags-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.same-tags-thumbnail {
    margin-right: 15px;
    flex-shrink: 0;
}

.same-tags-thumbnail a {
    display: block;
}

.same-tags-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.same-tags-title {
    flex-grow: 1;
}

.same-tags-title a {
    text-decoration: none;
    font-weight: normal;
    line-height: 1.4;
}

.same-tags-title a:hover {
    text-decoration: underline;
}


/*外链跳转提示页面样式*/

.redirect-warning,
.redirect-error {
    max-width: 600px;
    margin: 100px auto;
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.redirect-warning h2,
.redirect-error h2 {
    color: #333;
    margin-bottom: 20px;
}

.redirect-warning p,
.redirect-error p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.redirect-button,
.cancel-button {
    display: inline-block;
    margin: 15px 10px;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.redirect-button {
    background: #4CAF50;
    color: white;
}

.redirect-button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cancel-button {
    background: #f44336;
    color: white;
}

.cancel-button:hover {
    background: #da190b;
    transform: translateY(-2px);
}

#countdown {
    font-weight: bold;
    color: #e91e63;
}







/*行业专区的样式*/

        :root {
            --industry-primary-color: #4CAF50;
            --industry-secondary-color: #8BC34A;
            --industry-accent-color: #ff4444;
        }
        
        .industry-body {
            font-family: 'Arial', sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
            padding-bottom: 20px;
        }
        
        .industry-banner {
            background: linear-gradient(135deg, var(--industry-primary-color), var(--industry-secondary-color));
            color: white;
            text-align: center;
            padding: 10px 0;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .industry-banner::after {
            content: "🔥 行 业 专 区  |  以行业为基准开展业务宣传  🔥";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -10px;
            background: #72b94c;
            color: white;
            font-size: 12px;
            padding: 3px 0;
            border-radius: 0 0 8px 8px;
        }
        
        .industry-banner h1 {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
        }
        
        .industry-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .industry-section-title {
            font-size: 20px;
            margin: 25px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--industry-primary-color);
            color: #333;
            text-align: center;
        }
        
        /* 导航按钮容器样式 */
        .industry-nav-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 0px;
            justify-content: center;
        }
        
        /* 按钮基础样式 */
        .industry-nav-btn {
            flex: 1 0 calc((100% - 70px) / 8);
            height: 45px;
            line-height: 45px;
            text-align: center;
            border: 1px solid #ddd;
            background: #f5f5f5;
            color: #333;
            text-decoration: none;
            transition: all 0.3s;
            box-sizing: border-box;
            border-radius: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 8px;
            font-size: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .industry-nav-btn i {
            margin-right: 5px;
            color: var(--industry-primary-color);
        }
        
        /* 悬停效果 */
        .industry-nav-btn:hover {
            background: var(--industry-accent-color);
            color: white;
            border-color: var(--industry-accent-color);
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
        .industry-nav-btn:hover i {
            color: white;
        }
        
        /* 移动端适配 - 滑动容器 */
        @media (max-width: 768px) {
            .industry-nav-container {
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 15px;
                gap: 8px;
                scrollbar-width: thin;
                scrollbar-color: var(--industry-primary-color) #f1f1f1;
                justify-content: flex-start;
            }
            
            .industry-nav-container::-webkit-scrollbar {
                height: 6px;
            }
            
            .industry-nav-container::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 10px;
            }
            
            .industry-nav-container::-webkit-scrollbar-thumb {
                background: var(--industry-primary-color);
                border-radius: 10px;
            }
            
            .industry-nav-btn {
                flex: 0 0 auto;
                width: 150px;
                font-size: 14px;
            }
        }
        
        /* 超小屏幕优化 */
        @media (max-width: 480px) {
            .industry-banner h1 {
                font-size: 20px;
            }
            
            .industry-section-title {
                font-size: 18px;
            }
            
            .industry-nav-btn {
                width: 90px;
                font-size: 13px;
                height: 40px;
                line-height: 40px;
            }
        }
        
        /* 添加加载动画 */
        .industry-nav-btn {
            transition: all 0.3s ease-in-out;
        }
        
        /* 增加按下效果 */
        .industry-nav-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        

