/* ===== 关于我们页视觉 enrich（bmb1127 主题补充样式） ===== */

/* ---------- 1. 图文概览 ---------- */
.ab-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 16px 0;
}
.ab-hero-txt .kd-about-hd {
    margin-bottom: 24px;
}
.ab-hero-lead {
    font-size: 17px;
    line-height: 2.05;
    color: #33405a;
    margin: 0 0 16px;
    text-align: justify;
}
.ab-hero-sub {
    font-size: 15px;
    line-height: 1.95;
    color: #6a7688;
    margin: 0 0 24px;
    text-align: justify;
}
.ab-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.ab-hero-tags span {
    display: inline-block;
    padding: 7px 16px;
    font-size: 13px;
    color: #0e4295;
    background: #eef4fc;
    border: 1px solid #d8e5f6;
    border-radius: 999px;
}
.ab-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: linear-gradient(135deg, #0e4295, #1a6fc4);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    box-shadow: 0 8px 22px rgba(14, 66, 149, .18);
    transition: all .25s ease;
}
.ab-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(14, 66, 149, .28);
    color: #fff;
}
.ab-hero-btn i {
    font-style: normal;
    font-size: 18px;
}

/* 图片拼贴 */
.ab-hero-pics {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 150px;
    gap: 12px;
}
.ab-hero-pic {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(10, 30, 70, .10);
}
.ab-hero-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.ab-hero-pic:hover img {
    transform: scale(1.06);
}
.ab-hero-pic--main {
    grid-row: 1 / 3;
}
.ab-hero-badge {
    position: absolute;
    right: -14px;
    bottom: 24px;
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e96424, #f08c4a);
    box-shadow: 0 10px 30px rgba(233, 100, 36, .32);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.ab-hero-badge strong {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}
.ab-hero-badge strong i {
    font-style: normal;
    font-size: 18px;
}
.ab-hero-badge span {
    font-size: 12px;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ---------- 2. 章节化富文本 ---------- */
.ab-rich-wrap {
    padding-top: 72px;
}
.ab-rich-wrap .kd-about-hd-center {
    margin-bottom: 44px;
}
.ab-rich-intro {
    font-size: 16px;
    line-height: 2;
    color: #5a6675;
    padding: 0 4px 28px;
}
.ab-rich-intro p {
    margin: 0 0 14px;
    text-align: justify;
}
.ab-chapter {
    padding: 36px 34px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid #e8ecf2;
    box-shadow: 0 4px 18px rgba(14, 66, 149, .04);
    transition: box-shadow .3s ease, transform .3s ease;
}
.ab-chapter:hover {
    box-shadow: 0 14px 34px rgba(14, 66, 149, .10);
    transform: translateY(-2px);
}
.ab-chapter-hd {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid #edf0f5;
}
.ab-chapter-no {
    flex: none;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #dbe4f0;
    font-family: Arial, sans-serif;
}
.ab-chapter-hd h4 {
    font-size: 21px;
    font-weight: 600;
    color: #12305c;
    margin: 0;
    flex: 1;
}
.ab-chapter-hd em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b4bfd0;
}
.ab-chapter-text p {
    font-size: 15px;
    line-height: 1.95;
    color: #5a6675;
    margin: 0 0 12px;
    text-align: justify;
}
.ab-chapter-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.ab-chapter-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f7fa;
}
.ab-chapter-gallery img {
    width: 100% !important;
    object-fit: cover;
    display: block !important;
    float: none !important;
    border-radius: 0;
    transition: transform .5s ease;
}
.kd-about-body .ab-chapter-text p{text-indent:0em}
.ab-chapter-gallery figure:hover img {
    transform: scale(1.05);
}

/* ---------- 3. 核心数据增强 ---------- */
.kd-about-num {
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(14, 66, 149, .16);
}
.kd-about-num li {
    position: relative;
}
.kd-about-num li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, .18);
}

/* ---------- 4. 资质与承诺 ---------- */
.ab-promise {
    margin-top: 76px;
    padding: 70px 0 76px;
    background: linear-gradient(180deg, #f7f9fc, #eef3fa);
}
.ab-promise-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ab-promise-list li {
    background: #fff;
    padding: 32px 26px 34px;
    border: 1px solid #e4eaf2;
    border-top: 3px solid #0e4295;
    transition: all .3s ease;
}
.ab-promise-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14, 66, 149, .10);
}
.ab-promise-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef4fc;
    color: #0e4295;
    font-size: 20px;
    font-weight: 700;
}
.ab-promise-list h4 {
    font-size: 18px;
    font-weight: 600;
    color: #12305c;
    margin: 0 0 10px;
}
.ab-promise-list p {
    font-size: 14px;
    line-height: 1.85;
    color: #6a7688;
    margin: 0;
}

/* ---------- 5. 底部 CTA ---------- */
.ab-cta {
    margin: 72px 0 0;
    padding: 58px 0;
    background: linear-gradient(120deg, #0c2f6b, #0e4295 55%, #1257b8);
    position: relative;
    overflow: hidden;
}
.ab-cta::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -120px;
    width: 380px;
    height: 380px;
    border: 40px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    pointer-events: none;
}
.ab-cta-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.ab-cta-txt h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.5;
}
.ab-cta-txt p {
    font-size: 15px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.8;
    margin: 0;
}
.ab-cta-btns {
    flex: none;
    display: flex;
    gap: 14px;
}
.ab-cta-btns a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    white-space: nowrap;
    transition: all .25s ease;
}
.ab-cta-btns a:first-child {
    background: #e96424;
    color: #fff;
}
.ab-cta-btns a:first-child:hover {
    background: #d5561b;
    transform: translateY(-2px);
}
.ab-cta-btns a:last-child {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}
.ab-cta-btns a:last-child:hover {
    background: rgba(255, 255, 255, .22);
}
.ab-cta-btns i {
    font-style: normal;
    font-size: 18px;
}

/* ---------- 6. 响应式 ---------- */
@media (max-width: 1080px) {
    .ab-hero { gap: 36px; }
    .ab-promise-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .ab-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 10px;
    }
    .ab-hero-btn{padding:5px 20px}
    .ab-hero-pics { max-width: 640px; }
    .ab-rich-wrap { padding-top: 56px; }
    .ab-cta-in { flex-direction: column; align-items: flex-start; }
    .ab-cta-btns { flex-wrap: wrap; }
    .ab-chapter-hd{padding-bottom:10px;margin-bottom:10px}
}
@media (max-width: 640px) {
    .ab-hero-lead { font-size: 15px; }
    .ab-hero-sub { font-size: 14px; }
    .ab-hero-pics { grid-template-rows: 180px 130px; }
    .ab-hero-badge { width: 90px; height: 90px; right: -6px; bottom: 14px; }
    .ab-hero-badge strong { font-size: 24px; }
    .ab-hero-badge span { font-size: 10px; }
    .ab-chapter { padding: 24px 18px; }
    .ab-chapter-hd h4 { font-size: 18px; }
    .ab-chapter-no { font-size: 24px; }
    .ab-chapter-gallery img { height: 180px; }
    .ab-cta-txt h3 { font-size: 18px; }
    .ab-cta-btns a { flex: 1 1 45%; justify-content: center; padding: 12px 14px; white-space: normal; min-width: 0; flex-basis: 100%; }
}

/* 单图章节：限制宽度并居中，避免单张图占满整宽过高 2026-12-03 */
.kd-about-body .ab-chapter-gallery:has(> figure:only-child) {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}
@media (max-width: 767px) {
    .kd-about-body .ab-chapter-gallery:has(> figure:only-child) {
        grid-template-columns: 1fr;
    }
}
