* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "微软雅黑", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #F8F9FA;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    height: 836px;
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    height: 240px;
    background: url(../images/ycbanner.png);
    background-size: cover;
}

.header a{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.content {
    flex: 1;
    display: flex;
    padding: 35px 55px;
    gap: 38px;
    height: calc(836px - 230px);
}

.card {
    width: 23%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    background: url(../images/titbg.png) no-repeat center center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 14px 0;
    margin-bottom: 28px;
    letter-spacing: 8px;
}

.card-title a {
    text-decoration: none;
    color: #fff;
}

.card-body {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    height: calc(100% - 76px);
}

.titline {
    margin: 6px auto;
    width: 60px;
    height: 2px;
    background-color: #005ad8;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
    letter-spacing: 3px;
}

.card-body ul {
    list-style: none;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.card-body li {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 400;
    white-space: nowrap;
    /* 强制文本单行显示 */
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    max-width: 100%;
    /* 限制最大宽度为父容器 */
}

.card-body li a,
.card-content a {
    text-decoration: none;
    color: #333333;
}

.card-content {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    height: 120px;
    margin-bottom: 26px;
}

.card-content a {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: #555;
    line-height: 1.9;
    font-size: 16px;
}


.card-img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 0;
}