/* ========== 学习路线详情页样式 ========== */

:root {
    --primary-color: #FF6B35;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --border-color: #e8e8e8;
}

/* ========== 页面基础 ========== */
.learning-detail-page {
    min-height: 100vh;
    background: var(--bg-light);
}

/* ========== 详情主体 ========== */
.learning-detail-section {
    padding: 30px 0 60px;
}

.learning-detail-main {
    max-width: 860px;
    margin: 0 auto;
}

/* ========== 路线内容 ========== */
.detail-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    line-height: 1.8;
    color: var(--text-dark);
}

.detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.detail-content h3:not(:first-child) {
    margin-top: 28px;
}

.detail-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.8;
}

.detail-content .loading-text {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    padding: 40px 0;
}

/* ========== 未找到提示 ========== */
.detail-empty {
    text-align: center;
    padding: 80px 20px;
}

.detail-empty h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.detail-empty p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ========== 响应式 - 平板 ========== */
@media screen and (max-width: 768px) {
    .learning-detail-page {
        padding-top: 56px;
    }

    .learning-detail-section {
        padding: 16px 0 40px;
    }

    .detail-content {
        padding: 20px;
        border-radius: 12px;
    }
}

/* ========== 响应式 - 手机 ========== */
@media screen and (max-width: 480px) {
    .detail-content {
        padding: 16px;
        border-radius: 10px;
    }

    .detail-content h3 {
        font-size: 16px;
    }

    .detail-content p {
        font-size: 13px;
    }
}
