@charset "utf-8";

@font-face {
    font-family: 'hongmeng';
    src: url(HarmonyOS_Sans_Regular.ttf);
}
.community-banner {
    width: 100%;
}
.community-banner img {
    width: 100%;
    display: block;
}
.community-sou {
    width: 100%;
    overflow: hidden;
    background-color: #F5F6F4;
}
.community-sou-box {
    display: flex;
    width: 16rem;
    height: .6rem;
    line-height: .6rem;
    margin: .2rem auto .4rem;
    justify-content: space-between;
    align-items: center;
    background: url(../img/community/Search.svg) .3rem center no-repeat #E9E7E3;
    border-radius: .3rem;
}
.community-sou-box .search-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.community-sou input {
    width: 14rem;
    height: .6rem;
    line-height: .6rem;
    display: block;
    color: #090405;
    border: 0;
    font-size: .24rem;
    padding-left: .8rem;
    box-sizing: border-box;
    background-color: transparent;
}
.community-sou input::placeholder {
    color: #A2A5A5;
}
.community-sou button {
    display: block;
    text-align: center;
    font-size: .24rem;
    width: 1rem;
    height: .5rem;
    line-height: .5rem;
    border-radius: .5rem;
    background-color: #F5F6F4;
    cursor: pointer;
    color: #18584D;
    font-weight: bold;
    margin-right: .05rem;
    border: 0;
}
.community-tabs {
    width: 100%;
    overflow: hidden;
}
.community-tabs-bg {
    background-color: #F6F5F4;
}
.community-tabs .community-tabs-list {
    width: 16rem;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}
.community-tabs .community-tabs-list li {
    border-radius: .5rem;
    font-size: .32rem;
    font-weight: 700;
    color: #18584D;
    background-color: #F6F5F4;
    padding: .1rem .3rem;
    box-sizing: border-box;
    margin-bottom: .2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
}

.community-tabs .community-tabs-list li.active,.community-tabs .community-tabs-list li:hover {
    border: 0.02rem solid #18584D;
    color: #18584D;
}

.community-tabs .communitySwiper {
    width: 16rem;
    margin: 0 auto;
}
.community-tabs .swiper-wrapper ul {
    display: flex;
    column-gap: .5rem;
    flex-wrap: wrap;
}
.community-tabs .communitySwiper .swiper-slide {
    margin-top: .3rem;
}
.community-tabs .communitySwiper .swiper-slide li img{
    max-width: 100%;
    height: 4rem;
}
.community-tabs .communitySwiper .swiper-slide li {
    width: 5rem;
    height: 5.8rem;
    background-color: #F5F6F4;
    border-radius: .3rem;
    overflow: hidden;
    margin-bottom: .4rem;
}
.community-tabs .communitySwiper .swiper-slide li h4 {
    font-size: .22rem;
    color: #090405;
    padding: .1rem .4rem;
    line-height: 1.5;
    transition: all .3s ease-in-out;
}
.community-tabs .communitySwiper .swiper-slide li a:hover h4 {
    color: #18584D;
}
.community-tabs .communitySwiper .swiper-slide li p {
    font-size: .24rem;
    color: #A2A5A5;
    font-family: 'hongmeng';
    padding: .1rem .4rem;
}

/* 详情页 */
.community-detail {
    width: 16rem;
    padding: 1rem 0;
    margin: 0 auto;
    border-radius: .3rem;
    background-color: #f6f5f4;
    color: #090405;
    font-family: 'hongmeng';
    margin-top: 1.4rem;
}
.community-detail h2 {
    font-size: .42rem;
    text-align: center;
}
.community-detail>p {
    font-size: .28rem;
    color: #A2A5A5;
    text-align: center;
    margin: .2rem 0;
}
.community-detail>p span {
    margin-right: .2rem;
    padding-right: .2rem;
    border-right: .01rem solid #A2A5A5;
}
.community-detail .community-txt {
    width: 12rem;
    margin: 0 auto;
}
.community-detail .community-txt video {
    width:100%;
}
.community-detail .community-txt p {
    font-size: .22rem;
    margin-bottom: .2rem;
    text-align: justify;
    word-wrap: break-word;
}
.community-detail .community-txt p strong {
    font-size: .24rem;
}
.community-detail .community-txt p img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    html {
        font-size: 13.3333vw;
    }
    .community-sou-box {
        background-size: .4rem;
        width: 100%;
    }
    .community-sou input {
        width: 98%;
        font-size: .3rem;
    }
    .community-sou button {
        font-size: .3rem;
    }
    .community-tabs .swiper-wrapper ul {
        column-gap: .14rem;
    }
    .community-tabs .community-tabs-list {
        width: 98%;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .community-tabs .community-tabs-list li:last-child {
        flex: auto;
    }
    .community-tabs .communitySwiper {
        width: 98%;
    }
    .community-tabs .communitySwiper .swiper-slide li {
        width: 49%;
        height: 5.4rem;
    }
    .community-tabs .communitySwiper .swiper-slide li img {
        height: 3rem;
    }
    .community-tabs .communitySwiper .swiper-slide li h4 {
        font-size: .3rem;
        padding: .1rem .2rem;
    }
    .community-tabs .communitySwiper .swiper-slide li p {
        font-size: .3rem;
        padding: .1rem .2rem;
    }
    /* 详情页 */
    .community-detail {
        width: 96%;
        margin-top: .2rem;
    }
    .community-detail h2 {
        width: 90%;
        margin: 0 auto;
    }
    .community-detail .community-txt {
        width: 75%;
    }
    .community-detail .community-txt p {
        font-size: .28rem;
    }
    .community-detail .community-txt p strong{
        font-size: .3rem;
    }
}