main{
	margin-top: -408px;
    background: url(../images/logos/jy-bg.jpg) top / cover no-repeat;
    background-size: 1920px 1157px;
    background-position-y: -462px;
}
.jy-index-work-dynamic{
    padding-top: 60px;
}
/* 工作动态 */
.container {
  width:var(--base-width); 
  max-width: 100%;
  margin: 0 auto;
}

/* 标题区域：实现标题和更多新闻底对齐 */
.section-title {
  display: flex;
  align-items: flex-end; /* 关键：让子元素底部对齐 */
  justify-content: space-between;
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 42px;
  color: #000;
  margin: 0;
  flex: 1;
  padding-left: 100px;
}

.more-news {
  font-size: 24px;
  color: #000;
  text-decoration: none;
  align-self: flex-end; /* 确保自身底部对齐 */
}

/* 动态列表布局：左侧大图 + 右侧小列表 */
.dynamic-list {
  display: flex;
}

.large-item{
  height: auto;
  overflow: hidden;
  margin-right: 40px;
}
.swiper-container2 {
  width: 600px;
  height: 400px;
}
.swiper-container2 .swiper-slide{
  position: relative;
}
.swiper-container2 .swiper-slide img{
  width: 600px;
  height: 400px;
  border-radius: 8px;
}
.swiper-container2 .swiper-slide span{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background: #fff;
  opacity: 0.7;
  box-sizing: border-box;
  color: #D4070F;
  font-size: 18px;
  padding-left: 30px;
  padding-right: 30px;
  font-weight: bold;
}
.small-list {
  flex: 1;
}
.small-item {
  display: flex;
  gap: 20px;
  align-items: center;
}
.small-item-img{
  width: 300px;
  height: 180px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease; /* 平滑过渡效果 */
  transform-origin: top center;
  overflow: hidden;
}
.small-item:first-child{
  margin-bottom: 40px;
}
.small-item img {
  width: 300px;
  height: 180px;
  border-radius: 4px;
  object-fit: cover;
  transform-origin: center; /* 缩放中心点 */
  backface-visibility: hidden; /* 防止缩放时闪动 */
}

.small-item .info {
  display: flex;
  flex-direction: column;
}

.small-item .title {
  font-size: 18px;
  color: #1A1A1A;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.small-item .date {
  font-size: 14px;
  color: #444;
}
.small-item:hover >.info .title{
  color: #D4070F;
}
.small-item:hover >.info .date{
  color: #D4070F;
}
/* 培训班次 */
.jy-index-classes,.jy-index-advantage,.jy-index-bussines{
    padding-top: 60px;
    text-align: center;
}
.jy-index-bussines{
   padding-bottom: 40px;
}
.jy-index-advantage-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width:var(--base-width); 
    max-width: 100%;
    margin: 0 auto;
}

.jy-index-advantage-item {
    width: calc(50% - 30px);
    height: 240px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    padding: 0 42px 0 0;
    box-sizing: border-box;
    margin-bottom: 60px;
}
.jy-index-advantage-item:nth-child(n+3) {
    margin-bottom: 0; 
}
.jy-index-advantage-img {
    width: 236px;
    height: 240px;
    border-radius: 8px;
}

.jy-index-advantage-text {
    flex: 1;
    margin-left: 42px;
}

.jy-index-advantage-text .title-wrap {
    display: flex;
    align-items: center; 
    justify-content: center; 
    margin-top: 42px;
}
.jy-index-advantage-text .title-line {
    height: 2px;
    background-color: red;
    flex: 1; 
    margin: 0 10px; 
}
.jy-index-advantage-text .title-text {
    font-size: 28px;
    color: #D4070F;
}

.jy-index-advantage-text p {
    font-size: 16px;
    color: #000;
    line-height: 24px;
    margin-top: 30px;
    text-align: left;
}
.jy-index-classes h2,.jy-index-advantage h2,.jy-index-bussines h2{
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 60px;
    margin-top: 0;
    letter-spacing: 0;
}
.jy-index-classes-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width:var(--base-width); 
    max-width: 100%;
    margin: 0 auto;
}

.class-item {
    width: 284px;
    height: 100px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}
/* 选中父容器下第 5-8 个 .class-item 元素，清除下边距 */
.jy-index-classes-content .class-item:nth-child(n+5):nth-child(-n+8) {
  margin-bottom: 0;
}

.class-bg-1 { background-image: url(../images/class-bg-1.png); background-position: center; background-size: 100%;}
.class-bg-2 { background-image: url(../images/class-bg-2.png); background-position: center; background-size: 100%;}
.class-bg-3 { background-image: url(../images/class-bg-3.png); background-position: center; background-size: 100%;}
.class-bg-4 { background-image: url(../images/class-bg-4.png); background-position: center; background-size: 100%;}
.class-bg-5 { background-image: url(../images/class-bg-5.png); background-position: center; background-size: 100%;}
.class-bg-6 { background-image: url(../images/class-bg-6.png); background-position: center; background-size: 100%;}
.class-bg-7 { background-image: url(../images/class-bg-7.png); background-position: center; background-size: 100%;}
.class-bg-8 { background-image: url(../images/class-bg-8.png); background-position: center; background-size: 100%;}

.class-item-text {
    font-size: 18px;
    text-align: left;
    width: 100%;
    word-break: break-all;
    padding-left: 60px;
    padding-right: 10px;
    color: #000;
    line-height: 26px;
}

.jy-index-bussines-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width:var(--base-width); 
    max-width: 100%;
    margin: 0 auto;
    gap: 40px;
}

.jy-index-bussines-item {
    width: calc(33.33% - 27px);
    height: 324px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    transition: all 0.3s ease; /* 平滑过渡效果 */
    transform-origin: top center;
    overflow: hidden;
}
.jy-index-bussines-img-box{
    width: 419px;
    height: 240px;
    overflow: hidden; /* 防止放大后溢出 */
}
.jy-index-bussines-img-box img {
    width: 419px;
    height: 240px;
    border-radius: 8px;
}
.jy-index-bussines-img{
    transition: transform 0.5s ease-out;
}
.jy-index-bussines-item p {
    font-size: 16px;
    color: #1A1A1A;
    text-align: left;
    padding: 0 24px;
    line-height: 26px;
}
.jy-index-bussines-item:hover .jy-index-bussines-text p {
  color: #D4070F;
}