
/* ============ Banner（广告位轮播） ============ */
.banner {
    background: linear-gradient(135deg, #0a3d91 0%, #1554ba 60%, #2f74e0 100%);
    background-size: cover;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 340px
}

/* 轮播图片层 */
.banner-slides {
    position: absolute;
    inset: 0;
    z-index: 0
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease
}

.banner-slide.active {
    opacity: 1;
    z-index: 1
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

/* 图片之上的半透明遮罩，保证文字可读性 */
.banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 47, 107, .78) 0%, rgba(10, 47, 107, .45) 60%, rgba(10, 47, 107, .2) 100%)
}

/* 文字内容层 */
.banner-inner {
    padding: 60px 0;
    position: relative;
    z-index: 2
}

.banner-text h1 {
    font-size: 38px;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.banner-sub {
    font-size: 17px;
    opacity: .96;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3)
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px
}

.banner-tags span {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px
}

.banner-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

/* 轮播导航点 */
.banner-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background .2s
}

.banner-dots .dot.active {
    background: #fff
}

/* 无图片时隐藏导航点 */
.banner:not(.has-slides) .banner-dots {
    display: none
}

/* ============ 通用板块 ============ */
.section {
    padding: 50px 0 25px;
}

.section-head {
    text-align: center;
    margin-bottom: 36px
}

.section-title {
    font-size: 28px;
    color: var(--c-primary-d);
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 12px
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--c-red);
    transform: translateX(-50%)
}

.section-desc {
    color: var(--c-gray);
    margin-top: 14px;
    font-size: 15px
}

/* 服务项目卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.service-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(20, 60, 120, .12);
    border-color: var(--c-primary-l)
}

.service-card-body {
    display: block;
    padding: 28px 24px
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px
}

.service-card h3 {
    font-size: 19px;
    color: var(--c-primary-d);
    margin-bottom: 10px
}

.service-card p {
    color: var(--c-gray);
    font-size: 14px;
    line-height: 1.7
}

/* ===== 框架协议：参与流程 + 定义 模块 ======================= */
.framework-flow-section {
    /*background: var(--c-bg);*/
    padding: 50px 0 25px;
}

/* 模块卡片：白色底 + 圆角 + 边框 */
.flow-block {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px
}

.flow-block:last-child {
    margin-bottom: 0
}

/* 模块标题栏：蓝色渐变背景 */
.flow-block-title {
    background: linear-gradient(135deg, var(--c-primary-d), var(--c-primary));
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 14px 20px;
    letter-spacing: 1px
}

.kf-title {
    background: #f2a67a !important;
}

/* 阶段容器 */
.flow-stage {
    padding: 24px 28px;
}

/* 定义模块内容区 */
.definition-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 50px 32px
}

/* 定义左侧大图标 */
.definition-icon {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center
}

/* 定义右侧文字 */
.definition-text {
    flex: 1;
    min-width: 0
}

.definition-text h4 {
    font-size: 24px;
    color: var(--c-primary-d);
    margin-bottom: 16px;
    font-weight: bold;
}

.definition-text p {
    font-size: 24px;
    color: #444;
    line-height: 32px;
}


