﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
body {
    background-color: #f1f3f4;
    font-family: PingFang SC;
}
.main {
    width: 1440px;
    margin: 0 auto;
    display: flex;
}
.nav {
    width: 228px;
    height: auto;
    background-color: #fff;
}
.sticky {
    width: 100%;
    background: url("./image/nav-background.png") no-repeat;
    background-size: 100%;
    position: sticky;
    top: 0;
}
.logo {
    width: 179px;
    height: 24px;
    margin: 24px;
}
ul li {
    list-style: none;
    margin: 20px 0;
    padding-left: 45px;
}
ul li span {
    display: inline-block;
    width: 20px;
    height: 20px;
}
.icon1 {
    background: url("./image/icon1.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 3px;
    margin-right: 8px;
}
.icon2 {
    background: url("./image/icon2.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 3px;
    margin-right: 8px;
}
.icon3 {
    background: url("./image/icon3.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 3px;
    margin-right: 8px;
}
.icon4 {
    background: url("./image/icon4.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 3px;
    margin-right: 8px;
}
.icon5 {
    background: url("./image/icon5.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 3px;
    margin-right: 8px;
}
ul li a {
    line-height: 40px;
    color: #2f3133;
}
.content {
    flex: 1;
    background-color: #f6f7f8;
    padding: 40px;
}
.snf-page {
}
h4 {
    height: 55px;

    background: url("./image/title-background.png") no-repeat;
    background-size: 145px 100%;
    position: relative;
    margin-bottom: 40px;
}
h4 span {
    color: #fff;
    position: absolute;
    left: 50px;
    bottom: 8px;
}
.item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 70px;
}
.card {
    width: 355px;
    height: 94px;
    padding: 16px;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    margin-left: 32px;
    margin-bottom: 32px;
    position: relative;
}
.card:nth-child(3n + 1) {
    margin-left: 0;
}
.card:hover {
    box-shadow: 0 0 8px 0 #0000001a;
}

.card img {
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-right: 12px;
}
.card dl {
    display: inline-block;
    width: 240px;
}
.card dt {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 6px;
}
.card dd {
    font-size: 12px;
    line-height: 18px;
    color: #8d9092;
    display: -webkit-box; /* 启用弹性盒子布局 */
    -webkit-box-orient: vertical; /* 垂直排列 */
    -webkit-line-clamp: 2; /* 限制显示行数 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 添加省略号 */
    word-break: break-all; /* 允许单词内换行 */
}
.footer {
    height: 112px;
}
.footer img {
    width: 150px;
    height: 32px;
    margin-bottom: 24px;
}
.footer p {
    font-size: 12px;
    color: #8d9092;
}
.footer p span {
    margin-right: 240px;
}

@media screen and (max-width: 1320px) {
    .main {
        width: 1200px;
    }
    .logo {
        width: 150px;
        height: 20px;
        margin: 20px;
    }
    ul li span {
        width: 16px;
        height: 16px;
        top: 2px !important;
    }
    .nav {
        width: 190px;
    }
    ul li {
        padding-left: 30px;
    }
    .card {
        width: 292px;
        height: 78px;
        margin-left: 26px;
        margin-bottom: 26px;
        padding: 14px;
    }

    .card img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    .card dl {
        width: 195px;
    }
    .card dt {
        font-size: 14px;
        line-height: 14px;
        margin-bottom: 6px;
    }
    .card dd {
        font-size: 12px;
        line-height: 15px;
    }
    .footer p span {
        margin-right: 150px;
    }
}
