/* ============ 案例与口碑 ============ */
.cs-page {
    --blue: #104299;
    --navy: #0b2f6e;
    --ink: #222;
    --mut: #9aa1a9;
    --line: #eceff3;
    overflow: hidden;
    background: #fff;
}

.cs-page img {
    display: block;
}

.cs-page .index_title {
    padding-top: 0.82rem;
}

/* 分类 tab：完全沿用百科资讯的 .yggd_navline / .yggd_nav，仅补 svg 双色切换 */
.cs-page .yggd_navline {
    margin-top: 0;
}

.cs-page .yggd_nav .img svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.2s;
}

.cs-page .yggd_nav .img svg:last-of-type,
.cs-page .yggd_nav.on .img svg:first-of-type,
.cs-page .yggd_nav:hover .img svg:first-of-type {
    opacity: 0;
}

.cs-page .yggd_nav.on .img svg:last-of-type,
.cs-page .yggd_nav:hover .img svg:last-of-type {
    opacity: 1;
}

/* 案例卡：与站内 sx-book / sx-gcard 同一套卡片语言——白底、16px 圆角、只靠阴影浮起 */
.cs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 22px;
    width: 85%;
    max-width: 1280px;
    margin: 44px auto 0;
}

.cs-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: calc((100% - 44px) / 3);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(20, 40, 80, .05);
    color: inherit;
    text-decoration: none;
    transition: box-shadow .45s ease, transform .45s ease;
}

.cs-card:hover {
    box-shadow: 0 16px 40px rgba(20, 40, 80, .12);
    transform: translateY(-4px);
}

.cs-card.hide {
    display: none;
}

.cs-fig {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0d1a2b;
}

.cs-fig img {
    width: 100%;
    aspect-ratio: 1200 / 760;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}

.cs-card:hover .cs-fig img {
    transform: scale(1.04);
}

.cs-no {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.cs-scene {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.cs-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 20px;
}

.cs-name {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .5px;
    color: #222;
}

.cs-kind {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #9aa1a9;
}

.cs-more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    letter-spacing: .5px;
    color: var(--blue);
}

.cs-card:hover .cs-more {
    text-decoration: underline;
}

.cs-note {
    width: 85%;
    margin: 28px auto 0;
    font-size: 13px;
    line-height: 1.9;
    color: #9aa1a9;
    text-align: center;
}

/* 案例详情：页头用站内案例页头套件 anli_banner / anlib_content / anlibc_title */
.cd-page .anli_banner {
    background: var(--navy);
}

.cd-page .anli_banner .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    opacity: .34;
}

.cd-page .anli_banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 68% 80% at 50% 50%, rgba(6, 20, 48, .34) 0%, rgba(6, 20, 48, .16) 66%, rgba(6, 20, 48, .04) 100%),
                linear-gradient(180deg, rgba(6, 20, 48, .3) 0%, rgba(6, 20, 48, .12) 55%, rgba(6, 20, 48, .3) 100%);
    pointer-events: none;
}

.cd-page .anlib_content {
    position: relative;
    z-index: 2;
}

.cd-page .anlibc_title {
    font-weight: normal;
    opacity: 1;
    letter-spacing: 0.02rem;
    text-shadow: 0 0.02rem 0.16rem rgba(0, 0, 0, .45);
}

.cd-page .abc_1 {
    margin-top: 0.18rem;
    font-size: 0.2rem;
    letter-spacing: 0.02rem;
    color: rgba(255, 255, 255, .82);
}

.cd-page .abc_2 {
    margin-top: 0.1rem;
    font-size: 0.16rem;
    color: rgba(255, 255, 255, .6);
}

.cd-body {
    width: 85%;
    max-width: 1120px;
    margin: 0.56rem auto 0;
}

.cd-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(20, 40, 80, .05);
    padding: 40px 44px 34px;
}

.cd-kind {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 1px;
    color: var(--blue);
}

.cd-spec {
    margin-top: 18px;
    border-top: 1px solid #eceff3;
}

.cd-spec .row {
    display: flex;
    gap: 28px;
    padding: 18px 0;
    border-bottom: 1px solid #eceff3;
}

.cd-spec dt {
    flex: none;
    width: 56px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 1px;
    color: #9aa1a9;
}

.cd-spec dd {
    flex: 1;
    font-size: 15px;
    line-height: 1.9;
    color: #4a5568;
}

.cd-vis {
    margin-top: 20px;
    padding-left: 14px;
    border-left: 2px solid #eceff3;
    font-size: 13px;
    line-height: 1.8;
    color: #9aa1a9;
}

.cd-gal {
    margin-top: 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(20, 40, 80, .05);
    padding: 30px 44px 34px;
}

.cd-gh {
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff3;
    font-size: 14px;
    letter-spacing: 1px;
    color: #9aa1a9;
}

.cd-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 22px;
    margin-top: 26px;
}

.cd-shot img {
    width: 100%;
    display: block;
    border-radius: 8px;
    background: #0d1a2b;
}

.cd-shot figcaption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: #9aa1a9;
}

.cd-shot:only-child {
    grid-column: 1 / -1;
}

.cd-page .cs-note {
    width: 100%;
    margin-top: 24px;
    text-align: left;
}

.cd-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #eceff3;
}

.cd-pager a {
    color: #4a5568;
    text-decoration: none;
}

.cd-pager a i {
    display: block;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 1px;
    color: #9aa1a9;
}

