/* ===== 行业详情页样式 ===== */

.page-header {
    background: linear-gradient(135deg, #1A365D 0%, #2B6CB0 100%);
    padding: 40px 0;
    color: #fff;
}
.breadcrumb { font-size: 14px; color: #94A3B8; }
.breadcrumb a { color: #CBD5E1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; font-weight: 600; }

.page-content { padding: 60px 0 80px; background-color: var(--bg-light); }
.industry-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }

/* ---------- 左侧正文 ---------- */
.industry-main {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.industry-main h1 {
    font-size: 32px; color: var(--primary);
    font-weight: 800; margin-bottom: 20px; line-height: 1.3;
}
.industry-main .intro-text {
    font-size: 16px; color: var(--text-light); margin-bottom: 30px;
}
.industry-featured-img {
    width: 100%; height: 380px;
    background-color: var(--bg-light);
    background-size: cover; background-position: center;
    border-radius: 8px; margin-bottom: 35px;
}

/* 富文本正文 */
.industry-body { font-size: 16px; color: var(--text-main); line-height: 1.8; }
.industry-body p { margin-bottom: 20px; }
.industry-body h2 {
    font-size: 24px; color: var(--primary);
    margin: 35px 0 20px; font-weight: 800;
    border-left: 4px solid var(--accent); padding-left: 15px;
}
.industry-body h3 { font-size: 20px; color: var(--primary); margin: 25px 0 15px; font-weight: 700; }
.industry-body ul, .industry-body ol { margin: 0 0 20px 20px; }
.industry-body li { margin-bottom: 10px; }
.industry-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; display: block; }
.industry-body a { color: var(--accent); text-decoration: underline; }
.industry-body strong { color: var(--primary); font-weight: 700; }

/* 富文本高亮卡片 */
.industry-body .highlight-box {
    background-color: var(--bg-light);
    border-radius: 8px; padding: 25px; margin: 25px 0;
    border-left: 4px solid var(--accent);
}
.industry-body .highlight-box.challenge { border-left-color: #E53E3E; }
.industry-body .highlight-box h4 { color: var(--primary); font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.industry-body .highlight-box p { margin: 0; color: var(--text-light); }
.industry-body .highlight-box ul { margin: 10px 0 0 20px; color: var(--text-light); }

/* ---------- 推荐产品区块 ---------- */
.recommend-products { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.recommend-products h2 {
    font-size: 24px; color: var(--primary); margin-bottom: 25px;
    font-weight: 800;
    border-left: 4px solid var(--accent); padding-left: 15px;
}
.rec-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.rec-product-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.rec-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.rec-product-img {
    height: 150px;
    background-color: #D9E2EC;
    background-size: cover; background-position: center;
}
.rec-product-info { padding: 15px; }
.rec-product-info h4 {
    font-size: 16px; color: var(--primary);
    margin-bottom: 8px; font-weight: 700;
    line-height: 1.4;
}
.rec-product-info a {
    font-size: 13px; color: var(--accent) !important; font-weight: 700;
}
.rec-product-info a:hover { color: var(--accent-hover) !important; }

/* ---------- 右侧侧边栏 ---------- */
.industry-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-box {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.sidebar-box h3 {
    font-size: 18px; color: var(--primary);
    margin-bottom: 20px; padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light); font-weight: 800;
}

.ind-container .other-industries li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.ind-container .other-industries li:last-child { border-bottom: none; }
.other-industries li a {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: var(--text-main) !important;
    font-weight: 600; transition: color 0.3s;
}
.other-industries li a:hover { color: var(--accent) !important; }
.other-industries li a::after {
    content: '→'; color: var(--accent); font-size: 16px;
}

/* 联系卡 */
.sidebar-contact-card { background-color: var(--primary) !important; color: #fff; text-align: center; padding: 35px 25px; }
.sidebar-contact-card h3 {
    color: #fff !important;
    border-bottom: 2px solid rgba(255,255,255,0.1) !important;
    margin-bottom: 15px; padding-bottom: 15px;
}
.sidebar-contact-card p { font-size: 14px; color: #D1D9E6; margin-bottom: 20px; }
.sidebar-contact-card .btn-call {
    display: inline-block;
    background-color: var(--accent) !important; color: #fff !important;
    padding: 12px 25px; border-radius: 4px;
    font-weight: 600; font-size: 14px;
    width: 100%; box-sizing: border-box;
}
.sidebar-contact-card .btn-call:hover { background-color: var(--accent-hover) !important; }

/* ---------- 底部 CTA ---------- */
.cta-banner {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 70px 0; text-align: center;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; color: var(--primary); }
.cta-banner p {
    color: var(--text-light); font-size: 18px;
    margin-bottom: 35px; max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.cta-banner .cta-btn {
    display: inline-block;
    background-color: var(--accent) !important; color: #fff !important;
    padding: 16px 45px; border-radius: 4px;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 15px rgba(43,108,176,0.3);
}
.cta-banner .cta-btn:hover { background-color: var(--accent-hover) !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .industry-layout { grid-template-columns: 1fr; }
    .industry-sidebar { position: static; }
    .industry-main { padding: 25px; }
    .industry-main h1 { font-size: 26px; }
    .industry-featured-img { height: 250px; }
}
@media (max-width: 768px) {
    .industry-main { padding: 20px; }
    .industry-main h1 { font-size: 22px; }
    .industry-body { font-size: 15px; }
    .industry-body h2 { font-size: 20px; margin: 25px 0 15px; }
    .industry-body h3 { font-size: 17px; }
    .rec-product-grid { grid-template-columns: 1fr 1fr; }
}