/* ==========================================================================
   钛金系列 产品页 —— 新版 UI（2026 改版）
   仅本页引用，独立文件，避免影响 style.css 其他页面
   ========================================================================== */

.tj-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* ---------- Banner 文案完整显示（本页保留原 banner 底图） ----------
   仅在 ≥868px 生效：该宽度下 banner 为大图有足够高度容纳全文；
   ≤867px 时站点会把 banner 压成 130px 矮条，交回原生 3 行截断即可，避免溢出。 */
@media screen and (min-width: 868px) {

    .list_banner .list_trion_item,
    .list_banner .list_ul_item,
    .list_banner .list_ul_banner,
    .list_banner .list_trion_banner {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }

    .list_banner .list_ul_item {
        top: 46%;
    }

    /* 解除描述文字的 3 行截断（-webkit-line-clamp），让全文完整显示 */
    .list_banner .list_trion_banner-p,
    .list_banner .list_banner-company-p {
        display: block !important;
        -webkit-line-clamp: unset !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .list_banner .list_trion_banner-p p {
        font-size: 15px;
        line-height: 26px;
    }
}

/* ---------- 三张产品卡片 ---------- */
.tj-cards {
    display: flex;
    gap: 70px;
    padding: 70px 0 30px;
}

.tj-card {
    flex: 1;
    min-width: 0;
}

.tj-card_logo {
    height: 66px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
}

.tj-card_logo img {
    height: 100%;
    width: auto;
}

.tj-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
}

.tj-card_sub {
    font-size: 15px;
    color: #9098a3;
    margin: 0 0 24px;
}

.tj-card_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tj-card_list li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
}

.tj-card_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 17px;
    height: 17px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d61f26' d='M6.1 11.6L2.5 8l1.15-1.15 2.45 2.45 5.85-5.85L13 4.6z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- 蓝色说明框 ---------- */
.tj-callout {
    background: #1a5fc4;
    border-radius: 14px;
    padding: 42px 60px;
    margin: 24px 0 80px;
}

.tj-callout p {
    margin: 0;
    color: #fff;
    font-size: 17px;
    line-height: 2.1;
    text-align: center;
}

/* ---------- 四个特性图标 ---------- */
.tj-feats {
    display: flex;
    gap: 40px;
    padding: 0 0 90px;
    text-align: center;
}

.tj-feat {
    flex: 1;
    min-width: 0;
}

.tj-feat_img {
    height: 72px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tj-feat_img img {
    max-height: 72px;
    max-width: 90px;
    width: auto;
}

.tj-feat h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
}

.tj-feat p {
    font-size: 15px;
    line-height: 1.9;
    color: #6a7079;
    margin: 0;
}

/* ---------- 应用领域（图片 + 底部白框） ---------- */
.tj-apps {
    background: #f2f4f7;
    padding: 70px 0 100px;
}

.tj-appgrid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.tj-app {
    position: relative;
    flex: 1;
    max-width: 290px;
    padding-bottom: 70px;
}

.tj-app_img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
}

.tj-app_box {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    background: #fff;
    /*border-bottom: 4px solid #1a5fc4;*/
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    padding: 22px 18px 24px;
    text-align: center;
    box-sizing: border-box;
}

.tj-app_box h4 {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
}

.tj-app_box p {
    font-size: 13px;
    line-height: 1.8;
    color: #8a8f97;
    margin: 0;
}

/* ---------- Sensor Aggregation System ---------- */
.tj-sensor {
    padding: 70px 0 100px;
}

.tj-sensor_row {
    display: flex;
    align-items: center;
    gap: 55px;
    margin-top: 30px;
}

.tj-sensor_img {
    flex: 0 0 54%;
    max-width: 54%;
}

.tj-sensor_img img {
    width: 100%;
    height: auto;
}

.tj-sensor_txt {
    flex: 1;
}

.tj-sensor_txt p {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin: 0 0 20px;
    text-indent: 2em;
}

.tj-sensor_txt p:last-child {
    margin-bottom: 0;
}