.cd-pager a b {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

.cd-pager .back {
    font-size: 14px;
    color: var(--blue);
}

.cd-pager .next {
    text-align: right;
}

/* 流程 */
.cs-flow-band {
    margin-top: 0.9rem;
    padding-bottom: 0.82rem;
    background: #f6f8fb;
}

.cs-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 85%;
    max-width: 1280px;
    margin: 0.5rem auto 0;
}

.cs-flow .st {
    padding: 0 0.24rem;
    border-left: 1px solid #dde4ee;
}

.cs-flow .st:first-child {
    border-left: 0;
    padding-left: 0;
}

.cs-flow .sn {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    color: #c9d3e1;
    letter-spacing: 0.01rem;
}

.cs-flow .sh {
    margin-top: 0.14rem;
    font-size: 17px;
    line-height: 1.4;
    font-weight: bold;
    color: var(--ink);
}

.cs-flow .sd {
    margin-top: 0.1rem;
    font-size: 14px;
    line-height: 1.85;
    color: #5c6673;
}

/* 收尾 */
.cs-cta {
    position: relative;
    padding: 0.76rem 0 0.8rem;
    background: var(--navy);
    text-align: center;
    overflow: hidden;
}

.cs-cta::after {
    content: "";
    position: absolute;
    right: -1.2rem;
    top: -1.6rem;
    width: 4.6rem;
    height: 4.6rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.cs-cta .ct {
    position: relative;
    z-index: 2;
    font-size: 28px;
    line-height: 1.4;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.03rem;
}

.cs-cta .cd {
    position: relative;
    z-index: 2;
    margin-top: 0.16rem;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .66);
}

.cs-cta .cs-btns {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.16rem;
    margin-top: 0.34rem;
}

.cs-cta .cs-btns a {
    display: inline-block;
    padding: 15px 34px;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 30px;
    transition: transform .3s, box-shadow .3s, background .3s, border-color .3s;
}

.cs-cta .cs-btns a.pri {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
}

.cs-cta .cs-btns a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}

@media only screen and (max-width: 1200px) {
    .cs-list {
        gap: 24px 20px;
    }

    .cs-card {
        width: calc((100% - 40px) / 3);
    }

    .cs-body {
        padding: 22px 20px 20px;
    }

    .cs-name {
        font-size: 19px;
    }
}

@media only screen and (max-width: 1024px) {
    .cs-list {
        width: 90%;
    }

    .cs-card {
        width: calc((100% - 22px) / 2);
    }

    .cs-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 0;
    }

    .cs-flow .st:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
}

@media only screen and (max-width: 768px) {
    .cs-list {
        width: 90%;
        margin-top: 0.28rem;
        gap: 0.24rem;
    }

    .cs-card {
        width: 100%;
    }

    .cs-body {
        padding: 20px 18px 18px;
    }






    .cs-name {
        font-size: 18px;
    }



    .cs-note {
        width: 90%;
        text-align: left;
    }

    .cs-flow-band {
        margin-top: 0.66rem;
        padding-bottom: 0.6rem;
    }

    .cs-flow {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 0;
        margin-top: 0.34rem;
    }

    .cs-flow .st {
        padding: 0.22rem 0;
        border-left: 0;
        border-top: 1px solid #dde4ee;
    }

    .cs-flow .st:first-child {
        border-top: 0;
    }

    .cs-page .yggd_navline {
        white-space: normal;
        overflow: visible;
    }

    .cs-page .yggd_nav {
        width: 25%;
    }

    .cs-page .ab_content {
        padding-left: 22px;
        padding-right: 22px;
        box-sizing: border-box;
    }

    .cs-page .abc_1 {
        font-size: 15px;
        line-height: 1.5;
    }

    .cs-page .abc_2 {
        font-size: 12px;
        line-height: 1.75;
        padding: 0 2px;
        color: rgba(255, 255, 255, .86);
        text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
    }

    .cs-cta {
        padding: 0.6rem 0 0.62rem;
    }

    .cs-cta .ct {
        font-size: 22px;
    }

    .cs-cta .cs-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.14rem;
    }

    .cs-cta .cs-btns a {
        width: 3.6rem;
    }
}

@media only screen and (max-width: 768px) {
    .cd-page .ab_content {
        padding-top: 1.3rem;
        padding-left: 22px;
        padding-right: 22px;
        box-sizing: border-box;
    }

    .cd-page .ab_title {
        font-size: 0.5rem;
        letter-spacing: 0.03rem;
    }

    .cd-page .abc_1 {
        margin-top: 0.18rem;
        font-size: 0.24rem;
        line-height: 1.5;
    }

    .cd-body {
        width: 90%;
        margin-top: 0.4rem;
    }

    .cd-panel {
        padding: 24px 20px 22px;
        border-radius: 12px;
    }

    .cd-spec .row {
        gap: 12px;
        padding: 14px 0;
    }

    .cd-spec dt {
        width: 44px;
        font-size: 13px;
    }

    .cd-spec dd {
        font-size: 14px;
    }

    .cd-gal {
        margin-top: 16px;
        padding: 22px 20px 24px;
        border-radius: 12px;
    }

    .cd-shots {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 20px;
    }

    .cd-pager {
        gap: 10px;
        margin-top: 26px;
        padding-top: 20px;
    }

    .cd-pager a i {
        font-size: 11px;
        letter-spacing: 0;
    }

    .cd-pager a b {
        font-size: 13px;
    }

    .cd-pager .back {
        font-size: 13px;
    }
}
