* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", Arial, "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    background: #f8f9fa;
    color: #222;
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: #222;
}
.wrap {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 2px solid #3CB37C;
    padding-bottom: 8px;
}
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}
.more-link {
    font-size: 18px;
    font-weight: normal;
    color: #222;
    white-space: nowrap;
}
.more-link:hover {
    opacity: 0.7;
}
.banner-fullwidth {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.slider-container {
    position: relative;
    width: 100%;
}
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider .slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slider .slide {
    flex-shrink: 0;
    width: 100%;
}
.slider img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 6;
    object-fit: cover;
}
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.slider-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}
.slider-dot.active {
    width: 20px;
    border-radius: 4px;
    background: #3CB37C;
}
.hot-news-module {
    margin-bottom: 30px;
}
.single-col-news {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.news-item-single {
    display: flex;
    gap: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.news-item-single .news-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-item-single .news-info a {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #222;
}
.news-item-single .news-info .news-time {
    font-size: 12px;
    color: #999;
}
.news-item-single .news-img {
    width: 120px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-item-single .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.university-module {
    margin-bottom: 30px;
    background: #fff;
    padding: 15px 0;
}
.university-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
/* 改动1：给卡片统一高度，保证所有卡片大小一致 */
.uni-card {
    background: #fafbfc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.uni-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.uni-img {
    aspect-ratio: 1 / 0.8;
    overflow: hidden;
}
.uni-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 改动2：标题区域自动占满剩余空间，排版对齐 */
.uni-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.uni-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
    /* 标题完整显示，不截断、不省略 */
}
.uni-info p {
    font-size: 12px;
    color: #666;
    margin-top: auto;
}
.single-recruit-module {
    margin-bottom: 30px;
}
.nav-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}
.nav-item-8 {
    text-align: center;
    padding: 8px 0;
    background: #f0f2f5;
    border-radius: 24px;
    font-size: 14px;
    color: #333;
    transition: background 0.2s ease;
}
.nav-item-8:hover {
    background: #e0e2e5;
}
.nav-item-8:active {
    background: #e0e2e5;
}
.friend-links {
    background: #fff;
    padding: 15px 0;
    margin-bottom: 20px;
}
.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.links-list a {
    background: #f0f2f5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    transition: background 0.2s ease;
}
.links-list a:hover {
    background: #e0e2e5;
}
.links-list a:active {
    background: #e0e2e5;
}
.bottom-spacer {
    height: 20px;
}
@media (min-width: 480px) {
    .university-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 640px) {
    .university-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}