/* 全局变量定义 */
@charset "utf-8";
:root {
    --main-orange: #F5A623;
    --light-orange: #FFF9F1;
    --dark-text: #222222;
    --gray-text: #666666;
    --border-color: #EEEEEE;
    --max-width: 1480px;
}

body { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #fff; color: var(--dark-text); line-height: 1.6; }

/* 容器布局 */
.page-wrapper { width: 100%; overflow-x: hidden; }
.container-1480 { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; box-sizing: border-box; }

/* 面包屑导航 */
.breadcrumb-box { padding: 30px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 50px; }
.breadcrumb-box a { color: var(--gray-text); text-decoration: none; transition: 0.3s; }
.breadcrumb-box a:hover { color: var(--main-orange); }

/* 文章主体区 */
.article-container { margin-bottom: 80px; }
.article-header { text-align: center; margin-bottom: 60px; }
.article-header h1 { font-size: 42px; font-weight: 700; margin-bottom: 20px; color: #111; line-height: 1.2; }
.article-info { font-size: 14px; color: var(--gray-text); }
.article-info span { margin: 0 15px; }

.article-content { font-size: 18px; color: #333; line-height: 1.8; }
.article-content img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin: 30px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* 询盘表单设计 - 放在文章末尾 */
.inquiry-wrapper { 
    background-color: var(--light-orange); 
    padding: 60px; 
    border-radius: 20px; 
    margin-top: 80px;
    border: 1px solid rgba(245,166,35,0.2);
}
.inquiry-header { text-align: center; margin-bottom: 40px; }
.inquiry-header h3 { font-size: 28px; color: var(--main-orange); font-weight: 700; margin-bottom: 10px; }
.inquiry-header p { color: var(--gray-text); }

.inquiry-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group-full { grid-column: span 2; }
.inquiry-input { 
    width: 100%; padding: 16px 20px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; outline: none; transition: 0.3s; box-sizing: border-box;
}
.inquiry-input:focus { border-color: var(--main-orange); box-shadow: 0 0 10px rgba(245,166,35,0.1); }
.inquiry-textarea { height: 150px; resize: none; }
.btn-submit { 
    background-color: var(--main-orange); color: #fff; border: none; padding: 18px 40px; border-radius: 8px; 
    font-size: 18px; font-weight: 600; cursor: pointer; transition: 0.3s; width: 100%; margin-top: 10px;
}
.btn-submit:hover { background-color: #E69516; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(245,166,35,0.3); }

/* 最新内容列表 - 左图右文样式 */
.latest-posts-section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 40px; position: relative; padding-left: 20px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 6px; background: var(--main-orange); border-radius: 10px; }

.latest-list-item { display: flex; gap: 40px; margin-bottom: 40px; background: #fff; transition: 0.4s; padding: 20px; border-radius: 15px; }
.latest-list-item:hover { box-shadow: 0 15px 45px rgba(0,0,0,0.08); transform: translateY(-5px); }
.item-img-box { flex: 0 0 420px; height: 260px; overflow: hidden; border-radius: 12px; }
.item-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.latest-list-item:hover .item-img-box img { transform: scale(1.08); }
.item-content-box { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.item-content-box h4 { font-size: 24px; margin-bottom: 15px; }
.item-content-box h4 a { color: var(--dark-text); text-decoration: none; transition: 0.3s; }
.item-content-box h4 a:hover { color: var(--main-orange); }
.item-content-box p { color: var(--gray-text); font-size: 16px; line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item-date { font-size: 14px; color: #bbb; }

/* 文章翻页 */
.post-navigation { display: flex; justify-content: space-between; margin-top: 50px; padding: 30px 0; border-top: 1px solid var(--border-color); }
.post-navigation a { text-decoration: none; color: var(--dark-text); max-width: 45%; }
.nav-label { font-size: 12px; color: var(--main-orange); display: block; margin-bottom: 5px; text-transform: uppercase; }
.nav-title { font-weight: 600; font-size: 16px; }

/* 响应式调整 */
@media (max-width: 1024px) {
    .container-1480 { padding: 0 20px; }
    .item-img-box { flex: 0 0 300px; height: 200px; }
}

@media (max-width: 768px) {
    .container-1480 { padding: 0 15px; }
    .article-header h1 { font-size: 28px; }
    .inquiry-wrapper { padding: 30px 20px; }
    .inquiry-form-grid { grid-template-columns: 1fr; }
    
    .latest-list-item { flex-direction: column; gap: 20px; padding: 10px; }
    .item-img-box { flex: 0 0 auto; width: 100%; height: 220px; }
    .item-content-box h4 { font-size: 20px; }
    .post-navigation { flex-direction: column; gap: 20px; }
    .post-navigation a { max-width: 100%; }
}



/******Table of Contents *******/

.content ol, .content ul {
    margin: 0 0 10px 20px;
}

.ck-widget-toc ol {
    margin: 0 0 10px 20px;
}

.ck-widget-toc ol {
    visibility: hidden;
    opacity: 0;
	display: none;
}



.ck-widget-toc .activelan {
    visibility: visible;
    opacity: 1;  
	display: block;
}


.ck-widget-toc {
    background: #f9f9f9;
    border: 1px solid #aaa;
    padding: 10px;
    margin-bottom: 1em;
    width: auto;
    display: table;
    font-size: 95%;

}

.ck-widget-toc p.toc_title {
    text-align: center;
    font-weight: 700;
    margin: 0;
    padding: 0;
}


/******Table of Contents *******/