/* ========================================
   自定义首页样式 - 类似翔宇工作流风格
   ======================================== */

/* 全局变量 */
:root {
    --brand-color: #FF1A75;
    --brand-hover: #e6176a;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* 强制页面居中 */
body.home .site-content,
body.home #main,
.homepage-main {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 容器居中 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 首页主体 */
.homepage-main {
    padding-top: 20px;
    padding-bottom: 50px;
}

/* ========================================
   推荐文章区域
   ======================================== */
.featured-section {
    margin-bottom: 50px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 400px;
}

/* 左边大图文章 */
.featured-large {
    grid-row: span 2;
}

.featured-large .featured-link {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-large .featured-image {
    height: 100%;
}

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

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

.featured-large .featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.featured-large .featured-category {
    display: inline-block;
    background: var(--brand-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.featured-large .featured-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: white;
}

.featured-large .featured-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.featured-large .featured-info {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.featured-large .featured-author {
    margin-right: 15px;
}

/* 右边4篇小图文章 */
.featured-small-grid {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
}

.featured-small .featured-link {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.featured-small .featured-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.featured-small .featured-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

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

.featured-small .featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-small .featured-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-small .featured-info {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   文章网格通用样式
   ======================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-color);
}

.section-title a {
    color: var(--text-color);
    text-decoration: none;
}

.section-title a:hover {
    color: var(--brand-color);
}

.view-all {
    font-size: 14px;
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    color: var(--brand-hover);
}

/* 文章网格 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* 文章卡片 */
.post-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-card .post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

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

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

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

.post-card .post-content {
    padding: 18px;
}

.post-card .post-meta {
    margin-bottom: 10px;
}

.post-card .post-category {
    display: inline-block;
    background: var(--brand-color);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.post-card .post-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card:hover .post-title {
    color: var(--brand-color);
}

.post-card .post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card .post-info {
    font-size: 12px;
    color: var(--text-muted);
}

.post-card .post-author {
    margin-right: 15px;
}

/* ========================================
   占位图片样式 - 多彩渐变 + 几何装饰
   ======================================== */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* 渐变色方案（4种循环） */
.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.featured-small:nth-child(1) .placeholder-image,
.post-card:nth-child(4n+1) .placeholder-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.featured-small:nth-child(2) .placeholder-image,
.post-card:nth-child(4n+2) .placeholder-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.featured-small:nth-child(3) .placeholder-image,
.post-card:nth-child(4n+3) .placeholder-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.featured-small:nth-child(4) .placeholder-image,
.post-card:nth-child(4n+4) .placeholder-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.category-section:nth-child(odd) .placeholder-image {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}
.category-section:nth-child(even) .placeholder-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* 几何装饰 - 右上角圆 */
.placeholder-image::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 80%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* 几何装饰 - 左下角小圆 */
.placeholder-image::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 35%;
    height: 50%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

/* 文字样式 */
.placeholder-image .placeholder-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.placeholder-image .placeholder-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.9;
}

.placeholder-image .placeholder-text {
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.placeholder-image.small .placeholder-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.placeholder-image.small .placeholder-text {
    font-size: 12px;
    -webkit-line-clamp: 2;
}

/* ========================================
   分类区域
   ======================================== */
.category-section {
    margin-bottom: 50px;
    padding-top: 20px;
}

.category-section:nth-child(even) {
    background-color: var(--bg-light);
    padding: 30px 0;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-large {
        grid-row: span 1;
    }

    .featured-large .featured-image {
        height: 300px;
    }

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

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

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-small-grid {
        grid-template-columns: 1fr;
    }

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

    .featured-large .featured-title {
        font-size: 20px;
    }

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

/* ========================================
   搜索覆盖层样式
   ======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 560px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s ease;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.search-close-btn:hover {
    opacity: 1;
}

.search-overlay-title {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.search-overlay-form {
    display: flex;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.search-overlay-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 16px;
    outline: none;
    background: white;
    color: var(--text-color);
    transition: border-color 0.2s;
}

.search-overlay-input:focus {
    border-color: var(--brand-color);
}

.search-overlay-input::placeholder {
    color: #bbb;
}

.search-overlay-submit {
    padding: 18px 24px;
    background: var(--brand-color);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}

.search-overlay-submit:hover {
    background: var(--brand-hover);
    transform: scale(1.02);
}

/* ========================================
   搜索结果页面样式
   ======================================== */
.search-results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.search-results-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-color);
}

.search-results .posts-grid {
    margin-top: 20px;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
}

.search-no-results h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.search-no-results p {
    color: var(--text-light);
    font-size: 16px;
}

/* ========================================
   标签页面样式
   ======================================== */
.tag-page .page-title,
.tag-archive .page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.tag-page .page-title::after,
.tag-archive .page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-color);
}

/* ========================================
   通用页面标题样式
   ======================================== */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-color);
}

/* ========================================
   确保页面居中
   ======================================== */
body.home #content,
body.search #content,
body.tag #content,
body.category #content {
    max-width: 100%;
    padding: 0;
}

body.home .site-main,
body.search .site-main,
body.tag .site-main,
body.category .site-main {
    max-width: 100%;
    padding: 0;
}

/* ========================================
   强制居中 - 覆盖 Astra 主题样式
   ======================================== */
