@charset "utf-8";

.container {
    width: 100%;
    padding: 0 .8rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.box-container {
    width: 14rem;
    margin: 0 auto; 
    position: relative;
    z-index: 0;
}


header {
    position: absolute;
    top: 0;
    left: 0;
    padding: .16rem 0;
    z-index: 999999;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

header.blk {
    position: relative;
    background-color: #2D2D2D;
}

header::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    top: 0;
    content: '';
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.3;
    opacity: 0.3;
}

.search-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    overflow: auto;
    background: rgba(255,255,255,0.80);
    -webkit-transform: translateY(101%);
    -ms-transform: translateY(101%);
    transform: translateY(101%);
    transition: all 700ms ease;
    -moz-transition: all 700ms ease;
    -webkit-transition: all 700ms ease;
    -ms-transition: all 700ms ease;
    -o-transition: all 700ms ease
}

.search-popup.popup-visible {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    visibility: visible;
    opacity: 1
}

.search-popup .popup-inner {
    width: 100%;
    height: 100%;
    background: #FF3333;
}

.search-popup .upper-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem .7rem
}

.search-popup .overlay-layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block
}

.search-popup .close-search {
    position: relative;
    width: 0.5rem;
    cursor: pointer;
    z-index: 5;
    transition: all 500ms ease
}


.search-popup .search-form {
    position: relative;
    width: 100%;
    padding: 1rem .7rem
}

.search-popup .search-form .form-group {
    position: relative;
    margin: 0
}
.search-popup .search-form fieldset {
    display: flex;    
}
.search-popup .search-form fieldset input[type="text"] {
    position: relative;
    flex: 1;
    height: .9rem;
    padding: .2rem .5rem;
    background: #fff;
    line-height: .3rem;
    font-size: .24rem;
    color: #808080;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #e5e5e5
}

.search-popup .search-form fieldset input[type="submit"] {
    display: block;
    width: 30%;
    height: .9rem;
    font-size: 22px;
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: #FF3333;
    cursor: pointer;
    transition: all 500ms ease
}

.search-popup .search-form fieldset input[type="text"]:focus {
    border-color: #141417
}

.search-popup .form-control:focus {
    box-shadow: none!important
}




.logo {
    display: block;
    width: 1.4rem;
}
.logo img {
    width: 100%;
}
nav ul {
    display: flex;
    margin-left: 0.7rem;
}
nav ul li {
    margin: 0 .16rem;
}
nav ul li a {
    font-size: .16rem;
    color: #FFFFFF;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
    transition: all 0.3s;
}
nav ul li a:hover,nav ul li.current-menu-item a,nav ul li.current-category-ancestor a ,nav ul li.current-menu-parent a{
    color: #FF3333;
}

.search {
    width: 0.22rem;
}

