a,
aside,
body,
div,
footer,
html,
i,
img,
li,
nav,
p,
section,
ul {
    padding: 0;
    margin: 0
}

li {
    list-style: none
}

a {
    text-decoration: none
}

body {
    font-size: 12px;
    color: #4d4d4d;
    font-family: Helvetica Neue, Microsoft Yahei
}

.container,
.main,
body {
    background: #f3f6f8
}

.iconfont {
    color: #6b7386;
    padding-right: 4px
}

.container .main {
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    justify-content: center;
    align-items: center
}

.container .main .iconfont {
    font-size: 18px;
    color: #000
}

.set-scroll {
    background-color: #494f5e;
    border-radius: 0;
    width: 4px
}

.main #mainContent {
    max-width: 1200px
}

.main .box {
    overflow: hidden;
    margin: 20px 30px;
    background: #fff;
    padding-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 清除浮动 */
.main .box::after {
    content: "";
    display: table;
    clear: both;
}

/* 分类标题样式 */
.main .box .sub-category>div {
    padding: 15px 0 0 2.1%;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 卡片样式 */
.main .box .item {
    width: 20%;
    border: 1px solid #e4ecf3;
    box-shadow: 1px 2px 3px #f2f6f8;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    min-width: 200px;
    margin: 22px 0 0 2.1%;
    float: left;
    overflow: hidden;
    transition: all .3s
}

.main .box .item:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.main .box .item .no-logo {
    color: #3273dc;
    font-weight: 700;
    font-size: 14px
}

.main .box .item .no-logo a {
    color: #3273dc;
    transition: color 0.3s;
}

.main .box .item:hover .no-logo a {
    color: #667eea;
}

.main .box .item .logo {
    height: 40px;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #3273dc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 .1rem
}

.main .box .item .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    vertical-align: middle
}

.main .box .item .desc {
    color: gray;
    font-size: 12px;
    padding-top: 10px;
    height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

/* 头部标题样式 - 与 footer 宽度一致 */
.header-title {
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-title h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 头部描述样式 */
.header-title .header-desc {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: #888;
    font-weight: normal;
    letter-spacing: 1px;
}


/* 底部footer样式 - 与header-title宽度一致 */
.footer {
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: #666;
    font-size: 14px;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer p {
    margin: 3px 0;
}

/* ==================== 响应式布局 ==================== */
@media screen and (max-width: 481px) {

    .container .box .item,
    .main .box .item {
        width: 39%;
        min-width: 100px
    }

    .container .main {
        margin-left: 0
    }

    #menu-box {
        display: block
    }

    .header-title,
    .footer,
    .main .box {
        margin: 15px;
    }

    .header-title {
        padding: 15px;
    }

    .header-title h2 {
        font-size: 22px;
    }
}

@media screen and (min-width: 481px) {
    .container .left-bar {
        left: 0
    }
}

@media screen and (min-width: 482px) and (max-width: 789px) {

    .container .box .item,
    .main .box .item {
        width: 90%
    }
}

@media screen and (min-width: 790px) and (max-width: 1039px) {

    .container .box .item,
    .main .box .item {
        width: 43%
    }
}

@media screen and (min-width: 1040px) and (max-width: 1920px) {

    .container .box .item,
    .main .box .item {
        width: 20%
    }
}