body.home .site-content > .ast-container,
body.page .site-content > .ast-container,
body.category .site-content > .ast-container,
body.archive .site-content > .ast-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* ========================================
   标签页面样式
   ======================================== */
.tags-page-main {
    padding: 40px 0 60px;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.tag-card {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 几何装饰 */
.tag-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 80%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.tag-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 40%;
    height: 55%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.tag-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tag-icon {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.tag-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tag-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.no-tags {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* 标签页面响应式 */
@media (max-width: 768px) {
    .tags-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .tag-card {
        padding: 20px 12px;
    }

    .tag-icon {
        font-size: 28px;
    }

    .tag-name {
        font-size: 14px;
    }
}

/* ========================================
   分类页面 Hero 横幅
   ======================================== */
.archive-hero {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.archive-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.archive-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 70%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.archive-hero .hero-content {
    position: relative;
    z-index: 1;
}

.archive-hero .hero-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.archive-hero .hero-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

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

.archive-posts-grid {
    padding-top: 40px;
}

/* ========================================
   自定义页脚样式
   ======================================== */

/* 隐藏 Astra 默认页脚 */
.site-below-footer-wrap,
.site-primary-footer-wrap {
    display: none !important;
}

/* 页脚整体 */
.custom-footer {
    margin-top: 60px;
    background: #1a1a2e;
    color: #e0e0e0;
}

/* 主要页脚区域 */
.footer-main {
    padding: 50px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* 品牌介绍列 */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-about .footer-logo-icon {
    font-size: 28px;
}

.footer-about .footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-about .footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #a0a0b0;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--brand-color);
    transform: translateY(-2px);
}

/* 页脚标题 */
.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--brand-color);
}

/* 页脚链接 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #a0a0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links .count {
    font-size: 12px;
    color: #666;
}

/* 最新文章列表 */
.footer-posts a {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.footer-posts .post-title {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-posts .post-date {
    font-size: 11px;
    color: #666;
}

/* 底部版权 */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    color: #a0a0b0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--brand-color);
}

/* 页脚响应式 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

/* ========================================
   分类/归档页面样式
   ======================================== */
.archive-main {
    padding: 40px 0 60px;
}

.archive-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* 分页样式 */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-color);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.pagination a:hover,
.nav-links a:hover {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}

.pagination .current,
.nav-links .current {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}

/* ========================================
   关于我们页面样式
   ======================================== */

/* Hero 横幅 */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 70%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

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

/* 通用区块 */
.about-section {
    padding: 60px 0;
}

.about-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.title-icon {
    font-size: 24px;
    margin-right: 8px;
}

/* 公司简介 */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-color);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: #888;
}

/* 核心价值观 */
.values-section {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 核心产品 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-color);
}

.product-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 服务优势 */
.advantages-section {
    background: white;
}

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

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.advantage-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-color);
    opacity: 0.3;
    min-width: 50px;
}

.advantage-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.advantage-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 生态建设 */
.ecosystem-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.ecosystem-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.ecosystem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.eco-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.ecosystem-visual {
    display: flex;
    justify-content: center;
}

.eco-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.eco-center-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.eco-label {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* 未来展望 */
.future-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.future-content {
    max-width: 700px;
    margin: 0 auto;
}

.future-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
}

.future-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.future-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* 关于页面响应式 */
@media (max-width: 1024px) {
    .about-grid,
    .ecosystem-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 0;
    }

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 16px 8px;
    }

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

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

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

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

    .eco-circle {
        width: 150px;
        height: 150px;
    }

    .eco-center-icon {
        font-size: 36px;
    }
}

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

/* 文章 Hero */
.article-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.article-category:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.meta-icon {
    font-size: 16px;
}

/* 文章内容区域 */
.article-content-section {
    padding: 40px 0 60px;
    width: 100%;
}

body.single .site-content > .ast-container {
    max-width: 85% !important;
}

body.single .article-content-section .container {
    max-width: 100% !important;
    width: 100% !important;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 30px;
    align-items: flex-start;
}

/* 文章正文 */
.article-body {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a1a;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

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

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

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

.article-body strong {
    color: #1a1a1a;
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid var(--brand-color);
    padding: 16px 20px;
    margin: 24px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-body code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #e74c3c;
}

.article-body pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* 侧边栏 */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}

.toc-item a:hover {
    color: var(--brand-color);
}

.toc-level-3 {
    padding-left: 16px;
}

.toc-empty {
    color: #999;
    font-size: 14px;
}

/* 文章底部 */
.article-footer-section {
    padding: 0 0 60px;
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tags-label {
    font-size: 14px;
    color: #666;
}

.tag-link {
    display: inline-block;
    padding: 4px 12px;
    background: #f4f4f4;
    color: #666;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-link:hover {
    background: var(--brand-color);
    color: white;
}

/* 上下篇导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.nav-link:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 相关文章 */
.related-posts {
    margin-top: 20px;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

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

.related-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

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

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

.related-content {
    padding: 16px;
}

.related-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 13px;
    color: #999;
}

/* 文章页响应式 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 40px 16px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        gap: 16px;
    }

    .meta-item {
        font-size: 13px;
    }

    .article-body {
        padding: 24px;
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 20px;
    }

    .article-body h3 {
        font-size: 18px;
    }

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

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