@charset "UTF-8";

/* Comment 用心服务 · 数智同行 S */
.index-approval {
    width: 100%;
    height: 700px;
    padding: 40px 170px 110px;
    box-sizing: border-box;
}

.index-approval .index-approval-content {
    margin-top: 50px;
    height: 496px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* 左侧图片 - 确保显示 */
.index-approval-content-image {
    width: 333px;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.index-approval-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* 右侧内容区域 */
.index-approval-content-tabs {
    margin-left: 51px;
    flex: 1;
    height: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 4px;
    min-width: 0;
}

.content-tabs-approval {
    padding: 30px 0 34px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 顶部文字说明区域 */
.index-approval-description {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.approval-description-text {
    font-family: Source Han Sans CN;
    color: #666;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.5px;
}

/* 顶部右侧翻页器容器 */
.approval-description-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 自定义翻页按钮 - 圆圈包裹的左右箭头 */
.approval-custom-prev,
.approval-custom-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.approval-custom-prev:hover,
.approval-custom-next:hover {
    background-color: #4977fb;
    border-color: #4977fb;
}

.approval-custom-prev:hover svg,
.approval-custom-next:hover svg {
    fill: #fff;
}

.approval-custom-prev svg,
.approval-custom-next svg {
    width: 20px;
    height: 20px;
    fill: #999;
    transition: fill 0.3s ease;
}

/* 图标网格容器 */
.approval-grid-container {
    width: 100%;
    flex: 1;
    position: relative;
    height: calc(100% - 60px);
    overflow: visible;
}

/* Swiper 样式 */
.approvalSwiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.approvalSwiper .swiper-wrapper {
    display: flex;
    height: 100%;
}

.approvalSwiper .swiper-slide {
    width: 100%;
    height: 78%;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: flex-start;
    gap: 0;
}

/* 图标项样式 - 每行5个，撑满高度 */
.approval-grid-item {
    width: 20%;
    height: 87%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 5px;
}

/* 图标容器 - 占据大部分高度，使用height:100% */
.approval-grid-icon-container {
    position: relative;
    width: 100%;
    height: 100%; /* 使用height:100% */
    margin-bottom: 8px;
    flex-shrink: 0;
}

/* 背景图 - 底层，铺满整个容器 */
.approval-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../imgs/indexNew/img_index_approval_background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* 文章图片 - 上层，居中显示，预留10px边距 */
.approval-grid-image {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    border-radius: 0;
}

.approval-grid-item:hover .approval-grid-icon-container {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* 图标名称 */
.approval-grid-name {
    font-family: Source Han Sans CN;
    font-weight: 500;
    color: #303030;
    font-size: 15px;
    text-align: center;
    margin: 5px 0 2px;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 图标描述 */
.approval-grid-desc {
    font-family: Source Han Sans CN;
    color: #999;
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 隐藏原有的swiper导航 */
.approvalSwiper .swiper-button-next,
.approvalSwiper .swiper-button-prev,
.approvalSwiper .swiper-pagination {
    display: none;
}

/* 隐藏多余的layui-tab相关样式 */
.index-approval-content-tabs .layui-tab,
.index-approval-content-tabs .layui-tab-title,
.index-approval-content-tabs .layui-tab-content,
.index-approval-content-tabs .layui-tab-item {
    display: none;
}

/* Comment 用心服务 · 数智同行 E */