/* ===== 学习内容详情页 - lv- 前缀 ===== */
.lv-page { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Breadcrumb */
.lv-breadcrumb { padding: 20px 0 4px; font-size: 13px; color: #B8B4AC; }
.lv-breadcrumb a { color: #9B8E7A; text-decoration: none; transition: color 0.15s; }
.lv-breadcrumb a:hover { color: #3C3489; }
.lv-breadcrumb .sep { margin: 0 6px; color: #D4CFC5; }

/* Article layout */
.lv-layout { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 48px; }
.lv-main { flex: 1; min-width: 0; }
.lv-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 80px; }
@media(max-width:900px){
  .lv-layout { flex-direction: column; }
  .lv-sidebar { width: 100%; position: static; }
}

/* Article card */
.lv-article { background: #fff; border: 1px solid #F0E5D8; border-radius: 20px; padding: 32px 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
@media(min-width:768px){ .lv-article{ padding: 40px 36px; } }

/* Article header */
.lv-header { margin-bottom: 28px; }
.lv-title { font-size: 22px; font-weight: 700; color: #2D2A24; line-height: 1.5; margin: 0 0 16px; }
@media(min-width:768px){ .lv-title{ font-size: 28px; } }
.lv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #9B8E7A; }
.lv-meta-tag { display: inline-block; background: #EEEDFE; color: #3C3489; padding: 2px 10px; border-radius: 9999px; font-size: 11px; font-weight: 500; }

/* AI Summary */
.lv-summary { background: #F8F6FF; border: 1px solid #E0DEF0; border-radius: 14px; padding: 16px 20px; margin-bottom: 28px; }
.lv-summary-label { font-size: 12px; font-weight: 600; color: #3C3489; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.lv-summary-text { font-size: 14px; color: #5D5546; line-height: 1.7; margin: 0; }
.lv-summary-note { font-size: 11px; color: #B8B4AC; margin-top: 6px; }

/* Article content */
.lv-content { font-size: 16px; color: #2C2C2A; line-height: 1.9; }
.lv-content p { margin: 0 0 16px; }
.lv-content h2 { font-size: 20px; font-weight: 700; color: #2D2A24; margin: 32px 0 16px; padding-left: 14px; border-left: 4px solid #6F63D9; }
.lv-content h3 { font-size: 18px; font-weight: 600; color: #2D2A24; margin: 24px 0 12px; }
.lv-content ul, .lv-content ol { padding-left: 20px; margin: 0 0 16px; }
.lv-content li { margin-bottom: 6px; }
.lv-content blockquote { border-left: 3px solid #DBC6AB; padding: 12px 20px; margin: 0 0 16px; background: #FEFAF5; border-radius: 0 10px 10px 0; color: #7E7668; font-style: italic; }
.lv-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 16px 0; display: block; }
.lv-content a { color: #6F63D9; text-decoration: underline; text-underline-offset: 2px; }
.lv-content a:hover { color: #3C3489; }
.lv-content strong { color: #3C3489; }
.lv-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.lv-content th, .lv-content td { border: 1px solid #E6E4DC; padding: 10px 14px; text-align: left; }
.lv-content th { background: #F8F6FF; font-weight: 600; color: #3C3489; }

/* Tags */
.lv-tags { padding-top: 20px; border-top: 1px solid #F0E5D8; margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lv-tags-label { font-size: 13px; color: #9B8E7A; }
.lv-tag { display: inline-block; background: #F5F3FF; color: #3C3489; padding: 3px 12px; border-radius: 9999px; font-size: 12px; text-decoration: none; transition: background 0.15s; }
.lv-tag:hover { background: #E0DEF0; }

/* Prev/Next */
.lv-nav { padding-top: 20px; border-top: 1px solid #F0E5D8; margin-top: 20px; }
.lv-nav-item { font-size: 14px; margin-bottom: 8px; }
.lv-nav-label { color: #9B8E7A; }
.lv-nav-link { color: #6F63D9; text-decoration: none; transition: color 0.15s; }
.lv-nav-link:hover { color: #3C3489; text-decoration: underline; }
.lv-nav-empty { color: #D4CFC5; }

/* CTA Section */
.lv-cta { background: linear-gradient(135deg, #3C3489, #6F63D9); border-radius: 20px; padding: 28px 24px; text-align: center; margin-top: 28px; }
.lv-cta-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.lv-cta-desc { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 20px; line-height: 1.6; }
.lv-cta-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.lv-cta-btn { padding: 10px 24px; border-radius: 9999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; display: inline-block; }
.lv-cta-btn-primary { background: #fff; color: #3C3489; border: none; }
.lv-cta-btn-primary:hover { box-shadow: 0 4px 12px rgba(255,255,255,0.3); transform: translateY(-2px); }
.lv-cta-btn-secondary { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.lv-cta-btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* Sidebar */
.lv-sidebar-box { background: #fff; border: 1px solid #F0E5D8; border-radius: 16px; padding: 20px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.lv-sidebar-title { font-size: 14px; font-weight: 700; color: #2D2A24; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #F0E5D8; display: flex; align-items: center; gap: 6px; }
.lv-sidebar-back { display: block; width: 100%; text-align: center; background: linear-gradient(135deg, #3C3489, #6F63D9); color: #fff; padding: 10px; border-radius: 12px; font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.lv-sidebar-back:hover { opacity: 0.9; }

/* Sidebar recommend list */
.lv-rec-list { list-style: none; padding: 0; margin: 0; }
.lv-rec-item { margin-bottom: 10px; }
.lv-rec-item:last-child { margin-bottom: 0; }
.lv-rec-link { font-size: 13px; color: #5D5546; text-decoration: none; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.15s; }
.lv-rec-link:hover { color: #3C3489; }

/* Sidebar CTA mini */
.lv-sidebar-cta { background: linear-gradient(135deg, #3C3489, #6F63D9); border-radius: 16px; padding: 20px; text-align: center; color: #fff; }
.lv-sidebar-cta-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.lv-sidebar-cta-desc { font-size: 12px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.lv-sidebar-cta-btn { display: inline-block; background: #fff; color: #3C3489; padding: 8px 20px; border-radius: 9999px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.lv-sidebar-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Hide footer CTA on this page */
#contact { display: none !important; }
