/* 首页 */
/* 居中 */
.wrapper{
    margin: 0 auto;
    width: 1400px;
    max-width: 95%;
}

body{
    background-color: #f5f7fa;
}

/* 确保内容区域有足够的上边距，避免被固定导航栏遮挡 */
.main-content {
    margin-top: 0;
}



/* banner */
.banner{
    height: 420px;
    background-color: #0092cb;
}

.banner .wrapper{
    display: flex;
    justify-content: space-between;
    height: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner .wrapper .left{
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    background-color: rgba(0, 0, 0, 0.42);
}

.banner .wrapper .left a{
    display: block;
    height: 46px;
    padding-right: 20px;
    position: relative;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}

.banner .wrapper .left a::after {
    content: "→";
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.banner .left a:hover{
    color: #fff;
    transform: translateX(5px);
}

.banner .left a:hover::after {
    transform: translateX(5px);
}

.banner .right{
    width: 250px;
    height: 340px;
    margin-top: 40px;
    background-color: #00a4ff;
    border-radius: 20px;
}

.banner .right h3{
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    color: #fff;
    font-weight: 400px;
}

.banner .right .content{
    height: 292px;
    background-color: #fff;
    border-radius: 20px;
    padding: 14px 14px;
}


.banner .content dl{
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .content dt{
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.banner .content dd{
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}

.banner .content dd span{
    color: #00a4ff;
}

.banner .content dd strong{
    color: #7d7d7d;
    font-weight: 400;
}

.banner .right a{
    display: block;
    height: 32px;
    background-color: #00a4ff;
    text-align: center;
    line-height: 32px;
    border-radius: 15px;
    color: #000;
}

.banner .right a:hover{
    color: #fff;
}

.recommend{
    padding:0 20px;
    margin-top: 11px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    line-height: 60px;
    display: flex;
}

.recommend h3{
    font-size: 18px;
    color: #00a4ff;
    font-weight: 400;
}

.recommend ul{
    /* 除去标题和修改兴趣的尺寸，父级剩余尺寸都给ul，实现把修改兴趣挤到最右侧 */
    flex: 1;
    display: flex;
}

.recommend ul li a{
    padding: 0 24px;
    border-right: 1px solid #e0e0e0;
    font-size: 18px;
}

.recommend ul li:last-child a{
    border-right: 0;
}

.recommend ul li a:hover{
    color: #00a4ff;
}

.recommend .modify{
    font-size: 16px;
    color: #00a4ff;
}

/* 推荐课程 */
.course{
    margin-top: 15px;
}


.hd{
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
}

.hd h3{
    font-size: 21px;
    font-weight: 400;
}

.hd .more{
    padding-right: 24px;
    position: relative;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.hd .more::after {
    content: "→";
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.hd .more:hover {
    color: #667eea;
}

.hd .more:hover::after {
    transform: translateX(5px);
}

.bd ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
  
.bd li{
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    background-color: pink;
 
}

.bd li .pic{
    height: 156px;
}

.bd li .pic img{
    height: 156px;
    width: 228px;
}
.bd li .text{
    padding: 20px;
    height: 115px;
    background-color: #fff;
}

.bd li .text h4{
    height: 40px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.bd li .text p {
    font-size: 14px;
    line-height: 20px;
    color: #999;
}

.bd li .text p span{
    color: #fa6400;
}

.bd li .text p i{
    font-style: normal;
}

.hd ul{
    display: flex;
}
.hd li{
    margin-right: 60px;
    font-size: 16px;
}

.hd li .active{
    color: #00a4ff;
}

.bd{
    display: flex;
    justify-content: space-between;
}

.bd .left{
    width: 228px;
    background-color: pink;
}

.bd .right{
    width: 957px;
    background-color: pink;
}

.bd .right .top{
    margin-bottom: 15px;
    height: 100px;
}

.bd .right .top img{
    height: 100px;
    width: 957px;
}

.footer{
    margin-top: 60px;
    padding-top: 60px;
    height: 273px;
    background-color: #fff;
}

.footer .wrapper{
    display: flex;
    justify-content: space-between;
}

.footer .left{
    width: 440px;
    /* background-color: pink; */
}

.footer .left p{
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer {
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.footer .wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.footer .left {
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.footer .left .download{
    box-sizing: border-box !important;
    max-width: 100% !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 120px;
    height: auto !important;
    padding: 10px 24px !important;
    border: none !important;
    text-align: center;
    line-height: normal !important;
    color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
}

.footer .right {
    display: flex;
}

.footer .right dl{
    margin-left: 130px;
}

.footer .right dl dt{
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
}

.footer .right a{
    font-size: 14px;
    color: #666;
    line-height: 24px;
}