/* page.css - 内页通用布局（内页加载） */

/* === Page Header === */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); padding: 60px 0; text-align: center; color: var(--white); }
.page-header h1 { font-size: 32px; margin-bottom: 10px; color: var(--white); }
.page-header p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* === Page Content === */
.page-content { padding: 50px 0; }
.page-main { width: 70%; float: left; padding-right: 40px; }
.page-sidebar { width: 30%; float: right; }

/* === Sidebar === */
.sidebar-widget { background: var(--white); border-radius: 8px; padding: 25px; margin-bottom: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.sidebar-title { font-size: 16px; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--secondary); font-weight: 600; }
.sidebar-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0ebe5; }
.sidebar-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-list a { font-size: 14px; color: var(--text); transition: color 0.3s; display: block; line-height: 1.5; }
.sidebar-list a:hover { color: var(--secondary); }
.sidebar-list .date { display: block; font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* === Content Box === */
.content-box { background: var(--white); border-radius: 8px; padding: 35px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 30px; }
.content-box h2 { font-size: 22px; color: var(--primary); margin: 30px 0 15px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.content-box h2:first-child { margin-top: 0; }
.content-box h3 { font-size: 18px; color: var(--green-light); margin: 25px 0 12px; }
.content-box p { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 15px; }
.content-box ul, .content-box ol { margin: 15px 0; padding-left: 25px; }
.content-box ul li { list-style: disc; margin-bottom: 8px; font-size: 15px; line-height: 1.7; color: var(--text); }
.content-box ol li { list-style: decimal; margin-bottom: 8px; font-size: 15px; line-height: 1.7; color: var(--text); }
.content-box strong { color: var(--primary); }
.content-box a { color: var(--primary); text-decoration: underline; }
.content-box a:hover { color: var(--secondary); }
.content-box table { margin: 20px 0; border: 1px solid var(--border); }
.content-box th { background: var(--primary); color: var(--white); padding: 12px 15px; font-weight: 600; font-size: 14px; }
.content-box td { padding: 12px 15px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.content-box tr:nth-child(even) { background: #faf8f5; }

/* === About Page Specific === */
.about-intro { text-align: center; margin-bottom: 50px; }
.about-intro p { font-size: 16px; line-height: 1.9; color: var(--text); max-width: 800px; margin: 0 auto; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--secondary); }
.timeline-item { position: relative; margin-bottom: 30px; padding-left: 25px; }
.timeline-item::before { content: ""; position: absolute; left: -36px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--secondary); }
.timeline-year { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-text { font-size: 14px; color: var(--text); line-height: 1.7; }

/* === Case Page === */
.case-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -15px; }
.case-item { width: 33.333%; padding: 0 15px; margin-bottom: 30px; }
.case-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.case-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.case-img { height: 180px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.08); }
.case-body { padding: 20px; }
.case-body h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.case-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.case-meta { display: -webkit-box; display: -webkit-flex; display: flex; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.case-meta span { font-size: 12px; color: var(--text-light); margin-right: 15px; }
.case-meta span i { color: var(--secondary); margin-right: 4px; }

/* === Honor Page === */
.honor-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -15px; }
.honor-item { width: 25%; padding: 0 15px; margin-bottom: 30px; text-align: center; }
.honor-icon { width: 80px; height: 80px; margin: 0 auto 15px; background: linear-gradient(135deg, var(--primary), var(--green-light)); border-radius: 50%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; color: var(--white); font-size: 30px; }
.honor-item h3 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }
.honor-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* === Partner Page === */
.partner-page-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -20px; }
.partner-page-item { width: 33.333%; padding: 0 20px; margin-bottom: 35px; }
.partner-page-card { background: var(--white); border-radius: 8px; padding: 30px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; border: 1px solid var(--border); }
.partner-page-card:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.partner-page-logo { width: 70px; height: 70px; background: var(--bg); border-radius: 50%; margin: 0 auto 18px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; font-size: 24px; font-weight: 700; color: var(--primary); }
.partner-page-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.partner-page-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* === Related Articles === */
.related-section { margin-top: 50px; padding-top: 40px; border-top: 2px solid var(--border); }
.related-section h2 { font-size: 20px; color: var(--primary); margin-bottom: 25px; }
.related-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -15px; }
.related-item { width: 33.333%; padding: 0 15px; margin-bottom: 20px; }
.related-card { display: block; padding: 18px; background: var(--bg); border-radius: 6px; border-left: 3px solid var(--primary); transition: all 0.3s; }
.related-card:hover { background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.related-card h4 { font-size: 14px; color: var(--primary); margin-bottom: 6px; line-height: 1.4; }
.related-card span { font-size: 12px; color: var(--text-light); }

/* === Tag Cloud === */
.tag-cloud { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.tag-cloud a { display: inline-block; padding: 6px 14px; background: var(--bg); border-radius: 20px; font-size: 13px; color: var(--text); margin: 0 8px 8px 0; transition: all 0.3s; border: 1px solid var(--border); }
.tag-cloud a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* === Responsive === */
@media screen and (max-width: 1024px) {
  .page-main { width: 65%; padding-right: 20px; }
  .page-sidebar { width: 35%; }
  .case-item, .honor-item { width: 50%; }
  .partner-page-item, .related-item { width: 50%; }
}

@media screen and (max-width: 768px) {
  .page-main, .page-sidebar { width: 100%; float: none; padding-right: 0; }
  .page-sidebar { margin-top: 40px; }
  .case-item, .honor-item, .partner-page-item, .related-item { width: 100%; }
  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 24px; }
  .content-box { padding: 25px; }
}
