/* ============================================================
   拾山科技 · 客户案例（列表页 / 详情页 / 首页案例区 共用）
   风格对齐站点：纯黑底 #050505 · 白字 · 金色强调 #F5A623
   引用方式：/wp-content/uploads/custom/NewFolder/assets/css/shishan-cases.css?v=20261023
   注意：所有选择器以 .shishan-case 前缀收敛，避免污染站点原有样式
   ============================================================ */

.shishan-cases {
    position: relative;
    background: #050505;
    color: #fff;
    padding: 150px 0 110px;
    overflow: hidden;
}

.shishan-cases--home {
    padding: 32px 0 88px;
}

.shishan-cases__wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 顶部光斑：与站点 hero 的暗色高级感一致 */
.shishan-cases::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, .13) 0%, rgba(245, 166, 35, 0) 70%);
    pointer-events: none;
}

/* ---------- 头部 ---------- */
.shishan-cases__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.shishan-cases__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: .22em;
    color: #F5A623;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.shishan-cases__kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: #F5A623;
}

.shishan-cases__title {
    font-family: "Instrument Serif", "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: .01em;
}

.shishan-cases__title em {
    font-style: italic;
    color: #F5A623;
}

.shishan-cases__desc {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .58);
    max-width: 620px;
    margin: 0;
}

.shishan-cases__head-right {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 6px;
}

.shishan-cases__stat {
    border-left: 1px solid rgba(255, 255, 255, .16);
    padding-left: 22px;
}

.shishan-cases__stat b {
    display: block;
    font-family: Georgia, serif;
    font-size: 40px;
    line-height: 1;
    color: #fff;
}

.shishan-cases__stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .08em;
}

/* ---------- 卡片网格 ---------- */
.shishan-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.shishan-case-card {
    position: relative;
    display: block;
    padding: 0 34px 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color .28s ease, transform .28s ease, background .28s ease;
}

.shishan-case-card:hover {
    border-color: rgba(245, 166, 35, .55);
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(245, 166, 35, .07), rgba(255, 255, 255, .02));
}

/* 封面图 */
.shishan-case-card__media {
    margin: 0 -34px 24px;
    height: 205px;
    overflow: hidden;
    position: relative;
}

.shishan-case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.shishan-case-card:hover .shishan-case-card__media img {
    transform: scale(1.045);
}

/* 客户 logo（白底圆角条，叠在封面图底部；统一尺寸保证四张卡一致） */
.shishan-case-card__logo-pill {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 48px;
    background: #fff;
    border-radius: 8px;
    padding: 0 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.shishan-case-card__logo-pill img {
    max-height: 30px;
    max-width: 122px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 方形徽章类 logo 同样落在统一白条里，仅居中缩小，保证四张卡完全一致 */
.shishan-case-card__logo-pill--square {
    width: 150px;
}

.shishan-case-card__logo-pill--square img {
    max-height: 32px;
    max-width: 40px;
    border-radius: 4px;
}

/* 名称行 + 圆形箭头 */
.shishan-case-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.shishan-case-card__row .shishan-case-card__name {
    margin: 0;
}

.shishan-case-card__name small {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .4);
    margin-top: 6px;
}

.shishan-case-card__arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #fff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.shishan-case-card:hover .shishan-case-card__arrow {
    background: #F5A623;
    border-color: #F5A623;
    color: #111;
    transform: translateX(3px);
}

/* 名称下的一句话成果（参照「降低询盘成本，提高品牌影响力」式短句） */
.shishan-case-card__line {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .62);
    margin: 10px 0 0;
}

/* 客户 logo */
.shishan-case-card__logo {
    height: 46px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.shishan-case-card__logo--boxed {
    background: #fff;
    padding: 5px 10px;
    height: 50px;
}

.shishan-case-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.shishan-case-card__tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .12em;
    color: #F5A623;
    border: 1px solid rgba(245, 166, 35, .38);
    border-radius: 999px;
    padding: 5px 14px;
    white-space: nowrap;
}

.shishan-case-card__no {
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
}

.shishan-case-card__name {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.shishan-case-card__name small {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    margin-top: 8px;
    letter-spacing: .04em;
}

.shishan-case-card__text {
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .62);
    margin: 0 0 22px;
}

.shishan-case-card__points {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shishan-case-card__points li {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .055);
    border-radius: 6px;
    padding: 6px 12px;
    margin: 0;
}

.shishan-case-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #F5A623;
    letter-spacing: .06em;
}

.shishan-case-card__more span {
    transition: transform .25s ease;
}

.shishan-case-card:hover .shishan-case-card__more span {
    transform: translateX(5px);
}

/* ---------- 详情页 ---------- */
.shishan-case-detail {
    background: #050505;
    color: #fff;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.shishan-case-detail::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -220px;
    top: -300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, .11) 0%, rgba(245, 166, 35, 0) 70%);
    pointer-events: none;
}

