/* ========================================
   洞见页面样式 - 炫酷庄重版
   ======================================== */

:root {
    --primary-color: #2196F3;
    --primary-dark: #1565C0;
    --primary-light: #e3f2fd;
    --primary-gradient: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --bg-white: #fff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 8px 30px rgba(33, 150, 243, 0.3);
}

/* ========================================
   动画定义
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }

/* 滚动显示动画 */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Hero区域
   ======================================== */
.insights-hero {
    position: relative;
    padding: 200px 0 120px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.insights-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/ports-6-scaled.webp') center/cover;
    opacity: 0.08;
}

.insights-hero-container {
    position: relative;
    width: 62.5%;
    max-width: none;
    margin: 0 auto;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(33, 150, 243, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 30px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.insights-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.insights-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 48px;
}

.hero-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
}

.category-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn:hover svg {
    stroke: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll-indicator span {
    font-size: 12px;
    letter-spacing: 1px;
}

.hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   分类导航 + 搜索
   ======================================== */
.filter-bar {
    background: var(--bg-white);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.filter-container {
    width: 62.5%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.filter-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.filter-btn .filter-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.filter-btn.active .filter-icon {
    stroke: #fff;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 280px;
    padding: 12px 44px 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

/* ========================================
   精选文章
   ======================================== */
.featured-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-container {
    width: 62.5%;
    max-width: none;
    margin: 0 auto;
}

.featured-article {
    display: flex;
    gap: 48px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.featured-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.featured-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

.featured-tag svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
}

.featured-content {
    flex: 1;
    padding: 48px 48px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
    margin-bottom: 20px;
    width: fit-content;
    align-self: flex-start;
}

.featured-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.featured-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* 精选文章底部 - 日期和阅读全文 */
.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.featured-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.featured-date svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
}

/* ========================================
   文章列表区
   ======================================== */
.articles-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.articles-container {
    width: 62.5%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    gap: 48px;
}

.articles-main {
    flex: 1;
}

.articles-sidebar {
    flex: 0 0 300px;
}

.category-section {
    margin-bottom: 60px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.category-title .title-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.category-title .title-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.3s ease;
}

/* 两行布局 */
.articles-grid.two-rows {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
}

/* 文章卡片显示/隐藏动画 */
.article-card {
    transition: all 0.3s ease;
}

.article-card[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
}

/* 文章卡片链接样式 */
a.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ========================================
   分页样式
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.page-btn:hover:not(:disabled) svg {
    stroke: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.page-num:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-num.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.t-pages a, .t-pages span{
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    padding: 10px 18px;
}
.t-pages a:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.t-pages .active span {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-primary);
}


/* ========================================
   文章卡片
   ======================================== */
.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.article-body {
    padding: 24px;
}

.article-body .article-category {
    margin-bottom: 12px;
}

.article-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-card:hover .article-body h4 {
    color: var(--primary-color);
}

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

.article-body .article-meta {
    margin-bottom: 0;
    font-size: 13px;
}

/* ========================================
   侧边栏
   ======================================== */
.sidebar-widget {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget h4 svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.hot-articles {
    list-style: none;
}

.hot-articles li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-articles li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-articles a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    line-height: 1.5;
    display: block;
}

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

.article-body .article-meta .meta-icon {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    vertical-align: middle;
    margin-right: 4px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.sidebar-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.sidebar-cta .cta-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}

.sidebar-cta .cta-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.sidebar-cta h4 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.sidebar-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-cta .cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.sidebar-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

/* 订阅板块样式 */
.sidebar-subscribe {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
}

.sidebar-subscribe .subscribe-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}

.sidebar-subscribe .subscribe-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.sidebar-subscribe h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.sidebar-subscribe p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.subscribe-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.subscribe-input::placeholder {
    color: var(--text-muted);
}

.subscribe-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    font-family: inherit;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.subscribe-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.subscribe-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.subscribe-features svg {
    width: 16px;
    height: 16px;
    stroke: #22c55e;
}

/* ========================================
   CTA区域
   ======================================== */
.insights-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.insights-cta .cta-container {
    position: relative;
    width: 62.5%;
    max-width: none;
    margin: 0 auto;
    z-index: 1;
}

.insights-cta .cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    backdrop-filter: blur(10px);
}

.insights-cta .cta-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
}

