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

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #e74c3c;
}

ul {
    list-style: none;
}

/* 顶部通知栏 */
.top-bar {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotline {
    color: #e74c3c;
    font-weight: bold;
}

.top-links a {
    color: #666;
    margin: 0 5px;
}

.top-links a:hover {
    color: #e74c3c;
}

/* 头部 */
.header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 3px solid #e74c3c;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    color: #e74c3c;
    margin-bottom: 5px;
}

.logo p {
    color: #999;
    font-size: 14px;
}

.search-box {
    display: flex;
    gap: 0;
}

.search-box input {
    width: 300px;
    height: 40px;
    padding: 0 15px;
    border: 2px solid #e74c3c;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    height: 40px;
    padding: 0 25px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #c0392b;
}

/* 导航栏 */
.navbar {
    background: #e74c3c;
}

.navbar ul {
    display: flex;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.3s;
}

.navbar a:hover,
.navbar a.active {
    background: #c0392b;
}

/* 主横幅 */
.banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 60px 0;
}

.banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ffd700;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
    color: #fff;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

.banner-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

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

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

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

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

/* 区块通用样式 */
.section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.section-header h3 {
    font-size: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #e74c3c;
    border-radius: 2px;
}

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

.more:hover {
    color: #e74c3c;
}

/* 股票合作列表 */
.cooperation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.cooperation-date {
    width: 70px;
    text-align: center;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px 8px;
    flex-shrink: 0;
}

.cooperation-date .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 5px;
}

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

.cooperation-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cooperation-content h4 a {
    color: #333;
}

.cooperation-content h4 a:hover {
    color: #e74c3c;
}

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

/* 炒股技巧网格 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}

.skill-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.skill-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.skill-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.skill-link {
    color: #e74c3c;
    font-size: 13px;
    font-weight: bold;
}

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

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

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

.news-date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
    font-family: monospace;
}

.news-item a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

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

.widget-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-link a {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.more-link a:hover {
    color: #e74c3c;
}

/* 热门文章 */
.hot-articles li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px dotted #eee;
}

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

.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ccc;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.rank-1 {
    background: #e74c3c;
}

.rank-2 {
    background: #f39c12;
}

.rank-3 {
    background: #f1c40f;
}

.hot-articles a {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.views {
    width: 100%;
    font-size: 12px;
    color: #999;
    padding-left: 30px;
}

/* 合作方式 */
.cooperation-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.type-item {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s;
}

.type-item:hover {
    background: #fff0f0;
}

.type-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.type-item h5 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.type-item p {
    font-size: 12px;
    color: #999;
}

/* 联系我们 */
.contact-info p {
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
}

.contact-info strong {
    color: #333;
}

.qr-code {
    margin-top: 15px;
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 4px;
}

.qr-code p {
    font-size: 12px;
    color: #666;
}

/* 吴老师简介 */
.teacher-intro {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.teacher-avatar {
    text-align: center;
    flex-shrink: 0;
}

.avatar-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.teacher-avatar h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.teacher-avatar p {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
}

.teacher-bio {
    flex: 1;
}

.teacher-bio h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.teacher-bio h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.teacher-bio p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.teacher-tags .tag {
    background: #fff0f0;
    color: #e74c3c;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.contact-widget.highlight {
    border: 2px solid #e74c3c;
    background: #fffbfb;
}

/* 特色服务 */
.features {
    background: #fff;
    padding: 50px 0;
    border-top: 1px solid #eee;
}

.features-title {
    text-align: center;
    margin-bottom: 40px;
}

.features-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.features-title p {
    color: #666;
    font-size: 15px;
}

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

.feature-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s;
    border-radius: 8px;
}

.feature-item:hover {
    background: #fff5f5;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

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

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 18px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid #34495e;
}

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

.footer-col ul li a {
    color: #bdc3c7;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: #e74c3c;
}

.footer-col ul li {
    color: #bdc3c7;
    font-size: 13px;
}

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

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

.footer-bottom a {
    color: #95a5a6;
}

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

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

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

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

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #e74c3c;
    font-weight: 500;
}

/* 栏目导航标签 */
.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.category-tabs a {
    padding: 6px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.category-tabs a:hover,
.category-tabs a.active {
    background: #e74c3c;
    color: #fff;
}

/* 文章列表通用样式 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

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

.article-thumb {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}

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

.article-body h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-body h4 a {
    color: #333;
}

.article-body h4 a:hover {
    color: #e74c3c;
}

.article-summary {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.article-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #fff0f0;
    color: #e74c3c;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 5px;
}

/* 双栏文章布局 */
.two-col-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.two-col-articles .section {
    margin-bottom: 0;
}

/* 三栏文章布局 */
.three-col-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 操盘日记 */
.diary-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5f0 100%);
    border-left: 4px solid #f39c12;
}

.diary-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.diary-item {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #ffe0b2;
    transition: all 0.3s;
}

.diary-item:hover {
    box-shadow: 0 3px 12px rgba(243, 156, 18, 0.15);
    transform: translateX(3px);
}

.diary-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.diary-date .date-day {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}

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

.diary-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

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

.diary-title a:hover {
    color: #e74c3c;
}

