/* 轮播图 */
.banner-container { width: 100%; max-width: 1200px; margin: 20px auto; position: relative; height: 500px; background-color: #ddd; overflow: hidden; }
.banner-slide { width: 100%; height: 100%; display: none; }
.banner-slide.active { display: block; }
.banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dots-container { position: absolute; bottom: 20px; width: 100%; display: flex; justify-content: center; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); border: 1px solid #fff; cursor: pointer; transition: 0.3s; }
.dot.active { background-color: #e6a23c; border-color: #e6a23c; }

/* 三栏内容区 */
.main-content { display: grid; grid-template-columns: 3fr 4fr 3fr; gap: 30px; padding-bottom: 40px; }
.content-body { min-height: 220px; display: flex; flex-direction: column; }

/* 左侧新闻 */
.news-col { display: flex; flex-direction: column; }
.news-slider { position: relative; width: 100%; height: 220px; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.news-slide { display: none; width: 100%; height: 100%; position: relative; }
.news-slide.active { display: block; }
.news-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-slider:hover .news-img { transform: scale(1.05); }
.news-title-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.6); color: white; padding: 10px 15px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 40px; background: rgba(0,0,0,0.3); color: white; display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 20px; transition: background 0.3s; z-index: 2; }
.news-arrow:hover { background: rgba(0,0,0,0.7); }
.news-prev { left: 0; } .news-next { right: 0; }
.news-dots { position: absolute; bottom: 15px; right: 15px; display: flex; gap: 6px; z-index: 2; }
.news-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: 0.3s; }
.news-dot.active { background: #e6a23c; }
.news-list li { padding: 10px 0; border-bottom: 1px dashed #ddd; font-size: 15px; color: #444; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.news-list li:hover { color: #21599e; }

/* 中栏教学 */
.teaching-col { display: flex; flex-direction: column; }
.teaching-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #ddd; cursor: pointer; }
.teaching-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.teaching-item:hover .teaching-title { color: #21599e; }
.teaching-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.teaching-desc { font-size: 14px; color: #777; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 右栏 */
.right-col { display: flex; flex-direction: column; }
.scroll-container { height: 180px; overflow: hidden; position: relative; margin-bottom: 20px; }
.scroll-list { animation: scrollUp 20s linear infinite; }
.scroll-container:hover .scroll-list { animation-play-state: paused; }
.scroll-item { margin-bottom: 10px; }
.scroll-item a { display: block; background-color: #f9f9f9; padding: 10px 12px; border-radius: 4px; font-size: 14px; color: #333; line-height: 1.5; transition: all 0.3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scroll-item a:hover { background-color: #eef2f7; color: #21599e; }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.student-work-item { cursor: pointer; }
.student-work-item:hover .sw-title { color: #21599e; }
.sw-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; transition: color 0.3s; }
.sw-desc { font-size: 14px; color: #777; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 风采滚动 */
.showcase-section { padding-bottom: 50px; }
.showcase-scroll-container { width: 100%; overflow: hidden; position: relative; }
.showcase-scroll-list { display: flex; gap: 20px; width: max-content; animation: scrollLeft 25s linear infinite; }
.showcase-scroll-container:hover .showcase-scroll-list { animation-play-state: paused; }
.showcase-card { width: 270px; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.showcase-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.showcase-img { width: 100%; height: 320px; object-fit: cover; }
.showcase-name { text-align: center; padding: 15px 10px; font-size: 16px; font-weight: bold; color: #333; transition: color 0.3s; }
.showcase-card:hover .showcase-name { color: #21599e; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }

@media (max-width: 992px) {
    .main-content { grid-template-columns: 1fr 1fr; }
    .right-col { grid-column: span 2; }
    .content-body { min-height: auto; margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; gap: 30px; }
    .right-col { grid-column: span 1; }
    .banner-container { height: 250px; }
    .showcase-card { width: 220px; }
    .showcase-img { height: 260px; }
}