.slideshow {
    /* height: 400px; */
    
    object-fit: cover;
}

.news-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.news-item {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}
/* 左侧图片固定宽高 */
.news-thumb {
    flex-shrink: 0;
    width: 240px;
    height: 180px;
    overflow: hidden;
}
.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 右侧文字容器 */
.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px; /* 标题和简介的间距，数值越小贴的越近 */
    line-height: 1;
}
/* 标题行：标题居左、日期居右 */
.news-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.news-title {
    font-size: 20px;
    color: #222;
    text-decoration: none;
}
.news-date {
    color: #999;
    font-size: 16px;
    white-space: nowrap;
}
.badge {
    margin-left: 8px;
    padding: 3px 8px;
}
/* 核心：简介自动换行，中文一行约20字，文字紧贴标题 */
.news-desc {
    font-size: 14px;
    color: #8b8585;
    line-height: 1.4;
    margin: 5px 0;
    word-break: break-all;
    word-wrap: break-word;
    /* 控制一行大约20个汉字，根据你的页面宽度，宽度合适会自动每行20字换行 */
}

/* 移动端自适应 */
@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 15px;
    }
    .news-thumb {
        width: 100%;
        height: 200px;
    }
    .news-title {
        font-size: 18px;
    }
}

/* 产品详情页 */
/* 右侧分类网格 固定每行2个 */
.category-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.grid-item .item-img{
    height: 120px;
}
.grid-item:hover .item-name{
    color: #e60000;
}
.more-btn:hover{
    background-color: #c80000 !important;
    color:#fff;
}
.position-relative-top-20 {
    position: relative;
    top: 20px;
}

.side-intro-card{
    height: 100%;
}
.pro-title{
    line-height: 1.4;
}
.item-desc{
    font-size: 15px;
}
.advantage-list li{
    padding-left: 4px;
}
.info-item{
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}
.info-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

/* 外层大盒子 左右等高核心 */
.main-wrap{
    width: 100%;
}
/* 图片容器高度100%继承父级 */
.swiper-container, .swiper-wrapper, .swiper-slide{
    height: 100%;
}
.object-fit-cover{
    object-fit: cover;
}
/* 移动端自动上下排列 */
@media (max-width: 991.98px) {
    .main-wrap{
        flex-direction: column;
    }
    .col-lg-6{
        width: 100%;
    }
    .col-lg-6:first-child{
        margin-bottom: 20px;
    }
}
/* 清除原右侧多余边框 */
.side-intro-card{
    border: none !important;
    padding: 0 !important;
}

.main-wrap{
    width: 100%;
}
.object-fit-cover{
    object-fit: cover;
}
.side-intro-card{
    border: none !important;
    padding: 0 !important;
}
/* 移动端 */
@media (max-width: 991.98px) {
    .main-wrap{
        flex-direction: column;
    }
    .col-lg-6{
        width: 100%;
    }
    .col-lg-6:first-child{
        margin-bottom: 20px;
    }
    .view{
        height: 300px !important;
    }
}
/* 外层整体容器 */
.pro-top-box{
    width: 100%;
}
/* 图片容器固定高度，和右侧文字高度自动对齐 */
.img-box{
    height: 420px;
    width: 100%;
    overflow: hidden;
}
/* 图片完整缩放，不变形、不裁切 */
.pic-full{
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
}
/* 列表样式 */
.advantage-list li{
    padding-left: 4px;
}
.info-item{
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}
.info-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.pro-top-box{
    width: 100%;
}
/* 图片完整显示，不变形 */
.pic-full{
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}
/* 右侧文字高度锁定345px，和图片等高 */
.h-345{
    height: 345px;
}
.info-item{
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.info-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
}
/* 移动端适配 */
@media (max-width: 991.98px) {
    .pro-top-box{
        flex-direction: column;
    }
    .img-box{
        max-width: 100% !important;
        height: auto !important;
    }
    .h-345{
        height: auto;
        margin-top: 20px;
    }
}

/* 移动端自适应 */
@media (max-width: 991.98px) {
    .pro-top-box{
        flex-direction: column;
    }
    .img-box{
        height: 300px;
    }
}
/* 移动端自适应 */
@media (max-width: 992px) {
    .side-intro-card{
        margin-top: 20px;
    }
}

@media screen and (max-width: 992px) {
    .col-lg-4{
        margin-top: 30px;
    }
}