/* 容器（仅内页专用，不和全局冲突） */
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ========== 内页Banner ========== */
.inner-banner {
    width: 100%;
    height: auto;
    padding-top: 23.5%;
    position: relative;
    overflow: hidden;
}
.inner-banner img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inner-banner-text {
    position: absolute;
    left: calc((100% - 1240px) / 2);
    width: 90%;
    max-width: 1240px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
.inner-banner-text h1 {
    font-size: 48px;
    margin-bottom: 8px;
    font-weight: normal;
}
.inner-banner-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========== 栏目标题模块 ========== */
.inner-section {
    padding-bottom: 0;
}
.inner-title-wrap {
    text-align: center;
    padding: 60px 0;
    position: relative;
}
.inner-title-wrap h2 {
    font-size: 36px;
    color: #0058cc;
    position: relative;
    display: inline-block;
    font-weight: normal;
    z-index: 2;
}
.inner-title-wrap h2::after {
    content: attr(data-en);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(0, 88, 204, 0.08);
    z-index: -1;
    white-space: nowrap;
}

/* ========== 业务交替列表 ========== */
.service-list {
    display: flex;
    flex-direction: column;
}
.service-item {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}
.service-item::before {
    content: "";
    position: absolute;
    width: 100vw;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
}
.service-item.item-left::before {
    background: #ffffff;
}
.service-item.item-right::before {
    background: #f8f9fa;
}
.service-item.item-left {
    flex-direction: row;
}
.service-item.item-right {
    flex-direction: row-reverse;
}
.service-img {
    width: 42%;
}
.service-img img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0,88,204,0.07);
}
.service-text {
    width: 58%;
}
.service-title {
    font-size: 32px;
    color: #222;
    margin: 0 0 24px;
    font-weight: 500;
}
.service-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 32px;
}
.service-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 32px;
    background: #0058cc;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    border: none;
}

/* ========== 栏目内搜索框 search-box ========== */
.search-box {
    width: 100%;
    margin: 40px 0 24px 0;
}
.search-box form {
    width: 100%;
    display: flex;
}
.search-box input {
    flex: 1;
    height: 46px;
    border: 1px solid #ccc;
    padding: 0 16px;
    outline: none;
    font-size: 15px;
}
.search-box button {
    height: 46px;
    background: #0058cc;
    color: #fff;
    border: none;
    padding: 0 26px;
    cursor: pointer;
    transition: 0.2s;
}
.search-box button:hover {
    background: #0047aa;
}

/* ========== 案例卡片4列布局 ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}
.case-item {
    display: flex;
    flex-direction: column;
    background: #f8f8f6;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}
.case-item img {
    width: 100%;
    display: block;
}
.case-item h3 {
    font-size: 18px;
    color: #0058cc;
    padding: 16px 0;
    margin: 0;
}

/* ========== 新闻列表样式 ========== */
.news-section {
    margin: 60px 0;
}
.news-tab-wrap {
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}
.news-tab {
    display: flex;
    justify-content: center;
    gap: 80px;
}
.news-tab a {
    padding: 18px 0;
    font-size: 18px;
    color: #555;
    transition: all 0.24s ease;
    border-bottom: 3px solid transparent;
}
.news-tab a.active {
    color: #0058cc;
    border-color: #0058cc;
    font-weight: 500;
}
.news-tab a:hover {
    color: #0058cc;
}

.news-list ul {
    list-style: none;
}
.news-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}
.news-pic {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}
.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-title {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.news-title a {
    color: #222;
}
.news-title a:hover {
    color: #0058cc;
}
.news-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 35px;
}

/* 新闻分页 pagination2 */
.page {
    padding: 45px 0 20px;
    text-align: center;
}
.pagination2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.pagination2 a,
.pagination2 span {
    padding: 9px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    min-width: 50px;
    text-align: center;
    transition: 0.2s;
}
.pagination2 a:hover {
    background: #0058cc;
    color: #fff;
    border-color: #0058cc;
}
.pagination2 span.active,
.pagination2 a.active {
    background-color: #0058cc;
    border-color: #0058cc;
    color: #fff;
}
.no-data {
    text-align: center;
    padding: 80px 0;
    color: #999;
    font-size: 16px;
}

/* ========== 搜索结果列表(search-grid) ========== */
.search-form {
    margin: 40px 0;
}
.search-form form {
    display: flex;
    width: 100%;
}
.search-form input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
}
.search-form button {
    background-color: #0057cc;
    color: #fff;
    border: none;
    padding: 0 18px;
    white-space: nowrap;
    cursor: pointer;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}
.search-card {
    text-align: center;
}
.search-card a {
    display: block;
    text-decoration: none;
    color: #333;
}
.card-img {
    width: 100%;
    height: 165px;
    overflow: hidden;
    margin-bottom: 12px;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-text h4 {
    font-size: 14px;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: 45px;
}

/* 搜索列表分页 page-pagination */
.page-pagination {
    text-align: center;
    margin-bottom: 20px;
}
.page-pagination a,
.page-pagination span {
    border: 1px solid #bbb;
    padding: 6px 10px;
    margin: 0 2px;
    font-size: 14px;
    display: inline-block;
}
.empty-text {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

/* ========== 移动端媒体查询【统一放在底部】 ========== */
@media screen and (max-width: 992px) {
    .inner-banner {
        padding-top: 33.5%;
    }
        /* Banner文字缩小 */
    .inner-banner-text h1 {
        font-size: 26px !important;
    }
    .inner-banner-text p {
        font-size: 14px !important;
    }
    .inner-banner-text {
        left: 4% !important;
        max-width: unset !important;
        width: 92% !important;
    }
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item {
        flex-direction: column !important;
        gap: 30px;
        padding: 40px 0;
    }
    .service-img,
    .service-text {
        width: 100%;
    }
    .service-desc{
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;}
    .service-title{
        text-align:center;
    }
}

@media (max-width: 768px) {
    .news-tab {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
    }
    .news-tab a {
        flex: 1;
        text-align: center;
        padding: 12px 0;
        font-size: 17px;
    }
    .news-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px 0;
    }
    .news-pic {
        width: 100%;
        height: 180px;
        border-radius: 8px;
    }
    .news-title {
        font-size: 17px;
        line-height: 1.5;
    }
    .news-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    .news-meta {
        gap: 20px;
        margin-top: 12px;
    }
    .pagination2 a,
    .pagination2 span {
        padding: 6px;
        min-width: 42px;
        font-size: 13px;
    }
}

@media screen and (max-width: 576px) {
    .news-section {
        margin: 40px 0;
    }
    .news-tab-wrap {
        margin-bottom: 24px;
    }
    .search-box {
        margin-top: 25px;
    }
    .search-box button {
        padding: 0 20px;
    }
}

/* 搜索列表移动端两栏布局（防止错乱） */
@media (max-width: 767px) {
    .container {
        width: 94%;
    }
    .search-form input {
        padding: 12px 10px;
    }
    .search-form button {
        padding: 0 12px;
        font-size: 13px;
    }
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .card-img {
        height: 135px;
    }
    .page-pagination a,
    .page-pagination span {
        padding: 5px 7px;
        font-size: 12px;
    }
}