/* ============================================================
   #index14「30天体验期」
   移动优先：先讲清两段保障，再用旧图保留原设计痕迹。
   ============================================================ */

#index14 {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 50px;
    margin-bottom: 0;
    background-image: url(/assets/pages/index/img/index14_ph2.webp);
    background-image: -webkit-image-set(
            url("/assets/pages/index/img/index14_ph2.webp") 1x,
            url("/assets/pages/index/img/index14_ph2@2x.webp") 2x
    );
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 58%;
}

#index14 > * {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

@media (min-width: 769px) {
    #index14 {
        flex-direction: row;
        margin-bottom: 50px;
    }

}


#index14.i14-section {
    --i14-ink: #231f1c;
    --i14-text: #5d514b;
    --i14-line: rgba(80, 55, 42, .13);
    --i14-card: #fff;
    --i14-soft: #fff6f0;
    --i14-shadow: 0 10px 28px rgba(82, 41, 20, .07);
    display: block;
    margin: 0;
    padding-top: 36px;
    padding-bottom: 36px;
    color: var(--i14-ink);
    text-align: left;
}

#index14 *,
#index14 *::before,
#index14 *::after {
    box-sizing: border-box;
}

#index14 p,
#index14 h2,
#index14 h3,
#index14 figure {
    margin: 0;
}

#index14 .i14-panel {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

#index14 .i14-head {
    position: relative;
}

#index14 h2 {
    margin-top: 10px;
    color: var(--i14-ink);
    font-family: 'Noto Serif SC', 'Source Han Serif', 'PingFang SC', serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: 0;
}

#index14 .i14-badge {
    position: absolute;
    top: 0;
    right: 0;
}

#index14 .i14-badge img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
}

#index14 .i14-body {
    display: grid;
}

#index14 .i14-step {
    border: 1px solid var(--i14-line);
    background: var(--i14-card);
    padding: 16px;
}

#index14 .i14-step > span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 900;
}

#index14 .i14-step h3 {
    margin-top: 12px;
    color: var(--i14-ink);
    font-size: var(--font-size-18);
    font-weight: 900;
    line-height: 1.38;
}

#index14 .i14-step p {
    margin-top: 7px;
    color: var(--i14-text);
    font-size: var(--font-size-14);
    line-height: 1.68;
}

#index14 .i14-photo {
    overflow: hidden;
    background: #111;
    box-shadow: var(--i14-shadow);
}

#index14 .i14-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#index14[data-variant="2"] {
    background:
        linear-gradient(180deg, rgba(var(--clr-primary-rgb), .05), rgba(255, 255, 255, 0) 38%),
        #fff;
}

#index14[data-variant="2"] .i14-body {
    position: relative;
    gap: 10px;
    padding-left: 18px;
}

#index14[data-variant="2"] .i14-body::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 5px;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-primary), rgba(var(--clr-primary-rgb), .12));
    border-radius: 999px;
}

#index14[data-variant="2"] .i14-photo {
    order: 2;
    border-radius: 8px;
}

#index14[data-variant="2"] .i14-step {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(82, 41, 20, .06);
}

#index14[data-variant="2"] .i14-step::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -20px;
    width: 10px;
    height: 10px;
    background: var(--clr-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(var(--clr-primary-rgb), .16);
    z-index: 1;
}

#index14[data-variant="2"] .i14-step:first-of-type {
    order: 1;
}

#index14[data-variant="2"] .i14-step:last-child {
    order: 3;
}

#index14[data-variant="2"] .i14-step > span {
    min-height: 24px;
    padding: 0;
    color: var(--clr-primary);
    background: transparent;
    font-size: var(--font-size-14);
}

@media (min-width: 720px) {
    #index14.i14-section {
        padding: 52px 20px;
    }

    #index14 .i14-head {
        grid-template-columns: minmax(0, 1fr) 122px;
        gap: 24px;
    }

    #index14 .i14-badge img {
        width: 122px;
        height: 122px;
    }

    #index14 h2 {
        font-size: 34px;
    }

    #index14 .i14-head p {
        max-width: 42em;
        font-size: var(--font-size-16);
    }

    #index14 .i14-body {
        align-items: stretch;
    }

    

    #index14 .i14-photo img {
        height: 100%;
        aspect-ratio: auto;
    }

    #index14[data-variant="2"] .i14-body {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
        gap: 12px;
        padding-left: 0;
    }

    #index14[data-variant="2"] .i14-body::before,
    #index14[data-variant="2"] .i14-step::before {
        content: none;
    }

    #index14[data-variant="2"] .i14-photo {
        grid-column: 1;
        grid-row: 1 / 3;
        order: 0;
        border-radius: 8px;
    }

    #index14[data-variant="2"] .i14-step {
        grid-column: 2;
        border: 1px solid var(--i14-line);
        border-radius: 8px;
        box-shadow: var(--i14-shadow);
    }

}

@media (min-width: 980px) {
    #index14.i14-section {
        padding: 62px 24px;
    }

    #index14 .i14-head {
        grid-template-columns: minmax(0, 680px) 150px;
        justify-content: space-between;
    }

    #index14 .i14-badge img {
        width: 150px;
        height: 150px;
    }
}
