/* core_practices.css */

/* 基础样式 */
:root {
    --primary-color: #2c3e50;
    --accent-color: #ff8c00;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* 页眉优化 */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(-5deg) scale(1.05);
}


/* 主要内容区 */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}


/* 轮播图设计 */
.practice-slider-container {
    margin: 4rem 0;
    position: relative;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    flex-shrink: 0;
}

/* 导航按钮 */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.prev-btn:hover, .next-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* 实践内容 */
.practice-content ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.practice-content li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.practice-content li:hover {
    transform: translateX(10px);
}

.fa-check-circle {
    color: var(--accent-color);
    font-size: 1.2rem;
}


/* 在原有CSS基础上添加以下样式 */

/* 标题系统优化 */
.section-title {
    font-size: 2.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* 次级标题优化 */
h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
    padding-left: 1.2rem;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: var(--accent-color);
    border-radius: 3px;
}

/* 段落文字优化 */
p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* 列表优化 */
.practice-content ul {
    margin: 2rem 0;
    padding: 2.5rem;
    background: rgba(255,140,0,0.05);
    border-radius: 12px;
}

.practice-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 1rem 1.5rem;
    margin: 0.8rem 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* 内容容器优化 */
.practice-intro,
.practice-goals,
.practice-methods {
    padding: 1.5rem 1.5rem;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.6rem;
        margin: 2.5rem 0 1.2rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .practice-content li {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }
}
