/*
 * 党建首页 —— 对齐设计稿 lncu_party_site（仅 body.party-home-page）
 */
body.party-home-page{
  --party-red:#c90012;
  --party-wrap:930px;
  background:#fff;
  color:#222;
}

body.party-home-page .container{
  width:min(var(--party-wrap),calc(100% - 48px));
  margin:0 auto;
}

body.party-home-page .hero{
  position:relative !important;
  width:100%;
  aspect-ratio:1110 / 560;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  display:block !important;
  align-items:normal !important;
  background:#9d0008;
  overflow:hidden;
}

body.party-home-page .hero-track{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

body.party-home-page .hero-slide{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  color:inherit;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease;
}

body.party-home-page .hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:1;
}

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

body.party-home-page .hero-arrow{
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  margin-top:auto !important;
  margin-bottom:auto !important;
  transform:none !important;
  width:48px;
  height:66px;
  border:0;
  background:rgba(180,0,10,.75);
  color:#fff;
  cursor:pointer;
  z-index:2;
  padding:0;
  display:flex !important;
  align-items:center;
  justify-content:center;
  line-height:0;
  font-size:0;
}

body.party-home-page .hero-arrow svg{
  display:block;
  width:22px;
  height:36px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.5;
  stroke-linecap:square;
  stroke-linejoin:miter;
}

body.party-home-page .hero-arrow.prev{left:0}
body.party-home-page .hero-arrow.next{right:0}

body.party-home-page .hero-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:28px;
  text-align:center;
  z-index:2;
}

body.party-home-page .hero-dots span{
  display:inline-block;
  width:14px;
  height:14px;
  margin:0 8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.2);
  opacity:.75;
  cursor:pointer;
}

body.party-home-page .hero-dots span.is-active{opacity:1}

body.party-home-page .news{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  padding:48px 0 66px;
}

body.party-home-page .panel{min-width:0}

body.party-home-page .section-title{
  height:48px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #ddd;
  margin-bottom:14px;
  gap:10px;
}

body.party-home-page .section-title h2{
  font-size:22px;
  margin:0;
  font-weight:800;
  letter-spacing:.5px;
}

body.party-home-page .section-title a{
  margin-left:auto;
  color:#777;
  font-size:14px;
}

body.party-home-page .title-icon{
  color:var(--party-red);
  font-size:22px;
  line-height:1;
}

body.party-home-page .news-list{
  padding:0;
  margin:0;
  list-style:none;
}

body.party-home-page .news-list li{
  height:44px;
  display:grid;
  grid-template-columns:1fr 82px;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #f0f0f0;
  font-size:14px;
  line-height:1.35;
  color:#222;
}

body.party-home-page .news-list a{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#222;
}

body.party-home-page .news-list time{
  text-align:right;
  color:#222;
  font-weight:700;
}

body.party-home-page .icon-list li{
  grid-template-columns:20px 1fr 82px;
}

body.party-home-page .icon-list li:before{
  content:"▤";
  color:#777;
}

body.party-home-page .icon-list a{min-width:0}
body.party-home-page .icon-list time{font-size:15px}

@media (max-width:760px){
  body.party-home-page .container{width:min(var(--party-wrap),calc(100% - 28px))}
  body.party-home-page .hero-arrow{width:36px;height:52px}
  body.party-home-page .hero-arrow svg{width:16px;height:28px}
  body.party-home-page .hero-dots{bottom:12px}
  body.party-home-page .hero-dots span{width:9px;height:9px;margin:0 5px}
  body.party-home-page .news{grid-template-columns:1fr;gap:28px;padding:32px 0}
  body.party-home-page .section-title h2{font-size:20px}
  body.party-home-page .news-list li{font-size:13px;grid-template-columns:18px 1fr 70px}
}
