@media screen and (max-width: 768px) {
    .banner {
        height: 280px !important;
    }

    .banner-item {
        height: 280px !important;
    }

    .banner-item h4 {
        font-size: 22px !important;
    }

    .banner-item p {
        font-size: 14px !important;
    }

    .application-detail .layui-card-header {
        justify-content: center !important;
    }


    .app-item {
        height: auto !important;
    }

    .app-item > .desc {
        top: 45% !important

    }


}


.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* application banner */

.banner {
    height: 440px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.banner .banner-item {
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.banner h4 {
    font-size: 48px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;

}

.banner p {
    font-size: 20px;
    color: #fff;
}


.application {
    margin: 38px auto;
}

.application h1 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    text-align: center;
}

.application .line {
    display: block;
    width: 60px;
    border-bottom: 2px solid #076ce0;
    margin: 15px auto;
}

.application p {
    font-size: 14px;
    color: #4b4b4b;
    text-align: center;
}


.application .application-item:hover {
    transform: translate3d(0, -2px, 0);
    transition: all .2s linear;
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
}


.application .application-item img {
    width: 100%;
    height: 180px;
}

.application .application-item a.title {
    display: block;
    font-size: 16px;
    color: #333;
    padding: 16px 0;
    text-align: center;
}

.application .application-item a.title:hover {
    color: #076ce0;
}

.application .application-item p {
    font-size: 14px;
    color: #878787;
    padding: 10px;
    text-align: center;
    min-height: 70px;
}


/* 分页按钮 */

.page-box {
    display: flex;
    justify-content: center;
}


/* 应用详情 */

.application-detail {
    margin: 38px auto;
}


.layui-card-header .title {
    font-size: 20px;
    color: #1e9fff;
    text-align: center;
}


.application-content .video {
    width: 100%;
    margin: 0 auto 30px;
    border: 1px solid #d6d6d6;
}


/*应用分类*/

.application-category {
    padding: 30px 0;
    /*background-color: #fff !important;*/
}

.application-category .layui-card-header {
    height: 60px;
    line-height: 60px;
}


.application-category p {
    text-align: center;
    font-size: 22px;
    font-weight: normal;
}


.application-category .ref-box .title {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: #076ce0;
}

.application-category .ref-box .subtitle {
    margin-top: 10px;
    font-size: 12px;
    text-align: left;
}

.application-category .ref-box .more {
    margin-top: 10px;
}

.application-category .ref-box img {
    width: 100%;

}

.application-category .apps .cover {
    width: 100%;
    height: 180px;
}


.application-category .apps .app_title {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    padding-top: 12px;
    padding-left: 15px;
    padding-right: 15px;
}

.application-category .apps .app_subtitle {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    padding-top: 12px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 12px;
}

.application-category .apps-more {
    position: absolute;
    top: 15px;
    right: 20px;
}

.footer {
    margin-top: auto;
}

/*产品样式*/
.product-item {
    display: block;
    transition: all .2s linear;
    text-align: center
}


.product-item .title {
    font-size: 14px;
    color: #1e9fff !important;
    margin-top: 30px;
    min-height: 48px;
    text-align: center
}

.product-item .desc {
    font-size: 14px;
    color: #c2c2c2;
    padding: 10px 0;
    text-align: center
}


/* ===== 产品卡片核心样式 ===== */
.product-item {
    display: block;
    text-decoration: none;
    height: 100%;
}

.product-item .layui-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s;
    height: 100%;
    background: #fff;
}

.product-item .layui-panel:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.product-item .layui-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px;
    text-align: center;
}

/* 图片：自适应 + 不拉伸 + 保持比例 */
.product-item .layui-panel img {
    width: 100%;
    height: 150px;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px auto;
}

.product-item .title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    margin: 6px 0 2px;
    word-break: break-word;
}

.product-item .desc {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ===== 响应式布局：一行4列，自适应 ===== */
@media screen and (max-width: 1199px) {
    .layui-col-md3 {
        width: 33.3333%; /* 大平板/小屏笔记本：一行3列 */
    }
}

@media screen and (max-width: 992px) {
    .layui-col-md3 {
        width: 50%; /* 平板：一行2列 */
    }
}

@media screen and (max-width: 576px) {
    .layui-col-md3 {
        width: 100%; /* 手机：一行2列（若想一行1列可改为100%） */
    }

    .product-item .title {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .layui-col-md3 {
        width: 100%; /* 超小手机：一行1列 */
    }
}

/* 间距微调 */
.layui-col-space15 > .layui-col-md3 {
    padding: 10px;
}

.layui-container[style*="margin: 60px auto"] {
    padding-left: 16px;
    padding-right: 16px;
}


.app-item {
    display: block;
    position: relative;
    height: 440px
}

.app-item > div {
    position: absolute;
    left: 5%;
    top: 10%;
    /*width: 150px;*/
    background-color: rgba(255, 255, 255, .8);
    /* width: 150px; */
    padding: 10px 20px;

}

.app-item > div p:first-child {
    color: black;
    font-size: 22px;
    margin-bottom: 10px;
}

.app-item > div p:last-child {
    color: black;
    font-size: 12px;
}

.app-item > .desc {
    top: 32%;
    width: auto;
    background-color: rgba(255, 255, 255, .5);
}

.app-item > .desc p {
    margin-bottom: 0 !important;
}
