/* 引入 style.css 中的变量 */
@import url('detail-mobile.css');
@media (max-width: 767px) {
    /* Banner */
    .header-banner {
        position: relative;
        background: url('../images/mainBusiness/header-bg.png') no-repeat center/cover;
        /*border-bottom: 1px solid var(--gray-300);*/
        height: 300px;
    }

    .header-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0 auto;
    }

    .header-container div:last-child {
        position: relative;
        margin: 10px 0;
        width: 250px;
        height: 30px;
    }


    .header-container div:last-child::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: url('../images/search-ash.png') no-repeat center;
        background-size: 16px 16px;
    }

    .header-container input {
        width: 250px;
        height: 30px;
        padding: 0 30px;
        border: none;
        outline: none;
    }


    /* 整体容器样式 */
    .main {
        width: 100%;
        padding: 40px 15px;
        background: linear-gradient(to right, #E8ECF5 22%, #D1E7FB 100%);
    }

    /* 文章项样式 */
    .main-cert {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .main-cert-item {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .main-cert-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .main-cert-detail {
        margin-top: 0.5rem;
    }

    /* 分页导航样式 */
    .main-page-box {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        margin: 30px auto 0;
        user-select: none;
    }

    .main-page {
        list-style-type: none;
        padding: 0;
        gap: 6px;
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        /* 限制最多显示五个元素 */
        max-width: calc(7 * (28px + 6px));
    }

    .main-page li {
        background: var(--white);
        font-size: 13px;
        min-width: 28px;
        height: 30px;
        color: #000000;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: default;
    }

    .main-page li:hover {
        color: var(--white);
        background: var(--primary);
    }

    .main-page li.active {
        color: var(--white);
        background: var(--primary);
    }

    .main-page li.pre,
    .main-page li.next {
        color: var(--white);
        background-color: var(--primary);
        background-size: 6.5px 11px;
        background-repeat: no-repeat;
        background-position: center;
        background-origin: content-box;
        background-clip: content-box;
    }

    .main-page li.pre {
        background-image: url("../images/industry/left.png");
    }

    .main-page li.next {
        background-image: url("../images/industry/right.png");
    }
}
