/* 设置全局字体和字体大小 */
body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #313131;
    line-height: 1.5;
}

a {
    text-decoration: none;
    border: none;
    color: #313131;
}

a:hover {
    text-decoration: none;
    border: none;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}


/*更改菜單欄字體顏色*/
.navbar-light .navbar-nav .nav-link {
    color: #313131;
}

/*更改激活的菜單字體顏色*/
.navbar-light .navbar-nav .active > .nav-link {
    color: #42b2e5;
}

/*更改菜單欄背景色*/
.bg-light {
    background-color: #fff !important;
}

.dropdown-menu {
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-brand img {
    height: 40px; /* logo 高度 */
}


/*首页行业领域*/
.card-img-overlay h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.custom-index-img{
    width:3rem;
    height: 3rem;
}

.card-img-overlay p {
    color: #c9c9c9;
    font-size: 0.9rem;
}

.card-img-overlay p:hover {
    color: #fff;
}

.card a:hover {
    color: #fff;
}

.text-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示二行 */
    -webkit-box-orient: vertical; /* 垂直方向排列 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/*首页案例视频*/
.full-width-bg {
    width: 100%;
    padding: 2.5rem 0;
    margin-top: 3rem;
    background-color: #f7f9fa;
}

.custom-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
    border-radius: calc(.25rem - 1px);
}

/*最近更新*/
.custom-card-text {
    margin-top: 2rem;
    font-size: .85rem;
    color: #42b2e5;
}

.custom-card-text:hover {
    color: #313131;
}

/*探索更多*/
.custom-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #313131;
}

/*行业中心列表*/
.custom-h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.custom-h5:hover {
    color: #42b2e5 !important;
}

/*分页样式*/
/*.pagination a {*/
/*    position: relative;*/
/*    display: block;*/
/*    padding: .5rem .75rem;*/
/*    margin-bottom: .5rem;*/
/*    margin-left: 4px;*/
/*    line-height: 1.25;*/
/*    color: #313131;*/
/*    background-color: #ccc;*/
/*    border: 1px solid #ccc;*/
/*}*/

/*分页美化样式2*/
.frontier-paging { margin-top: 32px; }
.frontier-paging ul { display: inline-block; vertical-align: bottom; }
.frontier-paging ul span,
.frontier-paging ul a { display: block; float: left; margin: auto 2px; padding: 4px 12px; background: #FFF; box-shadow: 0 0 8px rgba(0,0,0,0.07); border-radius: 2px; font-size: 14px; color: #999; }
.frontier-paging ul a.page-num-current,
.frontier-paging ul a:hover { background: #42b2e5; color: #FFF; }


.page-item.active .page-link {
    z-index: 4;
    color: #fff;
    background-color: #42b2e5;
    border-color: #42b2e5;
}

/*视频列表页*/
.card-img-wrapper {
    position: relative;
    overflow: hidden; /* 确保超出部分被隐藏 */
}

.card-img-wrapper img {
    width: 100%;
    transition: transform 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0; /* 默认隐藏 */
    transition: opacity 0.3s ease;
    z-index: 1; /* 确保按钮显示在图片上层 */
}

.card-img-wrapper:hover .play-button {
    opacity: 1; /* 鼠标悬停时显示播放按钮 */
}

.card-img-wrapper:hover img {
    transform: scale(1.1); /* 鼠标悬停时轻微放大图片 */
}

/*新闻详情页*/
.news-content img {
    max-width: 100%;
    height: auto;
}

.article-title {
    font-size: 1.3rem;
    color: #6a6d69;
    font-weight: 500;
}

label{
    margin-bottom: .8rem;
}

.custom-product h5{
    padding-bottom: 2rem;
}

.custom-product p{
    margin-bottom: .6rem;
    color: #666666;
    font-size: .85rem;
}

.news-card-custom{
    padding:.9rem;
}
.news-card-custom h5{
    margin-bottom: .5rem;
}
.news-card-custom h5:hover{
    color:#42b2e5;
}
.news-card-custom p{
    margin-bottom: .5rem;
    font-size: .85rem;
    color: #666;
}



/*更改.container最大宽度为1200px*/
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .card-img-overlay h5 {
        font-size: .9rem;
    }

    .card-img-overlay p {
        font-size: 0.8rem;
        margin-bottom: .5rem;
    }
}

@media (max-width: 768px) {
    .mobile-padding{
        padding-left: 1rem !important;
        padding-right: 1rem !important;

    }
}









































