/* 页面横幅 */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.page-banner h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* 内容布局 */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 文章内容样式 */
.article-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-title {
    font-size: 2em;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
}

.article-intro {
    margin-bottom: 40px;
}

.article-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
}

/* 文章章节样式 */
.article-section {
    margin-bottom: 40px;
}

.article-section h2 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* 规则列表样式 */
.rule-list {
    list-style: none;
    padding: 0;
}

.rule-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.rule-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2196F3;
    font-size: 1.2em;
}

/* 步骤列表样式 */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2196F3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
}

.step-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 技巧类型样式 */
.skill-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-type {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.skill-type h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.skill-type p {
    color: #666;
    line-height: 1.6;
}

/* 视频教学样式 */
.video-tutorial {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.video-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.video-info p {
    color: #666;
    margin-bottom: 10px;
}

.video-duration {
    display: inline-block;
    padding: 5px 10px;
    background: #fff;
    border-radius: 15px;
    color: #666;
    font-size: 0.9em;
}

/* FAQ样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 相关推荐样式 */
.related-articles {
    margin-top: 60px;
}

.section-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2196F3;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-info {
    padding: 20px;
}

.related-info h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.related-info p {
    color: #666;
    line-height: 1.6;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 15px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 1.6em;
    }

    .article-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .article-banner {
        height: 250px;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 10px;
    }

    .video-cover {
        height: 250px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
} 