/* 全局美化 - 仅去除模块分割，内部样式100%保留 */
body {
    background-color: #f5f7fa;
}
/* 父容器：适配书院920px+通知480px+间距20px，总宽1420px */
.common {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 1420px !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
}
/* 标题：所有模块统一颜色、样式 */
.beautiful-title {
    height: 45px;
    line-height: 45px;
    border-bottom: 2px solid #004ea1;
    margin-bottom: 12px;
    position: relative;
    background: none;
    padding-left: 15px;
    border-radius: 0;
    width: 100% !important;
    box-sizing: border-box;
}
.beautiful-title h2 {
    font-size: 20px;
    color: #004ea1 !important; /* 所有标题统一蓝色 */
    font-weight: 600;
    position: relative;
    margin: 0;
    float: left;
}
.beautiful-title h2::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background-color: #004ea1;
    border-radius: 2px;
}
.beautiful-title a {
    float: right;
    color: #004ea1;
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid #004ea1;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 8px;
    line-height: 1;
    text-decoration: none;
}
.beautiful-title a:hover {
    background-color: #004ea1;
    color: #fff;
    text-decoration: none;
}
/* ========== 书院动态 ========== */
.beautiful-news {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 15px 15px 15px 10px;
    box-sizing: border-box;
    width: 995px !important;
    flex-shrink: 0;
}
.beautiful-tongzhi-left {
    width: 550px !important;
    height: 320px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}
.beautiful-tongzhi-left img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.beautiful-tongzhi-right {
    width: 375px !important;
    border-radius: 6px;
    overflow: hidden;
}
.beautiful-tongzhi-left .slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 25px 15px 20px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.beautiful-tongzhi-left .slide-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.beautiful-tongzhi-left .slide-dots span {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: rgba(255,255,255,0.7);
    color: #333;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.beautiful-tongzhi-left .slide-dots span.on {
    background-color: #f7931e;
    color: #fff;
    font-weight: bold;
}
.beautiful-tongzhi-right ul {
    padding: 0;
    margin: 0;
}
.beautiful-tongzhi-right .news-item {
    position: relative;
    padding: 10px 10px 10px 30px !important;
    margin-bottom: 4px !important;
    border-bottom: 1px dashed #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    list-style: none;
    height: auto !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}
