body {
    margin: 0;
}
h2,h3,h4,h5 {
    margin: 0;
}
ul,ol {
    margin: 0;
}
a {
    text-decoration: none;
}
.ds-home {
    height: 100%;
}

.ds-header{
    height: 40px;
    border-bottom: #ddd 1px solid;
}
.ds-header .logo {
    float: left;
    padding: 7px 0 0 7px;
    display: flex;
}
.ds-header .logo img {
    height: 26px;
}
.ds-header .logo h2 {
    font-size: 16px;
    font-weight: normal;
    padding-left: 10px;
    line-height: 27px;
    color: rgb(188.5, 165.5, 224);
}
.ds-header .social {
    float: right;
    font-size: 14px;
    line-height: 22px;
    padding: 9px 10px 0 0;
    color: #bbb;
}
.ds-header .social span {
    display: inline-block;
    color: #7a4cc1;
    background-color: rgb(215.1, 201.3, 236.4);
    padding: 0 5px;
    text-shadow: 1px 1px 1px #fff;
}
.ds-header .about {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 14px;
    color: #666;
}
.ds-header .about:hover {
    color: rgb(122, 76, 193);
}

.top-banner {
    text-align: center;
    margin-top: 30px;
    p {
        width: 1060px;
        margin: 0 auto;
        text-align: right;
        font-size: 12px;
        color: #ccc;
        em {
            font-style: normal;
            font-weight: bold;
            color: rgba(122, 76, 193, .6);
            padding: 0 2px;
        }
    }
}
.ds-home .top {
    width: 1060px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
}
.ds-home .top a {
    position: relative;
    width: 300px;
    height: 220px;
    margin-bottom: 20px;
    overflow: hidden;
    border: rgb(188.5, 165.5, 224) 1px solid;
    box-shadow: 7px 7px 0 rgb(228.4, 219.2, 242.6);
    cursor: pointer;
}
.ds-home .top a h4 {
    position: absolute;
    font-size: 14px;
    background-color: rgba(122, 76, 193, .6);
    color: #fff;
    text-shadow: 1px 1px 1px #623d9a;
    padding: 2px 6px;
}

.ds-home .top a.course {
    background-image: url('./_assets/pic/for-course.png');
    background-position: -50px -50px;
    background-repeat:no-repeat;
    background-color: #f5f1fa;
}
.ds-home .top a.course h4 {
    bottom: 15px;
    left: 15px;
}

.ds-home .top a.toolset {
    background-image: url('./_assets/pic/for-toolset.png');
    background-position: 60px -70px;
    background-repeat:no-repeat;
    background-color: #f5f1fa;
    background-size: auto 256px;
}
.ds-home .top a.toolset img {
    margin-left: 10px;
    margin-top: -30px;
}
.ds-home .top a.toolset h4 {
    bottom: 15px;
    right: 15px;
}



.ds-home .top a:hover {
    border: rgb(122, 76, 193) 1px solid;
    box-shadow: 7px 7px 0 rgb(215.1, 201.3, 236.4);
}
.ds-home .top a:hover h4 {
    background-color: #623d9a;
}

/*自助建站特殊样式*/
.ds-home .top a.site {
    background-color: #f5f1fa;
    text-align: center;
}
.ds-home .top a.site h4 {
    top: 15px;
    left: 15px;
}
.ds-home .top a.site img {
    position: absolute;
    top: 25px;
    left: 90px;
    transform: rotate(45deg);
}

.ds-footer {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
    background-color: #f2f2f2;
}
.ds-footer a {
    text-decoration: none;
    color: #999;
}

/*
    下属各站点的推荐链接
*/
.ds-recom {
    margin: 50px 0 1px;
    > section {
        margin: 0px auto;
        border-bottom: #fff 1px solid;
        &.recom-est {
            background-color: rgb(241.7, 237.1, 248.8);
            img {
                border: rgb(188.5, 165.5, 224) 2px solid;
                box-shadow: 9px 9px 0 rgb(215.1, 201.3, 236.4);
            }
            dl {
                width: 400px;
                margin-bottom: 0!important;
            } 
            dt {
                font-weight: normal!important;
                margin-bottom: 5px!important;
            }
            dd {
                margin-inline-start: 0!important;
                background-color: #f5f1fa;
                border: rgb(215.1, 201.3, 236.4) 1px dashed;
                padding: 15px 0 8px 45px;
            }
        }
        &.recom-course {
            img {
                border: rgb(199.5, 201, 204) 2px solid;
                box-shadow: 9px 9px 0 rgb(232.8, 233.4, 234.6);
            }
            ol {
                margin-left: 40px;
                .body {
                    height: 65%;
                    gap: 15px!important;
                    dl {
                        height: 100%;
                        background-color: #f5f5f5;
                        padding: 20px;
                    }
                }
            }
        }
        &.recom-toolset {
            background-color: #fef0f0;
            img {
                border: rgb(248, 152.1, 152.1) 2px solid;
                box-shadow: 9px 9px 0 rgb(252, 210.9, 210.9);
            }
            ol {
                margin-right: 50px;
            }
        }
        .inner {
            margin: 0 auto;
            width: 1060px;
            padding: 70px 0;
            display: flex;
            > ol {
                flex: 1;
                .title {
                    display: flex;
                    gap: 20px;
                    margin-bottom: 35px;
                    align-items: center;
                    h2 {
                        text-shadow: 1px 1px 1px #fff;
                    }
                    > a {
                        font-size: 12px;
                        color: #7a4cc1;
                        padding: 2px 5px;
                        background-color: rgb(215.1, 201.3, 236.4);
                        text-shadow: 1px 1px 1px #fff;
                        &:hover {
                            color: #fff!important;
                            background-color: #7a4cc1!important;
                            text-shadow: 1px 1px 1px rgb(97.6, 60.8, 154.4);
                        }
                    }
                }
                
                .body {
                    display: flex;
                    gap: 30px;
                    color: #555;
                    &.flex-col {
                        display: flex; flex-direction: column;
                    }
                    .desc {
                        font-size: 14px; padding-left: 20px; color: #999;
                    }
                }
                dl {
                    flex: 1;
                    margin-bottom: 30px;
                    dt {
                        margin-bottom: 15px;
                        font-weight: bold;
                    }
                    dd {
                        margin-inline-start: 20px;
                        li {
                            font-size: 14px;
                            list-style-type: disc;
                            line-height: 18px;
                            margin-bottom: 8px;
                        }
                    }
                    .more {
                        display: inline-block;
                        font-size: 12px;
                        background-color: rgb(215.1, 201.3, 236.4);
                        color: #7a4cc1;
                        text-shadow: 1px 1px 1px #fff;
                        padding: 1px 8px;
                        margin-top: 10px;
                        &:hover {
                            background-color:#7a4cc1;
                            color: #fff;
                            text-shadow: none;
                        }
                    }
                }
                li a {
                    color: #7a4cc1;
                    &:hover {
                        text-decoration: underline;
                        color: rgb(97.6, 60.8, 154.4);
                    }
                }
                
            }
            .img {
                width: 450px;
                img {
                    width: 100%;
                }
            }
        }
            
            
    }
}