/* ============================================================
   产品详情页底部 · 相关新闻 / 相关案例（两个独立板块，样式不同）
   2026-11-18 v3：新闻=紧凑资讯列表；案例=深蓝头+大卡片网格
   ============================================================ */

.pd-news,
.pd-cases {
    width: 1400px;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
}

/* ================= 板块一：相关新闻（资讯列表） ================= */
.pd-news {
    margin-top: 56px;
}
.pd-news__hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2px solid #e6edf5;
}
.pd-news__title {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.pd-news__title h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    font-size: 24px;
    font-weight: 800;
    color: #14243d;
    letter-spacing: 1px;
}
.pd-news__title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 22px;
    background: linear-gradient(180deg, #1a6fc4, #0a58a2);
    border-radius: 2px;
}
.pd-news__title span {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 2px;
    color: #1a6fc4;
}
.pd-news__more {
    font-size: 15px;
    font-weight: 600;
    color: #6b7b90;
    text-decoration: none;
    transition: color .25s;
}
.pd-news__more i {
    font-style: normal;
    margin-left: 4px;
    transition: transform .25s;
    display: inline-block;
}
.pd-news__more:hover {
    color: #1a6fc4;
    text-decoration: none;
}
.pd-news__more:hover i {
    transform: translateX(4px);
}

.pd-news__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.pd-news__list li {
    border-bottom: 1px dashed #e6edf5;
}
.pd-news__list li:last-child {
    border-bottom: 0;
}
.pd-news__list a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 10px;
    text-decoration: none;
    transition: background .3s;
}
.pd-news__list a:hover {
    background: #f7fafd;
    text-decoration: none;
}
/* 新闻缩略图 */
.pd-news__pic {
    flex: 0 0 92px;
    width: 92px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    background: #f0f4f9;
}
.pd-news__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.pd-news__list a:hover .pd-news__pic img {
    transform: scale(1.08);
}
/* 日期块：蓝色竖排胶囊 */
.pd-news__date {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(145deg, #f0f6fd, #e2eefb);
    border: 1px solid #dceaf8;
    color: #0a58a2;
    line-height: 1.1;
    transition: all .3s;
}
.pd-news__date b {
    font-size: 23px;
    font-weight: 800;
    font-style: italic;
}
.pd-news__date::after {
    content: attr(data-y);
}
.pd-news__date {
    font-size: 10px;
}
.pd-news__list a:hover .pd-news__date {
    background: linear-gradient(145deg, #1a6fc4, #0a58a2);
    border-color: #1a6fc4;
    color: #fff;
}
.pd-news__txt {
    flex: 1;
    min-width: 0;
}
.pd-news__txt h4 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #273449;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .25s;
}
.pd-news__list a:hover .pd-news__txt h4 {
    color: #1a6fc4;
}
.pd-news__txt p {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pd-news__go {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 20px;
    color: #c3d0df;
    transition: all .3s;
}
.pd-news__list a:hover .pd-news__go {
    color: #1a6fc4;
    transform: translateX(5px);
}

/* ================= 板块二：相关案例（大卡片网格） ================= */
.pd-cases {
    margin-top: 62px;
    margin-bottom: 90px;
}
.pd-cases__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    background: linear-gradient(100deg, #122d50 0%, #1c4a80 100%);
    border-radius: 8px 8px 0 0;
}
.pd-cases__title {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.pd-cases__title h2 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.pd-cases__title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 22px;
    background: #4da3ff;
    border-radius: 2px;
}
.pd-cases__title span {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 2px;
    color: #8ec5ff;
}
.pd-cases__more {
    font-size: 13px;
    font-weight: 600;
    color: #dbeaff;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    transition: all .3s;
}
.pd-cases__more i {
    font-style: normal;
    margin-left: 4px;
    display: inline-block;
    transition: transform .25s;
}
.pd-cases__more:hover {
    color: #12345e;
    background: #fff;
    border-color: #fff;
    text-decoration: none;
}
.pd-cases__more:hover i {
    transform: translateX(4px);
}

.pd-cases__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding-top: 22px;
}
.pd-case {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid #e4ecf5;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 50, 90, .06);
    text-decoration: none;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* 案例图片 */
.pd-case__pic {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #eef3f9;
}
.pd-case__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.pd-case:hover .pd-case__pic img {
    transform: scale(1.08);
}
.pd-case__pic .pd-case__no {
    right: 14px;
    top: 8px;
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.pd-case:hover .pd-case__pic .pd-case__no {
    color: #fff;
}
.pd-case__no--plain {
    right: 18px;
    top: 6px;
}
.pd-case__body {
    display: block;
    padding: 20px 22px 22px;
}
.pd-case::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a6fc4, #0a58a2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.pd-case:hover {
    transform: translateY(-5px);
    border-color: #bcd8f5;
    box-shadow: 0 16px 36px rgba(20, 50, 90, .14);
    text-decoration: none;
}
.pd-case:hover::before {
    transform: scaleX(1);
}
.pd-case__no {
    position: absolute;
    right: 18px;
    top: 6px;
    font-size: 52px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: #eaf3fc;
    pointer-events: none;
    transition: color .35s;
}
.pd-case:hover .pd-case__no {
    color: #d6e8fa;
}
.pd-case h4 {
    position: relative;
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #282828;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s;
}
.pd-case:hover h4 {
    color: #1a6fc4;
}
.pd-case p {
    position: relative;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #999;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pd-case__more {
    position: relative;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1a6fc4;
}
.pd-case__more i {
    font-style: normal;
    margin-left: 5px;
    display: inline-block;
    transition: transform .25s;
}
.pd-case:hover .pd-case__more i {
    transform: translateX(5px);
}

/* ================= 响应式 ================= */
@media (max-width: 900px) {
    .pd-cases__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pd-news__title h2,
    .pd-cases__title h2 {
        font-size: 21px;
    }
}

@media (max-width: 560px) {
    .pd-news {
        margin-top: 36px;
    }
    .pd-cases {
        margin-top: 42px;
        margin-bottom: 48px;
    }
    .pd-cases__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .pd-cases__hd {
        padding: 14px 16px;
    }
    .pd-cases__title span,
    .pd-news__title span {
        display: none;
    }
    .pd-news__list a {
        gap: 10px;
        padding: 12px 4px;
    }
    .pd-news__date {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }
    .pd-news__date b {
        font-size: 18px;
    }
    .pd-news__pic {
        flex-basis: 64px;
        width: 64px;
        height: 48px;
    }
    .pd-news__txt p {
        display: none;
    }
}