.beautiful-tongzhi-right .news-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}
.beautiful-tongzhi-right .news-icon {
    position: absolute;
    left: 0;
    top: 10px !important;
    transform: none !important;
    width: 18px;
    height: 18px;
    background-color: #ccc;
    border-radius: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.beautiful-tongzhi-right .news-icon::before {
    content: "+";
}
.beautiful-tongzhi-right .news-title-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}
.beautiful-tongzhi-right .news-title {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 28px !important;
    flex: 1 !important;
    padding-right: 10px !important;
}
.beautiful-tongzhi-right .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    max-width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.beautiful-tongzhi-right .news-date {
    font-size: 12px;
    color: #004ea1;
    transition: opacity 0.2s ease;
    line-height: 28px !important;
    width: 70px !important;
    text-align: right !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
}
.beautiful-tongzhi-right .news-abstract {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 3px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 5px;
}
.beautiful-tongzhi-right .news-item:hover {
    background-color: #f8f9fa;
}
.beautiful-tongzhi-right .news-item:hover .news-icon {
    background-color: #004ea1;
}
.beautiful-tongzhi-right .news-item:hover .news-icon::before {
    content: "-";
}
.beautiful-tongzhi-right .news-item:hover .news-title a {
    color: #004ea1;
    font-weight: 500;
}
.beautiful-tongzhi-right .news-item:hover .news-date {
    opacity: 0 !important;
}
.beautiful-tongzhi-right .news-item:hover .news-abstract {
    max-height: 60px !important;
    padding: 3px 5px;
}
/* ========== 通知公告 ========== */
.beautiful-notice {
    width: 480px !important;
    flex-shrink: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 15px;
    box-sizing: border-box;
}
.beautiful-notice .title {
    margin-bottom: 8px;
}
.beautiful-notice ul li {
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: all 0.3s ease;
    list-style: none;
}
.beautiful-notice ul li:last-child {
    border-bottom: none;
}
.beautiful-notice ul li:hover {
    background-color: #fafafa;
    padding-left: 6px;
}
.beautiful-notice ul li .date {
    background: linear-gradient(135deg, #004ea1, #0066cc);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,78,161,0.2);
    font-size: 12px;
    padding: 2px 4px;
}
.beautiful-notice ul li a {
    font-size: 14px;
    margin-left: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-decoration: none;
}
.beautiful-notice ul li a:hover {
    color: #004ea1;
}
/* ========== 育人/党团（已调大新闻字体） ========== */
.beautiful-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 1420px !important;
    margin: 0 auto 10px auto;
}
.beautiful-row {
    display: flex;
    width: 100%;
    gap: 15px !important;
}
.beautiful-card {
    flex: 1;
    min-width: 0 !important;
    width: auto !important;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 15px;
    box-sizing: border-box;
    transition: none;
}
.beautiful-card:hover {
    transform: none;
    box-shadow: none;
}
.beautiful-card .title {
    height: 45px !important;
    line-height: 45px !important;
    border-bottom: 2px solid #004ea1 !important;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
    position: relative;
    padding-left: 15px !important;
    background: none !important;
}
.beautiful-card .title h2 {
    font-size: 20px !important;
    color: #004ea1 !important;
    font-weight: 600 !important;
    float: left !important;
    margin: 0 !important;
    position: relative;
}
.beautiful-card .title h2::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background-color: #004ea1;
    border-radius: 2px;
}
.beautiful-card .title a {
    float: right !important;
    color: #004ea1 !important;
    font-size: 13px !important;
    padding: 4px 10px !important;
    border: 1px solid #004ea1 !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    margin-top: 8px !important;
    line-height: 1 !important;
    background: none !important;
}
.beautiful-card .title a:hover {
    color: #fff !important;
    border-color: #004ea1 !important;
    background-color: #004ea1 !important;
    text-decoration: none !important;
}
.beautiful-card ul li {
    padding: 8px 0 !important;
    border-bottom: 1px dotted #e0e0e0 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.beautiful-card ul li:last-child {
    border-bottom: none !important;
}
.beautiful-card ul li:hover {
    padding-left: 5px !important;
}
/* 核心修改：育人/党团新闻列表字体调大 */
.beautiful-card ul li a {
    font-size: 16px !important; /* 从14px调大到16px */
    color: #444 !important;
    transition: color 0.3s ease !important;
    flex: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 70px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.5 !important; /* 同步调大行高，避免拥挤 */
    text-decoration: none !important;
    margin-right: 10px !important;
}
.beautiful-card ul li a:hover {
    color: #004ea1 !important;
}
/* 日期字体同步微调，保持协调 */
.beautiful-card ul li .date {
    font-size: 13px !important; /* 从12.5px调大到13px */
    color: #004ea1 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    width: 60px !important;
    text-align: right !important;
}
/* ========== 书院风采 ========== */
.beautiful-gallery {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    padding: 15px;
    box-sizing: border-box;
    width: 100% !important;
}
/* ========== 友情链接 ========== */
.beautiful-links {
    background-color: #fff !important;
    padding: 15px 0 40px 0;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    float: none !important;
}
.links-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 10px !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.link-item {
    flex: 1 !important;
    width: 16.666% !important;
    text-align: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 5px !important;
    list-style: none !important;
}
.link-item a {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.3s ease !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}
.link-logo {
    width: 100% !important;
    height: 105px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.link-logo img {
    max-width: 95% !important;
    max-height: 95px !important;
    object-fit: contain !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.link-text {
    display: block !important;
    font-size: 19px !important;
    color: #333333 !important;
    line-height: 1.2 !important;
    transition: color 0.3s ease !important;
    font-family: "Microsoft YaHei", "SimHei", sans-serif !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: normal !important;
}
.link-item a:hover .link-text {
    color: #004ea1 !important;
    text-decoration: none !important;
}
.link-item a:hover {
    transform: translateY(-4px) !important;
}
.link-item a:hover .link-logo {
    box-shadow: 0 8px 20px rgba(0,78,161,0.18) !important;
}
/* ========== 响应式 ========== */
@media screen and (max-width: 1400px) {
    .common { width: 95% !important; }
    .beautiful-section { width: 95% !important; }
    .beautiful-links { width: 95% !important; }
    .beautiful-news { width: 850px !important; }
}
@media screen and (max-width: 992px) {
    .links-container { flex-wrap: wrap !important; gap: 25px !important; }
    .link-item { width: 30% !important; flex: none !important; }
}
@media screen and (max-width: 768px) {
    .beautiful-card { width:100% !important; }
    .common { flex-wrap: wrap !important; }
    .beautiful-news, .beautiful-notice { width: 100% !important; }
}
@media screen and (max-width: 480px) {
    .link-item { width: 100% !important; padding: 0 30px !important; }
}
/* 动画 */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(15px); }
    to { opacity:1; transform:translateY(0); }
}
.beautiful-news,
.beautiful-notice,
.beautiful-card { animation: none; }
.beautiful-gallery,
.beautiful-links { animation: fadeInUp 0.5s ease forwards; }
.beautiful-notice { animation-delay:0.1s; }
.beautiful-row .beautiful-card:nth-child(1) { animation-delay:0.2s; }
.beautiful-row .beautiful-card:nth-child(2) { animation-delay:0.3s; }
.beautiful-card-full { animation-delay:0.4s; }
.beautiful-gallery { animation-delay:0.5s; }
.beautiful-links { animation-delay:0.6s; }