:root {
    --brand: #ff6a00;
    --brand2: #ff8a00;
}

/* 让页面整体更贴近UI稿的留白与卡片感（不影响全局公共样式） */
.community-section {
    padding: 18px 0 60px;
}

.community-hero {
    position: relative;
    padding: 54px 0 65px;
    /* UI稿是浅灰+右侧插画的感觉，这里先用渐变打底；若你提供背景图我可改成background-image */
    background: radial-gradient(1200px 340px at 40% 0%, rgba(255, 106, 0, .10), transparent 70%),
    radial-gradient(900px 300px at 85% 18%, rgba(255, 138, 0, .10), transparent 70%),
    #f6f7fb;
    overflow: hidden;
}

.community-hero-inner {
    position: relative;
    z-index: 1
}

.community-hero :is(h1, h2) {
    padding: 50px 0 5px 0;
    margin: 0;
    font-size: 36px;
    letter-spacing: .2px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 700;
    color: #3D3D3D;
    line-height: 50px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.community-hero :is(h1, h2) .hl {
    color: var(--brand);
    font-size: 48px;
}

.community-hero p {
    margin: 12px auto 0;
    max-width: 820px;
    text-align: center;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 24px;
    color: #3D3D3D;
    line-height: 34px;
    font-style: normal;
    text-transform: none;
}

.search-row {
    margin: 18px auto 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.searchbar {
    width: 586px;
    height: 36px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--themeColor);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .08);
    overflow: hidden;
}

.searchbar input {
    flex: 1;
    border: 0;
    outline: 0;
    height: 100%;
    padding: 0 18px;
    font-size: 14px;
    background: transparent;
}

