/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 15px;
    color: #333;
    background: #f5f7fa;
    line-height: 1.8;
}

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

a {
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

a:hover {
    color: #3498db;
}

ul {
    list-style: none;
}

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

/* 头部 */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
}

.site-title a {
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
}

.header-search form {
    display: flex;
    position: relative;
}

.search-input {
    width: 280px;
    height: 42px;
    padding: 0 45px 0 18px;
    border: 2px solid #e8e8e8;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #667eea;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

/* 导航菜单 */
.main-navigation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 16px 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* 精选轮播区 */
.featured-section {
    padding: 30px 0;
}

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

.featured-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.featured-thumb {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.small-thumb {
    height: 120px;
}

.thumb-placeholder {
    font-size: 80px;
    opacity: 0.8;
}

.post-thumb {
    font-size: 50px;
}

.small-thumb .thumb-placeholder {
    font-size: 40px;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #667eea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.featured-content {
    padding: 20px;
}

.featured-title {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 600;
}

.featured-title a {
    color: #2c3e50;
}

.featured-title a:hover {
    color: #667eea;
}

.featured-title-small {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.featured-title-small a {
    color: #2c3e50;
}

.featured-title-small a:hover {
    color: #667eea;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.post-meta.small {
    gap: 10px;
    font-size: 12px;
    margin-bottom: 0;
}

.featured-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 主内容区 */
.main-content {
    padding: 20px 0 40px;
}

.main-content .container {
    display: flex;
    gap: 30px;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 区块标题 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.section-title h2 {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.view-all {
    color: #667eea;
    font-size: 14px;
}

.view-all:hover {
    color: #764ba2;
}

/* 文章列表 */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.post-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.post-thumbnail {
    width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail .thumb-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    background: #f0f3ff;
    color: #667eea;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}

.post-title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-title a {
    color: #2c3e50;
}

.post-title a:hover {
    color: #667eea;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta .author {
    color: #667eea;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.page-numbers:hover {
    background: #667eea;
    color: #fff;
}

.page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

/* 侧边栏小部件 */
.widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

/* 博主信息 */
.author-widget {
    text-align: center;
}

.author-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    font-size: 45px;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-title {
    color: #667eea;
    font-size: 13px;
    margin-bottom: 12px;
}

.author-bio {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: left;
}

.author-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.author-stats .stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
}

.stat-label {
    font-size: 12px;
    color: #999;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 50%;
    font-size: 12px;
    color: #666;
}

.social-link:hover {
    background: #667eea;
    color: #fff;
}

/* 热门文章 */
.popular-posts li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.popular-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.popular-rank.one {
    background: #e74c3c;
}

.popular-rank.two {
    background: #f39c12;
}

.popular-rank.three {
    background: #f1c40f;
}

.popular-info {
    flex: 1;
    min-width: 0;
}

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

.popular-info h4 a {
    color: #333;
}

.popular-info h4 a:hover {
    color: #667eea;
}

.popular-views {
    font-size: 12px;
    color: #999;
}

/* 分类列表 */
.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    font-size: 14px;
    color: #333;
}

.category-list a:hover {
    color: #667eea;
}

.category-list .count {
    background: #f5f7fa;
    color: #999;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f7fa;
    color: #666;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
}

/* 订阅 */
.subscribe-widget p {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-form input {
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.subscribe-form input:focus {
    border-color: #667eea;
}

.subscribe-form button {
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.subscribe-form button:hover {
    opacity: 0.9;
}

/* 底部 */
.site-footer {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 50px 0 20px;
    margin-top: 40px;
}

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

.footer-widget h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-widget p {
    font-size: 13px;
    line-height: 1.8;
    color: #95a5a6;
}

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

.footer-widget ul li a {
    color: #95a5a6;
    font-size: 13px;
}

.footer-widget ul li a:hover {
    color: #667eea;
}

.contact-list li {
    font-size: 13px;
    color: #95a5a6;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #34495e;
    font-size: 13px;
    color: #7f8c8d;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: #7f8c8d;
}

.footer-bottom a:hover {
    color: #667eea;
}

.disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
}

.breadcrumb-nav a {
    color: #666;
}

.breadcrumb-nav a:hover {
    color: #667eea;
}

.breadcrumb-nav .separator {
    color: #ccc;
}

.breadcrumb-nav .current {
    color: #667eea;
    font-weight: 500;
}

/* 分类区块 */
.category-sections {
    padding: 30px 0;
}

.category-block {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.category-block-header h2 {
    font-size: 19px;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-block-header h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.category-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.category-post-item:hover {
    background: #f8f9ff;
}

.category-post-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.category-post-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-post-title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-post-title a {
    color: #333;
}

.category-post-title a:hover {
    color: #667eea;
}

.category-post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 12px;
}

/* 吴老师投资随笔专栏 */
.essay-column {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.essay-column::before {
    content: '✍️';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    opacity: 0.1;
}

.essay-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.essay-column-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.essay-column-header .subtitle {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

.essay-column-header .view-all-white {
    color: #fff;
    font-size: 14px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    transition: all 0.3s;
}

.essay-column-header .view-all-white:hover {
    background: #fff;
    color: #667eea;
}

.essay-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    position: relative;
    z-index: 1;
}

.essay-post-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.essay-post-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.essay-post-card h3 {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 600;
}

.essay-post-card h3 a {
    color: #fff;
}

.essay-post-card p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.essay-post-card .essay-meta {
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    gap: 12px;
}

/* 热门文章TOP10 */
.top10-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.top10-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
}

.top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

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

.top10-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f3ff;
    color: #667eea;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.top10-item:nth-child(1) .top10-rank,
.top10-item:nth-child(2) .top10-rank,
.top10-item:nth-child(3) .top10-rank {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.top10-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top10-title a {
    color: #333;
}

.top10-title a:hover {
    color: #667eea;
}

.top10-views {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* 友情链接 */
.friend-links {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.friend-links h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-list a {
    padding: 6px 14px;
    background: #f5f7fa;
    color: #666;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s;
}

.friend-links-list a:hover {
    background: #667eea;
    color: #fff;
}

/* 文章详情页 */
.article-header {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-header h1 {
    font-size: 26px;
    line-height: 1.5;
    color: #2c3e50;
    margin-bottom: 18px;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.article-meta .author-name-highlight {
    color: #667eea;
    font-weight: 600;
}

.article-content {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.article-content h2 {
    font-size: 22px;
    color: #2c3e50;
    margin: 30px 0 18px;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid #667eea;
}

.article-content h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 25px 0 15px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 18px;
    text-indent: 2em;
}

.article-content blockquote {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 20px 0;
    color: #555;
    font-style: italic;
}

.article-content blockquote p {
    text-indent: 0;
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 15px 2em;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 8px;
}

.article-content ul li::marker {
    color: #667eea;
}

.article-content strong {
    color: #667eea;
    font-weight: 600;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 1px solid #667eea30;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.article-content .highlight-box h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
}

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

.article-tags .tags-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 5px;
}

.article-tags a {
    padding: 5px 14px;
    background: #f0f3ff;
    color: #667eea;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s;
}

.article-tags a:hover {
    background: #667eea;
    color: #fff;
}

/* 分享按钮 */
.share-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 600;
    color: #2c3e50;
}

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

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-qq { background: #12b7f5; }
.share-link { background: #667eea; }

.like-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.like-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.4);
}

/* 吴老师推荐/署名 */
.author-recommend {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f3ff 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #e0e7ff;
}

.author-recommend-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    flex-shrink: 0;
}

.author-recommend-info {
    flex: 1;
}

.author-recommend-info h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 6px;
}

.author-recommend-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.author-recommend-sign {
    font-family: "楷体", "KaiTi", serif;
    color: #667eea;
    font-size: 18px;
    margin-top: 8px;
}

/* 上一篇/下一篇 */
.post-navigation {
    background: #fff;
    border-radius: 12px;
    padding: 20px 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-prev,
.nav-next {
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-prev:hover,
.nav-next:hover {
    background: #f8f9ff;
}

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

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

.nav-prev:hover .nav-title,
.nav-next:hover .nav-title {
    color: #667eea;
}

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

/* 相关文章 */
.related-posts {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-posts h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

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

.related-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.related-card-thumb {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.related-card-content {
    padding: 12px;
    background: #fafafa;
}

.related-card-title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.related-card-title a {
    color: #333;
}

.related-card-title a:hover {
    color: #667eea;
}

.related-card-meta {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 评论区 */
.comments-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comments-section h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.comment-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 8px;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

.comment-form textarea:focus {
    border-color: #667eea;
}

.comment-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.comment-form-row input {
    width: 30%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.comment-form-row input:focus {
    border-color: #667eea;
}

.comment-submit {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.comment-submit:hover {
    opacity: 0.9;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

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

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: #fff;
    font-weight: 600;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.comment-author.is-author {
    color: #667eea;
}

.comment-author.is-author::after {
    content: '吴老师';
    background: #667eea;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: normal;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-content {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.comment-actions a {
    color: #999;
}

.comment-actions a:hover {
    color: #667eea;
}

.comment-reply {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* 列表页样式 */
.page-header {
    background: #fff;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-header h1 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 14px;
    background: #f5f7fa;
    color: #666;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag.active,
.filter-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.filter-sort {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.filter-sort a {
    color: #666;
}

.filter-sort a.active,
.filter-sort a:hover {
    color: #667eea;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .essay-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top10-grid {
        grid-template-columns: 1fr;
    }
    
    .category-posts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .search-input {
        width: 250px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumbnail {
        width: 100%;
    }
    
    .post-thumbnail .thumb-placeholder {
        height: 200px;
    }
    
    .essay-posts {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header,
    .article-content,
    .article-tags,
    .share-section,
    .post-navigation {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 20px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .share-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .author-recommend {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .comment-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-form-row input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}
