/*
 * 老手村专题页 v3.3
 */

/* ===== 全宽布局 ===== */
.lsc-topic-fullwidth {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.lsc-topic-fullwidth + .sidebar,
.lsc-topic-fullwidth ~ .sidebar { display: none; }
.site-content:has(.lsc-topic-fullwidth) { padding: 0 2.3% !important; }

/* ===== 轮播图覆盖层 ===== */
.lsc-slider-wrap { position: relative; }
.lsc-slider-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 10;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.lsc-slider-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.lsc-slider-sub {
    font-size: 14px;
    color: rgba(255,255,255,.85);
    margin: 0 0 20px;
}
.lsc-slider-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.lsc-slider-btn {
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
}
.lsc-slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.lsc-slider-btn-primary { background: linear-gradient(135deg, #2196F3, #1976D2); color: #fff; }
.lsc-slider-btn-success { background: linear-gradient(135deg, #4caf50, #388e3c); color: #fff; }

/* ===== 内容容器 ===== */
.lsc-topic-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 0 56px;
    color: #1a1a1a;
    font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.lsc-topic-wrap *, .lsc-topic-wrap *::before, .lsc-topic-wrap *::after {
    box-sizing: border-box;
}

/* ===== 通用 ===== */
.lsc-section { margin-bottom: 32px; }
.lsc-section:last-child { margin-bottom: 0; }

.lsc-sec-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 18px;
    padding: 0 0 10px;
    border-bottom: 2px solid #2196F3;
    display: inline-block;
    letter-spacing: .3px;
}

/* ===== 核心介绍卡片 ===== */
.lsc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}
.lsc-card {
    background: #fafbfc;
    border: 1px solid #eaedf0;
    border-radius: 12px;
    padding: 22px 24px;
    transition: box-shadow .25s, transform .25s;
}
.lsc-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    transform: translateY(-2px);
}
.lsc-card-head {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #eaedf0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lsc-card-head::before {
    content: "";
    width: 4px;
    height: 16px;
    background: #2196F3;
    border-radius: 2px;
    flex-shrink: 0;
}
.lsc-card-text {
    color: #555;
    font-size: 14px;
    line-height: 1.85;
}
.lsc-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lsc-card-list li {
    font-size: 14px;
    color: #444;
    padding: 9px 0 9px 20px;
    position: relative;
    border-bottom: 1px solid #f2f3f5;
    line-height: 1.65;
}
.lsc-card-list li:last-child { border-bottom: none; }
.lsc-card-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #2196F3;
    border-radius: 50%;
}

/* ===== 产品案例 ===== */
.lsc-cases-section {
    background: #fafbfc;
    border: 1px solid #eaedf0;
    border-radius: 12px;
    padding: 22px 24px;
}
.lsc-cases-section .lsc-sec-title { margin-bottom: 16px; }
.lsc-cases-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.lsc-cases-scroll::-webkit-scrollbar { height: 4px; }
.lsc-cases-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
.lsc-cases-scroll::-webkit-scrollbar-thumb { background: #c0c4cc; border-radius: 2px; }
.lsc-cases-scroll::-webkit-scrollbar-thumb:hover { background: #2196F3; }
.lsc-case {
    flex: 0 0 auto;
    width: 200px;
    height: 265px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaedf0;
    background: #fff;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    scroll-snap-align: start;
}
.lsc-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(33,150,243,.12);
    border-color: #2196F3;
}
.lsc-case img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.lsc-case:hover img { transform: scale(1.04); }
.lsc-case a { display: block; width: 100%; height: 100%; }

/* ===== 使用指南 ===== */
.lsc-guide-section {
    background: #fafbfc;
    border: 1px solid #eaedf0;
    border-radius: 12px;
    padding: 22px 24px;
}
.lsc-guide-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaedf0;
}
.lsc-guide-head .lsc-sec-title { margin: 0; padding: 0; border: none; }
.lsc-more {
    font-size: 13px;
    color: #2196F3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    transition: opacity .2s;
}
.lsc-more span { font-size: 16px; }
.lsc-more:hover { opacity: .7; }
.lsc-guide-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lsc-guide-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all .25s;
    text-decoration: none;
    color: inherit;
}
.lsc-guide-row:hover {
    border-color: #2196F3;
    background: #f5f9ff;
    transform: translateX(3px);
    box-shadow: 0 2px 12px rgba(33,150,243,.08);
}
.lsc-guide-thumb {
    width: 110px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #eee;
}
.lsc-guide-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.lsc-guide-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.lsc-guide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
}
.lsc-tag {
    background: rgba(33,150,243,.08);
    color: #2196F3;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.lsc-guide-noimg .lsc-guide-title { font-size: 15px; }
.lsc-empty {
    text-align: center;
    color: #bbb;
    padding: 40px 0;
    font-size: 14px;
}

/* ===== dj-service-add PC端隐藏 ===== */
.dj-service-add { display: none; }
@media screen and (max-width: 980px) {
    .dj-service-add { display: block; }
}

/* ===== site-footer ===== */
.site-footer {
    background: none !important;
    border-top: none !important;
    padding: 24px 20px !important;
    text-align: center !important;
    font-size: 13px;
    color: #666;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.site-footer .site-title:after { content: none !important; }
.site-footer .main-navigation,
.site-footer .social-navigation { display: none; }
.lsc-footer-links {
    order: -1;
    margin-bottom: 8px;
    line-height: 2;
    text-align: center !important;
}
.lsc-footer-links span { color: #999; font-size: 12px; }
.lsc-footer-links a {
    color: #555;
    text-decoration: none;
    margin: 0 6px;
    font-size: 12px;
}
.lsc-footer-links a:hover { color: #2196F3; }
.site-info {
    order: 0;
    color: #999;
    text-align: center !important;
}
.site-info a { color: #999; text-decoration: none; }
.site-info a:hover { color: #2196F3; }
.lsc-sep { margin: 0 8px; color: #ddd; }

/* ===== cr_kefu PC端圆角 ===== */
#cr_kefu {
    border-radius: 12px !important;
    overflow: hidden;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .lsc-slider-overlay { padding: 16px; }
    .lsc-slider-title { font-size: 20px; }
    .lsc-slider-sub { font-size: 12px; margin-bottom: 14px; }
    .lsc-slider-btn { padding: 8px 18px; font-size: 12px; }

    .lsc-topic-wrap { padding: 20px 14px 36px; }
    .lsc-section { margin-bottom: 20px; }
    .lsc-cards { grid-template-columns: 1fr; gap: 12px; }
    .lsc-card { padding: 16px 18px; border-radius: 10px; }

    .lsc-cases-section,
    .lsc-guide-section { padding: 16px; border-radius: 10px; }
    .lsc-case { width: 150px; height: 200px; border-radius: 8px; }
    .lsc-cases-scroll { gap: 10px; }

    .lsc-guide-thumb { width: 88px; height: 58px; border-radius: 6px; }
    .lsc-guide-row { padding: 12px; gap: 12px; border-radius: 8px; }
    .lsc-guide-title { font-size: 14px; }
    .lsc-guide-meta { gap: 6px; font-size: 11px; }
}

@media (max-width: 480px) {
    .lsc-slider-title { font-size: 18px; }
    .lsc-topic-wrap { padding: 16px 12px 28px; }
    .lsc-case { width: 130px; height: 175px; }
    .lsc-card { padding: 14px 16px; }
}
