/*
Custom CSS
*/


/*@font-face {*/
/*    font-family: 'AlibabaPuHuiTi-3-45-Light';*/
/*    src: url('/assets/fonts/AlibabaPuHuiTi-3-45-Light.ttf') format('truetype');*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*html {*/
/*    font-family: 'AlibabaPuHuiTi-3-45-Light', sans-serif;*/
/*}*/


/* region Header */
#main_nav .nav-item .nav-link:hover {
    color: #000;
}

#main_nav .nav-item .nav-link {
    position: relative;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

#main_nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.25s ease;
}

#main_nav .nav-item .nav-link:hover::after,
#main_nav .nav-item .nav-link.active::after {
    width: calc(100% - 20px);
}

/*endregion*/


/*region Banner Wrapper*/
#banner-wrapper {
    width: 100%;
    height: 50vh;
    background-position: center center;
    background-size: cover;
}

/*endregion*/


/*region Solution Cards*/
#solution-cards {

}

#solution-cards .row {
    min-height: 400px;
}

#solution-cards .card {
    /*width: 310px;*/
    height: 400px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/*endregion*/


/*region News Cards*/
#news-cards {

}

#news-cards .img-wrapper {
    /* 固定高度（关键） */
    aspect-ratio: 16 / 9; /* 自动比例 */
    overflow: hidden; /* 裁剪溢出 */
}

#news-cards .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例裁剪 */
}

#news-cards .img-wrapper img.is-svg {
    object-fit: contain; /* 不裁剪 */
    padding: 30px; /* 居中留白 */
    background: #f5f5f5; /* 占位背景 */
}

/*endregion*/


/*region Solutions*/
#solutions {

}

#solutions .section-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

#solutions .feature-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

#solutions .feature-list li {
    width: 100%;
    font-size: 15px;
    color: #444;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#solutions .feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3a7bd5;
    flex-shrink: 0;
}

/*endregion*/


/*region Downloads*/
#downloads {

}

#downloads .nav-tabs .nav-link {
    color: var(--bs-black-rgb);
}

#downloads .table-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

}

#downloads .dl-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

#downloads .dl-table thead tr {
    border-bottom: 1px solid rgba(22, 21, 19, .1);
}

#downloads .dl-table th {
    font-weight: 500;
    color: #6c757d;
    padding: 12px 16px;
    background: transparent;
    white-space: nowrap;
    text-align: left;
}

#downloads .dl-table tbody tr {
    border-bottom: 1px solid rgba(22, 21, 19, .1);
}

#downloads .dl-table tbody tr:hover td {
    background: var(--bs-secondary-rgb);
}


#downloads .dl-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

#downloads .col-desc {
    white-space: nowrap;
}

#downloads .col-size {
    white-space: nowrap;
}

#downloads .col-link {
    word-break: break-all;
    min-width: 320px;
}

#downloads .dl-link {
    color: #2a6ebb;
    text-decoration: none;
}

#downloads .dl-link:hover {
    text-decoration: underline;
}

/*endregion*/


/*region News*/
#news {
    min-height: 80vh;
}

#news .news-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 自动比例 */
    object-fit: cover;
    border-radius: 8px;
}

#news .news-img.is-svg {
    object-fit: contain; /* 不裁剪 */
    padding: 30px; /* 居中留白 */
    background: #f5f5f5; /* 占位背景 */
}

#news .container > .row:nth-child(1) {
    border-bottom: 1px solid rgba(22, 21, 19, .1);

}

#news .container > .row:nth-child(2) >  card{


}

/*endregion*/


/*region Article*/
#article {
    min-height: 90vh;
}
/*endregion  */


/*region Timer Shaft */
#timer-shaft .img-wrapper {
    /* 固定高度（关键） */
    aspect-ratio: 16 / 9; /* 自动比例 */
    overflow: hidden; /* 裁剪溢出 */
}

#timer-shaft .img-wrapper img {
    width: 100%;
    height: 100%;
    transform: scale(0.9);
    object-fit: cover; /* 保持比例裁剪 */
}
/*endregion*/


/*region Footer */
footer a.text-light:hover {
    color: #bfbfbf !important;
    transition-duration: 0.15s;
}

/*endregion*/


/*region  Common*/
.product-img {
    width: 100%;
    max-width: 460px;
    display: block;
    border-radius: 8px;
}

.hover-card {
    /*transition: transform 0.3s ease, box-shadow 0.3s ease; !* 平滑过渡 *!*/

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 使用弹性贝塞尔曲线 */

}

.hover-card:hover {
    /*transform: translateY(-10px); !* 向上移动 10px *!*/
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important; !* 加深阴影 *!*/

    /*transform: translateY(-15px) scale(1.03); !* 向上更多，并轻微放大 *!*/
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important; /* 阴影范围扩大，更模糊 */
}

.btn-gradient {
    color: #fff;
    border: none;
    border-radius: 15px;
    background: linear-gradient(90deg, #3b82f6, #4f46e5);
    position: relative;
    overflow: hidden; /* 隐藏扫光超出部分 */
    transition: all 0.3s ease;
}

/* 扫光层 */
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%; /* 扫光从左到右划过 */
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(59, 130, 246, 0.4);
}

/*endregion*/



