/* ===================================
   币安网站样式表 - Binance Website CSS
   针对必应SEO优化的响应式设计
   =================================== */

/* CSS 变量定义 */
:root {
    --primary-color: #F0B90B;
    --primary-hover: #F8D12F;
    --secondary-color: #1E2329;
    --text-primary: #1E2329;
    --text-secondary: #707A8A;
    --text-light: #EAECEF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-dark: #181A20;
    --bg-dark-secondary: #2B3139;
    --border-color: #EAECEF;
    --success-color: #0ECB81;
    --danger-color: #F6465D;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* 重置样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* 容器 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 屏幕阅读器专用 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   按钮样式
   =================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===================================
   头部导航
   =================================== */
.header {
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 32px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-actions .btn-outline {
    color: var(--text-light);
    border-color: var(--bg-dark-secondary);
}

.nav-actions .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* ===================================
   Hero 区域
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2B3139 100%);
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--bg-dark-secondary);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================================
   通用区块样式
   =================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 8px;
}

.view-all {
    color: var(--primary-color);
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

/* ===================================
   行情表格
   =================================== */
.market-section {
    padding: 60px 0;
    background-color: var(--bg-secondary);
}

.market-table {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.market-table table {
    width: 100%;
}

.market-table th,
.market-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.market-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.market-table td {
    font-size: 14px;
}

.market-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coin-info img {
    width: 24px;
    height: 24px;
}

.price {
    font-weight: 600;
}

.change {
    font-weight: 500;
}

.change.positive {
    color: var(--success-color);
}

.change.negative {
    color: var(--danger-color);
}

/* ===================================
   功能特性区域
   =================================== */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.feature-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.feature-link:hover {
    text-decoration: underline;
}

/* ===================================
   产品区域
   =================================== */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    padding: 32px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
    border-bottom: none;
}

/* ===================================
   新闻区域
   =================================== */
.news-section {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-link {
    display: block;
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================================
   FAQ 区域
   =================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* ===================================
   CTA 区域
   =================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2B3139 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-actions .btn-outline {
    color: var(--text-light);
    border-color: var(--text-light);
}

.cta-actions .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

/* ===================================
   面包屑导航
   =================================== */
.breadcrumb {
    padding: 16px 0;
    background-color: var(--bg-secondary);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* ===================================
   页面标题区
   =================================== */
.page-header {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===================================
   筛选标签
   =================================== */
.filter-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* ===================================
   文章列表布局
   =================================== */
.article-list-section {
    padding: 40px 0;
}

.articles-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.article-link {
    display: block;
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================================
   分页
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--text-secondary);
}

/* ===================================
   侧边栏
   =================================== */
.sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-widget {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2B3139 100%);
    color: var(--text-light);
    text-align: center;
}

.sidebar-cta .widget-title {
    color: var(--text-light);
    border-bottom-color: var(--bg-dark-secondary);
}

.sidebar-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ===================================
   文章详情页
   =================================== */
.article-detail {
    padding: 40px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.article-header {
    margin-bottom: 32px;
}

.article-category-badge {
    margin-bottom: 16px;
}

.category-link {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.article-header h1 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-author {
    font-weight: 500;
    color: var(--text-primary);
}

.meta-update {
    color: var(--primary-color);
}

.article-featured-image {
    margin-bottom: 32px;
}

.article-featured-image img {
    width: 100%;
    border-radius: var(--radius-md);
}

.image-caption {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body .lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-body h2 {
    font-size: 24px;
    margin: 32px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.article-body h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    font-weight: 600;
}

.data-table {
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table caption {
    padding: 12px 16px;
    font-weight: 600;
    background-color: var(--bg-secondary);
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    font-size: 14px;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.article-tip {
    margin: 32px 0;
    padding: 20px 24px;
    background-color: #FFF8E1;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
}

.article-tip p {
    margin: 0;
    font-size: 14px;
}

/* 侧边栏行情列表 */
.market-list {
    margin-bottom: 16px;
}

.market-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.market-coin {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.market-price {
    font-weight: 600;
}

.market-change {
    font-size: 12px;
    font-weight: 500;
}

.market-change.positive {
    color: var(--success-color);
}

.market-change.negative {
    color: var(--danger-color);
}

/* 相关文章 */
.related-articles li {
    margin-bottom: 16px;
}

.related-articles a {
    display: flex;
    gap: 12px;
}

.related-articles a:hover {
    color: var(--primary-color);
}

.related-articles img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================================
   页脚
   =================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-social .social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-dark-secondary);
    border-radius: 50%;
    color: var(--text-light);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--bg-dark-secondary);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    margin-left: 16px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .articles-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid var(--bg-dark-secondary);
    }

    .nav-link {
        display: block;
        padding: 12px 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .stat-number {
        font-size: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .features-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .market-table {
        overflow-x: auto;
    }

    .market-table table {
        min-width: 600px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-meta-detail {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .filter-tab {
        flex-shrink: 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===================================
   打印样式
   =================================== */
@media print {
    .header,
    .footer,
    .sidebar,
    .breadcrumb {
        display: none;
    }

    .article-detail {
        padding: 0;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}



/* 翻页功能 */
.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a{
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}