/* index2 — 一行四列轮播，与首页模块风格一致 */
.SchoolFigures-grid {
    width: 1232px;
    margin: 15px auto 0;
    background: #fff;
    border-radius: 7px;
    padding: 9px 20px 16px 20px;
    border: 2px solid #ccc;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
}

.SchoolFigures-grid .sf-swiper-grid {
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 14px;
    position: relative;
}

.SchoolFigures-grid .sf-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.SchoolFigures-grid .sf-grid li {
    height: auto;
}

.SchoolFigures-grid .sf-grid a {
    display: block;
    text-decoration: none;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.SchoolFigures-grid .sf-grid a:hover {
    border-color: #d8d8d8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.SchoolFigures-grid .sf-thumb {
    height: 150px;
    overflow: hidden;
    background: #eee;
}

.SchoolFigures-grid .sf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.SchoolFigures-grid .sf-grid a:hover .sf-thumb img {
    transform: scale(1.04);
}

.SchoolFigures-grid .sf-text {
    padding: 12px 14px 14px;
    border-top: 2px solid #004b8d;
    background: #fff;
}

.SchoolFigures-grid .sf-text h5 {
    font-size: 15px;
    color: #004b8d;
    font-weight: bold;
    margin: 0 0 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.SchoolFigures-grid .sf-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin: 0;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.SchoolFigures-grid .sf-grid a:hover .sf-text h5 {
    color: #1a73c1;
}

.SchoolFigures-grid .sf-swiper-grid .swiper-pagination {
    bottom: 0;
    margin-top: 14px;
    position: relative;
}

.SchoolFigures-grid .sf-swiper-grid .swiper-pagination span {
    width: 8px;
    height: 8px;
    background: #b5afaf;
    opacity: 1;
    margin: 0 6px !important;
}

.SchoolFigures-grid .sf-swiper-grid .swiper-pagination span.swiper-pagination-bullet-active {
    background: #004b8d;
    transform: scale(1.3);
}

@media (min-width: 1px) and (max-width: 1268px) {
    .SchoolFigures-grid {
        width: 100%;
        padding: 0;
    }
}
