.main {
    padding-top: 68px;
    background-color: #f2f7f6;
    overflow: hidden;
}

.train-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1920px;
    height: 72px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--theme-color);
}

.train-title ul li {
    margin-right: 12px;
}

.train-title ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 16px;
    color: #ffffff;
    transition: all .3s;
}

.train-title ul li.active a, .train-title ul li:hover a {
    color: #444444;
    background-color: #ffe13c;
}

.train-main {
    width: 1200px;
}

.courser-list {
    width: 100%;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    padding: 38px 0;
}

.courser-list li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 282px;
    height: 320px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 16px;
}

.courser-list li .img-wrap {
    width: 250px;
    height: 160px;
    border-radius: 4px;
}

.courser-list li h2 {
    width: 100%;
    font-size: 18px;
    color: #333333;
    margin: 18px 0;
}

.courser-list li p {
    font-size: 14px;
    line-height: 24px;
    color: #999999;
}

.courser-list li span {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #ffa800;
}

.courser-list li:hover h2{
    font-weight: 700;
    color: var(--theme-color);
}

.video-banner {
    width: 1200px;
    height: 120px;
    border-radius: 4px;
    margin-top: 24px;
}