.shishan-case-detail__wrap {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.shishan-case-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    margin-bottom: 40px;
    letter-spacing: .06em;
}

.shishan-case-detail__back:hover {
    color: #F5A623;
}

.shishan-case-detail__tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    color: #F5A623;
    border: 1px solid rgba(245, 166, 35, .4);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

/* 详情页头图：图片 + 小 logo 徽章 */
.shishan-case-detail__hero {
    position: relative;
    margin: 0 0 28px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
}

.shishan-case-detail__hero-img {
    display: block;
    width: 100%;
    height: clamp(180px, 24vw, 300px);
    object-fit: cover;
    object-position: center;
}

.shishan-case-detail__hero .shishan-case-card__logo-pill {
    position: absolute;
    left: 20px;
    bottom: 20px;
    transform: none;
    height: 44px;
    width: 132px;
    padding: 0 12px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.shishan-case-detail__hero .shishan-case-card__logo-pill img {
    max-height: 26px;
    max-width: 108px;
}

.shishan-case-detail__hero .shishan-case-card__logo-pill--square {
    width: 132px;
    padding: 0 12px;
}

.shishan-case-detail__hero .shishan-case-card__logo-pill--square img {
    max-height: 28px;
    max-width: 36px;
    border-radius: 4px;
}

.shishan-case-detail__title {
    font-size: clamp(40px, 5.4vw, 74px);
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 22px;
    color: #fff;
}

.shishan-case-detail__title small {
    display: block;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    margin-top: 16px;
    letter-spacing: .04em;
}

.shishan-case-detail__lead {
    font-size: 19px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .7);
    max-width: 820px;
    margin: 0 0 46px;
}

/* 概览数据条 */
.shishan-case-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    margin-bottom: 64px;
}

.shishan-case-meta__item {
    padding: 26px 20px 26px 0;
}

.shishan-case-meta__item + .shishan-case-meta__item {
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.shishan-case-meta__label {
    font-size: 12px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 10px;
}

.shishan-case-meta__value {
    font-size: 17px;
    line-height: 1.55;
    color: #fff;
    font-weight: 600;
}

/* 正文分块 */
.shishan-case-block {
    margin-bottom: 58px;
}

.shishan-case-block__no {
    font-family: Georgia, serif;
    font-size: 15px;
    color: #F5A623;
    letter-spacing: .16em;
    margin-bottom: 14px;
}

.shishan-case-block__title {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0 0 22px;
}

.shishan-case-block p {
    font-size: 17px;
    line-height: 1.95;
    color: rgba(255, 255, 255, .72);
    margin: 0 0 18px;
}

.shishan-case-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.shishan-case-block ul li {
    position: relative;
    padding-left: 26px;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .78);
    margin: 0;
}

.shishan-case-block ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #F5A623;
}

.shishan-case-block ul li b {
    color: #fff;
}

/* 交付清单（两列小卡） */
.shishan-case-deliver {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shishan-case-deliver__item {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, .025);
}

.shishan-case-deliver__item h4 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 700;
}

.shishan-case-deliver__item p {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
    margin: 0;
}

/* 页尾 CTA + 其他案例 */
.shishan-case-cta {
    border: 1px solid rgba(245, 166, 35, .35);
    border-radius: 18px;
    padding: 40px 44px;
    background: linear-gradient(120deg, rgba(245, 166, 35, .1), rgba(255, 255, 255, .02));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.shishan-case-cta h3 {
    font-size: 26px;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
}

.shishan-case-cta p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
}

.shishan-case-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F5A623;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease;
}

.shishan-case-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 166, 35, .3);
}

.shishan-case-other {
    margin-top: 76px;
}

.shishan-case-other__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.shishan-case-other__head h3 {
    font-size: 24px;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.shishan-case-other__head a {
    font-size: 14px;
    color: #F5A623;
    text-decoration: none;
}

/* ---------- 移动端首页案例轮播 ---------- */
.shishan-case-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.shishan-case-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}

