/* 文章详情页样式 */

/* 主要内容区 */
.article-detail-section {
    padding: 30px 0 0px;
    background-color: #f8f9fa;
}

.article-content {
    display: flex;
    gap: 30px;
}

.article-main {
    flex: 1;
    min-width: 0;
}

.article-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1e88e5;
}

/* 文章详情 */
.article-detail {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    position: relative; /* 添加相对定位，作为目录的参考点 */
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.title-bline {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
    color: #999;
}

.article-summary,.article-content-body>blockquote {
    background-color: #f5f7fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    text-align: center;
}

/* 文章内容主体 */
.article-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.article-content-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.article-content-body p {
    margin-bottom: 20px;
}

.article-content-body ul, 
.article-content-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content-body li {
    margin-bottom: 10px;
}

.article-content-body strong {
    font-weight: 600;
    color: #333;
}

/* 引用样式 */
.article-quote {
    background-color: #f5f7fa;
    border-left: 4px solid #1e88e5;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.article-quote p {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.6;
}

.quote-author {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-style: normal;
}

/* 流程步骤 */
.process-steps {
    margin: 30px 0;
}

.process-step {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: #e0e0e0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* 文章图片容器 */
.article-image-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.article-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    text-align: center;
}

/* 文章提示 */
.article-tips {
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.article-tips h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.article-tips h4 i {
    margin-right: 8px;
}

.article-tips p {
    margin-bottom: 0;
    color: #555;
}

/* FAQ部分 */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f5f7fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 10px;
}

.faq-question h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.faq-answer {
    padding: 15px 20px;
    background-color: #fff;
}

.faq-answer p {
    margin: 0;
    color: #555;
}

/* 免责声明 */
.article-disclaimer {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
}

/* 文章标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 25px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.article-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f0f7ff;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    margin: 0 8px 8px 0;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tag:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 文章分享 */
.article-share {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    /* border-bottom: 1px solid #eee; */
}

.share-label {
    font-size: 14px;
    color: #666;
    margin-right: 15px;
}

.share-buttons {
    display: flex;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.share-btn.weixin {
    background-color: #07c160;
}

.share-btn.weibo {
    background-color: #e6162d;
}

.share-btn.qq {
    background-color: #12b7f5;
}

.share-btn.link {
    background-color: #666;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 作者信息 */
.author-info {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    gap:15px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.author-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-contact {
    display: flex;
}

.contact-btn, .follow-btn {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s;
}

.contact-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.follow-btn {
    background-color: #f0f7ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.contact-btn:hover {
    background-color: #122a50;
}

.follow-btn:hover {
    background-color: #e3f2fd;
}

/* 相关文章 */
.related-articles {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    height: 20px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.related-article-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-article-item {
    flex: 1;
    min-width: calc(33.333% - 14px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.related-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-article-img {
    height: 150px;
    overflow: hidden;
}

.related-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-article-item:hover .related-article-img img {
    transform: scale(1.05);
}

.related-article-info {
    padding: 15px;
}

.related-article-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-article-info h4 a {
    color: #333;
    text-decoration: none;
}

.related-article-info h4 a:hover {
    color: var(--primary-color);
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.related-article-meta i {
    margin-right: 5px;
}

/* 侧边栏样式 */
.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    height: 18px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 搜索框 */
.search-widget {
    padding: 15px;
}

.search-box {
    display: flex;
    margin-bottom: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box button {
    width: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.hot-search-tags {
    margin-top: 10px;
}

.hot-search-label {
    font-size: 13px;
    color: #666;
    margin-right: 5px;
}

.hot-search-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.hot-search-list.single-line {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.hot-search-list.single-line::-webkit-scrollbar {
    height: 4px;
}

.hot-search-list.single-line::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 2px;
}

.hot-search-item {
    display: inline-block;
    padding: 3px 8px;
    background-color: #f5f7fa;
    color: #666;
    border-radius: 3px;
    font-size: 12px;
    margin: 0 5px 5px 0;
    text-decoration: none;
    white-space: nowrap;
}

.hot-search-item:hover {
    background-color: #e3f2fd;
    color: var(--primary-color);
}

/* 作者卡片 */
.author-card {
    padding: 0;
    overflow: hidden;
}

.author-card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f5f7fa;
}

.author-stats {
    display: flex;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.author-contact-info {
    display: flex;
    padding: 15px 20px;
}

.author-contact-info .contact-btn,
.author-contact-info .follow-btn {
    flex: 1;
    text-align: center;
}

/* 热门文章 */
.hot-article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-article-item {
    display: flex;
    gap: 12px;
}

.hot-article-img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
	position: relative;
}

.hot-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no-image{
	background-color: #f5f5f5;
}
.no-image img {
    opacity: 0;
}
.hot-article-img.no-image::before {
    content: "暂无图片";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 1;
}
.hot-article-info {
    flex: 1;
    min-width: 0;
}

.hot-article-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-article-info h4 a {
    color: #333;
    text-decoration: none;
}

.hot-article-info h4 a:hover {
    color: var(--primary-color);
}

.hot-article-meta {
    font-size: 12px;
    color: #999;
}

/* 推荐律师 */
.lawyer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lawyer-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.lawyer-item:hover {
    background-color: #f5f7fa;
}

.lawyer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-info {
    flex: 1;
}

.lawyer-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.lawyer-specialty {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.lawyer-rating {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #ffa000;
}

.lawyer-rating i {
    margin-right: 2px;
}

.lawyer-rating span {
    margin-left: 5px;
    color: #666;
}

/* 法律服务广告 */
.legal-service-ad {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
}

.ad-content {
    padding: 20px;
    background-color: #f0f7ff;
}

.ad-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e88e5;
    margin-bottom: 10px;
}

.ad-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ad-features {
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

.ad-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.ad-btn:hover {
    background-color: #1976d2;
}

.ad-image {
    height: 150px;
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .article-content {
        flex-direction: column;
    }
    
    .article-sidebar {
        width: 100%;
    }
    
    .related-article-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-image-container {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 10px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .author-contact {
        justify-content: center;
    }
    
    .related-article-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .reply-list {
        margin-left: 20px;
    }
}


/* 范本预览与下载区域 */
.document-template {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid #e0e0e0;
}

.template-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* 预览区域 */
.template-preview {
    margin-bottom: 25px;
}

.preview-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.preview-image-item {
    flex: 0 0 auto;
    width: 210px;
    height: 297px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.preview-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.preview-image-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}

.preview-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.preview-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.preview-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.preview-pagination {
    font-size: 14px;
    color: #666;
}

/* 下载区域 */
.template-download {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.template-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.template-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #ffa000;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

.rating-count {
    font-size: 13px;
    color: #666;
}

.download-options {
    display: flex;
    gap: 20px;
}

.download-option {
    flex: 1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.download-option.free {
    background-color: #f0f7ff;
    border: 1px solid #d0e5ff;
}

.download-option.premium {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
}

.option-header {
    margin-bottom: 15px;
}

.option-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: normal;
}

.free-badge {
    background-color: #e3f2fd;
    color: var(--primary-color);
}

.premium-badge {
    background-color: #fff3e0;
    color: #f57c00;
}

.option-header p {
    font-size: 14px;
    color: #666;
}

.option-features {
    margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
}

.option-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
	flex:1;
	min-width: 200px;
}

.option-features .feature-item i {
    width: 18px;
    text-align: center;
}

.option-features .feature-item.disabled {
    color: #999;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 4px;
    font-size: 15px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s;
}

.free-download {
    background-color: var(--primary-color);
    color: #fff;
}

.free-download:hover {
    background-color: #122a50;
}

.premium-download {
    background-color: #ff9800;
    color: #fff;
}

.premium-download:hover {
    background-color: #f57c00;
}
.premium-buy {
    background-color: var(--secondary-color);
    color: #fff;
}
.premium-buy:hover {
    background-color: #a51930;
}
/* 图片懒加载占位图样式 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}
/* 视频解读模块样式 */
.article-video-section {
	margin: 0 0 40px 0;
    /* padding: 30px; */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.video-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-section-title i {
    color: var(--primary-color);
    font-size: 22px;
}

.video-player-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
	background-color: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.video-play-button:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 25px;
}

.video-meta-info {
    margin-bottom: 20px;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.video-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.video-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-details i {
    color: #999;
    font-size: 13px;
}

.video-description {
    margin-bottom: 25px;
}

.video-description p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.video-chapters h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-chapters h4:before {
    content: "📋";
    font-size: 14px;
}

.chapter-list {
    display: grid;
    gap: 8px;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.chapter-item:hover {
    background: #e9ecef;
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.chapter-time {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    min-width: 50px;
    font-family: 'Courier New', monospace;
}

.chapter-title {
    font-size: 14px;
    color: #555;
    flex: 1;
}
/* 文章目录样式 */
.article-toc {
    position: fixed; /* 改为固定定位，使其随页面滚动 */
    left: calc(50% - 600px - 150px); /* 使用计算值确保目录位于内容区左侧 */
    top: 588px;
    width: 160px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.toc-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.toc-toggle {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.toc-toggle:hover {
    color: var(--primary-color);
}

.toc-body {
    padding: 15px 0;
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s;
}

.toc-body.collapsed {
    max-height: 0;
    padding: 0;
    overflow: hidden;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 0;
    margin: 0;
}

.toc-link {
    display: block;
    padding: 6px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toc-link:hover, .toc-link.active {
    color: var(--primary-color);
    background-color: #f0f7ff;
    border-left-color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .article-toc {
        left: 20px; /* 在较小屏幕上调整位置 */
        width: 140px;
    }
}

@media (max-width: 992px) {
    .article-toc {
        position: static; /* 在小屏幕上恢复为静态定位 */
        width: 100%;
        margin-bottom: 20px;
    }
    
    .toc-body {
        max-height: 200px;
    }
}

/* 文章登录墙样式 */
.article-login-wall {
    position: relative;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.login-wall-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
}

.login-wall-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-wall-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.login-wall-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.login-wall-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.login-wall-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.benefit-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.benefit-item span {
    font-size: 14px;
    color: #555;
}

.login-wall-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.login-btn, .register-btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.login-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.login-btn:hover {
    background-color: #122a50;
}

.register-btn {
    background-color: #f0f7ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.register-btn:hover {
    background-color: #e3f2fd;
}

.login-wall-footer {
    font-size: 14px;
    color: #666;
}

.login-wall-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-wall-blur {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    z-index: 1;
}

.article-content-locked {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.7;
}

.article-content-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-content-body thead {
  background-color: #f2f2f2;
}

.article-content-body thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
}

.article-content-body tbody tr {
  border-bottom: 1px solid #eee;
}

.article-content-body tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.article-content-body tbody td {
  padding: 10px 16px;
  color: #333;
}

.article-content-body tbody tr:hover {
  background-color: #f1f7ff;
  transition: background-color 0.3s;
}

.wtip{
	font-size: 16px;
    color: #333;
    margin-bottom: 18px;
    line-height: 2.2;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login-wall-content {
        padding: 30px 20px;
    }
    
    .login-wall-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .benefit-item {
        flex-direction: row;
        justify-content: center;
    }
}