/* ========== 嘉泰姆电子 数据手册公共样式 ========== */
/* 适用于 CXLE83208M / CXLE83209MD / CXLE83210MB / CXLE83211MB / CXLE83213MB / CXLE83214B / CXLE83215S / CXLE83216MB / CXLE83217A / CXLE83218D 等 */
/* 避免与主站CSS冲突，使用高特异性容器 .jtm-tech-article */

.jtm-tech-article {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    color: #1e2a3e;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
    line-height: 1.55;
    padding: 2rem 1.8rem;
    border-radius: 0;
    box-shadow: none;
}
.jtm-tech-article h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #0a3b4f;
    border-left: 5px solid #1c7e9c;
    padding-left: 1.2rem;
    letter-spacing: -0.3px;
}
.jtm-tech-article h2 {
    font-size: 1.7rem;
    margin: 1.8rem 0 1rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e2edf2;
    color: #135e7a;
    font-weight: 600;
}
.jtm-tech-article h3 {
    font-size: 1.35rem;
    margin: 1.5rem 0 0.8rem 0;
    color: #1f6e8c;
    font-weight: 600;
    padding-left: 0.4rem;
    border-left: 3px solid #3193b5;
}
.jtm-tech-article p {
    margin-bottom: 1rem;
    text-align: justify;
}
.jtm-tech-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #cfdfed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.jtm-tech-article th {
    background: #e9f2f7;
    color: #0c4e6e;
    font-weight: 700;
    padding: 10px 12px;
    border: 1px solid #cbdbe0;
}
.jtm-tech-article td {
    border: 1px solid #dce5ec;
    padding: 8px 12px;
    vertical-align: top;
}
/* 基础列表样式（常规） */
.jtm-tech-article ul, 
.jtm-tech-article ol {
    margin: 0.8rem 0 1rem 1.6rem;
}
.jtm-tech-article li {
    margin: 0.3rem 0;
}
.jtm-note {
    background: #f8fafc;
    border-left: 4px solid #2c8eb3;
    padding: 0.8rem 1.2rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    border-radius: 10px;
    color: #2d4a6e;
}
.jtm-figure {
    background: #f4f9fe;
    border: 1px dashed #8bb9d0;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    font-family: monospace;
    font-size: 0.85rem;
    margin: 1.2rem 0;
    color: #1e5a7a;
}
.jtm-link-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #f0f6fa;
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0 1.5rem;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d2e3ef;
}
.jtm-link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}
/* 强制按钮样式：默认完全可见 */
.jtm-tech-article .jtm-btn,
.jtm-tech-article .jtm-btn:link,
.jtm-tech-article .jtm-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    border: 2px solid #1c6f94 !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 40px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c6f94 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    transition: 0.2s ease;
    cursor: pointer;
    line-height: 1.2;
}
.jtm-tech-article .jtm-btn-primary,
.jtm-tech-article .jtm-btn-primary:link,
.jtm-tech-article .jtm-btn-primary:visited {
    background-color: #1c6f94 !important;
    border-color: #1c6f94 !important;
    color: #ffffff !important;
}
.jtm-tech-article .jtm-btn:hover {
    background-color: #e4f0f7 !important;
    color: #0a4c6e !important;
    border-color: #0f5a7a !important;
}
.jtm-tech-article .jtm-btn-primary:hover {
    background-color: #0f5474 !important;
    border-color: #0f5474 !important;
    color: #ffffff !important;
}
.jtm-tech-article a:not(.jtm-btn) {
    color: #1a7196;
    text-decoration: none;
    border-bottom: 1px dotted #8dc0d6;
}
.jtm-tech-article a:not(.jtm-btn):hover {
    color: #0b4f6c;
    border-bottom: 1px solid;
}
.jtm-table-caption {
    font-size: 0.8rem;
    text-align: center;
    margin-top: -0.8rem;
    margin-bottom: 1rem;
    color: #3c6e8f;
}
.jtm-footer-note {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid #dce5ec;
    padding-top: 1.2rem;
    color: #6c8ea2;
}
@media (max-width: 780px) {
    .jtm-tech-article {
        padding: 1rem;
    }
    .jtm-link-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .jtm-btn {
        margin: 0.2rem 0;
    }
}
.jtm-param-grid {
    background: #fefef7;
    border-radius: 16px;
    padding: 0.5rem 1rem;
}
hr {
    margin: 1.2rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, #cde0ec, transparent);
}

/* ========== 修复列表序号和项目符号不显示（增强版，覆盖全局重置） ========== */
body .jtm-tech-article ol,
html body .jtm-tech-article ol {
    list-style-type: decimal !important;
    margin: 0.8rem 0 1rem 1.6rem !important;
    padding-left: 0.5rem !important;
}
body .jtm-tech-article ul,
html body .jtm-tech-article ul {
    list-style-type: disc !important;
    margin: 0.8rem 0 1rem 1.6rem !important;
    padding-left: 0.5rem !important;
}
body .jtm-tech-article li,
html body .jtm-tech-article li {
    margin: 0.3rem 0 !important;
    display: list-item !important;
}

/* 以下为可选的辅助样式块（用于数据手册中的特殊区块） */
.formula-block {
    background: #f2f6f9;
    font-family: 'Courier New', monospace;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    overflow-x: auto;
}
.param-compare {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.param-card {
    background: #fafcfd;
    border: 1px solid #d4e2ec;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    flex: 1;
}
.warning-note {
    background: #fff5e6;
    border-left: 4px solid #e67e22;
    padding: 0.8rem 1.2rem;
    margin: 1.2rem 0;
    border-radius: 12px;
}