.shishan-case-dots span.on {
    background: #F5A623;
    width: 22px;
    border-radius: 5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .shishan-cases {
        padding: 120px 0 80px;
    }

    .shishan-cases--home {
        padding: 72px 0 72px;
    }

    .shishan-cases__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shishan-case-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shishan-case-meta__item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .shishan-case-meta__item:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .shishan-case-detail {
        padding: 118px 0 76px;
    }

    .shishan-case-deliver {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .shishan-cases__wrap,
    .shishan-case-detail__wrap {
        width: calc(100% - 32px);
    }

    .shishan-cases__head {
        margin-bottom: 36px;
    }

    .shishan-case-card {
        padding: 0 24px 24px;
    }

    .shishan-case-card__media {
        margin: 0 -24px 20px;
        height: 180px;
    }

    .shishan-case-card__name {
        font-size: 22px;
    }

    .shishan-case-detail__title {
        font-size: 34px;
    }

    .shishan-case-detail__logo {
        height: 48px;
        max-width: 190px;
    }

    .shishan-case-detail__logo--boxed {
        height: 56px;
    }

    .shishan-case-detail__lead {
        font-size: 16px;
    }

    .shishan-case-cta {
        padding: 28px 24px;
    }

    .shishan-case-cta h3 {
        font-size: 21px;
    }

    .shishan-case-block p,
    .shishan-case-block ul li {
        font-size: 15.5px;
    }

    /* 首页案例区改横向轮播（列表页保持堆叠） */
    .shishan-cases--home .shishan-cases__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin: 0 -16px;
        padding: 4px 16px 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .shishan-cases--home .shishan-cases__grid::-webkit-scrollbar {
        display: none;
    }

    .shishan-cases--home .shishan-case-card {
        flex: 0 0 84%;
        scroll-snap-align: center;
    }

    .shishan-cases--home .shishan-case-card__media {
        height: 180px;
        margin: 0 -24px 20px;
    }

    .shishan-case-dots {
        display: flex;
    }
}

/* ============================================================
   赋能信息补充（市场拓展 / 赋能方向 / 赋能前后销售额 / 增长率）
   2026-10-28 新增
   ============================================================ */

/* 赋能方向：一句话前加金色胶囊标签 */
.shishan-case-card__line-tag {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: .1em;
    color: #F5A623;
    background: rgba(245, 166, 35, .1);
    border: 1px solid rgba(245, 166, 35, .28);
    vertical-align: 1px;
    white-space: nowrap;
}

/* 市场拓展 */
.shishan-case-card__market {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .45);
}

/* 赋能前 / 赋能后 / 增长率 */
.shishan-case-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.shishan-case-card__metric {
    padding: 0 14px;
    border-left: 1px solid rgba(255, 255, 255, .08);
    min-width: 0;
}

.shishan-case-card__metric:first-child {
    padding-left: 0;
    border-left: 0;
}

.shishan-case-card__metric-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11.5px;
    line-height: 1.4;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .38);
}

.shishan-case-card__metric-value {
    display: block;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.shishan-case-card__metric-value i {
    font-family: inherit;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    margin-left: 3px;
}

.shishan-case-card__metric--growth .shishan-case-card__metric-value {
    color: #F5A623;
}

@media (max-width: 767px) {
    /* 手机端卡片只有 ~280px 宽，三列会把标签和数字都挤成两行：
       改成「两列 + 增长率通栏」，保证标签单行、数字不换行 */
    .shishan-case-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 14px;
    }

    .shishan-case-card__metric {
        padding: 0 12px;
    }

    /* 第 1、3 个项目不需要左分隔线 */
    .shishan-case-card__metric:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .shishan-case-card__metric--growth {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .shishan-case-card__metric--growth .shishan-case-card__metric-label {
        margin: 0;
    }

    .shishan-case-card__metric-label {
        font-size: 11px;
        letter-spacing: .02em;
        margin-bottom: 6px;
        white-space: nowrap;
    }

    .shishan-case-card__metric-value {
        font-size: 19px;
        white-space: nowrap;
    }

    .shishan-case-card__metric-value i {
        font-size: 10px;
        margin-left: 2px;
    }
}

/* ---------- 详情页：赋能概览（市场 / 方向 / 前后销售额 / 增长率） ---------- */
.shishan-case-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0 0;
    padding: 24px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.shishan-case-kpi__item {
    padding: 0 22px;
    border-left: 1px solid rgba(255, 255, 255, .1);
    min-width: 0;
}

.shishan-case-kpi__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.shishan-case-kpi__label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .4);
}

.shishan-case-kpi__value {
    display: block;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.shishan-case-kpi__value i {
    font-family: inherit;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    margin-left: 4px;
}

.shishan-case-kpi__item--growth .shishan-case-kpi__value {
    color: #F5A623;
}

.shishan-case-kpi__brief {
    margin: 26px 0 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .55);
}

.shishan-case-kpi__brief span {
    color: rgba(255, 255, 255, .35);
    margin-right: 6px;
}

.shishan-case-kpi__brief b {
    color: #fff;
    font-weight: 500;
}

.shishan-case-kpi__brief em {
    font-style: normal;
    color: rgba(255, 255, 255, .25);
    margin: 0 10px;
}

@media (max-width: 767px) {
    .shishan-case-kpi {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 18px;
    }

    .shishan-case-kpi__item {
        padding: 0;
        border-left: 0;
    }

    .shishan-case-kpi__value {
        font-size: 28px;
    }
}