/* ---------- 选型表：宽表在窄屏内部横向滚动，避免撑破整页 ---------- */
.list_trion_tables .list_trion_table_img {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.list_trion_tables .list_trion_table_img table {
    min-width: 760px;
}

/* ==========================================================================
   响应式（对齐站点断点：1200 / 768 / 480）
   ========================================================================== */

/* ---------- ≤1200px 平板/小桌面：收紧间距，保持多列 ---------- */
@media screen and (max-width: 1200px) {
    .tj-wrap { padding: 0 24px; }

    .tj-cards { gap: 40px; padding: 50px 0 20px; }

    .tj-callout { padding: 34px 40px; margin: 20px 0 60px; }
    .tj-callout p { font-size: 16px; line-height: 1.9; }

    .tj-feats { gap: 26px; padding-bottom: 70px; }

    .tj-appgrid { gap: 24px; }
    .tj-app { max-width: 260px; }

    .tj-sensor_row { gap: 36px; }
    .tj-sensor_txt p { line-height: 1.9; }
}

/* ---------- ≤768px 平板竖屏/大手机：三卡片单列，图标与应用领域 2×2，Sensor 堆叠 ---------- */
@media screen and (max-width: 768px) {
    .tj-cards { flex-direction: column; gap: 42px; padding: 40px 0 6px; }
    .tj-card_logo { height: 58px; margin-bottom: 20px; }
    .tj-card h3 { font-size: 22px; }

    .tj-callout { padding: 26px 22px; margin: 14px 0 44px; border-radius: 12px; }
    .tj-callout p { font-size: 15px; line-height: 1.85; text-align: left; }

    /* 四特性图标 → 2 × 2 居中 */
    .tj-feats { flex-wrap: wrap; justify-content: center; gap: 40px 20px; padding-bottom: 54px; }
    .tj-feat { flex: 0 0 44%; }

    /* 应用领域 → 2 × 2，白框转为常规流内（不再叠在图片上） */
    .tj-apps { padding: 50px 0 66px; }
    .tj-appgrid { flex-wrap: wrap; gap: 26px 18px; }
    .tj-app { flex: 0 0 46%; max-width: none; padding-bottom: 0; }
    .tj-app_img { height: 320px; }
    .tj-app_box { position: static; left: 0; right: 0; box-shadow: none; }

    /* Sensor → 上下堆叠 */
    .tj-sensor { padding: 50px 0 66px; }
    .tj-sensor_row { flex-direction: column; gap: 28px; }
    .tj-sensor_img { flex: none; max-width: 100%; }
}

/* ---------- ≤480px 手机：图标与应用领域改单列 ---------- */
@media screen and (max-width: 480px) {
    .tj-wrap { padding: 0 16px; }

    .tj-cards { gap: 34px; }

    .tj-feats { gap: 30px 0; }
    .tj-feat { flex-basis: 100%; }

    .tj-appgrid { gap: 20px; }
    .tj-app { flex-basis: 100%; }
    .tj-app_img { height: 360px; }

    .tj-callout p { font-size: 14px; }
    .tj-sensor_txt p { font-size: 14px; }
}

/* ==========================================================================
   选型表：点击 logo 切换三大产品线（FPGA / Edge / Transceiver）
   ========================================================================== */

/* ---------- Logo 切换标签栏 ---------- */
.tj-seltabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 10px auto 34px;
    padding: 0 24px;
    box-sizing: border-box;
}

.tj-seltab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 260px;
    max-width: 340px;
    padding: 22px 20px 18px;
    background: #fff;
    border: 1px solid #e3e9f0;
    border-bottom: 3px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: box-shadow .25s, border-color .25s, transform .25s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

.tj-seltab img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .55;
    transition: filter .25s, opacity .25s;
}

.tj-seltab_name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tj-seltab_sub {
    font-size: 13px;
    color: #8a929c;
}

.tj-seltab:hover {
    box-shadow: 0 8px 22px rgba(28, 88, 158, .12);
    transform: translateY(-2px);
}

.tj-seltab:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.tj-seltab.is-active {
    border-color: #1c589e;
    border-bottom-color: #1c589e;
    box-shadow: 0 10px 26px rgba(28, 88, 158, .16);
}

.tj-seltab.is-active img {
    filter: grayscale(0);
    opacity: 1;
}

.tj-seltab.is-active .tj-seltab_name {
    color: #1c589e;
}

/* ---------- 面板切换：仅显示激活的表格 ---------- */
.tj-selpanel {
    display: none;
}

.tj-selpanel.is-active {
    display: block;
    animation: tjFade .3s ease;
}

@keyframes tjFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tj-seltable_caption {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #1c589e;
    margin: 0 0 18px;
}

/* ---------- 表格下方的「注」（随表格切换） ---------- */
.tj-seltable_note {
    max-width: 1400px;
    margin: 16px auto 0;
    padding: 14px 20px;
    box-sizing: border-box;
    background: #f5f8fc;
    border-left: 3px solid #1c589e;
    border-radius: 6px;
}

.tj-seltable_note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #555;
}

.tj-seltable_note p + p {
    margin-top: 2px;
}

.tj-seltable_note b {
    color: #1c589e;
}

/* ---------- 灰色表头：处于规划阶段的产品 ---------- */
.list_trion_table_img thead th.th_plan {
    background-color: #818a98;
    color: #fff;
}

/* ---------- 选型表新增底色（对应 PPT 中的浅蓝格） ---------- */
.list_trion_table_img .td_sky {
    background-color: #cfe6f6;
    border-right: 3px solid #fff;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 768px) {
    .tj-seltabs { gap: 14px; margin-bottom: 24px; }
    .tj-seltab { flex-basis: 100%; padding: 16px 14px; border-bottom-width: 3px; }
    .tj-seltab img { height: 38px; }
    .tj-seltab_name { font-size: 15px; }
    .tj-seltable_caption { font-size: 16px; }
}
