/* 产品系列类别页（还原原站 catid=82：全宽 banner + h1 标题区 + 一排 6 产品网格 + 两栏技术文字） */

/* 主色统一为品牌红 */
:root {
    --prod-red: #e2001a;
}

/* 顶部 banner（对应原站 et_pb_slide：纯背景图，无叠加文字、无蒙版，高 450px；外层包 .container 故宽度与下方板块对齐） */
.series-banner {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 450px;                /* 对齐原站 et_pb_slide height:450px（原站无 min-height 也无文字） */
    background-color: #1f1f26;
    background-position: center center;
    background-size: cover;       /* 对齐原站 Divi slider 默认铺满方式 */
    background-repeat: no-repeat;
}

/* 标题区（对应原站 et_pb_text_1：h1 类别名 + h2 副标题 + 介绍段） */
.series-head {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px 15px 8px;
}
.series-head h1 {
    font-size: 30px;
    font-weight: 700;
    color: #1f1f26;
    margin: 0 0 14px;
    position: relative;
}
/* h1 标题下方的红色短横线装饰（对齐原站栏目标题 red-bar 风格） */
.series-head h1::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--prod-red);
    margin-top: 14px;
}
.series-head h2 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin: 0 0 18px;
}
.series-head .series-intro {
    font-size: 14px;
    line-height: 1.95;
    color: #555;
    margin: 0 0 14px;
    text-align: justify;
}

/* 产品网格（对应原站 seco-products：一排 6，卡片高=宽×2，灰白交替背景） */
.seco-products {
    max-width: var(--container);
    margin: 24px auto 8px;
    padding: 0 15px;
}
.seco-products__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* 末行不满 4 个时居中（如 4+2 的第二行） */
    gap: 0;
}
.seco-products__list__item {
    position: relative;
    width: 25%;               /* 一排 4 个 */
    aspect-ratio: 1 / 2;     /* 卡片高 = 宽 × 2（对齐原站 padding-top:200%） */
}
.seco-product {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #ccc;         /* 原站 odd 灰 */
}
.seco-products__list__item:nth-child(even) .seco-product {
    background: #fff;         /* 原站 even 白 */
}
.seco-product__poster {
    width: 100%;
    height: 50%;
    overflow: hidden;
    background: #eee;
}
.seco-product__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.seco-product:hover .seco-product__poster img {
    transform: scale(1.06);
}
.seco-product__info {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    text-align: center;
}
.seco-product__info__title {
    font-size: 15px;
    font-weight: 700;
    color: #1f1f26;
    margin-bottom: 12px;
    line-height: 1.3;
}
/* “更多”按钮：平行四边形（背景 skew(-20deg)，文字反向 skew(20deg) 保持水平，对齐原站 .seco-button） */
.seco-button {
    display: inline-block;
    margin: 0 auto;
    padding: 6px 22px;
    background: var(--prod-red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transform: skew(-20deg);
    transition: background .2s ease;
}
.seco-button__text {
    display: inline-block;
    transform: skew(20deg);
}
.seco-button:hover {
    background: #c10016;
}

/* 两栏技术文字（对应原站 et_pb_row_2 id=82：左 工艺技术/设备特性，右 应用行业/设备参数） */
.series-spec {
    max-width: var(--container);
    margin: 44px auto 64px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.series-spec .spec-col h3 {
    position: relative;
    font-size: 17px;
    font-weight: 700;
    color: #1f1f26;
    margin: 0 0 10px;
    padding-left: 18px;
}
/* 标题前的红色斜条（平行四边形：skewX 倾斜，文字保持水平） */
.series-spec .spec-col h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 4px;
    background: var(--prod-red);
    transform: skewX(-18deg);
    transform-origin: center;
}
.series-spec .spec-col p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin: 0 0 16px;
    text-align: justify;
}

/* 响应式 */
@media (max-width: 980px) {
    .seco-products__list__item {
        width: 50%;
    }
}
@media (max-width: 760px) {
    .series-banner {
        height: 300px;
    }
    .seco-products__list__item {
        width: 50%;
    }
    .series-spec {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
