/* index9 — 学校人物：杏林长卷（横向卷轴浏览） */
.SchoolFigures-scroll {
    --sf-blue: #004b8d;
    --sf-ink: #243040;
    --sf-muted: #6a7583;
    --sf-line: rgba(0, 75, 141, 0.14);
    --sf-paper: #f4f7fa;
    --sf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    width: 1232px;
    margin: 15px auto 0;
    background: #fff;
    border-radius: 7px;
    padding: 9px 20px 18px;
    border: 2px solid #ccc;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
}

.SchoolFigures-scroll .sf-scroll-stage {
    position: relative;
    margin-top: 4px;
    padding: 22px 8px 10px;
    border-radius: 6px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 38%),
        radial-gradient(ellipse 90% 70% at 12% 20%, rgba(0, 75, 141, 0.045) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 88% 80%, rgba(90, 120, 100, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--sf-paper) 0%, #eef2f6 100%);
}

.SchoolFigures-scroll .sf-scroll-stage::before,
.SchoolFigures-scroll .sf-scroll-stage::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    width: 18px;
    z-index: 3;
    pointer-events: none;
    border-radius: 3px;
    background:
        linear-gradient(90deg, rgba(36, 48, 64, 0.08), transparent);
    box-shadow: inset 0 0 0 1px rgba(0, 75, 141, 0.06);
}

.SchoolFigures-scroll .sf-scroll-stage::before {
    left: 0;
}

.SchoolFigures-scroll .sf-scroll-stage::after {
    right: 0;
    transform: scaleX(-1);
}

.SchoolFigures-scroll .sf-scroll-rail {
    position: absolute;
    left: 36px;
    right: 36px;
    top: 46px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--sf-line) 8%,
        var(--sf-line) 92%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.SchoolFigures-scroll .sf-scroll-rail::before,
.SchoolFigures-scroll .sf-scroll-rail::after {
    content: "";
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 75, 141, 0.28);
}

.SchoolFigures-scroll .sf-scroll-rail::before {
    left: 0;
}

.SchoolFigures-scroll .sf-scroll-rail::after {
    right: 0;
}

.SchoolFigures-scroll .sf-scroll-swiper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 8px 28px 6px;
}

.SchoolFigures-scroll .sf-scroll-swiper .swiper-slide {
    width: 168px;
    height: auto;
}

.SchoolFigures-scroll .sf-scroll-panel {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-top: 10px;
    transition: transform 0.45s var(--sf-ease);
}

.SchoolFigures-scroll .sf-scroll-panel:hover {
    transform: translateY(-4px);
}

.SchoolFigures-scroll .sf-scroll-photo {
    position: relative;
    width: 132px;
    height: 176px;
    margin: 0 auto;
    border-radius: 4px 4px 48% 48% / 4px 4px 18% 18%;
    overflow: hidden;
    background: #e4ebf2;
    box-shadow:
        0 0 0 1px rgba(0, 75, 141, 0.12),
        0 10px 24px rgba(36, 48, 64, 0.1);
    transition:
        box-shadow 0.45s var(--sf-ease),
        transform 0.45s var(--sf-ease);
}

.SchoolFigures-scroll .sf-scroll-panel:hover .sf-scroll-photo {
    box-shadow:
        0 0 0 1px rgba(0, 75, 141, 0.22),
        0 14px 28px rgba(36, 48, 64, 0.14);
}

.SchoolFigures-scroll .sf-scroll-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--sf-ease), filter 0.45s ease;
    filter: saturate(0.92) contrast(1.02);
}

.SchoolFigures-scroll .sf-scroll-panel:hover .sf-scroll-photo img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.04);
}

.SchoolFigures-scroll .sf-scroll-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(20, 32, 48, 0.18) 100%
    );
    pointer-events: none;
}

.SchoolFigures-scroll .sf-scroll-seal {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.SchoolFigures-scroll .sf-scroll-seal h5 {
    margin: 0;
    padding: 0 2px;
    writing-mode: horizontal-tb;
    letter-spacing: 0.04em;
    font-size: 16px;
    font-weight: 700;
    color: var(--sf-blue);
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.SchoolFigures-scroll .sf-scroll-desc {
    margin: 10px 6px 0;
    min-height: 40px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--sf-muted);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.SchoolFigures-scroll .sf-scroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
    padding-bottom: 2px;
}

.SchoolFigures-scroll .sf-scroll-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 75, 141, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--sf-blue);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.SchoolFigures-scroll .sf-scroll-btn:hover {
    background: var(--sf-blue);
    border-color: var(--sf-blue);
    color: #fff;
    transform: translateY(-1px);
}

.SchoolFigures-scroll .sf-scroll-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.SchoolFigures-scroll .sf-scroll-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    background: rgba(0, 75, 141, 0.22);
    opacity: 1;
    transition: width 0.35s var(--sf-ease), background 0.35s ease, border-radius 0.35s ease;
}

.SchoolFigures-scroll .sf-scroll-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 4px;
    background: var(--sf-blue);
}

@media (max-width: 1280px) {
    .SchoolFigures-scroll {
        width: auto;
        margin-left: 12px;
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .SchoolFigures-scroll .sf-scroll-swiper .swiper-slide {
        width: 148px;
    }

    .SchoolFigures-scroll .sf-scroll-photo {
        width: 118px;
        height: 156px;
    }

    .SchoolFigures-scroll .sf-scroll-seal h5 {
        font-size: 15px;
        white-space: normal;
    }
}