.searchbar button {
    border: 0;
    cursor: pointer;
    height: 100%;
    box-sizing: border-box;
    padding: 5px 20px;
    background:var(--themeColor);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.publish {
    height: 36px;
    padding: 0 22px;
    box-sizing: border-box;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: var(--themeColor);
    box-shadow: 0 12px 22px rgba(255, 106, 0, .22);
    white-space: nowrap;
    font-weight: 400;
    line-height: 36px;
    font-size: 14px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.card {
    background: #ffffff;
    border-radius: 4px;
    /* UI稿看起来更“平”、边框更浅 */
    /*box-shadow: 0 6px 18px rgba(16, 24, 40, .06);*/
}

.panel {
    padding: 22px;
}

.grid-top {
    display: grid;
    grid-template-columns: 470px 1fr 300px;
    gap: 24px;
}

.panel-title {
    display: flex;
    align-items: center;
    margin: 0 0 14px 0;
    font-size: 16px;
    color: #2b2f36;
    font-weight: 900;
}

.panel-title__icon{
    width: 16px;
    height: 16px;
    margin-right: 13px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2b2f36;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--themeColor);
    width: 28px;
    height: 20px;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.badge__title{
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.notice-cover {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f6fa;
    width: 100%;
    aspect-ratio: 419 / 279;
    display: block;
}

.notice-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list {
    list-style: none;
    /*margin: 0;*/
    margin-top: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*gap: 14px*/
}

.item a {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid #f2f3f6;
}

.item:last-child a {
    border-bottom: 0
}

.item .t {
    font-weight: 500;
    font-size: 18px;
    color: #3D3D3D;
    line-height: 26px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item .t:hover {
    color: var(--brand)
}

.item .meta{
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.item .t_n{
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #b0b6bf;
    font-size: 12px;
}

.item time{
    font-weight: 400;
    font-size: 14px;
    color: #909090;
    line-height: 20px;
    text-align: right;
    font-style: normal;
    text-transform: none;
}

.dynamic{

}

.dynamic .list{
    margin-top: 0;
}

.dynamic .list .item a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    border-bottom: unset;
    padding: 5px 0;
}
.dynamic .list .item a span{
    display: inline-block;
}

.dynamic .list .item a span:first-child{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 顶部中间列表：标题更大、更醒目（贴近UI稿） */
.grid-top > section:nth-child(2) .item .t {
    font-size: 16px;
    font-weight: 800;
}

/* 右侧“动态”更紧凑 */
.grid-top aside .item a {
    padding: 7px 0;
}

.grid-top aside .item .t {
    font-size: 13px;
}

/* 底部三列 */
.grid-bottom {
    display: grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap: 24px;
}

.col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f4;
    margin-bottom: 12px;
}

.col-head .left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 16px;
    color: #2b2f36;
}

.col-head .left img{
    width: 26px;
    aspect-ratio: 1/1;
}

.col-head .left span{
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 500;
    font-size: 18px;
    color: #3D3D3D;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.col-head .more {
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 14px;
    color: #9C9C9C;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.col-head .more:hover,
.col-head .more.active {
    color: var(--brand);
}

.grid-bottom .item a {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    max-width: 100%;
}
.grid-bottom .item a .t{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.grid-bottom .item .meta img{
    width: 16px;
    height: 16px;
    margin-right: 7px;
}
.grid-bottom .item .meta {
    justify-content: flex-end;
}

@media (max-width: 1200px) {
    .searchbar {
        width: 100%
    }
}

/* 文章列表与侧边栏板块 */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.article-section {
    scroll-margin-top: calc(var(--nav-height, 66px) + 12px);
}

/* 导航标签 */
.article-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #f0f1f4;
    margin-bottom: 20px;
}

.tab-item {
    padding: 12px 24px;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s;
}

.tab-item:hover {
    color: var(--brand);
}

.tab-item.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
    font-weight: 700;
}

.article-filter {
    min-height: 36px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 20px;
    padding: 8px 12px;
    border-left: 3px solid var(--brand);
    background: #fff7f2;
    color: #4a4a4a;
    font-size: 14px;
}

.article-filter[hidden] {
    display: none;
}

.article-filter__text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.article-filter__clear {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    cursor: pointer;
    font-size: 14px;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-item {
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f1f4;
}

.article-item:last-child {
    border-bottom: 0;
}

.article-title {
    width: 100%;
    font-weight: 500;
    font-size: 18px;
    color: #3D3D3D;
    text-align: left;
    font-style: normal;
    margin-bottom: 10px;
    text-transform: none;
}

.article-title a {
    color: #3D3D3D;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--brand);
}

.article-desc {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 18px;
    color: #3D3D3D;
    text-align: left;
    font-style: normal;
    text-transform: none;
/*    最多两行，超出省略号*/
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

/* 文章图片块 */
.article-image-block {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: stretch;
}

/*.article-banner {*/
/*    flex: 0 0 110px;*/
/*    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 12px 8px;*/
/*    color: #FFFFFF;*/
/*    font-size: 13px;*/
/*    font-weight: 600;*/
/*    text-align: center;*/
/*    line-height: 18px;*/
/*    border-radius: 4px;*/
/*    min-height: 140px;*/
/*}*/

.article-products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    min-height: 140px;
}

.article-products img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* 文章标签 */
.article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag-item {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    color: #FF5000;
    background: #FFF6F2;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 400;
}

.tag-item:hover,
.tag-item.active,
.tag-label.active {
    color: #fff;
    background: var(--brand);
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    color: #909090;
}

.article-author {
    color: #666666;
}

.article-date {
    color: #909090;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.article-views img {
    width: 16px;
    height: 16px;
}

/* 右侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-sidebar .card{
    padding: 20px;
    box-sizing: border-box;
}
.sidebar-block {
    padding: 0;
}

.sidebar-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2b2f36;
}

/* 热门榜单 */
.hot-list-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #f0f1f4;
    margin-bottom: 16px;
}

.hot-tab {
    padding: 8px 16px;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s;
}

.hot-tab:hover {
    color: var(--brand);
}

.hot-tab.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
    font-weight: 600;
}

.hot-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hot-item-icon {
    flex-shrink: 0;
    width: 90px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
}

.hot-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hot-item-title {
    font-size: 14px;
    color: #3D3D3D;
    line-height: 20px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.hot-item-title:hover {
    color: var(--brand);
}

.hot-item-views {
    font-size: 12px;
    color: #909090;
}

/* 热门标签 */
.hot-tags .sidebar-title {
    text-align: center;
    position: relative;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: #FF6A00;
    padding: 0 20px;
}

.hot-tags .sidebar-title::before,
.hot-tags .sidebar-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #FF6A00;
}

.hot-tags .sidebar-title::before {
    left: 50%;
    transform: translateX(-250%);
}

.hot-tags .sidebar-title::after {
    right: 50%;
    transform: translateX(250%);
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    color: #FF5000;
    background: #FFF6F2;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 400;
}

.tag-label:hover {
    background: #FFE4B3;
    color: #FF6A00;
}

.tag-label.active:hover {
    color: #fff;
    background: var(--brand);
}

.searchbar input:focus-visible,
.searchbar button:focus-visible,
.tab-item:focus-visible,
.tag-item:focus-visible,
.tag-label:focus-visible,
.article-filter__clear:focus-visible,
.community-pagination button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* 二维码演示 */
.qr-codes {

}

.demo_qrcodes {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.qrcode_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode_item img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 4px;
}

.qrcode_item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}
/* 响应式设计 */
@media (max-width: 1060px) {
    .grid-top {
        grid-template-columns: 1fr;
    }

    .grid-bottom {
        grid-template-columns:1fr
    }

    .community-hero::after {
        opacity: .25
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-image-block {
        flex-direction: column;
    }

    .article-banner {
        flex: 1;
        min-height: 120px;
    }

    .article-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 社区接口状态与分页 */
.community-state {
    width: 100%;
    min-height: 72px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #737373;
    font-size: 14px;
    text-align: center;
}

.community-state--error {
    color: #b42318;
    background: #fff4f2;
    border: 1px solid #ffd5cf;
    border-radius: 4px;
}

.community-state--empty {
    color: #737373;
    background: #f7f7f8;
    border-radius: 4px;
}

.community-pagination {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.community-pagination[hidden] {
    display: none;
}

.community-pagination button {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fff;
    color: #3d3d3d;
    cursor: pointer;
}

.community-pagination button:hover:not(:disabled),
.community-pagination button.active {
    border-color: var(--themeColor);
    color: var(--themeColor);
}

.community-pagination button:disabled {
    color: #b8b8b8;
    background: #f5f5f5;
    cursor: not-allowed;
}

.community-pagination__ellipsis {
    min-width: 20px;
    color: #909090;
    text-align: center;
}

.community-pagination__summary {
    margin-left: 4px;
    color: #737373;
    font-size: 13px;
    white-space: nowrap;
}

.article-content {
    overflow-wrap: anywhere;
}

.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100%;
    height: auto;
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.tags-grid .community-state,
.hot-list-items .community-state,
.list .community-state {
    min-height: 48px;
    padding: 10px;
}

@media (max-width: 768px) {
    .community-hero {
        padding: 24px 0 36px;
    }

    .community-hero :is(h1, h2) {
        padding-top: 30px;
        font-size: 26px;
        line-height: 38px;
    }

    .community-hero :is(h1, h2) .hl {
        font-size: 34px;
    }

    .community-hero p {
        font-size: 17px;
        line-height: 26px;
    }

    .search-row {
        padding: 0 12px;
    }

    .searchbar {
        width: 100%;
    }

    .panel,
    .featured-article {
        padding: 16px;
    }

    .article-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .article-tabs::-webkit-scrollbar {
        display: none;
    }

    .article-filter {
        align-items: flex-start;
    }

    .tab-item {
        flex: 0 0 auto;
        padding: 10px 16px;
    }

    .article-meta,
    .article-meta-info {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 14px;
    }

    .article-views,
    .article-meta-info .article-views {
        margin-left: 0;
    }

    .article-products,
    .featured-article .article-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
    }

    .community-detail-section {
        padding: 78px 0 36px;
    }

    .article-detail-title {
        font-size: 23px;
        line-height: 34px;
    }
}

/* 文章详情页样式 */
.community-detail-section {
    padding: 100px 0 60px;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.article-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 特色文章块 */
.featured-article {
    padding: 30px;
}

.article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f1f4;
}

.article-detail-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    color: #2b2f36;
    line-height: 40px;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #909090;
}

.article-meta-info .article-date {
    color: #909090;
}

.article-meta-info .article-author {
    color: #666666;
}

.article-meta-info .article-views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.article-meta-info .article-views img {
    width: 16px;
    height: 16px;
}

/* 文章内容 */
.article-content {
    line-height: 1.8;
}

.article-intro {
    margin: 0 0 24px 0;
    font-size: 16px;
    color: #3D3D3D;
    line-height: 28px;
}

/* 详情页图片块 */
.featured-article .article-image-block {
    margin: 24px 0;
}

.featured-article .article-banner {
    flex: 0 0 120px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 22px;
    border-radius: 4px;
    min-height: 140px;
}

.featured-article .article-banner span {
    display: block;
}

.featured-article .article-products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    min-height: 140px;
}

/* 核心功能部分 */
.core-features {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f1f4;
}

.features-title {
    margin: 0 0 24px 0;
    font-size: 22px;
    font-weight: 700;
    color: #2b2f36;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.feature-content {
    flex: 1;
}

.feature-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2b2f36;
}

