/* modify 2024-10-11 增加 community-nav*/
.community-nav {
    margin-top: 80px;
}

.community-nav a {
    color: #34495e;
}

.community-head {
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .community-head {
        padding-top: 1px;
        padding-bottom: 10px;
    }
}

.community-product {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.community-button-active {
    background-image: linear-gradient(to right, #1efeed, #45bcfa);
    border-radius: 37px;
    width: 320px;
    height: 74px;
    box-shadow: 0px 10px 30px 0px rgba(0, 62, 204, 0.2);
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-button {
    background-color: rgba(236, 244, 255, 1);
    border-radius: 37px;
    width: 320px;
    height: 74px;
    box-shadow: 0px 10px 30px 0px rgba(0, 62, 204, 0.2);
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-button:hover {
    background-image: linear-gradient(to right, #1efeed, #45bcfa);
}

.community-product img {
    margin: 20px;
}

.community-product span {
    font-size: 20px;
    font-weight: 600;
}

/* modify 2024-10-21  margin: 20px auto;*/
.community-subject {
    margin: 0px auto;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.community-subject h2 {
    font-weight: 600;
    line-height: 30px;
    font-size: 17px;
    margin:  1vh 0 0 0;
}

.community-subject span {
    font-weight: 600;
    line-height: 30px;
    font-size: 17px;
}

.community-subject ul {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.community-subject li {
    margin: 0 5px;
    list-style-type: none;
}

.community-subject a {
    display: inline-block;
    padding: 5px 15px;
    cursor: pointer;
}

.community-subject a.active {
    display: inline-block;
    color: #157cf6;
    background: #95dcf7a1;
    border-radius: 8px;
    padding: 5px 15px;
    cursor: pointer;
}

.community-subject a:hover {
    color: #157cf6;
    cursor: pointer;
}

.community-category {
    margin: 10px auto;
    display: flex;
    align-items: center;
}

.community-category a {
    margin: 0 20px;
}

.community-category span.chip-active {
    display: inline-block;
    color: #157cf6;
    background: #95dcf7a1;
    border-radius: 4px;
    padding: 0 8px;
}

.community-category span:hover {
    color: #157cf6;
}

/* modify 2024-10-15 增加分类样式 */
.anygraph-categorys {
    margin: 10px 10px;
}

/* 分类容器 */
.anygraph-categorys-list {
    margin: 10px 10px;
}

/* 一级分类 */
.anygraph-categorys-list-item {
    display: inline-block;
    /* 将li元素设置为内联块状元素 */
    list-style-type: none;
    /* 去除默认的列表样式 */
    margin-right: 20px;
    /* 可选：为li元素之间添加间距 */
}

/* 二级分类 */
.anygraph-categorys-list-child {
    padding: 10px 10px;
}

/* 分类数量 */
.anygraph-categorys-list-count {
    display: none;
}

.community-head .community-head-text {
    padding-left:5px;color: rgba(0, 168, 255, 1);font-weight:bold;
}

/*--------------------------------------------------------------
# 搜索样式
--------------------------------------------------------------*/

/* 搜索输入框 */
.community-head .search-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 60%;
    left: 20%;
}

.community-head .search-form input[type=text] {
    outline: none;
    border: none;
    padding: 0 10px;
    margin: 0;
    height: 42px;
}

.community-head .search-form input[type=text]:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.community-head .search-form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    font-size: 16px;
    padding: 0 15px;
    margin: -1px;
    background: rgba(0, 168, 255, 1);
    color: #fff;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    line-height: 0;
}

.community-head .search-form span {
    position: absolute;
    top: 20%;
    right: 8%;
    bottom: 0;
    border: 0;
    font-size: 18px;
}

.community-head .search-form button i {
    line-height: 0;
}

.community-head .search-form button:hover {
    background: rgba(21, 124, 246, 1);
}

/* 告警提示 */
.community-head .promptFlash{
    width: 200px;
    background: linear-gradient(90deg,
    rgb(249, 170, 170) 0,
    rgba(255, 131, 131, 1) 0,
    rgba(255, 113, 113, 1) 100%,
    rgba(255, 94, 94, 1) 100%);
    animation: promptFlash 3s forwards; /* 闪2秒后消失 */
    animation-iteration-count: 2; /* 将动画次数限制为2次 */
    color: rgb(255, 255, 255);
    border-radius: 10px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 30px;
}

@keyframes promptFlash {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none; 
    }
}

@media (max-width: 768px) {
    .community-head .search-form {
        max-width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
}

/*--------------------------------------------------------------
# 推荐专辑
--------------------------------------------------------------*/

.recommend-gallery{
    margin-top: 10px;
}

.recommend-gallery .recommend-title{
    font-weight: 600;
    line-height: 30px;
    font-size: 17px;
    margin: 2.5vh 0 0 0;
}

.recommend-gallery .row {
    display: flex;
    margin: 20px 0 30px 0;
}

.recommend-gallery .recommend-img-card{
    position: relative;
    display: block;
    transition: all 0.3s;
    margin: 0 15px;
}
    
.recommend-gallery .recommend-img-card:hover {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translate(0, -3px); 
}

.recommend-gallery .comm-cell {
    padding: 0 15px;
}
