/* 全局样式 */
:root {
    --primary-blue: #1e88e5;
    --secondary-blue: #0288d1;
    --primary-green: #00c853;
    --secondary-green: #009688;
    --light-bg: #f8fafc;
    --text-dark: #263238;
    --text-light: #f5f5f5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* 自定义页面容器 */
.custom-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部区域 - 渐变背景 */
.custom-page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    padding: 80px 0;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.custom-page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.custom-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 内容区域 */
.custom-page-content {
    margin-bottom: 0px;
}

.container {
    max-width:1200px;
    margin: 0 auto;
    padding: 0 20px;
}

article {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
    transition: var(--transition);
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.featured-image:hover img {
    transform: scale(1.03);
}

.page-content {
    font-size: 1.1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content h2 {
    color: var(--secondary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f7fa;
}

.page-content h3 {
    color: var(--secondary-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 自定义字段区域 */
.custom-fields-section {
    background: linear-gradient(to right, #e3f2fd, #e0f2f1);
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0;
    border-left: 5px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.custom-fields-section h2 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* 分页链接 */
.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    color: var(--secondary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.page-links a:hover {
    background: var(--primary-blue);
    color: white;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-page-header {
        padding: 60px 0;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    article {
        padding: 25px;
    }
    
    .custom-fields-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .custom-page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}
