/* 问答 & 专题页面样式 */

.page-body {
    padding-top: var(--header-h);
    min-height: calc(100vh - 160px);
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.page-desc {
    color: #888;
    font-size: 14px;
}

.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #ff4839;
}

/* 问答 */
.qa-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.qa-tab {
    padding: 6px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
}

.qa-tab.active,
.qa-tab:hover {
    background: #ff5800;
    color: #fff;
}

.qa-list .qa-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.qa-list .qa-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.qa-question {
    font-size: 18px;
    margin-bottom: 10px;
}

.qa-question a {
    color: #333;
}

.qa-question a:hover {
    color: #ff5800;
}

.qa-answer-preview {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.qa-meta {
    font-size: 12px;
    color: #999;
}

.qa-tag {
    display: inline-block;
    background: #fff3e0;
    color: #ff5800;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 12px;
}

.qa-detail-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.qa-detail-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.qa-detail-answer {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.related-qa {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-qa h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.related-qa li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.related-qa a {
    color: #425269;
}

.related-qa a:hover {
    color: #ff5800;
}

/* 专题列表 */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.topic-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.topic-card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.topic-card-body {
    padding: 16px;
}

.topic-card-body h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 6px;
}

.topic-subtitle {
    color: #ff5800;
    font-size: 13px;
    margin-bottom: 6px;
}

.topic-intro {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.topic-tpl-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* 专题详情通用 */
.zt-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px;
}

.zt-banner {
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.zt-banner-overlay {
    background: rgba(0,0,0,0.4);
    width: 100%;
    padding: 60px 20px;
}

.zt-banner h1,
.zt-banner-overlay h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
}

.zt-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.zt-banner-plain {
    background: linear-gradient(135deg, #fff8f0, #ffe8d0);
    padding: 50px 20px;
}

.zt-banner-plain h1 {
    color: #333;
}

.zt-intro {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #555;
}

.zt-section {
    margin-bottom: 40px;
}

.zt-section-title {
    font-size: 22px;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff5800;
    margin-bottom: 20px;
}

/* 精品产品网格 */
.zt-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.zt-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.zt-product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.zt-product-info {
    padding: 12px;
}

.zt-product-info h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.zt-price {
    color: #ff4839;
    font-weight: bold;
    font-size: 16px;
}

.zt-location {
    color: #999;
    font-size: 12px;
}

/* 文章列表 */
.zt-article-list li a {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.zt-article-list img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.zt-article-list h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.zt-article-list p {
    font-size: 12px;
    color: #999;
}

/* 问答模块 */
.zt-qa-item {
    padding: 14px 0;
    border-bottom: 1px dashed #eee;
}

.zt-qa-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.zt-qa-item h3 a {
    color: #333;
}

.zt-qa-item p {
    color: #888;
    font-size: 13px;
}

/* 供应商 */
.zt-banner-supplier {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    padding: 50px 20px;
    text-align: center;
}

.zt-geo {
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

.zt-supplier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.zt-supplier-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.zt-supplier-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.zt-supplier-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.zt-supplier-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.zt-tel {
    color: #ff5800 !important;
    font-weight: bold;
}

/* 求购 */
.zt-buy-list li a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.zt-buy-list strong {
    color: #ff5800;
    min-width: 60px;
}

.zt-buy-list em {
    color: #999;
    font-style: normal;
    margin-left: auto;
}

/* 文化专题 */
.zt-hero {
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.zt-hero-content {
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: center;
}

.zt-hero-content h1 {
    font-size: 30px;
}

.zt-culture-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 30px;
}

.zt-culture-header h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.zt-lead {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.zt-aside-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 交易专题 */
.zt-market-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.zt-market-header h1 {
    font-size: 28px;
}

/* 活动专题 */
.zt-activity-banner {
    position: relative;
}

.zt-activity-banner img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.zt-activity-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    text-align: center;
}

.zt-activity-banner-text h1 {
    font-size: 28px;
}

.zt-activity-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: #fff;
}

.zt-activity-desc {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* 页脚 */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    background: #f5f5f5;
    color: #999;
    font-size: 13px;
    margin-top: 40px;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #999;
}

.empty-tip {
    text-align: center;
    color: #999;
    padding: 40px;
}

.pagination-wrap {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

/* 导航扩展 */
.navbar a {
    font-size: 16px;
    padding: 0 8px;
}

.logo a {
    display: block;
}

.logo img {
    width: auto;
    height: 60px;
}

/* 响应式 */
@media (max-width: 768px) {
    .zt-culture-layout {
        grid-template-columns: 1fr;
    }

    .zt-supplier-card {
        flex-direction: column;
        text-align: center;
    }

    .zt-supplier-card img {
        margin: 0 auto;
    }

    .navbar a {
        font-size: 15px;
        padding: 0 4px;
    }
}
