/* .html_home */
/* 依赖 main.css */

.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.col { padding: 0 10px; }


.slide-image { width: 100%; height: 100%; background: #fefefe url(../images/logo.png) no-repeat center center / 100% 100% ; transition: transform 4s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform: scale(1.25); }
.swiper-slide-active .slide-image { transform: scale(1.06); }
/* 栏目 Header */
.section-header { display: flex; align-items: center; border-bottom: 2px solid var(--primary-red); margin-bottom: 15px; padding-bottom: 8px; position: relative; }
.section-title { font-size: 22px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.section-title i { color: var(--primary-red); }
.section-en { font-size: 14px;  margin-left: 8px; font-weight: 400; margin-top: 4px; color:#b14b3a;}
.more-btn { margin-left: auto; font-size: 14px; color:#004ea1;}

/* 主内容区 */
.main-content { padding: 30px 0; position: relative; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
.general-news-box { display: grid; grid-template-columns: 41% 59%; gap: 20px; }

.news-slider{ flex: 1 1 40%; position:relative;width: 100%; overflow:hidden;}

.swiper-wrapper{display:flex;}
.swiper-slide {position:relative;width:100%;height:100%;}
.swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #073f7b0f 0%, transparent 10%, transparent 90%, #073f7b0f 100%), linear-gradient(to bottom, #073f7b12, transparent 5%);
  pointer-events: none;
  z-index: 2;
}
.swiper-slide a{display:block;width:100%;height:100%;}
.swiper-slide img{ width:100%;height:100%; display:block; transition: transform 0.8s ease-out 0s; }
.swiper-slide:hover img{ transform: scale(1.08); }

.news-caption{position:absolute;bottom:0;left:0;width:100%;padding:10px 15px; color:#fff;font-size:14px;  background: linear-gradient(to bottom, #004ea199, #004ea1); padding: 8px; font-size: 18px; text-align: center; box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.swiper-pagination-bullet{background:#fff;opacity:0.5;}
.swiper-pagination-bullet-active{background:#007aff;opacity:1;}

/* 首页新闻列表 */
.news-list { flex: 2 2 60%; background: linear-gradient(to right, #024a960d, transparent); position: relative; }
.news-list::before { /* content:''; */ width: 200px; height: 100%; background: #fff url(../images/school-logo.png) no-repeat left center / 100% auto; position: absolute; top: 50%; right: 80px; transform: translateY(-50%); opacity: 0.1; }
.news-list ul li { position: relative; display: flex; align-items: center; padding: 12px 12px 12px 10px; border-bottom: 1px dashed #eee; font-size: 18px; }

.news-list ul li::after { position: absolute; top: auto; right: auto; bottom: -1px; left: 0; z-index: 1; content: ""; width: 0%; height: 1px; background: #004ea1; -webkit-transition: all 0.7s ease-out 0s; -moz-transition: all 0.7s ease-out 0s; -ms-transition: all 0.7s ease-out 0s; -o-transition: all 0.7s ease-out 0s; transition: all 0.7s ease-out 0s; }
.news-list ul li:hover::after { width: 100%; }

.news-list ul li::before,
.simple-list li::before { margin-right: 8px; font-size: 18px; line-height: 1; content: ""; width: 6px; height: 6px; background: var(--primary-red); border-radius: 40%; }
.news-list .title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list .date { color: #666; margin-left: 10px; }

/* 通知列表 */
.notice-list li { display: flex; align-items: center; margin-bottom: 15px; }
.date-badge {  border: 1px solid #004ea1; width: 58px; text-align: center;  flex-shrink: 0; margin-right: 12px; display: flex; flex-direction: column; justify-content: center; }
.date-badge .day { color: #004ea1; font-size: 20px; font-weight: 700; line-height: 1.5; }
.date-badge .year { font-size: 12px; background: #004ea1; color: #fff; line-height: 2.5; }
.notice-content { font-size: 17px; line-height: 1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis; }
.notice-content:hover { color: var(--primary-red); cursor: pointer; }

/* 三列 Grid */
.triple-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; 
/* background: linear-gradient(to bottom, #f9f9f9, #024a9624); */
 padding: 20px; border-radius: 5px; }
.simple-list li {  align-items: center;  display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px dotted #ccc; font-size: 18px; }
.simple-list li a {overflow: hidden; text-overflow: ellipsis;display:-webkit-box;width:95%; -webkit-line-clamp: 1;-webkit-box-orient: vertical;}
.simple-list li::before {}
.simple-list span.t { flex: 1; overflow: hidden;  text-overflow: ellipsis; width:90%}
.simple-list span.d { color: #666; }
.party-select { margin-top: 10px; }
.party-select select { width: 100%; padding: 8px; border: 1px solid #ddd; color: #666; }

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; gap: 20px;display:block !important; }
    .general-news-box { display: block; }
    .news-slider { width: 100%; box-sizing: border-box; }
    .news-slider img { height: 65vw; }
    .triple-grid { grid-template-columns: 1fr; gap: 20px; padding: 15px; }
    .mid-banner { height: 60px !important; margin: 15px 0 30px;background-size: cover !important;background-position: center !important; }
    .main-content { padding: 20px 0; }
}