.insights-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.insights-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.cta-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.cta-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .insights-hero-container,
    .filter-container,
    .featured-container,
    .articles-container,
    .insights-cta .cta-container {
        width: 80%;
    }
    
    .articles-grid,
    .articles-grid.two-rows {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .insights-hero-container,
    .filter-container,
    .featured-container,
    .articles-container,
    .insights-cta .cta-container {
        width: 90%;
    }
    
    .articles-container {
        flex-direction: column;
    }
    
    .articles-sidebar {
        flex: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .featured-article {
        flex-direction: column;
    }
    
    .featured-image {
        flex: none;
        height: 300px;
    }
    
    .featured-content {
        padding: 36px;
    }
    
    .insights-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .insights-hero {
        padding: 160px 0 100px;
    }
    
    .insights-hero h1 {
        font-size: 30px;
    }
    
    .hero-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .filter-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .articles-grid,
    .articles-grid.two-rows {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        margin-top: 32px;
    }
    
    .page-btn,
    .page-num {
        width: 40px;
        height: 40px;
    }
    
    .articles-sidebar {
        grid-template-columns: 1fr;
    }
    
    /* 隐藏向下滚动提示 */
    .hero-scroll-indicator {
        display: none !important;
    }
    
    /* CTA标题和描述优化 */
    .insights-cta h2 {
        font-size: 16px !important;
        white-space: nowrap;
        line-height: 1.4;
    }
    
    .insights-cta p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* CTA按钮一行2个 */
    .insights-cta .cta-buttons,
    .cta-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 8px;
    }
    
    .insights-cta .cta-btn-primary,
    .insights-cta .cta-btn-outline,
    .cta-btn-primary,
    .cta-btn-outline {
        width: auto !important;
        flex: 1;
        max-width: none !important;
        justify-content: center;
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .cta-btn-primary svg,
    .cta-btn-outline svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .insights-hero-container,
    .filter-container,
    .featured-container,
    .articles-container,
    .insights-cta .cta-container {
        width: 92%;
    }
    
    .insights-hero h1 {
        font-size: 26px;
    }
    
    .featured-content h2 {
        font-size: 22px;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .sidebar-widget,
    .sidebar-cta {
        padding: 24px;
    }
}


/* ========================================
   文章详情页样式
   ======================================== */

/* 面包屑导航 */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* 详情页Banner */
.detail-hero {
    position: relative;
    padding: 160px 0 60px;
    overflow: hidden;
}

/* 详情页特殊header样式 - 在banner区域透明 */
body:has(.detail-hero) .site-header {
    background: transparent;
    box-shadow: none;
}

body:has(.detail-hero) .site-header:hover,
body:has(.detail-hero) .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.85) 0%, rgba(33, 150, 243, 0.75) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.detail-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-hero-content .hero-badge svg {
    width: 18px;
    height: 18px;
}

.detail-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.detail-hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb-container {
    width: 62.5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-container a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb-separator {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.breadcrumb-separator svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* 文章详情区 */
.article-detail-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.article-detail-container {
    width: 62.5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.article-detail-main {
    min-width: 0;
}

/* 文章内容包装 */
.article-content-wrapper {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 文章头部 */
.article-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.article-category-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.article-meta-info .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.article-meta-info .meta-item svg {
    width: 16px;
    height: 16px;
}

/* 文章封面图 */
.article-cover {
    width: 90%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 12px;
}

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

/* 文章正文 */
.article-body-content {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body-content .article-intro {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-body-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.article-body-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 16px;
}

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

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

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

.article-body-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 24px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.article-body-content blockquote p {
    margin: 0;
    color: var(--text-primary);
}

.article-highlight-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.article-highlight-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.article-highlight-box p {
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

/* 文章标签 */
.article-tags {
    padding: 30px 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.article-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tag:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* 分享按钮 */
.article-share {
    padding: 20px 40px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.wechat:hover {
    background: #07c160;
    border-color: #07c160;
    color: #fff;
}

.share-btn.wechat:hover svg {
    fill: #fff;
}

.share-btn.weibo:hover {
    background: #e6162d;
    border-color: #e6162d;
    color: #fff;
}

.share-btn.weibo:hover svg {
    fill: #fff;
}

.share-btn.copy-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.share-btn.copy-link:hover svg {
    stroke: #fff;
}

/* 上一篇/下一篇导航 */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-color);
}

.article-navigation a {
    padding: 24px 40px;
    text-decoration: none;
    transition: background 0.3s;
}

.article-navigation a:hover {
    background: var(--bg-light);
}

.article-navigation .nav-prev {
    border-right: 1px solid var(--border-color);
}

.article-navigation .nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.article-navigation .nav-label svg {
    width: 14px;
    height: 14px;
}

.article-navigation .nav-next .nav-label {
    justify-content: flex-end;
}

/* 隐藏社媒分享板块 */
.article-share {
    display: none !important;
}

.article-navigation .nav-title {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.article-navigation .nav-next .nav-title {
    text-align: right;
}

/* 相关文章推荐 */
.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.related-articles h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

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

.related-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.3s;
}

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

.related-image {
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.related-info {
    padding: 16px;
}

.related-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .breadcrumb-container,
    .article-detail-container {
        width: 90%;
    }
    
    .article-detail-container {
        grid-template-columns: 1fr 280px;
    }
    
    /* 平板端上一篇/下一篇导航优化 */
    .article-navigation {
        grid-template-columns: 1fr 1fr;
    }
    
    .article-navigation a {
        padding: 20px;
    }
    
    .article-navigation .nav-title {
        font-size: 14px;
        max-width: 280px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 992px) {
    .article-detail-container {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-cover {
        height: 300px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 平板端上一篇/下一篇导航优化 */
    .article-navigation {
        grid-template-columns: 1fr 1fr;
    }
    
    .article-navigation a {
        padding: 20px;
    }
    
    .article-navigation .nav-title {
        font-size: 13px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    /* 隐藏面包屑导航 */
    .breadcrumb-section {
        display: none !important;
    }
    
    .breadcrumb-container,
    .article-detail-container {
        width: 95%;
    }
    
    .article-header {
        padding: 24px;
    }
    
    .article-body-content {
        padding: 24px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-cover {
        height: 220px;
    }
    
    .article-meta-info {
        gap: 16px;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .article-navigation .nav-prev {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* 移动端下一篇也左对齐 */
    .article-navigation .nav-next .nav-label {
        justify-content: flex-start;
    }
    
    .article-navigation .nav-next .nav-title {
        text-align: left;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-tags,
    .article-share {
        padding: 20px 24px;
    }
}


/* ========================================
   移动端优化补充 - 768px
   ======================================== */
@media (max-width: 768px) {
    /* 文章列表容器改为单列 */
    .articles-container {
        grid-template-columns: 1fr;
    }
    
    /* 侧边栏移到底部 */
    .articles-sidebar {
        margin-top: 40px;
    }
    
    /* 精选文章 */
    .featured-article {
        flex-direction: column;
    }
    
    .featured-image {
        height: 220px;
    }
    
    .featured-content {
        padding: 24px 20px;
    }
    
    .featured-content h2 {
        font-size: 22px;
    }
    
    /* 文章卡片 */
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-body {
        padding: 16px;
    }
    
    .article-body h4 {
        font-size: 16px;
    }
    
    /* 侧边栏组件 */
    .sidebar-widget {
        padding: 20px;
    }
    
    .sidebar-widget h4 {
        font-size: 16px;
    }
    
    .hot-articles li a {
        font-size: 14px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .sidebar-cta {
        padding: 24px 20px;
    }
    
    .sidebar-subscribe {
        padding: 24px 20px;
    }
    
    /* 详情页优化 */
    .detail-hero {
        padding: 120px 0 40px;
    }
    
    .detail-hero-content h1 {
        font-size: 26px;
    }
    
    .detail-hero-content p {
        font-size: 15px;
    }
    
    .article-detail-container {
        grid-template-columns: 1fr;
    }
    
    .article-header {
        padding: 24px 20px 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-cover {
        height: 250px;
        width: 95%;
    }
    
    .article-body-content {
        padding: 24px 20px;
    }
    
    .article-body-content h2 {
        font-size: 20px;
    }
    
    /* 相关文章 */
    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .related-image {
        height: 160px;
    }
}

/* ========================================
   移动端优化补充 - 480px
   ======================================== */
@media (max-width: 480px) {
    .insights-hero {
        padding: 120px 0 60px;
    }
    
    .insights-hero h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .category-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .featured-image {
        height: 180px;
    }
    
    .featured-content {
        padding: 20px 16px;
    }
    
    .featured-content h2 {
        font-size: 20px;
    }
    
    .article-image {
        height: 160px;
    }
    
    .article-body {
        padding: 14px;
    }
    
    .article-body h4 {
        font-size: 15px;
    }
    
    /* 详情页 480px */
    .detail-hero {
        padding: 100px 0 30px;
    }
    
    .detail-hero-content h1 {
        font-size: 22px;
    }
    
    .article-header {
        padding: 20px 16px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-meta-info {
        gap: 12px;
    }
    
    .article-meta-info .meta-item {
        font-size: 12px;
    }
    
    .article-cover {
        height: 200px;
    }
    
    .article-body-content {
        padding: 20px 16px;
        font-size: 14px;
    }
    
    .article-body-content h2 {
        font-size: 18px;
        margin: 30px 0 16px;
    }
    
    .article-tags {
        padding: 20px 16px;
    }
    
    .article-share {
        padding: 16px;
    }
    
    .article-navigation a {
        padding: 16px;
    }
    
    .nav-title {
        font-size: 14px;
    }
}