@charset "UTF-8";
body {
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    background: #F6F8F7;
    color: #2d3436;
}

.page-header{
    background-color: rgba(0,0,0,0);
}
.para-info .page-header .back-icon>i{
    color: #fff;
    font-size: 0.35rem;
}
.page-header{
    height: 0.9rem;
    line-height: 0.9rem;
    background-color: #fff;
    padding: 0 0.15rem 0 0.15rem;
}

/* 顶部导航 */


/* 标签卡片 */
.tag-info-card {
    background: #fff;
    margin: 0.24rem;
    border-radius: 0.28rem;
    padding: 0.36rem;
    box-shadow: 0 4px 12px rgba(56, 167, 111, 0.06);
}
.tag-top {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    margin-bottom: 0.24rem;
}
.tag-avatar {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #F0F7F3;
}
.tag-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tag-name {
    font-size: 0.42rem;
    font-weight: bold;
    margin-bottom: 0.1rem;
}
.tag-stats {
    font-size: 0.24rem;
    color: #8B9595;
    display: flex;
    gap: 0.3rem;
}
.tag-desc {
    font-size: 0.26rem;
    color: #5C6666;
    line-height: 1.5;
}

/* 内容标签 */
.content-tabs {
    display: flex;
    background: #fff;
    margin: 0 0.24rem;
    border-radius: 0.28rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.tab-item {
    flex: 1;
    text-align: center;
    padding: 0.26rem 0;
    font-size: 0.3rem;
    color: #788383;
    position: relative;
    font-weight: 500;
    display: block;
}
.tab-item.active {
    color: #38A76F;
}
.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8rem;
    height: 0.07rem;
    background: #38A76F;
    border-radius: 99px;
}

/* 模块标题 */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.32rem 0.24rem 0.3rem 0.3rem;
    font-size: 0.3rem;
    font-weight: 600;
    margin-top: 0.2rem;
}
.more-text {
    font-size: 0.24rem;
    color: #999;
}

/* 文章卡片 */
.article-wrap {
    padding: 0 0.24rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
}
.article-item {
    background: #fff;
    border-radius: 0.24rem;
    padding: 0.24rem;
    display: flex;
    gap: 0.24rem;
    box-shadow: 0 2px 8px rgba(56, 167, 111, 0.05);
    transition: all 0.2s ease;

}
.article-item:active {
    transform: scale(0.98);
}
.article-img {
    width: 2.2rem;
    height: 1.8rem;
    border-radius: 0.2rem;
    overflow: hidden;
    flex-shrink: 0;
}
.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-title {
    font-size: 0.28rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}
.article-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.22rem;
    color: #999;
}
.author {
    display: flex;
    align-items: center;
    gap: 0.08rem;
}
.author img {
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 50%;
}
.article-text{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 图集卡片（间距全部收紧） */
.img-wrap {
    padding: 0 0.24rem 0.4rem;
}
.img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.16rem;
}
.grid-item {
    display: block;
    width: 100%;
    background: #fff;
    border-radius: 0.2rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.album-cover {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
}
.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.album-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.2rem;
    padding: 0.06rem 0.12rem;
    border-top-left-radius: 0.12rem;
}
.album-title {
    padding: 0.12rem;
    font-size: 0.22rem;
    text-align: center;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 底部导航 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.1rem;
    background: #fff;
    display: flex;
    border-top: 1px solid #EAEAEA;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.22rem;
    color: #999;
}
.nav-item.active {
    color: #38A76F;
}
.nav-icon {
    font-size: 0.42rem;
    margin-bottom: 0.04rem;
}
