#loading{
    text-align: center;
    border:1px solid #ccc;
    border-radius:4px;
    font-size:16px;
    line-height:50px;
    margin:10px 0;
    cursor:pointer;
}
.top-banner {
    background: #c8d4d4;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.banner-image img {
    width:auto;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
    margin:0 auto;
}
/* 主导航栏 */
.main-nav {
    background: var(--mainbg);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(1200px + 2rem);
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu .active a {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.ad-label {
    color: #94a3b8;
    font-size: 0.75rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 0.25rem;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 0.5rem;
    width: 200px;
    font-size: 0.875rem;
}

.search-btn {
    background: url(../images/search.png) center center no-repeat;
    background-size:90%;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    width:1rem;
    height:1rem;
    margin-right:0.3rem;
}

.key-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: none;
}

.key-icon {
    width: 1rem;
    height: 1rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"><path d="M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 主要内容区域 */
.main-content {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.25rem;
    color: #1f2937;
}

.popular-brands {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.brand-buttons {
    display: flex;
    gap: 1rem;
    margin-left:1rem;
}

.brand-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 0.4rem 1.5rem;
    border-radius:3rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color:#333;
}

.brand-btn:hover {
    background: #e5e7eb;
}

/* 内容包装器 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 10px;
    margin-bottom: 2rem;
}

/* 文章区域 */
.articles-section {
    display:grid; 
    grid-template-columns: repeat(3, 1fr);
    gap:10px
}

.article-card {
    position: relative;
    background: white;
    border-radius: 0.1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 0.2rem;
    margin: 0.5rem 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1rem;
    line-height:1.8;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.article-content img{
    max-width:100%;
    height:auto!important;
    margin:0 auto;
}
.article-card .article-content img{
    height:100%!important;
}
.article-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
    left:1rem;
    right:1rem;
}

.article-comments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-icon {
    width: 0.875rem;
    height: 0.875rem;
    background:url(../images/hot.png) center center no-repeat;
    background-size: contain;
}

/* 侧边栏广告 */
.sidebar-ad {
    position: sticky;
    top: 2rem;
}

.ad-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ad-header {
    margin-bottom: 1rem;
}

.ad-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.ad-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.ad-image {
    width: 100%;
    height: 150px;
    border-radius: 0.25rem;
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-description {
    margin-bottom: 1rem;
}

.ad-description p {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.ad-features {
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.brush-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z"/></svg>');
}

.power-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"/></svg>');
}

.eco-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.mop-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></svg>');
}

.ad-brand {
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.ad-disclaimer {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination a,
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #f3f4f6;
}
.pagination b{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.pagination b,
.page-link.active {
    background: var(--mainbg);
    color: white;
    border-color: var(--mainbg);
}
.pagination a[title="Total record"]{
    display: none;
}
.arrow-icon {
    width: 1rem;
    height: 1rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 页脚 */
.footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: var(--mainbg);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a b{
    font-weight:bold;
}

.footer-column a:hover {
    color: #374151;
}

.footer-column .item b a{
    font-size:1.2rem;
    font-weight:bold;
}

.error-report {

}

.error-report p {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.5;
}

.footer-bottom {
    background: var(--mainbg);
    padding: 1rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.copyright span {
    color: #fff;
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.legal-links a {
    color: #6b7280;
    text-decoration: none;
}

.legal-links a:hover {
    color: #374151;
}

.newsletter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    display: none;
}

.newsletter input {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    width: 150px;
}

.newsletter-btn {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}


.article-main {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-main.classtext{
    padding:1rem;
}

.article-main.classtext h2{
    margin-top:1rem;
    padding-bottom:1rem;
    margin-bottom:1rem;
    font-size:1.5rem;
    font-weight:bold;
    border-bottom:1px solid #eee;
}

.article-title {
    height:76px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    padding: 0;
    text-overflow:ellipsis;
    overflow:hidden;
    -webkit-box-orient:vertical;
    display:-webkit-box;
    -webkit-line-clamp:3;
    font-family:"Open Sans Condensed", "Segoe UI", "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    word-break: break-all;
}

.article-top{
    padding:1rem;
    position: relative;
}


.article-top .article-title{
    height:auto;
    font-size:1.8rem;
    -webkit-line-clamp:20;
}
.article-top .article-header-image{
    flex:0 0 40%;
    display: none;
}

.article-top .newspic{
    justify-content: flex-start;
}


.article-top .info{
    width:100%;
    position: relative;
}

.article-top .info .article-meta{
    /*position: absolute;*/
    left:0;
    right:0;
    bottom:0;
    position: static;
    width:16%;
    padding:0;
}

.article-header-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.article-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.meta-left {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-comments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #9d9d9d;
}

.article-card .info{
    height:147px;
    overflow: hidden;
}
.article-card .article-title{
    height:auto;
}
.article-content p {
    height: 63px;
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: justify;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.brush-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z"/></svg>');
}

.power-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"/></svg>');
}

.eco-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.mop-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></svg>');
}

.ad-disclaimer {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

.ad-description {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.popular-comments {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-list {
    list-style: none;
}

.comment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-link {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    flex: 1;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.comment-link:hover {
    color: #1e40af;
}

.comment-count {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 2rem;
    text-align: center;
}
@media screen and (min-width:960px){
    .article-card .info{
        height:160px;
    }
    .article-content p{
        height:75px;
        line-height:1.5;
    }
}

@media (max-width: 768px) {
    .article-top .article-title{
        -webkit-line-clamp: 20;
    }
    .article-content{
        padding: 10px;
    }
    .popular-comments .section-title{
        font-size:1rem;
    }
    .article-top,
    .popular-comments,
    .ad-card{
        padding:10px;
        border-radius:0;
    }
    .article-main{
        border-radius:0;
    }
    .main-nav{
        padding:10px;
    }
    #loading{
        margin:1rem;
        color:#fff;
    }
    .banner-image img{
        width:100%;
    }
    .section-title{
        font-size:.5rem;
    }
    .main-content{
        padding:0;
        background:#223345;
        padding-bottom:1rem;
    }
    .main-content .container{
        padding:0;
    }
    .popular-brands{
        background:#223345;
        padding:1rem 0;
        margin-bottom:0;
    }
    .section-title{
        color:#999;
    }
    .brand-buttons{
        gap:0.5rem;
    }
    .brand-btn{
        padding:0.3rem 0.5rem;
        font-size:.5rem;
    }
    .articles-section{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        position: relative;
        padding:0;
    }
    .nav-right{
        position: absolute;
        right:0;
        top:0;
    }
    .nav-left {
        flex-wrap: wrap;
        gap: 10px;
        width:100%;
        overflow: hidden;
    }
    .nav-menus{
        width:100%;
        overflow: hidden;
    }
    .nav-menu{
        display: block;
        width:100%;
        overflow-x:scroll;
        white-space: nowrap;
    }
    .nav-menu li{
        display: inline-block;
        margin-right:0.5rem;
    }
    .nav-menu a{
        font-size:1.1rem;
    }
    .article-card{
        overflow: hidden;
        position: relative;
        padding:10px 0;
    }
    .article-card .article-content{
        padding:0 10px;
/*        display: grid;
        grid-template-columns: repeat(9, 1fr);
        grid-template-rows: 1fr;
        grid-gap: 10px;*/
    }
    
    .article-card .article-image{
/*        grid-column: auto / span 4;
        grid-row: 1;*/
        float: left;
        width:45%;
        margin:0;
        height:auto;
    }
    .article-card .article-content img{
        height:110px!important;
    }
    .article-card .article-content .article-title{
        font-size:16px;
    }
    .article-card .article-content .info{
/*        grid-column: auto / span 5;
        grid-row: 1;
        padding-bottom: 14px;*/
        float: right;
        width:55%;
        padding:0 0 0 10px;
        height:auto;
    }
    .article-card .article-content .info .article-excerpt{
        display: none;
    }
    .article-title {
        font-size: 1.5rem;
        padding: 0;
    }
    
    .article-content {
        padding-top:0;
    }
    .article-title{
        font-size:1rem;
        margin-bottom:0.5rem;
        -webkit-line-clamp: 4;
    }
    .article-meta {
        padding: 0 10px 3px 10px;
        position: absolute;
        right:0;
        left:45.5%;
        bottom:0;
    }
    .article-comments{
        font-size:0.75rem;
    }
    .pagination{
        padding-bottom:2rem;
        align-items:center;
    }
    .pagination a,
    .page-link{
        border:none;
        color:#fff;
        width:auto;
        margin:0 0.5rem;
        font-size:1.2rem;
    }
    .pagination b,
    .page-link.active{
        width:2rem;
        height:2rem;
    }
    .footer-content{
        padding:2rem 3rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}