/* 统一内容页面样式 */

/* 页面容器 */
.page-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    padding: 20px;
}

/* 内容卡片 */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.page-header h1 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* 内容区域 */
.content-body {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.content-body h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-body h3 {
    color: #444;
    font-size: 20px;
    font-weight: 500;
    margin: 25px 0 12px 0;
}

.content-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.content-body ul, .content-body ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 8px;
}

/* 图片样式 */
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 视频样式 */
.content-body video {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 表格样式 */
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-body th,
.content-body td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.content-body th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.content-body tr:hover {
    background: #f8f9fa;
}

/* 引用样式 */
.content-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #ff6b35;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #666;
}

/* 代码样式 */
.content-body code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e74c3c;
}

/* 链接样式 */
.content-body a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-body a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: #6c757d;
}

.btn-success {
    background: #28a745;
}

.btn-danger {
    background: #dc3545;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    margin-bottom: 15px;
}

/* 列表样式 */
.list-group {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.list-group-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: #f8f9fa;
}

/* 警告框 */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-danger {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-container {
        padding: 10px;
    }
    
    .content-card {
        padding: 20px;
        margin: 10px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .content-body {
        font-size: 14px;
    }
    
    .content-body h2 {
        font-size: 20px;
    }
    
    .content-body h3 {
        font-size: 18px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
.content-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 打印样式 */
@media print {
    .page-container {
        background: white;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
} 