.user-profile {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.user-profile .avatar {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    margin-left: .28rem;
}

.login {
    margin-left: 0.32rem;
    font-size: 0.16rem;
    color: #ffffff;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}

.padding {
     padding: 1rem 0;
     background-color: #ffffff;
}
.gray {
    background-color: #F5F5F5;
}

.title {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title h3 {
    font-size: 0.48rem;
    color: #000000;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}
.title p {
    font-size: 0.16rem;
    color: #666666;

}
.title a {
    padding: .12rem .34rem;
    font-size: 0.16rem;
    border-radius: .25rem;
    color: #ffffff;
    background-color: #FF3333;
}

.common-box {
    margin-bottom: 1rem;
}
.common-box h3 {
    margin-bottom: 0.26rem;
    font-size: 0.4rem;
    color: #000000;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}

ul.common-list1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
ul.common-list1 li {
    width: 32%;
    margin-bottom: 0.75rem;
    padding: .25rem;
    border-radius: .08rem;
    background-color: #ffffff;
    transition: all .3s;
}
ul.common-list1 li {
    padding: 0;
    background-color: transparent;
}
ul.common-list1 li:hover {
    background-color: #F9F9F9;
}
ul.common-list1 li .img {
    position: relative;
    display: block;
    border-radius: .08rem;
    overflow: hidden;
}
ul.common-list1.video li .img::after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    opacity: .5;
    background-color: #000000;
    display: none;
    transition: all .3s;
}
ul.common-list1 li .img img,
ul.common-list1 li .img video {
    width: 100%;
    height: 2.5rem;
    object-fit: cover;
    transition: all .3s;
}
ul.common-list1 li:hover img {
    transform: scale(1.1);
}
ul.common-list1.video li:hover .img::after {
    display: block;
}
ul.common-list1.video .video-btn {
    position: absolute;
    width: 1rem;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    opacity: 0;
}
ul.common-list1.video li:hover .video-btn {
    opacity: 1;
}
ul.common-list1 li .content {
    padding: 0 .12rem .3rem;
    background-color: #F9F9F9;
}

ul.common-list1 li .content h3 {
    margin: 0;
    padding: 0.26rem 0;
}
ul.common-list1 li .content h3 a {
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
    display: block;
    font-size: 0.24rem;
    color: #333333;
    transition: all .3s;
}
ul.common-list1 li .content h3 span {
    font-size: 0.14rem;
    color: #666666;
}
ul.common-list1 li:hover .content h3 a {
    color: #FF3333;
}
ul.common-list1 li .content p {
    font-size: 0.14rem;
    color: #666666;
}
ul.common-list1 li .content .link {
    margin-top: 0.56rem;
    display: flex;
    align-items: center;
    font-size: 0.14rem;
    color: #FF3333;
}

ul.common-list1 li .content .link img {
    width: 0.05rem;
    margin-left: 0.05rem;
}
ul.common-list1 li .content .price {
    margin-top: 0.3rem;
    margin-bottom: -.4rem;
    font-size: 0.28rem;
    color: #FF3333;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}
ul.common-list1 li .content .more {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.48rem;
}
ul.common-list1 li .content .more span {
    padding: .1rem .2rem;
    font-size: 0.14rem;
    color: #ffffff;
    border-radius: .25rem;
    background-color: #FF3333;
}
ul.common-list1 li .content .avatar {
    margin-top: 0.48rem;
    font-size: 0.14rem;
    color: #999999;
}
ul.common-list1 li .content .avatar img {
    margin-right: 0.1rem;
    width: 0.2rem;
    border-radius: 50%;
    transition: all .3s;
}
ul.common-list1 li .content .avatar .desc {
    display: flex;
    flex-direction: column;
    font-size: 0.12rem;
}

ul.common-list1 li .content .comment-num {
    margin-top: 0.48rem;
    display: flex;
    align-items: center;
    font-size: 0.14rem;
    color: #999999;
}
ul.common-list1 li .content .comment-num  img {
    width: 0.16rem;
    margin-right: 0.04rem;
}
ul.common-list2 li {
    padding: .15rem;
    background-color: #F9F9F9;
}
ul.common-list2 li:hover {
    padding: 0;
}
ul.common-list2 li .content{
    padding: 0 .12rem .15rem;
}

.tranformSwiper {
    padding: .1rem 0 .5rem;
    overflow: hidden;
}
.tranformSwiper .swiper-slide {
    border-radius: .32rem;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.tranformSwiper .swiper-slide img {
    width: 100%;
}
.tranformSwiper .swiper-slide.swiper-slide-active {

}


.tranformSwiper .swiper-slide .content {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: .6rem .75rem;
}
.tranformSwiper .swiper-slide .content h3 {
    margin-bottom: 0.16rem;
    font-size: 0.28rem;
    color: #ffffff;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}
.tranformSwiper .swiper-slide .content .tags {
    display: flex;
    color: #ffffff;
}
.tranformSwiper .swiper-slide .content .tags li {
    margin-right: 0.3rem;
}

.teacher-box {
    display: flex;
}
.teacher-box .left {
    flex: 1;
}
.teacher-box .right {
    width: 34%;
    margin-left: 0.24rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.teacher-item {
    position: relative;
    border-radius: .12rem;
    overflow: hidden;
}
.right .teacher-item {
    margin-bottom: 0.24rem;
}
.right .teacher-item:last-of-type {
    margin-bottom: 0;
}
.teacher-item > a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.7;
    z-index: 1;
}
.teacher-item .top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: .2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.right .teacher-item .top {
    padding: .16rem;
}
.teacher-item .top .tag {
    padding: 0.04rem .18rem;
    background: rgba(255, 98, 0, 0.8);
    border-radius: .08rem;
    font-size: 0.18rem;
    color: #ffffff;
    text-transform: uppercase;
}
.right .teacher-item .top .tag {
    font-size: 0.16rem;
    padding: .03rem .14rem;
}
.teacher-item .top .star {
    display: flex;
    align-items: center;
    font-size: 0.16rem; 
    color: #ffffff;  
}
.right .teacher-item .top .star {
    font-size: 0.14rem;
}
.teacher-item .top .star img {
    width: 0.24rem;
    margin-right: 0.06rem;
}
.right .teacher-item .top .star img {
    width: 0.22rem;
    margin-right: 0.04rem;
}
.teacher-item .bg {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all .3s;
    z-index: 1;
}
.teacher-item:hover .bg {
    transform: scale(1.1);
}
.teacher-item .con {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    padding: .6rem .32rem;
    z-index: 2;
    color: #ffffff;
}
.right .teacher-item .con {
    width: 100%;
    padding: .26rem .3rem;
}
.teacher-item .con h3 {
    margin-bottom: 0.1rem;
}
.teacher-item .con h3 a {
    font-size: 0.26rem;
    color: #ffffff;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}
.right .teacher-item .con h3 {
    margin-bottom: 0.04rem;
}
.right .teacher-item .con h3 a {
    font-size: 0.22rem;
}
.teacher-item .con p {
    margin-bottom: 0.22rem;
    font-size: 0.14rem;
}
.teacher-item .con .info {
    display: flex;
    flex-wrap: wrap;
}
.right .teacher-item .con .info {
    justify-content: space-between;
}
.teacher-item .con .info .info-item {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.14rem;
}
.right .teacher-item .con .info .info-item {
    margin-right: 0;
    justify-content: space-between;
    font-size: 0.12rem;
}
.teacher-item .con .info .info-item img {
    width: 0.14rem;
    height: 0.14rem;
    margin-right: 0.06rem;
}


footer.footer {
    background-color: #666666;
}


footer .boxTop {
    padding: .7rem 0 .45rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}
footer .media {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer .media .logo {
    width: 2.2rem;
    margin-bottom: 0.2rem;
}

footer .links {
    margin-top: .2rem;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    border-bottom: none;
}
footer .links p {
    font-size: 0.14rem;
    margin: 0;
    font-size: 0.14rem;
    color: #ffffff;
}

footer .qrcode {
    margin-top: 0;
    color: #ffffff;
    justify-content: center;
    gap: 0.3rem;
}
footer .qrcode .item {
    text-align: center;
    margin-right: 0;
}
footer .qrcode .item img {
    width: 0.8rem;
    height: 0.8rem;
    margin-bottom: 0.14rem;
}
footer .qrcode .item h3 {
    font-size: 0.14rem;
}
footer .nav {
    align-items: flex-start;
}
footer .nav .item {
    margin-right: .9rem;
    color: #ffffff;
}
footer .nav .item:last-of-type {
    margin-right: 0;
}
footer .nav .item h3 {
    margin-bottom: 0.12rem;
    font-size: 0.16rem;
    font-family: "阿里巴巴普惠体 2.0 65 Medium";
}
footer .nav .item ul {}
footer .nav .item ul li {
    line-height: 2; 
}
footer .nav .item ul li a  {
    font-size: 0.14rem;
    color: #ffffff;
    transition: all .3s;
}
footer .nav .item ul li a:hover {
    color: #FF3333;
}
.copyright {
    padding: .24rem 0;
    font-size: 0.14rem;
    color: #ffffff;
}
.copyright a {
    font-size: 0.14rem;
    color: #ffffff;
    transition: all .3s;
}
.copyright a:hover {
    color: #FF3333;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination li {
    display: inline-block;
    margin: 0 5px;
}


.pagination a {
    font-size: 0.18rem;
    color: #333333;
    margin: 0 .1rem;
}

.pagination ul li.page a {
    position: relative;
}

.pagination ul li.page a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 1px;
    opacity: 0;
    background-color: #FF3333;
}


.pagination ul li.page a:hover {
    background-color: #f9f9f9;
    color: #FF3333;
}


.pagination ul li.page a:hover::after {
    opacity: 1;
}


.pagination a.active {

}
/* 禁用状态的样式 */
.pagination a.disabled {
    color: #ACACAC;
    cursor: not-allowed;
    pointer-events: none;
}


.pagination a.next,
.pagination a.prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background-color: #666666;
}

.pagination a.next img,
.pagination a.prev img {
    width: 0.05rem;
}

.user-profile-wrapper {
    position: relative;
}

.user-profile .avatar {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    cursor: pointer;
}

.logout-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 0.02rem 0.08rem rgba(0,0,0,0.1);
    border-radius: 0.04rem;
    padding: 0.08rem;
    display: none;
    z-index: 100;
    padding-top: 0.15rem;
}

.logout-dropdown:before {
    content: '';
    position: absolute;
    top: 0.11rem;
    right: 0.14rem;
    width: 0.08rem;
    height: 0.08rem;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -0.02rem -0.02rem 0.02rem rgba(0,0,0,0.02);
}

.logout-btn {
    color: #333;
    text-decoration: none;
    font-size: 0.14rem;
    display: block;
    padding: 0.05rem 0.15rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.logout-btn:hover {
    color: #f00;
}

/* 添加一个透明的过渡区域 */
.user-profile-wrapper:after {
    content: '';
    position: absolute;
    height: 0.15rem;
    width: 100%;
    top: 100%;
    left: 0;
}

.user-profile-wrapper:hover .logout-dropdown {
    display: block;
}