.diary-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.diary-tags {
    margin-top: 8px;
}

.diary-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #fff3cd;
    color: #856404;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 5px;
}

/* 股票入门知识 */
.basics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.basics-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
    cursor: pointer;
}

.basics-item:hover {
    background: #fff5f5;
    border-color: #e74c3c;
    transform: translateY(-3px);
}

.basics-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.basics-item h5 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.basics-item p {
    font-size: 12px;
    color: #999;
}

/* 市场分析栏目 */
.market-analysis .section-header h3::before {
    background: #3498db;
}

.market-analysis .section-header {
    border-bottom-color: #3498db;
}

/* 个股点评栏目 */
.stock-review .section-header h3::before {
    background: #27ae60;
}

.stock-review .section-header {
    border-bottom-color: #27ae60;
}

/* 行业研究栏目 */
.industry-research .section-header h3::before {
    background: #9b59b6;
}

.industry-research .section-header {
    border-bottom-color: #9b59b6;
}

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

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 26px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-info .author {
    color: #e74c3c;
    font-weight: 500;
}

.teacher-badge {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

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

.article-content h2 {
    font-size: 20px;
    color: #333;
    margin: 25px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #e74c3c;
}

.article-content h3 {
    font-size: 17px;
    color: #333;
    margin: 20px 0 10px;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 15px 20px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

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

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

.article-content strong {
    color: #e74c3c;
}

.article-content .highlight-box {
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.article-content .highlight-box h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

/* 文章标签 */
.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.article-tags .label {
    font-weight: bold;
    color: #333;
}

.article-tags a {
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

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

/* 分享按钮 */
.share-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

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

.share-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

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

/* 上一篇/下一篇 */
.article-nav {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav-item {
    flex: 1;
    padding: 10px 15px;
    border-radius: 6px;
    background: #f8f9fa;
    transition: background 0.3s;
}

.article-nav-item:hover {
    background: #fff0f0;
}

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

.article-nav-item .nav-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.article-nav-item:hover .nav-title {
    color: #e74c3c;
}

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

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

.related-articles h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    color: #333;
}

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

.related-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s;
}

.related-item:hover {
    background: #f8f9fa;
}

.related-item .related-thumb {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.related-item .related-info h5 {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-item .related-info h5 a {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item .related-info h5 a:hover {
    color: #e74c3c;
}

.related-item .related-info .views {
    font-size: 11px;
    color: #999;
    padding-left: 0;
}

/* 合作详情页 */
.cooperation-detail {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cooperation-detail h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.cooperation-detail .subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e74c3c;
}

.cooperation-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.model-card {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
}

.model-card:hover {
    border-color: #e74c3c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.15);
}

.model-card.featured {
    border-color: #e74c3c;
    background: linear-gradient(to bottom, #fff5f5, #fff);
    position: relative;
}

.model-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: #fff;
    padding: 3px 12px;
    font-size: 12px;
    border-radius: 0 6px 0 6px;
}

.model-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.model-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.model-card .price {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0;
}

.model-card .price small {
    font-size: 14px;
    font-weight: normal;
    color: #999;
}

.model-card ul {
    text-align: left;
    margin: 15px 0;
}

.model-card ul li {
    padding: 5px 0;
    font-size: 13px;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.model-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.cooperation-steps {
    margin: 40px 0;
}

.cooperation-steps h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.step-item {
    text-align: center;
    padding: 20px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-item h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.cooperation-faq {
    margin: 40px 0;
}

.cooperation-faq h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #e74c3c;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.faq-question::before {
    content: 'Q：';
    color: #e74c3c;
    font-weight: bold;
}

.faq-answer {
    padding: 15px 20px;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.faq-answer::before {
    content: 'A：';
    color: #27ae60;
    font-weight: bold;
}

.cta-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
}

.cta-box h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-box .btn-white {
    display: inline-block;
    padding: 12px 40px;
    background: #fff;
    color: #e74c3c;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-box .btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* 列表页通用 */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffd700;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.pagination .current {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 侧边栏最新文章 */
.latest-articles li {
    padding: 10px 0;
    border-bottom: 1px dotted #eee;
}

.latest-articles li:last-child {
    border-bottom: none;
}

.latest-articles a {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    display: block;
}

.latest-articles a:hover {
    color: #e74c3c;
}

.latest-articles .date {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: block;
}

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

.tag-cloud a {
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: #e74c3c;
    color: #fff;
}

/* 友情链接 */
.friend-links {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.friend-links h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links a {
    font-size: 13px;
    color: #666;
}

.friend-links a:hover {
    color: #e74c3c;
}

/* 内容列表两列布局 */
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.content-two-col .section {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .two-col-articles,
    .three-col-articles,
    .content-two-col {
        grid-template-columns: 1fr;
    }

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

    .cooperation-models {
        grid-template-columns: 1fr;
    }

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

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

    .article-thumb {
        width: 120px;
        height: 80px;
    }
}
    .main-content .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .banner-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        flex-wrap: wrap;
    }
    
    .navbar a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .cooperation-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .cooperation-date {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .cooperation-date .day {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .banner-stats {
        grid-template-columns: 1fr 1fr;
    }
}
