 
.news-title {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: white;
    margin: 30px;
}

.itd-icon {
    width: 10px;
    height: 100%;
    background-color: #2f80b7
}
.news-title p {
    padding: 3px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3rem;
    margin-left: 0.3rem;
}

.news-container {
    display: flex;
    flex-wrap: wrap;     
    justify-content: flex-start;
    gap: 1vw; /* 间距 */
    /* cursor: pointer; */ /* 设置鼠标指示符为小手 */

    margin-left:  8vw;
    margin-bottom: 50px;
} 
.square {
    width: 400px;
    height: 280px;
    border: 1px solid #ccc;
    position: relative;
    overflow: hidden;
    display: flex; /* 添加 flex 布局 */
    transition: box-shadow 0.3s ease; /* 添加过渡效果 */
    display: flex; /* 添加flex布局 */
    justify-content: center; /* 左右居中 */
    align-items: top;  
    border-radius: 10px;
}

.square:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 外阴影 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 鼠标悬停时的外阴影效果 */
    

}
.square img:hover {
   /*  width: 120%;
    height: 100%; */
  
}

.square img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 让图片充满容器 */
    margin: auto; /* 图片左右居中 */
    margin-top: 0px;
    transition: width 0.5s, height 0.5s; /* 添加宽度和高度的过渡效果 */
}

.square .name:hover {
 
 
    color: #f0e8a1;
 
}
.square .name {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(14, 133, 245, 0.7);
            color: #fff;
            padding: 5px;
            font-size: 1.3rem;
            text-align: center;
            box-sizing: border-box;
}
/* 新闻模块 */
.news {
    display: flex;
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    background-color: #ffffff;
    font-size: 1.2rem;
    padding: 15px;
}

.news-content {
    width: 80%;
    height: auto;
    margin-top: 5px;
}

.news-content ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 10px;
    min-height: 2vh;
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
    border-bottom: 1px dashed #bbbbbb;
    cursor: pointer;
}

.news-content ul li:hover {
    background-color: #e7e7e7;
}

.news-content ul li p:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.product-title {
    font-size: 2rem;
    color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.219) 0px 0px 10px;
    background: #2f80b7;
}

.product-title p {
    margin: 10px;
}
@media (max-width: 669px) {
    .square {
        width: 80vw;
        height: 70vw;
        border: 1px solid #ccc;
        position: relative;
        overflow: hidden;
        display: flex; /* 添加 flex 布局 */
        transition: box-shadow 0.3s ease; /* 添加过渡效果 */
        display: flex; /* 添加flex布局 */
        justify-content: center; /* 左右居中 */
        align-items: top;  
        border-radius: 10px;
    }
    .name {
        font-size: 1vw;
    }
 
       
}