

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

/* 页面标题：中性色调，不抢焦点 */
.page-title {
    text-align: center;
    margin-bottom: 60px;
}
.page-title h2 {
    font-size: 36px;
    color: #2a303c;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}
.page-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #5c87a8;
    margin: 15px auto 0;
    border-radius: 2px;
}
.page-title p {
    font-size: 16px;
    color: #7a869a;
    margin-top: 12px;
    letter-spacing: 0.5px;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
}
.section-title img {
    width: 28px;
    height: 28px;
}
.view-all {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.view-all:hover {
    color: #333;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.course-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.2s;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card-cover {
    position: relative;
    height: 180px;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}
.card-cover h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}
.card-cover p {
    font-size: 14px;
    opacity: 0.9;
}
.card-cover .avatar {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
}
.card-body {
    padding: 20px;
}
.card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}
.card-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.price {
    color: #222;
    font-weight: 500;
}
.price .old {
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: normal;
}
.meta {
    color: #999;
    font-size: 13px;
}