/* ========== 项目公告&通知公告模块 ========== */
.module-notice-board {
    width: 100%;
    padding: 50px 0 25px;
}
.notice-tabs {
    display:flex;
    align-items:center;
    margin-left: 18%;
}
.notice-tabs .tab-item {
    padding:8px 32px;
    font-size:24px;
    font-weight:bold;
    background: #539ae8;
    color: #fff;
    cursor:pointer;
}
.notice-tabs .tab-item-m {
    display: none;
}
.notice-more {
    margin-left:auto;
    color:#646464;
    font-size:14px;
}
.notice-body {
    display:flex;
}
/*左侧树形菜单*/
.notice-left-menu {
    width: 20%;
}
.menu-tree {
    position:relative;
    padding: 35px 12px 20px;
    border: 1px solid #dadbdc;
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 var(--radius);
}
.menu-tree::before {
    content: "";
    position: absolute;
    right: 30.5px;
    top: 65px;
    height: calc(100% - 65px - 48px);
    width: 1px;
    background-image: linear-gradient(to bottom, #dadbdc 50%, transparent 50%);
    background-size: 1px 6px;
}

.tab-item-active {
    width: 90%;
    margin-top: -80px;
    padding: 16px 32px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    color: #0d4ea1;
    background: none;
    border: 1px solid #dadbdc;
    border-bottom: 0;
    border-radius: var(--radius) 0 0 0;
}
.menu-item {
    position:relative;
    height: 48px;
    margin-top: 10px;
    padding: 12px 48px 12px 16px;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 24px;
    text-align: right;
    white-space: nowrap;
    border-radius: 32px;
    background-repeat: no-repeat;
    background-position: 0;
    background-size: contain;
    cursor: pointer;
}
.menu-item::before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: 20px;
    right: 15px;
    background: #dadbdc;
    border-radius: 50%;
}
.menu-item:hover,.menu-item.active {
    background: #0d4ea1;
    color:#fff;
}
.menu-item:hover::before,.menu-item.active::before {
    content: ">";
    position: absolute;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 2px solid #0d4ea1;
    border-radius: 50%;
    top: 8px;
    right: 5px;
    color: #0d4ea1;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateY(-1px);
}

/*右侧公告列表*/
.notice-right-list {
    flex:1;
    padding:20px;
    border: 1px solid #dadbdc;
    border-left: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    width: 80%;
}
.list-row {
    display:flex;
    align-items:center;
    padding:12px 0;
    gap:12px;
}
.list-date {
    color:#666;
}
.tag-gg {
    position: relative;
    background: linear-gradient(268deg,#0d4ea1,#559cea);
    color:#fff;
    padding:2px 8px;
    border-radius:4px;
    white-space:nowrap;
    font-size: 12px;
}
.tag-gg::after {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    top: 50%;
    transform: translateY(-50%); /* 完美垂直居中，推荐用这个，不用死写px */
    right: -3.5px;
    background: #fff;
    border-radius: 50%;
}

.list-title {
    flex:1;
    color:#323232;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}
.list-detail {
    color:#9e9e9e;
    font-size: 14px;
    white-space:nowrap;
    line-height: 20px;
}


/* ===== 咨询CTA ======================= */
.consult-cta {
    background: linear-gradient(135deg, var(--c-primary-d), var(--c-primary));
    color: #fff
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 0;
    gap: 20px;
    flex-wrap: wrap
}

.cta-text h2 {
    font-size: 24px;
    margin-bottom: 6px
}

.cta-text p {
    opacity: .9
}


@media (max-width:768px) {
    .banner {
        min-height: auto;
    }
    .banner-inner {
        padding: 40px 16px;
    }
    .banner-text,.service-card-body {
        text-align: center;
    }
    .banner-text h1 {
        font-size: 26px;
        margin-bottom:12px;
    }
    .banner-sub {
        font-size: 15px;
        max-width: 100%;
        margin: 0 auto 16px;
    }
    .banner-tags {
        justify-content: center;
        margin-bottom:22px;
    }
    .banner-cta {
        justify-content: center;
    }

    .service-card-body .service-icon {
        margin: auto;
    }

    .definition-content {
        gap: 16px;
        padding: 22px 18px
    }

    .definition-icon {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }

    .definition-text h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .definition-text p {
        font-size: 14px;
        text-align: left
    }

    .notice-body {
        flex-direction:column;
    }

    .notice-left-menu,.tab-item {
        display: none;
    }

    .notice-tabs {
        margin-left: 0;
    }

    .notice-tabs .tab-item-m {
        font-size:16px;
        display: block;
    }

    .notice-right-list {
        width: 100%;
        border-left: 1px solid #dadbdc;
        border-radius: 0 var(--radius) var(--radius);
    }

    .list-row {
        flex-wrap:wrap;
    }

    /* 页脚更紧凑 */
    .cta-text {
        text-align: center;
    }

    .cta-inner .banner-cta {
        margin: auto;
    }
}
