/*
 * 继续教育学院首页
 * 作用域：body.jxjy-home-page
 */
body.jxjy-home-page{
  --jxjy-content-width:1208px;
  --jxjy-hero-height:560px;
  background:#fff;
}

body.jxjy-home-page .jxjy-home{
  display:block;
  width:100%;
}

body.jxjy-home-page .jxjy-wrap{
  width:min(var(--jxjy-content-width),92vw);
  margin:0 auto;
}

body.jxjy-home-page .jxjy-section{
  padding:48px 0 0;
}

body.jxjy-home-page .jxjy-services{
  padding:56px 0 72px;
}

body.jxjy-home-page .jxjy-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

body.jxjy-home-page .jxjy-section-head h2{
  margin:0;
  font-family:"Microsoft YaHei","微软雅黑",sans-serif;
  font-size:28px;
  font-weight:700;
  color:var(--jxjy-primary,#2b7de9);
  line-height:1.2;
}

body.jxjy-home-page .jxjy-more{
  font-size:14px;
  color:#999;
  text-decoration:none;
  white-space:nowrap;
}

body.jxjy-home-page .jxjy-more:hover{
  color:var(--jxjy-primary);
}

body.jxjy-home-page .jxjy-hero{
  width:100%;
  height:var(--jxjy-hero-height);
  overflow:hidden;
  background:#111;
}

body.jxjy-home-page .jxjy-hero img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

body.jxjy-home-page .jxjy-news-notice .jxjy-wrap{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);
  gap:48px;
  align-items:stretch;
}

body.jxjy-home-page .jxjy-news-col,
body.jxjy-home-page .jxjy-notice-col{
  display:flex;
  flex-direction:column;
  min-height:0;
}

body.jxjy-home-page .jxjy-news-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  flex:1 1 auto;
}

body.jxjy-home-page .jxjy-news-card{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:4px;
  background:#e8e8e8;
  aspect-ratio:16 / 10.5;
  color:#fff;
  text-decoration:none;
  height:100%;
}

body.jxjy-home-page .jxjy-news-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

body.jxjy-home-page .jxjy-news-card-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:160px;
  background:#d9d9d9;
  color:#888;
  font-size:16px;
  font-weight:600;
}

body.jxjy-home-page .jxjy-news-card-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:12px 16px;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.62));
  font-size:15px;
  font-weight:700;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body.jxjy-home-page .jxjy-notice-list{
  list-style:none;
  margin:0;
  padding:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

body.jxjy-home-page .jxjy-notice-list li{
  margin:0;
}

body.jxjy-home-page .jxjy-notice-list a{
  display:flex;
  align-items:baseline;
  gap:16px;
  color:#222;
  text-decoration:none;
}

body.jxjy-home-page .jxjy-notice-title{
  flex:0 1 auto;
  max-width:calc(100% - 110px);
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:15px;
  line-height:1.5;
}

body.jxjy-home-page .jxjy-notice-list a::after{
  content:"";
  flex:1 1 16px;
  min-width:16px;
  border-bottom:1px dotted #d0d0d0;
  transform:translateY(-4px);
}

body.jxjy-home-page .jxjy-notice-list time{
  flex:0 0 auto;
  color:#b0b0b0;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}

body.jxjy-home-page .jxjy-notice-list a:hover .jxjy-notice-title{
  color:var(--jxjy-primary);
}

body.jxjy-home-page .jxjy-empty{
  margin:0;
  color:#999;
  font-size:14px;
}

body.jxjy-home-page .jxjy-service-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:28px;
}

body.jxjy-home-page .jxjy-service{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:#222;
}

body.jxjy-home-page .jxjy-service-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  background:none;
  box-shadow:none;
  border-radius:0;
}

body.jxjy-home-page .jxjy-service-icon img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  object-fit:contain;
}

body.jxjy-home-page .jxjy-service-title{
  text-align:center;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
}

body.jxjy-home-page .jxjy-service:hover .jxjy-service-icon{
  transform:translateY(-4px);
  transition:transform .22s ease;
}

@media (max-width: 1080px){
  body.jxjy-home-page .jxjy-hero{
    height:auto !important;
  }
  body.jxjy-home-page .jxjy-hero img{
    height:auto !important;
    object-fit:unset !important;
  }
  body.jxjy-home-page .jxjy-news-notice .jxjy-wrap{
    grid-template-columns:1fr;
    gap:36px;
  }
  body.jxjy-home-page .jxjy-service-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width: 640px){
  body.jxjy-home-page .jxjy-news-cards{
    grid-template-columns:1fr;
  }
  body.jxjy-home-page .jxjy-service-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
  body.jxjy-home-page .jxjy-notice-list a::after{
    display:none;
  }
}