.feature-desc {
    margin: 0;
    font-size: 15px;
    color: #666666;
    line-height: 24px;
}

/* 详情页文章列表部分 */
.article-list-section {
    padding: 22px;
}

.article-list-section .article-list {
    margin-top: 20px;
}

.article-list-section .article-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f1f4;
}

.article-list-section .article-item:last-child {
    border-bottom: 0;
}

.article-list-section .article-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.article-list-section .article-title a {
    color: #3D3D3D;
    text-decoration: none;
    transition: color 0.3s;
}

.article-list-section .article-title a:hover {
    color: var(--brand);
}

.article-list-section .article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #909090;
}

.article-list-section .article-meta .article-author {
    color: #666666;
}

.article-list-section .article-meta .article-views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.article-list-section .article-meta .article-views img {
    width: 14px;
    height: 14px;
}

/* 详情页侧边栏标题 */
.hot-list .sidebar-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2b2f36;
}

/* 响应式设计 - 详情页 */
@media (max-width: 1060px) {
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .featured-article .article-image-block {
        flex-direction: column;
    }

    .featured-article .article-banner {
        flex: 1;
        min-height: 120px;
    }

    .featured-article .article-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Grid 子项必须允许收缩，避免长标题撑出页面。 */
.grid-top > *,
.grid-bottom > *,
.article-layout > *,
.article-detail-layout > * {
    min-width: 0;
}

@media (max-width: 768px) {
    .sidder {
        display: none !important;
    }

    .featured-article {
        padding: 16px;
    }

    .community-detail-section {
        padding: 78px 0 36px;
    }

    .article-detail-title {
        font-size: 23px;
        line-height: 34px;
    }

    .article-meta-info {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .article-meta-info .article-views {
        margin-left: 0;
    }
}

/* 社区页覆盖全站固定 1280px 版心，支持窄屏阅读。 */
html,
body {
    min-width: 0;
}

.main_area {
    width: calc(100% - 32px);
    max-width: 1280px;
    box-sizing: border-box;
}

.community-menu-toggle,
.community-mobile-menu {
    display: none;
}

/* 固定咨询栏在中等屏幕会遮挡社区侧栏交互。 */
@media (max-width: 1680px) {
    .sidder {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav .nav_list,
    .nav .nav_right {
        display: none;
    }

    .nav main {
        position: relative;
    }

    .nav .logo {
        width: 180px;
        height: auto;
        flex: 0 1 180px;
        min-width: 0;
    }

    .nav .logo img {
        width: 180px;
        max-width: 100%;
        height: auto;
    }

    .community-menu-toggle {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .community-menu-toggle span {
        width: 22px;
        height: 2px;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
    }

    .nav:not(.nav-transparent) .community-menu-toggle span,
    .nav.mobile-menu-open .community-menu-toggle span {
        background: #3d3d3d;
    }

    .nav.mobile-menu-open {
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
    }

    .nav.mobile-menu-open .community-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav.mobile-menu-open .community-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav.mobile-menu-open .community-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .community-mobile-menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        padding: 8px 16px 16px;
        box-sizing: border-box;
        background: #fff;
        border-top: 1px solid #ededed;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    }

    .nav.mobile-menu-open .community-mobile-menu {
        display: block;
    }

    .community-mobile-menu__primary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-mobile-menu__primary a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 14px;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
        color: #3d3d3d;
        font-size: 15px;
    }

    .community-mobile-menu__primary a.active {
        color: var(--themeColor);
        font-weight: 700;
    }

    .community-mobile-menu__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 14px;
    }

    .community-mobile-menu__actions a {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--themeColor);
        border-radius: 4px;
        color: var(--themeColor);
        font-size: 14px;
    }
}
