/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* ============================================================
   BEYOND TOOLS 10-BLOCK INTEGRATED CSS (2026-04-18)
   严格核对：保留所有原始参数，仅做逻辑分块
   ============================================================ */

/* 统一颜色管理 */
:root {
    /* 核心品牌色 */
    --beyond-orange: #e94820;
    
    /* 背景层：用纯黑或极深灰 */
    --bg-dark: #000000;    /* 纯黑，更有工业高级感 */
    --bg-deep-gray: #1e1e1e;    /* 深灰卡片 */
    
    /* 交互层：用于边框或悬停态 */
    --border-gray: #333333;     /* 明显的灰色边框 */
    
    /* 文字层：直接跳到浅色系 */
    --text-white: #f5f5f5;  /* 烟白色 */
    --text-gray: #b0b0b0; /* 描述用中灰 */
}

/* 1. H2 标题样式 (2026-04-13) */
.custom-product-title-h2 {
    --theme-font-weight: 700;
    --theme-text-transform: uppercase;
    --theme-font-size: 20px;
    --theme-line-height: 1.2;
    --theme-link-initial-color: var(--text-white);
    margin-bottom: 0.5em;
}

/* 2. H3 标题样式 (2026-04-13) */
.custom-product-title-h3 {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 16px;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 0.5em;
}

/* 3. Short Description 卡片 (2026-04-15) */
.short-description-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 8px; 
    margin: 10px 0; 
}
.short-description-card {
    background: var(--bg-deep-gray);
    border: 1px solid var(--beyond-orange); 
    border-radius: 4px;
    padding: 10px 14px; 
    transition: all 0.3s ease;
    position: relative;
}
.short-description-card:hover {
    border-color: var(--border-gray); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.short-description-card h3 {
    color: var(--text-white);
    font-size: 0.95rem; 
    font-weight: 700;
    margin: 0 0 4px 0; 
    display: flex;
    align-items: center;
    line-height: 1.1; 
}
.short-description-card h3::before {
    content: "";
    width: 3px;
    height: 12px;
    background: var(--beyond-orange);
    margin-right: 6px;
    border-radius: 1px;
}

/* 4. 工业风表格样式 (2026-04-14) */
.beyond-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    color: var(--text-gray);
}
.beyond-table thead tr {
    background-color: var(--beyond-orange);
    color: var(--text-white);
    text-align: center;
}
.beyond-table th, .beyond-table td {
    padding: 10px !important;
    border: 1px solid var(--text-gray) !important; 
    text-align: center !important;
}
.beyond-table thead tr:nth-child(2) td {
    font-size: 10px;
}
.beyond-table tbody tr {
    font-size: 12px;
    background-color: var(--bg-deep-gray); 
}

/* 5. 响应式视频与标题 (2026-04-14) */
.video-title-center {
    text-align: center;
    color: var(--text-white);
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 40px;
    text-transform: capitalize;
}
.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 6. Feature 性能卡片网格 (2026-04-13) */
.beyond-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.beyond-card {
    background: var(--bg-deep-gray);
    border: 1px solid var(--beyond-orange);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.beyond-card:hover {
    border-color: var(--border-gray);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.beyond-card h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}
.beyond-card h3::before {
    content: "";
    width: 4px;
    height: 16px;
    background: var(--beyond-orange);
    margin-right: 12px;
    border-radius: 2px;
}
.beyond-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.beyond-card.faq-type {
    border-left: 4px solid var(--beyond-orange);
}
.beyond-card.faq-type:hover {
    border-left-color: var(--border-gray);
}

/* 7. 工厂错位卡片 (2026-04-15) */
.factory-stagger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 40px 0;
    align-items: start;
}
.factory-stagger-card {
    background: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
@media (min-width: 769px) {
    .factory-stagger-card:nth-child(even) {
        margin-top: 60px;
    }
}
.factory-stagger-card .image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.factory-stagger-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
.factory-stagger-card:hover .image-wrapper img {
    transform: scale(1.15);
}
.factory-stagger-content {
    padding: 5px 25px 30px 25px; 
}
.factory-stagger-content h3 {
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.4;
}
.factory-stagger-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}
/* 补全第 7 部分：工厂列表样式 */
.factory-stagger-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.factory-stagger-content ul li {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.5;
}
.factory-stagger-content ul li::before {
    content: "•";
    color: var(--beyond-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* 8. FAQ 容器与卡片 (2026-04-14) */
.faq-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-card {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, background 0.3s ease; 
}
.faq-card:hover {
    transform: translateY(-2px);
    background: var(--beyond-orange);
}
.faq-card:hover .faq-title {
    color: var(--text-white);
    border-bottom-color: rgba(255,255,255,0.3); /* 让分割线也变淡一点，更好看 */
}
.faq-card:hover .faq-desc {
    color: var(--text-white);
}
.faq-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 0.8rem;
    margin: 0 0 0.8rem 0;
    display: block;
}
.faq-desc {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .faq-card { padding: 1.2rem 1.4rem; }
    .faq-title { font-size: 1.15rem; padding-bottom: 0.6rem; margin-bottom: 0.6rem; }
    .faq-desc { font-size: 0.95rem; }
}

/* 9. 信息分块标题分割线 (2026-04-15) */
.simple-divider {
    border-bottom: 2px dotted var(--border-gray);
    margin: 40px 0 25px 0;
    padding-bottom: 10px;
}

/* 10. 移动端询盘表单 (2026-04-17) */
.mobile-only-inquiry-section {
    display: none !important;
}
@media (max-width: 767px) {
    .mobile-only-inquiry-section {
        display: block !important;
        padding: 20px;
        margin: 30px 10px;
        background-color: var(--bg-dark);
        border: 1px solid var(--border-gray);
        border-radius: 12px;
    }
    h2.mobile-inquiry-title {
        font-size: 24px !important;
        color: var(--beyond-orange);
        text-align: center;
        margin-bottom: 20px;
        font-weight: 700;
        text-transform: uppercase;
    }
}