.jy-header{
 /* background: url("../images/logos/jy-bg.jpg") center/cover no-repeat;*/
  height: 1157px;
  width: 100%;
}
/* 干部培训列表页头部 */
.jy-list-header {
  height: 1157px;
  width: 100%;
}
.jy-header .main-nav,.jy-list-header .main-nav {
  max-width: var(--base-width);
  margin: 0 auto;
}
.main-nav .container{
  padding: 0 60px;
  height: 150px;
  line-height: 150px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.container .jy-logo img{
  width: 329px;
  height: auto; 
  display: block;
}
/* jy-nav */
.jy-nav {
  height: 55px;
  line-height:55px;
  flex: 1;
  display: flex;
  justify-content: flex-end; 
}
.jy-content {
  position: relative;
}

.jy-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.jy-nav-item {
  position: relative;
  padding: 0 50px; 
  text-align: center;
  box-sizing: border-box;
}
.jy-nav-item:not(:first-child)::before {
  content: "";          
  position: absolute;   
  left: 0;              
  top: 50%;             
  transform: translateY(-50%);
  width: 1px;           
  height: 16px;         
  background: #6A0005;
}
.jy-nav-item:last-child{
  padding-right: 0;
}
/* 导航链接：文字样式 & 交互态 */
.jy-nav-link {
  text-decoration: none;
  font-size: 18px;
  color: #C40000;
}
/* 初始化下划线 */
.jy-nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #C40000; 
  margin-top: 4px;
  transition: width 0.3s ease;
}
/* 配合 JS 初始化，让默认激活项显示下划线 */
.jy-nav-item.jy-nav-item-active .jy-nav-link::after {
  width: 36px; 
}
.jy-nav-item.jy-nav-item-active .jy-nav-link::after {
  width: 72px; 
}
.jy-nav-item:nth-child(1).jy-nav-item-active .jy-nav-link::after {
  width: 36px; 
}
/* banner部分
/* .main-banner {
  width: 100%;
  max-width: 1925px;
  height: auto;
  margin: 0 auto; 
  overflow: hidden;
}
.swiper-container1 {
  width: 100%;
  height: auto;
}
.swiper-container1 .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
} */

.main-banner {
  width: 100%;
  max-width: 1925px;
  height: 600px; /* 固定容器高度（根据图片实际高度调整） */
  margin: 0 auto;
  overflow: hidden;
}

/* 轮播图容器 */
.swiper-container1 {
  width: 100%;
  height: 100%; /* 继承父容器高度 */
}

.swiper-container1 .swiper-slide img {
  width: 100%;
  height: 100%; /* 关键修改：从auto改为100% */
  display: block;
  object-fit: cover; /* 保持图片比例，裁剪多余部分 */
}

/* 列表页 banner */
.list-banner {
  width: 100%;
  max-width: 1925px;
  height: 400px; 
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.list-banner img {
  width: 100%;
  height: 100%; 
  display: block;
  object-fit: cover;
  object-position: center;
}